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
↓ 27 callers
Function
getOpts
getOpts iterates the inbound Options and returns a struct and any errors
api/proxy/option.go:17
↓ 27 callers
Function
testJob
(t testing.TB, conn *db.DB, name, description string, wrapper wrapping.Wrapper, opt ...Option)
internal/scheduler/job/testing.go:20
↓ 27 callers
Function
testStaticResourceRetrievalFuncForId
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 callers
Method
CreateAuthToken
(ctx context.Context, withIamUser *iam.User, withAuthAccountId string, opt ...authtoken.Option)
internal/auth/ldap/service_authenticate.go:102
↓ 26 callers
Method
CreateScope
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 callers
Method
GetPublicId
()
internal/host/store/host.pb.go:127
↓ 26 callers
Function
NewCatalogRepository
NewCatalogRepository returns a new host catalog repository.
internal/host/repository_catalog.go:28
↓ 26 callers
Function
Open
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 callers
Method
Port
Port returns the port number for the test server listener.
internal/tests/helper/testing_helper.go:368
↓ 26 callers
Method
SelfOrDefaults
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 callers
Method
Validate
()
internal/auth/oidc/service.go:55
↓ 26 callers
Function
WithClientCertificate
WithClientCertificate provides optional configuration fields used for specifying a mTLS client cert for LDAP connections.
internal/auth/ldap/options.go:283
↓ 26 callers
Function
WithEnv
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 callers
Function
WithPolicies
WithPolicies sets the polices to attach to a token. The default policy attached to tokens is 'default'.
internal/credential/vault/testing.go:615
↓ 26 callers
Method
decrypt
(ctx context.Context, cipher wrapping.Wrapper)
internal/credential/static/json_credential.go:129
↓ 26 callers
Function
getDefaultOptions
()
internal/auth/oidc/options.go:56
↓ 26 callers
Function
getOpts
getOpts - iterate the inbound Options and return a struct
internal/host/plugin/options.go:13
↓ 25 callers
Function
AddBrokeredCredentialSourceToTargetCli
AddBrokeredCredentialSourceToTargetCli uses the cli to add a credential source (credential library or credential) to a target
testing/internal/e2e/boundary/target.go:350
↓ 25 callers
Function
AddHostToHostSetCli
AddHostToHostSetCli uses the cli to add a host to a host set
testing/internal/e2e/boundary/host.go:193
↓ 25 callers
Method
GetExpirationTime
()
internal/auth/oidc/request/request.pb.go:107
↓ 25 callers
Function
MarshalListToken
MarshalListToken assembles and marshals a list token to its string representation.
internal/daemon/controller/handlers/list_token.go:87
↓ 25 callers
Function
NewEntry
NewEntry creates a new Entry
internal/oplog/oplog.go:54
↓ 25 callers
Function
NewId
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 callers
Function
NewRefreshService
(ctx context.Context, r *Repository, logger hclog.Logger, maxSearchStaleness, maxSearchRefreshTimeout time.Dur
internal/clientcache/internal/cache/refresh.go:46
↓ 25 callers
Function
NewTypeCatalog
NewTypeCatalog creates a catalog with the types you pass in
internal/oplog/type_catalog.go:28
↓ 25 callers
Method
Refresh
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 callers
Method
Reset
()
internal/host/store/host.pb.go:153
↓ 25 callers
Method
Stat
Stat returns the fs.FileInfo for the underlying fs.File.
internal/bsr/internal/sign/sign.go:116
↓ 25 callers
Function
TestCredentialStore
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 callers
Function
ValidDirection
ValidDirection checks if a given Direction is valid.
internal/bsr/direction.go:29
↓ 25 callers
Function
WithDescription
WithDescription provides an optional description.
internal/host/static/options.go:39
↓ 25 callers
Function
WithMemberOfGroups
WithMemberOfGroups provides an option for specifying a list of group names
internal/auth/ldap/options.go:357
↓ 25 callers
Function
WithScopeId
(id string)
internal/daemon/controller/auth/option.go:60
↓ 25 callers
Function
file_testing_attribute_v1_attribute_proto_rawDescGZIP
()
internal/gen/testing/attribute/attribute.pb.go:1430
↓ 25 callers
Function
isNil
(i any)
internal/kms/kms.go:731
↓ 24 callers
Method
Client
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 callers
Function
CreateHostSetCli
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 callers
Method
Descriptor
Deprecated: Use Url.ProtoReflect.Descriptor instead.
internal/auth/ldap/store/ldap.pb.go:507
↓ 24 callers
Method
Do
Do takes a properly configured request and applies client configuration to it, returning the response.
api/client.go:737
↓ 24 callers
Method
GetSessionConnectionLimit
()
sdk/pbs/controller/api/resources/targets/target.pb.go:645
↓ 24 callers
Method
GetWorkerFilter
()
internal/storage/storage.go:64
↓ 24 callers
Method
ListKeys
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 callers
Function
ListPluginRefresh
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 callers
Function
ListPluginRefreshPage
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 callers
Function
ListPluginsRefresh
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 callers
Function
ListPluginsRefreshPage
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 callers
Function
NewBaseChunk
NewBaseChunk creates a BaseChunk.
internal/bsr/chunk.go:70
↓ 24 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/hostcatalogs/host_catalog.gen.go:120
↓ 24 callers
Function
NewSession
NewSession creates a Session container for a given session id.
internal/bsr/bsr.go:58
↓ 24 callers
Function
NewSigningAlg
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 callers
Method
PrintJsonItems
PrintJsonItems prints the given items to the UI in JSON format
internal/cmd/base/format.go:331
↓ 24 callers
Function
RegisterResource
RegisterResource registers ActionSets for r. If RegisterResource is called twice with the same resource, it panics.
internal/types/action/registrar.go:59
↓ 24 callers
Function
SetColumns
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 callers
Function
SplitHostPort
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 callers
Method
Sys
()
internal/bsr/internal/fstest/fs.go:258
↓ 24 callers
Function
WithAggregateNames
WithAggregateNames enables/disables the use of multiple aggregate names for Ticketers
internal/oplog/options.go:67
↓ 24 callers
Function
WithName
WithName provides an optional name.
internal/credential/vault/options.go:63
↓ 24 callers
Function
WithStartPageAfterItem
WithStartPageAfterItem is used to paginate over the results. The next page will start after the provided item.
internal/credential/options.go:84
↓ 24 callers
Function
contains
(ss []string, t string)
internal/session/session.go:431
↓ 24 callers
Function
file_controller_api_services_v1_target_service_proto_rawDescGZIP
()
internal/gen/controller/api/services/target_service.pb.go:1507
↓ 24 callers
Function
getDefaultOptions
()
internal/event/options.go:66
↓ 23 callers
Function
CreateOrgApi
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 callers
Method
FetchOutputFields
(res perms.Resource, act action.Type)
internal/daemon/controller/auth/auth.go:753
↓ 23 callers
Method
GetOidcAuthMethodsAttributes
()
sdk/pbs/controller/api/resources/authmethods/auth_method.pb.go:194
↓ 23 callers
Method
GetStatus
()
internal/daemon/worker/session/session.go:66
↓ 23 callers
Method
KeyId
(context.Context)
internal/server/repository_workerauth_test.go:880
↓ 23 callers
Function
NewAudClaim
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 callers
Function
NewAuthTokenId
NewAuthTokenId creates a new id for an auth token.
internal/authtoken/authtoken.go:109
↓ 23 callers
Function
NewTicketer
NewTicketer creates a new ticketer that uses dbw for storage
internal/oplog/ticketer.go:38
↓ 23 callers
Method
ProtoReflect
()
internal/auth/ldap/store/ldap.pb.go:494
↓ 23 callers
Method
RefreshForSearch
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 callers
Function
RegisterTableRewrapFn
RegisterTableRewrapFn registers a function to be used to rewrap data in a specific table with a new key
internal/kms/rewrapping.go:27
↓ 23 callers
Method
Scan
Scan scans value into Tags, and implements the sql.Scanner interface
internal/server/worker_tag.go:73
↓ 23 callers
Method
Set
(float64)
internal/daemon/worker/internal/metric/proxy_ws_test.go:461
↓ 23 callers
Method
UpdateScope
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 callers
Function
WaitForSessionStatusCli
WaitForSessionStatusCli reads the specified session and waits for its status to match the specified status
testing/internal/e2e/boundary/session.go:79
↓ 23 callers
Function
WithAudClaims
WithAudClaims provides optional audience claims
internal/auth/oidc/options.go:113
↓ 23 callers
Function
newGetObjectStream
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 callers
Method
refreshSessions
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 callers
Method
AddRawToken
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 callers
Function
AllocAuthMethod
AllocAuthMethod makes an empty one in memory
internal/auth/ldap/auth_method.go:90
↓ 22 callers
Function
AllocUser
AllocUser will allocate an empty user
internal/iam/user.go:56
↓ 22 callers
Method
ApiAddrs
()
internal/daemon/controller/testing.go:172
↓ 22 callers
Method
Encrypt
(context.Context, wrapping.Wrapper)
internal/storage/storagebucketcredential/storage_bucket_credential.go:21
↓ 22 callers
Method
GetHostId
()
internal/host/store/host.pb.go:357
↓ 22 callers
Method
GetPersisted
()
internal/gen/worker/servers/services/host_service.pb.go:902
↓ 22 callers
Method
GetScopeId
()
internal/auth/subtype.go:16
↓ 22 callers
Method
GetSessionMaxSeconds
()
sdk/pbs/controller/api/resources/targets/target.pb.go:638
↓ 22 callers
Method
GetSshPrivateKeyAttributes
()
api/credentials/ssh_private_key_attributes.gen.go:39
↓ 22 callers
Function
ListPage
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 callers
Function
ListPluginPage
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 callers
Function
ListPluginsPage
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 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/credentialstores/credential_store.gen.go:114
↓ 22 callers
Function
NewRole
NewRole creates a new in memory role with a scope (project/org) allowed options include: withDescription, WithName.
internal/iam/role.go:151
↓ 22 callers
Function
TestConvertToUrls
TestConvertToUrls will convert URL string representations to a slice of *url.URL
internal/auth/ldap/testing.go:272
↓ 22 callers
Function
WaitForSessionCli
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 callers
Function
WithLimit
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 callers
Function
WithLimit
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 callers
Function
WithLimit
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 callers
Function
WithLocalStorageState
WithLocalStorageState provides an optional local storage state.
internal/server/options.go:286
← previous
next →
501–600 of 19,156, ranked by callers