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
↓ 36 callers
Function
SysEventer
SysEventer returns the "system wide" eventer for Boundary and can/will return a nil Eventer
internal/event/eventer.go:201
↓ 36 callers
Function
WithEd25519
WithEd25519 allows an optional request to use ed25519 during the operation
internal/libs/crypto/options.go:54
↓ 35 callers
Function
GetOpts
GetOpts - iterate the inbound Options and return a struct
internal/daemon/controller/handlers/options.go:14
↓ 35 callers
Method
GetPassword
()
internal/auth/ldap/store/ldap.pb.go:1000
↓ 35 callers
Method
ListAccounts
ListAccounts implements the interface pbs.AccountServiceServer.
internal/daemon/controller/handlers/accounts/account_service.go:148
↓ 35 callers
Function
NewTestWorker
(t testing.TB, opts *TestWorkerOpts)
internal/daemon/worker/testing.go:246
↓ 35 callers
Method
Remove
Remove implements the Storage interface. Remove removes the given message. Only the ID field of the message is considered.
internal/server/repository_workerauth.go:871
↓ 35 callers
Function
TestSessionParams
TestSessionParams returns an initialized ComposedOf which can be used to create a session in the repository.
internal/session/testing.go:234
↓ 35 callers
Function
TestSet
TestSet creates a plugin host sets in the provided DB with the provided catalog id. The catalog must have been created previously. The test will fail
internal/host/plugin/testing.go:67
↓ 35 callers
Function
WithDescription
WithDescription provides an optional description.
internal/auth/oidc/options.go:63
↓ 35 callers
Function
WithDescription
WithDescription provides an optional description.
internal/auth/ldap/options.go:127
↓ 34 callers
Function
NewRepository
NewRepository creates a new Repository. The returned repository should only be used for one transaction and it is not safe for concurrent go routines
internal/scheduler/job/repository.go:30
↓ 34 callers
Function
RegisterPrefixToResourceInfo
RegisterPrefixToResourceInfo is called from various packages to register which prefixes belong to them, what types those represent, and any domain and
globals/prefixes.go:376
↓ 34 callers
Function
WithUserDn
WithUserDn optionally specifies a user dn used to search for user entries.
internal/auth/ldap/options.go:201
↓ 34 callers
Function
testId
(t testing.TB)
internal/oplog/testing.go:102
↓ 33 callers
Function
ConnectionStatusFromString
(s string)
internal/session/connection_state.go:52
↓ 33 callers
Method
CreateCredentialStore
CreateCredentialStore inserts cs into the repository and returns a new CredentialStore containing the credential store's PublicId. cs is not changed.
internal/credential/vault/repository_credential_store.go:45
↓ 33 callers
Function
DevKeyGeneration
()
internal/cmd/config/config.go:494
↓ 33 callers
Method
GetStoreId
()
internal/credential/credential.go:82
↓ 33 callers
Function
NewCredentialStore
NewCredentialStore creates a new in memory CredentialStore for a Vault server at vaultAddress assigned to projectId. Name, description, CA cert, clien
internal/credential/vault/credential_store.go:35
↓ 33 callers
Function
NewMaskManager
NewMaskManager returns a mask manager that can translate field masks into the first proto from all subsequent protos assuming they are both using the
internal/daemon/controller/handlers/mask_manager.go:30
↓ 33 callers
Method
Sort
Sort orders the Editions by priority.
internal/db/schema/internal/edition/edition.go:52
↓ 33 callers
Function
WithSkipVetForWrite
WithSkipVetForWrite provides an option to allow skipping vet checks to allow testing lower-level SQL triggers and constraints
internal/db/option.go:291
↓ 33 callers
Function
getDefaultOptions
()
internal/server/options.go:71
↓ 33 callers
Function
populateBytes
Generate random bytes for byte fields
internal/server/testing.go:35
↓ 32 callers
Method
GetDescription
()
internal/boundary/boundary.go:32
↓ 32 callers
Method
GetHostCatalogId
()
internal/gen/controller/api/services/host_service.pb.go:170
↓ 32 callers
Function
GetOpts
GetOpts - iterate the inbound Options and return a struct.
internal/cmd/base/option.go:14
↓ 32 callers
Function
TestSessionMeta
(s string)
internal/bsr/testing.go:56
↓ 32 callers
Function
ValidDekPurposes
ValidDekPurposes returns the current list of valid DEK key purposes
internal/kms/const.go:88
↓ 32 callers
Function
WithCreateFile
WithCreateFile indicates a file should be created when opening.
internal/storage/options.go:85
↓ 32 callers
Function
WithGroupDn
WithGroupDn optionally specifies a group dn used to search for group entries.
internal/auth/ldap/options.go:225
↓ 32 callers
Function
WithRandomReader
WithRandomReader(...) option allows an optional random reader to be provided. By default the reader from crypto/rand will be used.
internal/kms/options.go:118
↓ 32 callers
Function
getDefaultOptions
()
internal/auth/ldap/options.go:59
↓ 32 callers
Function
getOpts
getOpts - iterate the inbound Options and return a struct
internal/credential/vault/options.go:9
↓ 32 callers
Function
newId
(ctx context.Context)
internal/session/ids.go:25
↓ 31 callers
Function
CreateKeys
CreateKeys creates new bsr keys, wrapping and signing keys as required using the provided bsrWrapper. Supported options: WithRandomReader
internal/bsr/kms/keys.go:71
↓ 31 callers
Method
GetCredentialStoreId
()
internal/gen/controller/api/services/credential_service.pb.go:170
↓ 31 callers
Method
GetId
GetId returns the Id of the container.
internal/bsr/types.go:62
↓ 31 callers
Method
LookupWorker
LookupWorker returns the worker for the provided publicId. This returns nil nil in the situation where no worker can be found with that public id.
internal/server/repository_worker.go:112
↓ 31 callers
Method
OpenFile
(context.Context, string, ...Option)
internal/storage/storage.go:77
↓ 31 callers
Function
ParseListToken
ParseListToken parses a list token from the input, returning an error if the parsing fails.
internal/daemon/controller/handlers/list_token.go:21
↓ 31 callers
Method
ServeHTTP
ServeHTTP satisfies the http.Handler interface
internal/auth/oidc/testing.go:501
↓ 31 callers
Method
Token
Token returns the current vault token if available.
internal/credential/vault/credential_store.go:172
↓ 31 callers
Function
WithOperationalState
WithOperationalState provides an option for specifying the auth method's operational state
internal/auth/ldap/options.go:341
↓ 31 callers
Function
allocGlobalRole
()
internal/iam/role.go:296
↓ 30 callers
Method
AddUserAccounts
AddUserAccounts adds Users as members to a group. The provided request must include the User id which the Account will be added to. If that id is mis
internal/gen/controller/api/services/user_service_grpc.pb.go:73
↓ 30 callers
Method
Addr
()
internal/daemon/cluster/tracking_listener.go:141
↓ 30 callers
Method
Controller
Controller returns the underlying controller
internal/daemon/controller/testing.go:92
↓ 30 callers
Method
Dial
()
internal/daemon/controller/gateway.go:44
↓ 30 callers
Method
EventType
EventType is required for all event types by the eventlogger broker
internal/event/event_error.go:63
↓ 30 callers
Method
Process
Process formats the Boundary event as an hclog entry and stores that formatted data in Event.Formatted with a key of either "hclog-text" (TextHclogSin
internal/event/hclog_formatter_node.go:147
↓ 30 callers
Method
Set
(s string)
internal/cmd/base/flags.go:85
↓ 30 callers
Function
TestConnection
TestConnection creates a test connection for the sessionId in the repository.
internal/session/testing.go:31
↓ 30 callers
Function
TestRequestInfo
TestRequestInfo provides a test RequestInfo
internal/event/testing.go:213
↓ 30 callers
Function
WithKeyId
WithKeyId allows specifying a key ID that should be found in a scope's multiwrapper; if it is not found, keys will be refreshed
internal/kms/options.go:103
↓ 30 callers
Function
allocToken
()
internal/credential/vault/vault_token.go:94
↓ 30 callers
Method
get
(context.Context, string)
internal/credential/vault/vault.go:30
↓ 30 callers
Function
getDefaultOptions
()
internal/db/option.go:196
↓ 29 callers
Method
GetVaultCredentialStoreAttributes
()
api/credentialstores/vault_credential_store_attributes.gen.go:46
↓ 29 callers
Method
LookupConnection
LookupConnection will look up a connection in the repository and return the connection with its state. If the connection is not found, it will return
internal/session/repository_connection.go:181
↓ 29 callers
Function
NewRepository
NewRepository creates a new Repository. The returned repository should only be used for one transaction and it is not safe for concurrent go routines
internal/host/plugin/repository.go:43
↓ 29 callers
Function
NewWorkerServiceServer
( serversRepoFn common.ServersRepoFactory, workerAuthRepoFn common.WorkerAuthRepoStorageFactory, sessionRep
internal/daemon/cluster/handlers/worker_service.go:75
↓ 29 callers
Function
Parse
Parse parses a grant string. Note that this does not do checking of the validity of IDs and such; that's left for other parts of the system. We may no
internal/perms/grants.go:452
↓ 29 callers
Function
Pointer
Pointer is just a generic function to return a pointer of whatever type is given
internal/util/pointer.go:8
↓ 29 callers
Function
TestAuthContextFromToken
TestAuthContextFromToken creates an auth context with provided token This is used in conjunction with TestAuthTokenWithRoles which creates a test toke
internal/daemon/controller/auth/testing.go:44
↓ 29 callers
Function
WithLimit
WithLimit provides an option to provide a limit. If WithLimit == 0, then default limits are used for results.
internal/credential/options.go:72
↓ 29 callers
Function
WithOverridePrivateKeyAttribute
WithOverridePrivateKeyAttribute provides the name of an attribute in the Data field of a Vault api.Secret that maps to a private key value.
internal/credential/vault/options.go:176
↓ 29 callers
Function
WithReleaseVersion
WithRelease version provides an optional release version
internal/server/options.go:244
↓ 29 callers
Method
client
(t testing.TB)
internal/credential/vault/testing.go:786
↓ 28 callers
Function
AddHostSourceToTargetCli
AddHostSourceToTargetCli uses the cli to add a host source (host set or host) to a target. Boundary's `add-host-sources` functionality appends a new h
testing/internal/e2e/boundary/target.go:306
↓ 28 callers
Method
CancelSession
CancelSession sets a session's state to "canceling" in the repo. It's called when the user cancels a session and the controller wants to update the s
internal/session/repository_session.go:498
↓ 28 callers
Method
Config
()
internal/daemon/controller/testing.go:96
↓ 28 callers
Function
CreateHostCatalogCli
CreateHostCatalogCli uses the cli to create a new host catalog. Returns the id of the new host catalog.
testing/internal/e2e/boundary/host.go:97
↓ 28 callers
Function
DefaultLimiterMaxQuotas
DefaultLimiterMaxQuotas returns the default maximum number of quotas that can be tracked by the rate limiter.
internal/ratelimit/config.go:64
↓ 28 callers
Function
DevController
DevController is a Config that is used for dev mode of Boundary controllers
internal/cmd/config/config.go:513
↓ 28 callers
Method
GetSecrets
()
internal/storage/storagebucketcredential/storage_bucket_credential.go:29
↓ 28 callers
Method
GetState
()
internal/storage/bucket/storage_bucket.go:14
↓ 28 callers
Method
GetUri
()
internal/gen/controller/api/services/user_service.pb.go:392
↓ 28 callers
Function
NewStoreRepository
NewStoreRepository returns a new credential store repository.
internal/credential/repository_store.go:27
↓ 28 callers
Function
RegisterJobs
(ctx context.Context, scheduler *scheduler.Scheduler, r db.Reader, w db.Writer, kms *kms.Kms)
internal/credential/vault/jobs.go:33
↓ 28 callers
Method
Shutdown
()
internal/ratelimit/limiter.go:18
↓ 28 callers
Method
StringSliceVar
(i *StringSliceVar)
internal/cmd/base/flags.go:508
↓ 28 callers
Method
Warn
Emit a message and key/value pairs at the WARN level
internal/event/hclog_event_adapter.go:88
↓ 28 callers
Function
WithBindCredential
WithBindCredential optionally specifies a set of optional configuration parameters which allow Boundary to bind (aka authenticate) using the credentia
internal/auth/ldap/options.go:252
↓ 28 callers
Method
decrypt
decrypt the bind credential after reading it from the database
internal/auth/ldap/bind_credential.go:95
↓ 28 callers
Function
file_controller_api_services_v1_role_service_proto_rawDescGZIP
()
internal/gen/controller/api/services/role_service.pb.go:1666
↓ 28 callers
Function
file_controller_servers_services_v1_server_coordination_service_proto_rawDescGZIP
()
internal/gen/controller/servers/services/server_coordination_service.pb.go:1815
↓ 27 callers
Method
AuthorizeConnection
AuthorizeConnection will check to see if a connection is allowed. Currently, that authorization checks: * the hasn't expired based on the session.Exp
internal/session/repository_connection.go:137
↓ 27 callers
Method
CanonicalString
CanonicalString returns the canonical representation of the grant
internal/perms/grants.go:218
↓ 27 callers
Function
CreateHostCli
CreateHostCli uses the cli to create a new host. Returns the id of the new host.
testing/internal/e2e/boundary/host.go:161
↓ 27 callers
Method
Kms
()
internal/daemon/controller/testing.go:108
↓ 27 callers
Method
ListSessions
(ctx context.Context, authTokenId string, opt ...Option)
internal/clientcache/internal/cache/repository_sessions.go:326
↓ 27 callers
Method
ListTargets
(ctx context.Context, authTokenId string, opt ...Option)
internal/clientcache/internal/cache/repository_targets.go:319
↓ 27 callers
Method
LookupRole
LookupRole will look up a role in the repository. If the role is not found, it will return nil, nil. Supported options: WithReaderWriter
internal/iam/repository_role.go:222
↓ 27 callers
Function
NewEventer
NewEventer creates a new Eventer using the config. Supports options: WithNow, WithSerializationLock, WithBroker, WithAuditWrapper, WithNoDefaultSink
internal/event/eventer.go:223
↓ 27 callers
Function
TestPlugin
TestPlugin creates a plugin and inserts it into the database. enables the "host" flag by default Supported options: WithHostFlag, WithStorageFlag
internal/plugin/testing.go:90
↓ 27 callers
Function
WithName
WithName provides an optional name.
internal/host/static/options.go:46
↓ 27 callers
Function
WithName
(inName string)
api/authmethods/option.gen.go:830
↓ 27 callers
Function
WithOverridePrivateKeyPassphraseAttribute
WithOverridePrivateKeyPassphraseAttribute provides the name of an attribute in the Data field of a Vault api.Secret that maps to a passphrase value.
internal/credential/vault/options.go:184
← previous
next →
401–500 of 19,156, ranked by callers