MCPcopy Create free account

hub / github.com/hashicorp/boundary / functions

Functions19,156 in github.com/hashicorp/boundary

↓ 27 callersFunctiongetOpts
getOpts iterates the inbound Options and returns a struct and any errors
api/proxy/option.go:17
↓ 27 callersFunctiontestJob
(t testing.TB, conn *db.DB, name, description string, wrapper wrapping.Wrapper, opt ...Option)
internal/scheduler/job/testing.go:20
↓ 27 callersFunctiontestStaticResourceRetrievalFuncForId
testStaticResourceRetrievalFunc returns a function that always returns the provided slice and a nil error. The returned function can be passed into th
internal/clientcache/internal/cache/refresh_test.go:135
↓ 26 callersMethodCreateAuthToken
(ctx context.Context, withIamUser *iam.User, withAuthAccountId string, opt ...authtoken.Option)
internal/auth/ldap/service_authenticate.go:102
↓ 26 callersMethodCreateScope
CreateScope creates and stores a Scope in boundary. The provided request must include the Scope ID in which the new scope will be created. If the Sco
internal/gen/controller/api/services/scope_service_grpc.pb.go:55
↓ 26 callersMethodGetPublicId
()
internal/host/store/host.pb.go:127
↓ 26 callersFunctionNewCatalogRepository
NewCatalogRepository returns a new host catalog repository.
internal/host/repository_catalog.go:28
↓ 26 callersFunctionOpen
Open creates a database connection. WithUrl is supported, but by default it uses an in memory sqlite table. Sqlite is the only supported dbtype. Suppo
internal/clientcache/internal/db/db.go:32
↓ 26 callersMethodPort
Port returns the port number for the test server listener.
internal/tests/helper/testing_helper.go:368
↓ 26 callersMethodSelfOrDefaults
SelfOrDefaults returns either the output fields itself or the defaults for the given user. It is safe to call this on a nil object (it will always ret
internal/perms/output_fields.go:95
↓ 26 callersMethodValidate
()
internal/auth/oidc/service.go:55
↓ 26 callersFunctionWithClientCertificate
WithClientCertificate provides optional configuration fields used for specifying a mTLS client cert for LDAP connections.
internal/auth/ldap/options.go:283
↓ 26 callersFunctionWithEnv
WithEnv is an option to RunCommand that allows the user to specify environment variables to be set when running the command. This option can be used m
testing/internal/e2e/helpers.go:205
↓ 26 callersFunctionWithPolicies
WithPolicies sets the polices to attach to a token. The default policy attached to tokens is 'default'.
internal/credential/vault/testing.go:615
↓ 26 callersMethoddecrypt
(ctx context.Context, cipher wrapping.Wrapper)
internal/credential/static/json_credential.go:129
↓ 26 callersFunctiongetDefaultOptions
()
internal/auth/oidc/options.go:56
↓ 26 callersFunctiongetOpts
getOpts - iterate the inbound Options and return a struct
internal/host/plugin/options.go:13
↓ 25 callersFunctionAddBrokeredCredentialSourceToTargetCli
AddBrokeredCredentialSourceToTargetCli uses the cli to add a credential source (credential library or credential) to a target
testing/internal/e2e/boundary/target.go:350
↓ 25 callersFunctionAddHostToHostSetCli
AddHostToHostSetCli uses the cli to add a host to a host set
testing/internal/e2e/boundary/host.go:193
↓ 25 callersMethodGetExpirationTime
()
internal/auth/oidc/request/request.pb.go:107
↓ 25 callersFunctionMarshalListToken
MarshalListToken assembles and marshals a list token to its string representation.
internal/daemon/controller/handlers/list_token.go:87
↓ 25 callersFunctionNewEntry
NewEntry creates a new Entry
internal/oplog/oplog.go:54
↓ 25 callersFunctionNewId
NewId is a bit of a modified NewId has been done to stop a circular dependency with the errors package that is caused by importing boundary/internal/d
internal/event/id.go:17
↓ 25 callersFunctionNewRefreshService
(ctx context.Context, r *Repository, logger hclog.Logger, maxSearchStaleness, maxSearchRefreshTimeout time.Dur
internal/clientcache/internal/cache/refresh.go:46
↓ 25 callersFunctionNewTypeCatalog
NewTypeCatalog creates a catalog with the types you pass in
internal/oplog/type_catalog.go:28
↓ 25 callersMethodRefresh
Refresh iterates over all tokens in the cache that are for users who either have a refresh token or which do not have any resources in the cache yet.
internal/clientcache/internal/cache/refresh.go:327
↓ 25 callersMethodReset
()
internal/host/store/host.pb.go:153
↓ 25 callersMethodStat
Stat returns the fs.FileInfo for the underlying fs.File.
internal/bsr/internal/sign/sign.go:116
↓ 25 callersFunctionTestCredentialStore
TestCredentialStore creates a vault credential store in the provided DB with the provided project, vault address, token, and accessor and any values p
internal/credential/vault/testing.go:40
↓ 25 callersFunctionValidDirection
ValidDirection checks if a given Direction is valid.
internal/bsr/direction.go:29
↓ 25 callersFunctionWithDescription
WithDescription provides an optional description.
internal/host/static/options.go:39
↓ 25 callersFunctionWithMemberOfGroups
WithMemberOfGroups provides an option for specifying a list of group names
internal/auth/ldap/options.go:357
↓ 25 callersFunctionWithScopeId
(id string)
internal/daemon/controller/auth/option.go:60
↓ 25 callersFunctionfile_testing_attribute_v1_attribute_proto_rawDescGZIP
()
internal/gen/testing/attribute/attribute.pb.go:1430
↓ 25 callersFunctionisNil
(i any)
internal/kms/kms.go:731
↓ 24 callersMethodClient
Client returns the HTTP API client. The client is cached on the command to save performance on future calls.
internal/cmd/base/base.go:217
↓ 24 callersFunctionCreateHostSetCli
CreateHostSetCli uses the cli to create a new host set. Returns the id of the new host set.
testing/internal/e2e/boundary/host.go:129
↓ 24 callersMethodDescriptor
Deprecated: Use Url.ProtoReflect.Descriptor instead.
internal/auth/ldap/store/ldap.pb.go:507
↓ 24 callersMethodDo
Do takes a properly configured request and applies client configuration to it, returning the response.
api/client.go:737
↓ 24 callersMethodGetSessionConnectionLimit
()
sdk/pbs/controller/api/resources/targets/target.pb.go:645
↓ 24 callersMethodGetWorkerFilter
()
internal/storage/storage.go:64
↓ 24 callersMethodListKeys
ListKeys lists all the keys found in the scope specified. If the scope is not found an error is returned.
internal/gen/controller/api/services/scope_service_grpc.pb.go:70
↓ 24 callersFunctionListPluginRefresh
ListPluginRefresh returns a ListResponse and a plugin associated with the resources. The response will contain at most pageSize number of items. Items
internal/pagination/plugin/pagination_plugin.go:135
↓ 24 callersFunctionListPluginRefreshPage
ListPluginRefreshPage returns a ListResponse and a plugin associated with the resources. The response will contain at most pageSize number of items. I
internal/pagination/plugin/pagination_plugin.go:197
↓ 24 callersFunctionListPluginsRefresh
ListPluginsRefresh returns a ListResponse and a map of plugin id to the plugins associated with the returned resources. The map may contain a superset
internal/pagination/plugin/pagination_plugins.go:138
↓ 24 callersFunctionListPluginsRefreshPage
ListPluginsRefreshPage returns a ListResponse and a map of plugin id to the plugins associated with the returned resources. The map may contain a supe
internal/pagination/plugin/pagination_plugins.go:201
↓ 24 callersFunctionNewBaseChunk
NewBaseChunk creates a BaseChunk.
internal/bsr/chunk.go:70
↓ 24 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/hostcatalogs/host_catalog.gen.go:120
↓ 24 callersFunctionNewSession
NewSession creates a Session container for a given session id.
internal/bsr/bsr.go:58
↓ 24 callersFunctionNewSigningAlg
NewSigningAlg creates a new in memory signing alg assigned to an OIDC AuthMethod. It supports no options.
internal/auth/oidc/signing_alg.go:62
↓ 24 callersMethodPrintJsonItems
PrintJsonItems prints the given items to the UI in JSON format
internal/cmd/base/format.go:331
↓ 24 callersFunctionRegisterResource
RegisterResource registers ActionSets for r. If RegisterResource is called twice with the same resource, it panics.
internal/types/action/registrar.go:59
↓ 24 callersFunctionSetColumns
SetColumns defines a list of column (names) to update using the set of proposed insert columns during an on conflict update.
internal/db/clause.go:60
↓ 24 callersFunctionSplitHostPort
SplitHostPort splits a network address of the form "host:port", "host%zone:port", "[host]:port" or "[host%zone]:port" into separate "host" or "host%zo
internal/util/net.go:80
↓ 24 callersMethodSys
()
internal/bsr/internal/fstest/fs.go:258
↓ 24 callersFunctionWithAggregateNames
WithAggregateNames enables/disables the use of multiple aggregate names for Ticketers
internal/oplog/options.go:67
↓ 24 callersFunctionWithName
WithName provides an optional name.
internal/credential/vault/options.go:63
↓ 24 callersFunctionWithStartPageAfterItem
WithStartPageAfterItem is used to paginate over the results. The next page will start after the provided item.
internal/credential/options.go:84
↓ 24 callersFunctioncontains
(ss []string, t string)
internal/session/session.go:431
↓ 24 callersFunctionfile_controller_api_services_v1_target_service_proto_rawDescGZIP
()
internal/gen/controller/api/services/target_service.pb.go:1507
↓ 24 callersFunctiongetDefaultOptions
()
internal/event/options.go:66
↓ 23 callersFunctionCreateOrgApi
CreateOrgApi creates a new organization in boundary using the Go api. Returns the id of the new org.
testing/internal/e2e/boundary/scope.go:20
↓ 23 callersMethodFetchOutputFields
(res perms.Resource, act action.Type)
internal/daemon/controller/auth/auth.go:753
↓ 23 callersMethodGetOidcAuthMethodsAttributes
()
sdk/pbs/controller/api/resources/authmethods/auth_method.pb.go:194
↓ 23 callersMethodGetStatus
()
internal/daemon/worker/session/session.go:66
↓ 23 callersMethodKeyId
(context.Context)
internal/server/repository_workerauth_test.go:880
↓ 23 callersFunctionNewAudClaim
NewAudClaim creates a new in memory audience claim assigned to an OIDC AuthMethod. It supports no options. If an AuthMethod as assigned AudClaims, th
internal/auth/oidc/aud_claim.go:37
↓ 23 callersFunctionNewAuthTokenId
NewAuthTokenId creates a new id for an auth token.
internal/authtoken/authtoken.go:109
↓ 23 callersFunctionNewTicketer
NewTicketer creates a new ticketer that uses dbw for storage
internal/oplog/ticketer.go:38
↓ 23 callersMethodProtoReflect
()
internal/auth/ldap/store/ldap.pb.go:494
↓ 23 callersMethodRefreshForSearch
RefreshForSearch refreshes a specific resource type owned by the user associated with the provided auth token id, if it hasn't been refreshed in a cer
internal/clientcache/internal/cache/refresh.go:173
↓ 23 callersFunctionRegisterTableRewrapFn
RegisterTableRewrapFn registers a function to be used to rewrap data in a specific table with a new key
internal/kms/rewrapping.go:27
↓ 23 callersMethodScan
Scan scans value into Tags, and implements the sql.Scanner interface
internal/server/worker_tag.go:73
↓ 23 callersMethodSet
(float64)
internal/daemon/worker/internal/metric/proxy_ws_test.go:461
↓ 23 callersMethodUpdateScope
UpdateScope updates an existing Scope in boundary. The provided Scope must not have any read only fields set. The update mask must be included in th
internal/gen/controller/api/services/scope_service_grpc.pb.go:64
↓ 23 callersFunctionWaitForSessionStatusCli
WaitForSessionStatusCli reads the specified session and waits for its status to match the specified status
testing/internal/e2e/boundary/session.go:79
↓ 23 callersFunctionWithAudClaims
WithAudClaims provides optional audience claims
internal/auth/oidc/options.go:113
↓ 23 callersFunctionnewGetObjectStream
newGetObjectStream will create a mock stream for the GetObject method. The client and server stream is mocked by creating a GetObjectResponse channel
internal/plugin/loopback/testing_grpc_stream.go:244
↓ 23 callersMethodrefreshSessions
refreshSessions uses attempts to refresh the sessions for the provided user using the provided tokens. If available, it uses the refresh tokens in sto
internal/clientcache/internal/cache/repository_sessions.go:72
↓ 22 callersMethodAddRawToken
AddRawToken upserts the auth token's user and auth token in the db and stores the actual raw auth token in the repositories in memory storage. The raw
internal/clientcache/internal/cache/repository_token.go:113
↓ 22 callersFunctionAllocAuthMethod
AllocAuthMethod makes an empty one in memory
internal/auth/ldap/auth_method.go:90
↓ 22 callersFunctionAllocUser
AllocUser will allocate an empty user
internal/iam/user.go:56
↓ 22 callersMethodApiAddrs
()
internal/daemon/controller/testing.go:172
↓ 22 callersMethodEncrypt
(context.Context, wrapping.Wrapper)
internal/storage/storagebucketcredential/storage_bucket_credential.go:21
↓ 22 callersMethodGetHostId
()
internal/host/store/host.pb.go:357
↓ 22 callersMethodGetPersisted
()
internal/gen/worker/servers/services/host_service.pb.go:902
↓ 22 callersMethodGetScopeId
()
internal/auth/subtype.go:16
↓ 22 callersMethodGetSessionMaxSeconds
()
sdk/pbs/controller/api/resources/targets/target.pb.go:638
↓ 22 callersMethodGetSshPrivateKeyAttributes
()
api/credentials/ssh_private_key_attributes.gen.go:39
↓ 22 callersFunctionListPage
ListPage lists up to page size sessions, filtering out entries that do not pass the filter item function. It will automatically request more sessions
internal/session/service_list_page.go:22
↓ 22 callersFunctionListPluginPage
ListPluginPage returns a ListResponse and a plugin associated with the resources. The response will contain at most pageSize number of items. Items ar
internal/pagination/plugin/pagination_plugin.go:82
↓ 22 callersFunctionListPluginsPage
ListPluginsPage returns a ListResponse and a map of plugin id to the plugins associated with the returned resources. The map may contain a superset of
internal/pagination/plugin/pagination_plugins.go:84
↓ 22 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/credentialstores/credential_store.gen.go:114
↓ 22 callersFunctionNewRole
NewRole creates a new in memory role with a scope (project/org) allowed options include: withDescription, WithName.
internal/iam/role.go:151
↓ 22 callersFunctionTestConvertToUrls
TestConvertToUrls will convert URL string representations to a slice of *url.URL
internal/auth/ldap/testing.go:272
↓ 22 callersFunctionWaitForSessionCli
WaitForSessionCli waits for sessions to appear in the session list and returns the most recent session information. If the WithExpectedSessionsCount o
testing/internal/e2e/boundary/session.go:23
↓ 22 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/plugin/options.go:132
↓ 22 callersFunctionWithLimit
WithLimit provides an option to provide a limit. Intentionally allowing negative integers. If WithLimit < 0, then unlimited results are returned. If W
internal/session/options.go:58
↓ 22 callersFunctionWithLimit
WithLimit provides an option to provide a limit. Intentionally allowing negative integers. If WithLimit < 0, then unlimited results are returned. If W
internal/credential/vault/options.go:79
↓ 22 callersFunctionWithLocalStorageState
WithLocalStorageState provides an optional local storage state.
internal/server/options.go:286
← previousnext →501–600 of 19,156, ranked by callers