Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfinity/orbit
/ functions
Functions
3,207 in github.com/dfinity/orbit
⨍
Functions
3,207
◇
Types & classes
1,930
↓ 14 callers
Method
create_account
Creates a new account.
core/station/impl/src/services/account.rs:159
↓ 14 callers
Function
fromTimeUnit
(units: number, unit: TimeUnit)
apps/wallet/src/mappers/time.mapper.ts:50
↓ 14 callers
Function
get_upgrader_disaster_recovery
( env: &PocketIc, upgrader_id: &Principal, station_canister_id: &Principal, )
tests/integration/src/utils.rs:500
↓ 14 callers
Method
id
Returns the artifact id.
core/control-panel/impl/src/models/artifact.rs:74
↓ 14 callers
Function
isSemanticVersion
(version: string, prefix = '')
apps/wallet/src/utils/helper.utils.ts:221
↓ 14 callers
Method
is_empty
(&self)
core/station/impl/src/repositories/indexes/request_policy_resource_index.rs:44
↓ 14 callers
Method
name
(&self)
core/station/impl/src/core/metrics.rs:171
↓ 14 callers
Method
save_entry_indexes
(&self, value: &NamedRule, previous: Option<&NamedRule>)
core/station/impl/src/repositories/named_rule.rs:167
↓ 14 callers
Method
to_dto
( &self, cycles: &u64, version: &str, upgrader_cycles: Option<u64>, )
core/station/impl/src/mappers/system.rs:9
↓ 13 callers
Method
add_listener
(&mut self, listener: ObserverCallback<T>)
core/station/impl/src/core/observer.rs:26
↓ 13 callers
Method
canister_status
Calls the management canister to get the status of the canister with the given id. The station needs to be a controller of the target canister.
core/station/impl/src/services/external_canister.rs:421
↓ 13 callers
Method
export_metrics
Exports the metrics in the registry to a buffer in text format.
libs/orbit-essentials/src/metrics.rs:181
↓ 13 callers
Function
setup
()
core/station/impl/src/services/request.rs:609
↓ 13 callers
Function
setup
()
core/station/impl/src/services/external_canister.rs:1304
↓ 13 callers
Function
stringify
(obj: unknown)
apps/wallet/src/utils/helper.utils.ts:183
↓ 13 callers
Function
toTimeUnit
(seconds: bigint, unit: TimeUnit)
apps/wallet/src/mappers/time.mapper.ts:16
↓ 12 callers
Function
add_user
( env: &PocketIc, identity: Principal, group_ids: Vec<String>, station_canister_id: Principal,
tests/integration/src/utils.rs:365
↓ 12 callers
Method
caller
(&self)
core/control-panel/impl/src/core/call_context.rs:54
↓ 12 callers
Method
help
(&self)
core/station/impl/src/core/metrics.rs:175
↓ 12 callers
Method
is_empty
(&self)
core/control-panel/impl/src/repositories/indexes/artifact_index.rs:70
↓ 12 callers
Function
mock_user_group
()
core/station/impl/src/models/user_group.rs:177
↓ 12 callers
Method
postMessage
(msg: AccountsWorkerIncomingMessage)
apps/wallet/src/workers/accounts.worker.ts:16
↓ 12 callers
Method
stop_canister
( &self, canister_id: Principal, )
core/station/impl/src/services/change_canister.rs:44
↓ 12 callers
Function
submit_request_approval
( env: &PocketIc, user_id: Principal, station_canister_id: CanisterId, request: RequestDTO,
tests/integration/src/utils.rs:331
↓ 11 callers
Function
await_disaster_recovery_success
(env: &PocketIc, station_id: Principal, upgrader_id: Principal)
tests/integration/src/disaster_recovery_tests.rs:36
↓ 11 callers
Method
build
(blockchain: &Blockchain)
core/station/impl/src/factories/blockchains/core.rs:90
↓ 11 callers
Function
collect
(rule: RequestPolicyRule, named: NamedRule[] = [])
cli/src/audit/resolver.spec.ts:69
↓ 11 callers
Method
edit_account
Edits the account with the given id and updates the associated policies if provided. This operation will fail if an account owner does not have an as
core/station/impl/src/services/account.rs:357
↓ 11 callers
Function
format_unique_string
(text: &str)
core/station/impl/src/core/utils.rs:115
↓ 11 callers
Method
gauge_mut
Returns a gauge metric with the given name and helper message that explains what the gauge is measuring or tracking.
libs/orbit-essentials/src/metrics.rs:154
↓ 11 callers
Method
get_system_info
Gets the system information of the current canister.
core/station/impl/src/services/system.rs:99
↓ 11 callers
Function
init_canister_system
()
core/station/impl/src/core/mod.rs:55
↓ 11 callers
Method
insert
(&self, key: PermissionKey, value: Permission)
core/station/impl/src/repositories/permission.rs:99
↓ 11 callers
Method
insert
(&self, key: RegistryEntryId, value: RegistryEntry)
core/control-panel/impl/src/repositories/registry.rs:80
↓ 11 callers
Method
insert
Inserts a record into the repository.
libs/orbit-essentials/src/repository.rs:99
↓ 11 callers
Method
keys
(&self)
core/station/impl/src/models/metadata.rs:41
↓ 11 callers
Method
list_requests
( &self, input: ListRequestsInput, ctx: &CallContext, )
core/station/impl/src/services/request.rs:145
↓ 11 callers
Function
method
(canister_id: string, method_name: string)
cli/src/audit/checks/fixtures.ts:64
↓ 11 callers
Function
mock_external_canister
()
core/station/impl/src/models/external_canister.rs:443
↓ 11 callers
Method
notify
(&self, t: &T)
core/station/impl/src/core/observer.rs:30
↓ 11 callers
Function
populatedRuleToTooltip
( rule: PopulatedRule, i18n: ReturnType<typeof useI18n>, )
apps/wallet/src/composables/request-policies.composable.ts:309
↓ 11 callers
Function
read_system_info
A helper function to access the system information.
core/station/impl/src/core/memory.rs:68
↓ 10 callers
Method
add_user
Creates a new user with the given user details and returns the created user. This method should only be called by a system call (self canister call o
core/station/impl/src/services/user.rs:112
↓ 10 callers
Function
await_station_healthy
(env: &PocketIc, station_id: Principal, user_id: Principal)
tests/integration/src/utils.rs:1102
↓ 10 callers
Method
create
Creates a new artifact with the given artifact bytes. If the artifact already exists, the existing artifact id is returned.
core/control-panel/impl/src/services/artifact.rs:33
↓ 10 callers
Method
dec
(&mut self, service_name: &str)
libs/orbit-essentials/src/metrics.rs:367
↓ 10 callers
Method
edit_external_canister
Edits an external canister's settings.
core/station/impl/src/services/external_canister.rs:560
↓ 10 callers
Function
ensure_entry_exists
(repository: Arc<R>, key: K)
core/station/impl/src/core/validation.rs:43
↓ 10 callers
Method
find_by_criteria
(&self, criteria: Self::FindByCriteria)
core/control-panel/impl/src/repositories/indexes/artifact_index.rs:46
↓ 10 callers
Method
find_external_canister_call_permissions
( &self, canister_id: &Principal, )
core/station/impl/src/services/external_canister.rs:229
↓ 10 callers
Method
get
Returns the registry entry by id.
core/control-panel/impl/src/services/registry.rs:54
↓ 10 callers
Function
get_target_canister
()
core/upgrader/impl/src/lib.rs:99
↓ 10 callers
Method
len
Returns the number of records stored in the repository.
libs/orbit-essentials/src/repository.rs:109
↓ 10 callers
Function
quorumEmptyApproverSet
( policies: RequestPolicy[], users: User[], namedRules: NamedRule[], )
cli/src/audit/checks/quorum-empty-approver-set.ts:15
↓ 10 callers
Method
remove
(&self, input: RemoveAssetOperationInput)
core/station/impl/src/services/asset.rs:112
↓ 10 callers
Method
save_modified
(&self, request: &mut Request, modified_at: u64)
core/station/impl/src/repositories/request.rs:464
↓ 10 callers
Method
sort
(&self, ids: &mut [Self::IdType])
libs/orbit-essentials/src/repository.rs:329
↓ 10 callers
Method
sort_by
( &self, notifications: &'a mut [Notification], sort_by: NotificationSortBy, )
core/station/impl/src/repositories/notification.rs:146
↓ 10 callers
Method
start_canister
( &self, canister_id: Principal, )
core/station/impl/src/services/change_canister.rs:31
↓ 9 callers
Method
add_deployed_station
(&mut self, station: Principal)
core/control-panel/impl/src/models/user.rs:101
↓ 9 callers
Function
add_user
(id: &UUID)
core/station/impl/src/models/user.rs:312
↓ 9 callers
Method
caller
(&self)
core/station/impl/src/core/call_context.rs:64
↓ 9 callers
Method
edit
(&self, input: EditAssetOperationInput)
core/station/impl/src/services/asset.rs:82
↓ 9 callers
Method
find_by_criteria
Returns all the entries that are between the given keys.
core/station/impl/src/repositories/indexes/unique_index.rs:37
↓ 9 callers
Method
fullname
Returns the full name of the entry, which is the namespace and the name separated by a `/`.
core/control-panel/impl/src/models/registry_entry.rs:202
↓ 9 callers
Function
get_core_canister_health_status
( env: &PocketIc, user_id: Principal, canister_id: Principal, )
tests/integration/src/utils.rs:431
↓ 9 callers
Method
get_request
(&self, id: &UUID)
core/station/impl/src/services/request.rs:76
↓ 9 callers
Function
get_user
(env: &PocketIc, user_id: Principal, station_canister_id: Principal)
tests/integration/src/utils.rs:407
↓ 9 callers
Method
get_user_by_identity
Returns the user associated with the given user identity.
core/station/impl/src/services/user.rs:84
↓ 9 callers
Method
get_user_by_identity
Returns the user associated with the given user identity.
core/control-panel/impl/src/services/user.rs:54
↓ 9 callers
Function
hasRequiredPrivilege
( { anyOf, }: { anyOf?: Privilege[]; }, station = useStationStore(), )
apps/wallet/src/utils/auth.utils.ts:28
↓ 9 callers
Method
insert
( &self, key: AddressBookEntryKey, value: AddressBookEntry, )
core/station/impl/src/repositories/address_book.rs:81
↓ 9 callers
Function
is_controller
(principal: &Principal)
libs/orbit-essentials/src/cdk.rs:88
↓ 9 callers
Function
makeNamedRule
(overrides: Partial<NamedRule>)
cli/src/audit/checks/fixtures.ts:52
↓ 9 callers
Function
mock_committee
()
core/upgrader/impl/src/model/disaster_recovery.rs:602
↓ 9 callers
Function
mock_permission
Generates a random permission for testing purposes.
core/station/impl/src/models/permission.rs:266
↓ 9 callers
Method
register
()
tests/e2e/page-objects/login.page.ts:11
↓ 9 callers
Function
resolveApprovers
(specifier: UserSpecifier, users: User[])
cli/src/audit/resolver.ts:9
↓ 9 callers
Function
retain_accessible_resources
Retains items based on the result of a authorization check evaluation. This function will evaluate the access for each item in the list and retain on
core/station/impl/src/core/utils.rs:92
↓ 9 callers
Method
set_name
(&mut self, name: String)
core/station/impl/src/models/system.rs:133
↓ 9 callers
Function
setup
()
core/station/impl/src/services/account.rs:725
↓ 9 callers
Function
setup
()
core/station/impl/src/services/user.rs:328
↓ 9 callers
Method
sub
(&mut self, current: &User)
core/station/impl/src/core/metrics.rs:211
↓ 8 callers
Method
and_kind
(mut self, kind: RegistryValueKind)
core/control-panel/impl/src/repositories/registry.rs:394
↓ 8 callers
Function
execute_request_with_extra_ticks
( env: &PocketIc, user_id: Principal, station_canister_id: CanisterId, request_operation_input
tests/integration/src/utils.rs:320
↓ 8 callers
Method
find_by_id
Finds an artifact by its id. If the artifact does not exist, an error is returned.
core/control-panel/impl/src/services/artifact.rs:63
↓ 8 callers
Method
find_by_status
Find requests that have the provided status and has been modified between the provided timestamps.
core/station/impl/src/repositories/request.rs:190
↓ 8 callers
Function
get_icp_asset
( env: &PocketIc, station_canister_id: Principal, requester: Principal, )
tests/integration/src/utils.rs:881
↓ 8 callers
Method
get_request_policy
(&self, id: &UUID)
core/station/impl/src/services/request_policy.rs:45
↓ 8 callers
Function
get_state
()
core/upgrader/impl/src/lib.rs:91
↓ 8 callers
Method
index_fields
Converts the request to the corresponding index fields.
core/station/impl/src/models/indexes/request_index.rs:49
↓ 8 callers
Method
insert
(&self, key: UserKey, value: User)
core/station/impl/src/repositories/user.rs:141
↓ 8 callers
Method
insert
(&self, index: RequestPolicyResourceIndex)
core/station/impl/src/repositories/indexes/request_policy_resource_index.rs:60
↓ 8 callers
Method
into_request
(self, dfx_orbit: &DfxOrbit)
tools/dfx-orbit/src/args.rs:175
↓ 8 callers
Method
min
Enables Resource be used in range queries in indexes. Takes advantage of lexicographical ordering implemented by Ord.
core/station/impl/src/models/resource.rs:289
↓ 8 callers
Function
mock_notification
()
core/station/impl/src/models/notification.rs:150
↓ 8 callers
Function
mock_user_station
()
core/control-panel/impl/src/models/user_station.rs:196
↓ 8 callers
Method
refresh
(&mut self, now_ns: u64)
core/control-panel/impl/src/core/metrics.rs:189
↓ 8 callers
Method
remove
(&self, key: &UserKey)
core/control-panel/impl/src/repositories/user.rs:79
↓ 8 callers
Method
request
( &self, input: CreateRequestInput, )
tools/dfx-orbit/src/station/agent.rs:23
← previous
next →
101–200 of 3,207, ranked by callers