Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/hashicorp/boundary
/ functions
Functions
19,156 in github.com/hashicorp/boundary
⨍
Functions
19,156
◇
Types & classes
3,259
↓ 18 callers
Method
DestroyKeyVersion
DestroyKeyVersion destroys the specified key version. If this requires re-encrypting existing data, it will start an asynchronous process to complete
internal/gen/controller/api/services/scope_service_grpc.pb.go:80
↓ 18 callers
Method
GetHttpMethod
()
internal/credential/vault/store/vault.pb.go:603
↓ 18 callers
Function
GetOpts
GetOpts - iterate the inbound Options and return a struct.
internal/auth/password/options.go:9
↓ 18 callers
Method
GetSessionId
()
internal/credential/credential.go:74
↓ 18 callers
Method
GetVaultSshCertificateCredentialLibraryAttributes
()
sdk/pbs/controller/api/resources/session_recordings/session_recording.pb.go:1643
↓ 18 callers
Method
GrantsForUser
GrantsForUser returns perms.GrantTuples associated to a userId scoped down to the requested scope and resource type. Use WithRecursive option to indic
internal/iam/repository_role_grant.go:461
↓ 18 callers
Method
Id
Id returns the ID the grant refers to, if any
internal/perms/grants.go:148
↓ 18 callers
Method
LastRoutingInfoSuccess
LastRoutingInfoSuccess reports the last time we sent a successful RoutingInfo request.
internal/daemon/worker/routing_info.go:114
↓ 18 callers
Function
ListLibrariesPage
ListLibrariesPage lists up to page size credential libraries, filtering out entries that do not pass the filter item function. It will automatically r
internal/credential/service_list_libraries_page.go:23
↓ 18 callers
Method
ListScopes
ListScopes returns a list of stored Scopes which exist inside the provided parent Scope id.
internal/gen/controller/api/services/scope_service_grpc.pb.go:49
↓ 18 callers
Function
NewClient
Creates a new client for this collection. The submitted API client is cloned; modifications to it after generating this client will not have effect. I
api/credentials/credential.gen.go:113
↓ 18 callers
Function
NewService
NewService returns a worker service which handles worker related requests to boundary.
internal/daemon/controller/handlers/workers/worker_service.go:106
↓ 18 callers
Function
NewService
NewService returns a host set Service which handles host set related requests to boundary and uses the provided repositories for storage and retrieval
internal/daemon/controller/handlers/host_sets/host_set_service.go:104
↓ 18 callers
Function
ProtoToStruct
(ctx context.Context, p proto.Message)
internal/daemon/controller/handlers/subtypes.go:36
↓ 18 callers
Function
TestEncodedGrpNames
TestEncodeGrpNames will json marshal group names
internal/auth/ldap/testing.go:39
↓ 18 callers
Function
TestHost
TestHost creates a plugin host in the provided DB in the catalog with the provided catalog id. The catalog must have been created previously. The test
internal/host/plugin/testing.go:118
↓ 18 callers
Function
TestMultipleAccounts
TestMultipleAccounts creates count number of password account to the provided DB with the provided auth method id. The auth method must have been cre
internal/auth/password/testing.go:68
↓ 18 callers
Function
TestUseCommunityFilterWorkersFn
TestUseCommunityFilterWorkersFn is used to ensure that CE tests run from the ENT repo use the CE worker filtering logic. WARNING: Do NOT run tests in
internal/server/testing.go:251
↓ 18 callers
Function
ValidateGetRequest
(fn CustomValidatorFunc, r GetRequest, prefix ...string)
internal/daemon/controller/handlers/verifiers.go:147
↓ 18 callers
Function
WithAction
(action action.Type)
internal/daemon/controller/auth/option.go:78
↓ 18 callers
Function
WithAutomaticVersioning
If set, and if the version is zero during an update, the API will perform a fetch to get the current version of the resource and populate it during th
api/targets/option.gen.go:73
↓ 18 callers
Function
WithGroupFilter
WithGroupFilter optionally specifies a group filter used to search for group entries.
internal/auth/ldap/options.go:241
↓ 18 callers
Function
WithLimit
WithLimit provides an option to provide a limit. If WithLimit <= 0, then default limits are used for results.
internal/auth/options.go:41
↓ 18 callers
Function
WithName
WithName provides an optional name.
internal/host/plugin/options.go:74
↓ 18 callers
Function
WithName
(inName string)
api/hostsets/option.gen.go:146
↓ 18 callers
Function
WithUserFilter
WithUserFilter optionally specifies a user filter used to search for user entries.
internal/auth/ldap/options.go:217
↓ 18 callers
Method
Write
(_ []byte)
internal/bsr/encode_test.go:293
↓ 18 callers
Method
add
add message to queue. typeName defines the type of message added to the queue and allows the msg to be removed using a TypeCatalog with a corespondin
internal/oplog/queue.go:36
↓ 18 callers
Function
allocProjectRole
()
internal/iam/role.go:557
↓ 18 callers
Function
assertPublicId
(t *testing.T, prefix, actual string)
internal/host/static/repository_host_catalog_test.go:175
↓ 18 callers
Method
encrypt
(ctx context.Context, cipher wrapping.Wrapper)
internal/credential/static/json_credential.go:110
↓ 18 callers
Function
file_controller_api_resources_targets_v1_target_proto_rawDescGZIP
()
sdk/pbs/controller/api/resources/targets/target.pb.go:1772
↓ 18 callers
Function
file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP
()
internal/gen/controller/api/services/auth_method_service.pb.go:1502
↓ 18 callers
Function
file_controller_api_services_v1_user_service_proto_rawDescGZIP
()
internal/gen/controller/api/services/user_service.pb.go:1174
↓ 18 callers
Function
file_worker_servers_services_v1_host_service_proto_rawDescGZIP
()
internal/gen/worker/servers/services/host_service.pb.go:1042
↓ 18 callers
Function
getOpts
(opt ...Option)
internal/clientcache/internal/daemon/options.go:36
↓ 18 callers
Function
newToken
(ctx context.Context, storeId string, token TokenSecret, accessor []byte, expiration time.Duration)
internal/credential/vault/vault_token.go:58
↓ 17 callers
Method
AddExternalWrappers
AddExternalWrappers allows setting the external keys.
internal/kms/kms.go:111
↓ 17 callers
Function
CreateAccountCli
CreateAccountCli creates a new account using the cli. Returns the id of the new account as well as the password that was generated
testing/internal/e2e/boundary/account.go:48
↓ 17 callers
Method
Decrypt
(context.Context, wrapping.Wrapper)
internal/storage/storagebucketcredential/storage_bucket_credential.go:22
↓ 17 callers
Method
GetCatalog
()
internal/gen/worker/servers/services/host_service.pb.go:888
↓ 17 callers
Method
GetDestinationId
()
sdk/pbs/controller/api/resources/aliases/alias.pb.go:167
↓ 17 callers
Function
GetOpts
GetOpts - iterate the inbound Options and return a struct.
internal/storage/options.go:47
↓ 17 callers
Method
ListUsers
ListUsers returns a list of stored Users which exist inside the provided scope. The request must include the scope ID for the Users being listed. If t
internal/gen/controller/api/services/user_service_grpc.pb.go:49
↓ 17 callers
Method
MountDatabase
MountDatabase starts a PostgreSQL database in a docker container then mounts the Vault database secrets engine and configures it to issue credentials
internal/credential/vault/testing.go:1228
↓ 17 callers
Method
NewChannel
NewChannel creates a Channel container for a given channel id.
internal/bsr/bsr.go:540
↓ 17 callers
Function
NewClaimsScope
(ctx context.Context, authMethodId, claimsScope string)
internal/auth/oidc/claims_scope.go:30
↓ 17 callers
Function
NewClient
Creates a new client for this collection. The submitted API client is cloned; modifications to it after generating this client will not have effect. I
api/users/user.gen.go:117
↓ 17 callers
Function
NewClient
Creates a new client for this collection. The submitted API client is cloned; modifications to it after generating this client will not have effect. I
api/roles/role.gen.go:116
↓ 17 callers
Function
NewEventerContext
NewEventerContext will return a context containing a value of the provided Eventer
internal/event/context.go:37
↓ 17 callers
Function
NewSha256SumWriter
NewSha256SumWriter creates a new Sha256SumWriter
internal/bsr/internal/checksum/sha256sums.go:97
↓ 17 callers
Function
NewUser
NewUser creates a new in memory user and allows options: WithName - to specify the user's friendly name and WithDescription - to specify a user descri
internal/iam/user.go:39
↓ 17 callers
Function
NewUsernamePasswordDomainOverride
NewUsernameDomainPasswordOverride creates a new in memory UsernamePasswordDomainOverride. WithOverrideUsernameAttribute, WithOverridePasswordAttribute
internal/credential/vault/mapping_overriders.go:122
↓ 17 callers
Function
SetAccountToUserCli
SetAccountToUserCli sets an account to a the specified user using the cli.
testing/internal/e2e/boundary/user.go:70
↓ 17 callers
Function
TestJsonCredential
TestJsonCredential creates a json credential in the provided DB with the provided scope and any values passed in. If any errors are encountered during
internal/credential/static/testing.go:432
↓ 17 callers
Function
TestUsernamePasswordCredential
TestUsernamePasswordCredential creates a username password credential in the provided DB with the provided project id and any values passed in through
internal/credential/static/testing.go:148
↓ 17 callers
Method
UpdateJobNextRunInAtLeast
UpdateJobNextRunInAtLeast updates the next scheduled run time for the provided name, setting the job's NextScheduledRun time to either the current dat
internal/scheduler/scheduler.go:108
↓ 17 callers
Method
UpsertController
(ctx context.Context, controller *Controller)
internal/server/repository_controller.go:44
↓ 17 callers
Function
ValidateCreateRequest
(i ApiResource, fn CustomValidatorFunc)
internal/daemon/controller/handlers/verifiers.go:34
↓ 17 callers
Function
ValidateDeleteRequest
(fn CustomValidatorFunc, r DeleteRequest, prefix ...string)
internal/daemon/controller/handlers/verifiers.go:165
↓ 17 callers
Method
Value
Scan implements driver.Valuer for protobuf Timestamp.
internal/db/timestamp/scanners.go:39
↓ 17 callers
Function
WithAddress
(inAddress string)
api/targets/option.gen.go:134
↓ 17 callers
Function
WithAuthorizedCollectionActions
WithAuthorizedCollectionActions provides an option when creating responses to include the given authorized collection actions if allowed
internal/daemon/controller/handlers/options.go:96
↓ 17 callers
Function
WithId
(id string)
internal/daemon/controller/auth/option.go:72
↓ 17 callers
Function
WithRecursive
(isRecursive bool)
internal/daemon/controller/auth/option.go:44
↓ 17 callers
Function
WithTestPkiWorkerAuthorizedKeyId
WithTestPkiWorkerAuthorizedKeyId should only be used in tests. It specifies that the test worker should be authorized when returned and assigns the ke
internal/server/options.go:198
↓ 17 callers
Function
WithVaultCredentialLibraryPath
(inPath string)
api/credentiallibraries/option.gen.go:374
↓ 17 callers
Function
getOpts
getOpts - iterate the inbound Options and return a struct
internal/credential/static/options.go:7
↓ 17 callers
Method
mapKeyToWorkerId
(keyId, wId string)
internal/daemon/cluster/downstreammanager.go:31
↓ 17 callers
Method
refreshTargets
refreshTargets uses attempts to refresh the targets for the provided user using the provided tokens. If available, it uses the refresh tokens in stora
internal/clientcache/internal/cache/repository_targets.go:65
↓ 17 callers
Function
setup
setup is a helper function for tests. It creates a new database using Template1, establishes an connection, and returns a *postgres.Postgres. It also
internal/db/schema/internal/postgres/testing_test.go:22
↓ 16 callers
Method
CancelSession
CancelSession allows a worker to request that the controller cancel a session.
internal/gen/controller/servers/services/session_service_grpc.pb.go:43
↓ 16 callers
Method
Close
Close closes the Session container.
internal/bsr/bsr.go:416
↓ 16 callers
Function
Convert
Convert will convert the error to a Boundary *Err (returning it as an error) and attempt to add a helpful error msg as well. If that's not possible, i
internal/errors/error.go:164
↓ 16 callers
Function
CreateRoleCli
CreateRoleCli creates a new role using the Boundary CLI. Returns the id of the new role or error
testing/internal/e2e/boundary/role.go:39
↓ 16 callers
Method
DeleteCatalog
DeleteCatalog deletes catalog for the provided id from the repository returning a count of the number of records deleted. All options are ignored.
internal/host/plugin/repository_host_catalog.go:600
↓ 16 callers
Method
DeleteWorker
DeleteWorker will delete a worker from the repository.
internal/server/repository_worker.go:49
↓ 16 callers
Method
GetCatalogId
()
internal/host/host.go:21
↓ 16 callers
Method
GetCertificateKeyHmac
()
internal/auth/ldap/store/ldap.pb.go:900
↓ 16 callers
Method
GetDefaultPort
()
sdk/pbs/controller/api/resources/targets/target.pb.go:843
↓ 16 callers
Method
GetPasswordHmac
()
internal/auth/ldap/store/ldap.pb.go:1014
↓ 16 callers
Function
ListAccountsPage
ListAccountsPage lists up to page size password accounts, filtering out entries that do not pass the filter item function. It will automatically reque
internal/auth/password/service_list_accounts_page.go:23
↓ 16 callers
Function
ListAccountsPage
ListAccountsPage lists up to page size oidc accounts, filtering out entries that do not pass the filter item function. It will automatically request m
internal/auth/oidc/service_list_accounts_page.go:23
↓ 16 callers
Function
ListAccountsPage
ListAccountsPage lists up to page size ldap accounts, filtering out entries that do not pass the filter item function. It will automatically request m
internal/auth/ldap/service_list_accounts_page.go:23
↓ 16 callers
Function
ListCatalogsPage
ListCatalogsPage lists up to page size host catalogs, filtering out entries that do not pass the filter item function. It also returns a map from plug
internal/host/service_list_catalogs_page.go:26
↓ 16 callers
Method
ListCredentialStores
ListCredentialStores implements the interface pbs.CredentialStoreServiceServer
internal/daemon/controller/handlers/credentialstores/credentialstore_service.go:152
↓ 16 callers
Function
ListGroupsPage
ListGroupsPage lists up to page size groups, filtering out entries that do not pass the filter item function. It will automatically request more group
internal/iam/service_list_page.go:134
↓ 16 callers
Function
ListGroupsRefresh
ListGroupsRefresh lists up to page size groups, filtering out entries that do not pass the filter item function. It will automatically request more gr
internal/iam/service_list_refresh.go:148
↓ 16 callers
Function
ListHostSetsPage
ListHostSetsPage lists up to page size host sets, filtering out entries that do not pass the filter item function. It will automatically request more
internal/host/static/service_list_host_sets_page.go:23
↓ 16 callers
Function
ListHostsPage
ListHostsPage lists up to page size hosts, filtering out entries that do not pass the filter item function. It will automatically request more hosts f
internal/host/static/service_list_hosts_page.go:23
↓ 16 callers
Function
ListManagedGroupsPage
ListManagedGroupsPage lists up to page size oidc managed groups, filtering out entries that do not pass the filter item function. It will automaticall
internal/auth/oidc/service_list_managed_groups_page.go:23
↓ 16 callers
Function
ListManagedGroupsPage
ListManagedGroupsPage lists up to page size ldap managed groups, filtering out entries that do not pass the filter item function. It will automaticall
internal/auth/ldap/service_list_managed_groups_page.go:23
↓ 16 callers
Function
ListPage
ListPage lists up to page size auth tokens, filtering out entries that do not pass the filter item function. It will automatically request more auth t
internal/authtoken/service_list_page.go:22
↓ 16 callers
Function
ListPage
ListPage lists up to page size credentials, filtering out entries that do not pass the filter item function. It will automatically request more creden
internal/credential/service_list_credentials_page.go:23
↓ 16 callers
Function
ListRefresh
ListRefresh lists up to page size auth tokens, filtering out entries that do not pass the filter item function. It will automatically request more aut
internal/authtoken/service_list_refresh.go:26
↓ 16 callers
Function
ListRolesPage
ListRolesPage lists up to page size roles, filtering out entries that do not pass the filter item function. It will automatically request more roles f
internal/iam/service_list_page.go:22
↓ 16 callers
Function
ListRolesRefresh
ListRolesRefresh lists up to page size roles, filtering out entries that do not pass the filter item function. It will automatically request more role
internal/iam/service_list_refresh.go:26
↓ 16 callers
Function
ListScopesPage
ListScopesPage lists up to page size scopes, filtering out entries that do not pass the filter item function. It will automatically request more scope
internal/iam/service_list_page.go:190
↓ 16 callers
Function
ListScopesRefresh
ListScopesRefresh lists up to page size scopes, filtering out entries that do not pass the filter item function. It will automatically request more sc
internal/iam/service_list_refresh.go:209
↓ 16 callers
Function
ListStoresPage
ListStoresPage lists up to page size credential stores, filtering out entries that do not pass the filter item function. It will automatically request
internal/credential/service_list_stores_page.go:22
← previous
next →
701–800 of 19,156, ranked by callers