MCPcopy Create free account

hub / github.com/hashicorp/boundary / functions

Functions19,156 in github.com/hashicorp/boundary

↓ 36 callersFunctionSysEventer
SysEventer returns the "system wide" eventer for Boundary and can/will return a nil Eventer
internal/event/eventer.go:201
↓ 36 callersFunctionWithEd25519
WithEd25519 allows an optional request to use ed25519 during the operation
internal/libs/crypto/options.go:54
↓ 35 callersFunctionGetOpts
GetOpts - iterate the inbound Options and return a struct
internal/daemon/controller/handlers/options.go:14
↓ 35 callersMethodGetPassword
()
internal/auth/ldap/store/ldap.pb.go:1000
↓ 35 callersMethodListAccounts
ListAccounts implements the interface pbs.AccountServiceServer.
internal/daemon/controller/handlers/accounts/account_service.go:148
↓ 35 callersFunctionNewTestWorker
(t testing.TB, opts *TestWorkerOpts)
internal/daemon/worker/testing.go:246
↓ 35 callersMethodRemove
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 callersFunctionTestSessionParams
TestSessionParams returns an initialized ComposedOf which can be used to create a session in the repository.
internal/session/testing.go:234
↓ 35 callersFunctionTestSet
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 callersFunctionWithDescription
WithDescription provides an optional description.
internal/auth/oidc/options.go:63
↓ 35 callersFunctionWithDescription
WithDescription provides an optional description.
internal/auth/ldap/options.go:127
↓ 34 callersFunctionNewRepository
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 callersFunctionRegisterPrefixToResourceInfo
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 callersFunctionWithUserDn
WithUserDn optionally specifies a user dn used to search for user entries.
internal/auth/ldap/options.go:201
↓ 34 callersFunctiontestId
(t testing.TB)
internal/oplog/testing.go:102
↓ 33 callersFunctionConnectionStatusFromString
(s string)
internal/session/connection_state.go:52
↓ 33 callersMethodCreateCredentialStore
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 callersFunctionDevKeyGeneration
()
internal/cmd/config/config.go:494
↓ 33 callersMethodGetStoreId
()
internal/credential/credential.go:82
↓ 33 callersFunctionNewCredentialStore
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 callersFunctionNewMaskManager
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 callersMethodSort
Sort orders the Editions by priority.
internal/db/schema/internal/edition/edition.go:52
↓ 33 callersFunctionWithSkipVetForWrite
WithSkipVetForWrite provides an option to allow skipping vet checks to allow testing lower-level SQL triggers and constraints
internal/db/option.go:291
↓ 33 callersFunctiongetDefaultOptions
()
internal/server/options.go:71
↓ 33 callersFunctionpopulateBytes
Generate random bytes for byte fields
internal/server/testing.go:35
↓ 32 callersMethodGetDescription
()
internal/boundary/boundary.go:32
↓ 32 callersMethodGetHostCatalogId
()
internal/gen/controller/api/services/host_service.pb.go:170
↓ 32 callersFunctionGetOpts
GetOpts - iterate the inbound Options and return a struct.
internal/cmd/base/option.go:14
↓ 32 callersFunctionTestSessionMeta
(s string)
internal/bsr/testing.go:56
↓ 32 callersFunctionValidDekPurposes
ValidDekPurposes returns the current list of valid DEK key purposes
internal/kms/const.go:88
↓ 32 callersFunctionWithCreateFile
WithCreateFile indicates a file should be created when opening.
internal/storage/options.go:85
↓ 32 callersFunctionWithGroupDn
WithGroupDn optionally specifies a group dn used to search for group entries.
internal/auth/ldap/options.go:225
↓ 32 callersFunctionWithRandomReader
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 callersFunctiongetDefaultOptions
()
internal/auth/ldap/options.go:59
↓ 32 callersFunctiongetOpts
getOpts - iterate the inbound Options and return a struct
internal/credential/vault/options.go:9
↓ 32 callersFunctionnewId
(ctx context.Context)
internal/session/ids.go:25
↓ 31 callersFunctionCreateKeys
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 callersMethodGetCredentialStoreId
()
internal/gen/controller/api/services/credential_service.pb.go:170
↓ 31 callersMethodGetId
GetId returns the Id of the container.
internal/bsr/types.go:62
↓ 31 callersMethodLookupWorker
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 callersMethodOpenFile
(context.Context, string, ...Option)
internal/storage/storage.go:77
↓ 31 callersFunctionParseListToken
ParseListToken parses a list token from the input, returning an error if the parsing fails.
internal/daemon/controller/handlers/list_token.go:21
↓ 31 callersMethodServeHTTP
ServeHTTP satisfies the http.Handler interface
internal/auth/oidc/testing.go:501
↓ 31 callersMethodToken
Token returns the current vault token if available.
internal/credential/vault/credential_store.go:172
↓ 31 callersFunctionWithOperationalState
WithOperationalState provides an option for specifying the auth method's operational state
internal/auth/ldap/options.go:341
↓ 31 callersFunctionallocGlobalRole
()
internal/iam/role.go:296
↓ 30 callersMethodAddUserAccounts
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 callersMethodAddr
()
internal/daemon/cluster/tracking_listener.go:141
↓ 30 callersMethodController
Controller returns the underlying controller
internal/daemon/controller/testing.go:92
↓ 30 callersMethodDial
()
internal/daemon/controller/gateway.go:44
↓ 30 callersMethodEventType
EventType is required for all event types by the eventlogger broker
internal/event/event_error.go:63
↓ 30 callersMethodProcess
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 callersMethodSet
(s string)
internal/cmd/base/flags.go:85
↓ 30 callersFunctionTestConnection
TestConnection creates a test connection for the sessionId in the repository.
internal/session/testing.go:31
↓ 30 callersFunctionTestRequestInfo
TestRequestInfo provides a test RequestInfo
internal/event/testing.go:213
↓ 30 callersFunctionWithKeyId
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 callersFunctionallocToken
()
internal/credential/vault/vault_token.go:94
↓ 30 callersMethodget
(context.Context, string)
internal/credential/vault/vault.go:30
↓ 30 callersFunctiongetDefaultOptions
()
internal/db/option.go:196
↓ 29 callersMethodGetVaultCredentialStoreAttributes
()
api/credentialstores/vault_credential_store_attributes.gen.go:46
↓ 29 callersMethodLookupConnection
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 callersFunctionNewRepository
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 callersFunctionNewWorkerServiceServer
( serversRepoFn common.ServersRepoFactory, workerAuthRepoFn common.WorkerAuthRepoStorageFactory, sessionRep
internal/daemon/cluster/handlers/worker_service.go:75
↓ 29 callersFunctionParse
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 callersFunctionPointer
Pointer is just a generic function to return a pointer of whatever type is given
internal/util/pointer.go:8
↓ 29 callersFunctionTestAuthContextFromToken
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 callersFunctionWithLimit
WithLimit provides an option to provide a limit. If WithLimit == 0, then default limits are used for results.
internal/credential/options.go:72
↓ 29 callersFunctionWithOverridePrivateKeyAttribute
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 callersFunctionWithReleaseVersion
WithRelease version provides an optional release version
internal/server/options.go:244
↓ 29 callersMethodclient
(t testing.TB)
internal/credential/vault/testing.go:786
↓ 28 callersFunctionAddHostSourceToTargetCli
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 callersMethodCancelSession
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 callersMethodConfig
()
internal/daemon/controller/testing.go:96
↓ 28 callersFunctionCreateHostCatalogCli
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 callersFunctionDefaultLimiterMaxQuotas
DefaultLimiterMaxQuotas returns the default maximum number of quotas that can be tracked by the rate limiter.
internal/ratelimit/config.go:64
↓ 28 callersFunctionDevController
DevController is a Config that is used for dev mode of Boundary controllers
internal/cmd/config/config.go:513
↓ 28 callersMethodGetSecrets
()
internal/storage/storagebucketcredential/storage_bucket_credential.go:29
↓ 28 callersMethodGetState
()
internal/storage/bucket/storage_bucket.go:14
↓ 28 callersMethodGetUri
()
internal/gen/controller/api/services/user_service.pb.go:392
↓ 28 callersFunctionNewStoreRepository
NewStoreRepository returns a new credential store repository.
internal/credential/repository_store.go:27
↓ 28 callersFunctionRegisterJobs
(ctx context.Context, scheduler *scheduler.Scheduler, r db.Reader, w db.Writer, kms *kms.Kms)
internal/credential/vault/jobs.go:33
↓ 28 callersMethodShutdown
()
internal/ratelimit/limiter.go:18
↓ 28 callersMethodStringSliceVar
(i *StringSliceVar)
internal/cmd/base/flags.go:508
↓ 28 callersMethodWarn
Emit a message and key/value pairs at the WARN level
internal/event/hclog_event_adapter.go:88
↓ 28 callersFunctionWithBindCredential
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 callersMethoddecrypt
decrypt the bind credential after reading it from the database
internal/auth/ldap/bind_credential.go:95
↓ 28 callersFunctionfile_controller_api_services_v1_role_service_proto_rawDescGZIP
()
internal/gen/controller/api/services/role_service.pb.go:1666
↓ 28 callersFunctionfile_controller_servers_services_v1_server_coordination_service_proto_rawDescGZIP
()
internal/gen/controller/servers/services/server_coordination_service.pb.go:1815
↓ 27 callersMethodAuthorizeConnection
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 callersMethodCanonicalString
CanonicalString returns the canonical representation of the grant
internal/perms/grants.go:218
↓ 27 callersFunctionCreateHostCli
CreateHostCli uses the cli to create a new host. Returns the id of the new host.
testing/internal/e2e/boundary/host.go:161
↓ 27 callersMethodKms
()
internal/daemon/controller/testing.go:108
↓ 27 callersMethodListSessions
(ctx context.Context, authTokenId string, opt ...Option)
internal/clientcache/internal/cache/repository_sessions.go:326
↓ 27 callersMethodListTargets
(ctx context.Context, authTokenId string, opt ...Option)
internal/clientcache/internal/cache/repository_targets.go:319
↓ 27 callersMethodLookupRole
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 callersFunctionNewEventer
NewEventer creates a new Eventer using the config. Supports options: WithNow, WithSerializationLock, WithBroker, WithAuditWrapper, WithNoDefaultSink
internal/event/eventer.go:223
↓ 27 callersFunctionTestPlugin
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 callersFunctionWithName
WithName provides an optional name.
internal/host/static/options.go:46
↓ 27 callersFunctionWithName
(inName string)
api/authmethods/option.gen.go:830
↓ 27 callersFunctionWithOverridePrivateKeyPassphraseAttribute
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
← previousnext →401–500 of 19,156, ranked by callers