MCPcopy Create free account

hub / github.com/hashicorp/boundary / functions

Functions19,156 in github.com/hashicorp/boundary

↓ 49 callersFunctionWithTcpTargetDefaultPort
(inDefaultPort uint32)
api/targets/option.gen.go:296
↓ 49 callersFunctiongetOpts
getOpts - iterate the inbound Options and return a struct.
internal/auth/oidc/options.go:15
↓ 49 callersFunctiontestTargetStaticResourceRetrievalFunc
(inFunc func(ctx context.Context, s1, s2 string, refToken RefreshTokenValue) ([]*targets.Target, []string, Ref
internal/clientcache/internal/cache/refresh_test.go:57
↓ 48 callersMethodCreateKeys
CreateKeys creates the root key and DEKs. Supports the WithRandomReader(...) and WithReaderWriter(...) options. When WithReaderWriter(...) is used the
internal/kms/kms.go:236
↓ 48 callersMethodCurrentState
CurrentState provides the state of the boundary schema contained in the backing database.
internal/db/schema/manager.go:117
↓ 47 callersFunctionExpectWorkers
ExpectWorkers is a blocking call, where the method validates that the expected workers can be found in the controllers status update. If the provided
internal/tests/helper/testing_helper.go:461
↓ 47 callersMethodStart
Start starts the event listener.
internal/event/event_listener.go:21
↓ 47 callersFunctionWithAliasRetrievalFunc
WithAliasRetrievalFunc provides an option for specifying an aliasRetrievalFunc
internal/clientcache/internal/cache/options.go:90
↓ 47 callersFunctionWithName
WithName provides an optional name.
internal/auth/oidc/options.go:70
↓ 47 callersFunctiongetOpts
getOpts - iterate the inbound Options and return a struct.
internal/event/options.go:17
↓ 47 callersMethodsetup
(c *Config)
internal/scheduler/batch/batch_test.go:307
↓ 46 callersMethodGetLastStatusTime
GetLastStatusTime contains the last time the worker has reported to the controller its connection status. If the worker has never reported to a contr
internal/server/worker.go:194
↓ 46 callersMethodGetListToken
()
internal/gen/controller/api/services/user_service.pb.go:190
↓ 46 callersFunctionNewTestUser
()
internal/db/db_test/db.go:28
↓ 46 callersMethodPluralString
()
internal/types/resource/resource.go:85
↓ 46 callersFunctionWithFileAccessMode
WithFileAccessMode sets the access mode when a file is opened.
internal/storage/options.go:92
↓ 46 callersMethodWriteString
WriteString implements the io.StringWriter WriteString method.
internal/bsr/internal/sign/sign.go:66
↓ 46 callersFunctiongetOpts
(opt ...Option)
internal/clientcache/internal/cache/options.go:54
↓ 45 callersMethodDbConn
()
internal/daemon/controller/testing.go:180
↓ 45 callersFunctionTestDeleteWhere
TestDeleteWhere allows you to easily delete resources for testing purposes including all the current resources.
internal/db/testing.go:164
↓ 45 callersFunctionWithDescription
WithDescription provides an optional description.
internal/server/options.go:80
↓ 45 callersFunctionWithEventerConfig
WithEventer allows an optional eventer config
internal/event/options.go:179
↓ 45 callersFunctionWithName
WithName provides an optional name.
internal/auth/ldap/options.go:119
↓ 45 callersFunctiontestResolvableAliasStaticResourceRetrievalFunc
(inFunc func(ctx context.Context, s1, s2, s3 string, refToken RefreshTokenValue) ([]*aliases.Alias, []string,
internal/clientcache/internal/cache/refresh_test.go:89
↓ 44 callersMethodGetVersion
()
internal/boundary/boundary.go:23
↓ 44 callersMethodKeyId
KeyId is the id of the key currently used for encryption operations. Mock values supported: KeyIdErr, KeyIdReturned
internal/kms/testing.go:100
↓ 44 callersFunctionTestSetupWithMock
TestSetupWithMock will return a test DB and an associated Sqlmock which can be used to mock out the db responses.
internal/db/testing.go:99
↓ 44 callersFunctionWithLimit
WithLimit provides an option to provide a limit. Intentionally allowing negative integers. If WithLimit < 0, then unlimited results are returned. If W
internal/host/static/options.go:55
↓ 43 callersMethodLastItem
LastItem returns the last item stored in the token. This will differ depending on whether the token has a pagination, start-refresh or refresh subtype
internal/listtoken/list_token.go:244
↓ 43 callersFunctionParse
(d string)
internal/cmd/config/config.go:675
↓ 43 callersFunctionTestCreatePartialEditions
TestCreatePartialEditions is used by tests to create a subset of the Edition migrations.
internal/db/schema/testing.go:16
↓ 43 callersFunctionWithAccountIds
WithAccountIds provides an option for specifying account ids to add to a user.
internal/iam/options.go:154
↓ 43 callersFunctionWithStartPageAfterItem
WithStartPageAfterItem is used to paginate over the results. The next page will start after the provided item.
internal/iam/options.go:182
↓ 43 callersMethodaddConnection
addConnection adds a connection associated with the provided downstream worker key identifier.
internal/daemon/cluster/downstreammanager.go:43
↓ 42 callersFunctionNewClient
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/scopes/scope.gen.go:114
↓ 42 callersFunctionNewUsernamePasswordOverride
NewUsernamePasswordOverride creates a new in memory UsernamePasswordOverride. WithOverrideUsernameAttribute and WithOverridePasswordAttribute are the
internal/credential/vault/mapping_overriders.go:59
↓ 42 callersFunctionNewWrappingPluginHostClient
(s plgpb.HostPluginServiceServer)
internal/plugin/loopback/client.go:24
↓ 42 callersMethodRotateKeys
RotateKeys rotates and optionally rewraps all the keys found in the scope specified. If the scope is not found an error is returned. If the scope is e
internal/gen/controller/api/services/scope_service_grpc.pb.go:74
↓ 42 callersMethodSetTableName
SetTableName sets the table name of the resource
internal/oplog/replayable.go:12
↓ 42 callersFunctionTestGroupRole
(t testing.TB, conn *db.DB, roleId, grpId string, opt ...Option)
internal/iam/testing.go:619
↓ 42 callersFunctionTestOrg
(t testing.TB, repo *Repository, opt ...Option)
internal/iam/testing.go:91
↓ 42 callersMethodTranslate
Translate takes a field mask's paths and returns paths translated for the destination's protobuf. If a translation doesn't exist for a specific path
internal/daemon/controller/handlers/mask_manager.go:95
↓ 42 callersFunctionWithKeyType
WithKeyType provides an optional ssh private key type to use with a ssh certificate credential library. Must be rsa, ed25519, or ecdsa.
internal/credential/vault/options.go:200
↓ 42 callersFunctionWithName
(inName string)
api/targets/option.gen.go:386
↓ 42 callersFunctionWithSort
WithSort configures sorting for query results. Empty sortBy is silently ignored. Empty direction defaults to ascending in the repository layer. Valida
internal/clientcache/internal/cache/options.go:159
↓ 42 callersFunctiontarget
(suffix string)
internal/clientcache/internal/cache/refresh_test.go:1501
↓ 41 callersMethodCredentialType
()
internal/credential/credential.go:34
↓ 41 callersMethodGetRecursive
()
internal/gen/controller/api/services/user_service.pb.go:176
↓ 41 callersMethodGetTicket
GetTicket returns an oplog ticket for the aggregate root of "i" which can be used to WriteOplogEntryWith for that aggregate root.
internal/db/read_writer.go:146
↓ 41 callersFunctionListRefresh
ListRefresh returns a ListResponse. The response will contain at most pageSize number of items. Items are fetched using the listItemsFn and checked us
internal/pagination/pagination.go:163
↓ 41 callersFunctionListRefreshPage
ListRefreshPage returns a ListResponse. The response will contain at most pageSize number of items. Items are fetched using the listItemsFn and checke
internal/pagination/pagination.go:219
↓ 41 callersFunctionNewController
NewController returns a new controller. Valid options are WithAddress and WithDescription. All other options are ignored.
internal/server/controller.go:18
↓ 41 callersFunctionNewSshPrivateKeyOverride
NewSshPrivateKeyOverride creates a new in memory SshPrivateKeyOverride. WithOverrideUsernameAttribute, WithOverridePrivateKeyAttribute and WithOverrid
internal/credential/vault/mapping_overriders.go:248
↓ 41 callersFunctionTestGroupMember
(t testing.TB, conn *db.DB, groupId, userId string, opt ...Option)
internal/iam/testing.go:592
↓ 40 callersFunctionAllocAuthMethod
AllocAuthMethod makes an empty one in memory
internal/auth/oidc/auth_method.go:173
↓ 40 callersMethodClusterAddrs
()
internal/daemon/controller/testing.go:176
↓ 40 callersFunctionGetOpts
getOpts - iterate the inbound Options and return a struct
internal/server/options.go:16
↓ 40 callersFunctionInitSysEventer
InitSysEventer provides a mechanism to initialize a "system wide" eventer singleton for Boundary. Support the options of: WithEventer(...) and WithEv
internal/event/eventer.go:160
↓ 40 callersFunctionMaxAttributesLength
(nonAttributesMap, attributesMap map[string]any, keySubstMap map[string]string)
internal/cmd/base/format.go:53
↓ 40 callersFunctionNewApiClient
NewApiClient creates a new Api client for the specified Boundary instance and attempts to authenticate it. Returns the client.
testing/internal/e2e/boundary/authenticate.go:20
↓ 40 callersFunctionNewClient
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/authmethods/authmethods.gen.go:115
↓ 40 callersFunctionTestTofu
TestTofu will create a test "trust on first use" token
internal/session/testing.go:283
↓ 40 callersFunctionWithDescription
WithDescription provides an optional description.
internal/credential/static/options.go:32
↓ 40 callersFunctionWithName
WithName provides an optional name.
internal/credential/static/options.go:39
↓ 40 callersFunctionWithOp
WithOp provides an option to provide the operation that's raising/propagating the error.
internal/errors/option.go:52
↓ 40 callersMethodWriteOplogEntryWith
WriteOplogEntryWith will write an oplog entry with the msgs provided for the ticket's aggregateName. No options are currently supported.
internal/db/read_writer.go:150
↓ 40 callersFunctiongetOpts
getOpts - iterate the inbound Options and return a struct
internal/iam/options.go:14
↓ 40 callersFunctionwriteError
(w http.ResponseWriter, msg string, s int)
internal/clientcache/internal/daemon/handlers.go:14
↓ 39 callersMethodActivateSession
ActivateSession will activate the session and is called by a worker after authenticating the session. The session must be in a "pending" state to be a
internal/session/repository_session.go:679
↓ 39 callersFunctionListPage
ListPage returns a ListResponse. The response will contain at most pageSize number of items. Items are fetched using the listItemsFn and checked using
internal/pagination/pagination.go:116
↓ 39 callersFunctionTestCredentialLibraries
TestCredentialLibraries creates count number of vault credential libraries in the provided DB with the provided store id. If any errors are encountere
internal/credential/vault/testing.go:119
↓ 38 callersMethodAdd
(float64)
internal/daemon/worker/internal/metric/proxy_ws_test.go:464
↓ 38 callersFunctionDisabledAuthTestContext
DisabledAuthTestContext is meant for testing, and uses a context that has auth checking entirely disabled. Supported options: WithScopeId an WithUserI
internal/daemon/controller/auth/testing.go:26
↓ 38 callersFunctionNewConnectionRepository
NewConnectionRepository creates a new session Connection Repository. Supports the options: WithLimit which sets a default limit on results returned by
internal/session/repository_connection.go:37
↓ 38 callersFunctionNewFilter
NewFilter returns a Filter which can be evaluated against. An empty string parameter indicates all items passed to it should succeed.
internal/daemon/controller/handlers/filtering.go:26
↓ 38 callersMethodPrintf
(msg string, values ...any)
internal/clientcache/internal/daemon/server.go:597
↓ 38 callersMethodRead
Read implements the mock read operation. Mock values supported: WithBytesRead, WithMockReadOn
internal/bsr/kms/testing.go:58
↓ 38 callersMethodServe
Serve will fire up the refresh goroutine and the caching API http server as a daemon. The daemon bits are included so it's easy for CLI cmds to start
internal/clientcache/internal/daemon/server.go:205
↓ 38 callersMethodUnmappedKeyIds
UnmappedKeyIds are the key ids for which no worker id association is known and which are tracking at least 1 connection.
internal/daemon/cluster/downstreammanager.go:130
↓ 38 callersFunctionWithInfo
WithInfo allows an optional info key/value pairs about an error event. If used in conjunction with the WithInfoMsg(...) option, and WithInfoMsg(...)
internal/event/options.go:105
↓ 38 callersFunctionWithTemplate
WithTemplate tells the command with database template to use when creating a new test database.
testing/dbtest/option.go:29
↓ 38 callersFunctiontestGenerateCA
testGenerateCA will generate a test x509 CA cert, along with it encoded in a PEM format.
internal/auth/oidc/testing.go:266
↓ 37 callersMethodClone
()
internal/storage/storagebucketcredential/storage_bucket_credential.go:24
↓ 37 callersMethodGetBucket
()
internal/storage/bucket/storage_bucket.go:15
↓ 37 callersMethodGetCreatedTime
()
internal/daemon/controller/handlers/verifiers.go:29
↓ 37 callersFunctionList
List returns a ListResponse. The response will contain at most pageSize number of items. Items are fetched using the listItemsFn and checked using the
internal/pagination/pagination.go:76
↓ 37 callersMethodLookupUser
LookupUser will look up a user and its associated account ids in the repository. If the user is not found, it will return nil, nil, nil.
internal/iam/repository_user.go:181
↓ 37 callersFunctionMaskContains
(paths []string, s string)
internal/daemon/controller/handlers/mask_manager.go:116
↓ 37 callersFunctionTestEventerConfig
TestEventerConfig creates a test config and registers a cleanup func for its test tmp files.
internal/event/testing.go:95
↓ 37 callersFunctionTestWrapper
TestWrapper initializes an AEAD wrapping.Wrapper for testing
internal/bsr/kms/testing.go:18
↓ 37 callersFunctionWithKeyBits
WithKeyBits provides an optional number of bits used to generate an ssh private key.
internal/credential/vault/options.go:207
↓ 37 callersFunctionWithOrder
WithOrder provides an option to provide an order when searching and looking up.
internal/db/option.go:308
↓ 37 callersFunctionWithTestVaultTLS
WithTestVaultTLS sets the Vault TLS option. TestNoTLS is the default TLS option.
internal/credential/vault/testing.go:633
↓ 36 callersMethodAdd
(float64)
internal/daemon/metric/instrument_handlers_test.go:65
↓ 36 callersMethodDeleteItems
DeleteItems will delete multiple items of the same type. Supported options: WithOplog and WithOplogMsgs. WithOplog and WithOplogMsgs may not be used t
internal/db/read_writer.go:130
↓ 36 callersMethodEncodeSummary
EncodeSummary writes a new line terminated key : value pair to the container's summary file
internal/bsr/container.go:666
↓ 36 callersMethodGetIssuer
()
internal/auth/oidc/store/oidc.pb.go:460
↓ 36 callersMethodGetUsername
()
internal/credential/static/store/static.pb.go:765
↓ 36 callersMethodLen
()
internal/auth/oidc/auth_method_test.go:733
↓ 36 callersMethodLookupScope
LookupScope will look up a scope in the repository. If the scope is not found, it will return nil, nil.
internal/iam/repository_scope.go:505
← previousnext →301–400 of 19,156, ranked by callers