globals

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2021 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IdField                              = "id"
	VersionField                         = "version"
	NameField                            = "name"
	DescriptionField                     = "description"
	CreatedTimeField                     = "created_time"
	UpdatedTimeField                     = "updated_time"
	TypeField                            = "type"
	AttributesField                      = "attributes"
	ScopeIdField                         = "scope_id"
	ScopeField                           = "scope"
	AuthMethodIdField                    = "auth_method_id"
	AccountIdField                       = "account_id"
	UserIdField                          = "user_id"
	IsPrimaryField                       = "is_primary"
	AuthorizedActionsField               = "authorized_actions"
	AuthorizedCollectionActionsField     = "authorized_collection_actions"
	ExpirationTimeField                  = "expiration_time"
	ApproximateLastUsedTimeField         = "approximate_last_used_time"
	MembersField                         = "members"
	MemberIdsField                       = "member_ids"
	HostCatalogIdField                   = "host_catalog_id"
	HostSetIdsField                      = "host_set_ids"
	HostSourceIdsField                   = "host_source_ids"
	HostIdsField                         = "host_ids"
	PrincipalIdsField                    = "principal_ids"
	PrincipalsField                      = "principals"
	GrantScopeIdField                    = "grant_scope_id"
	GrantsField                          = "grants"
	GrantStringsField                    = "grant_strings"
	PrimaryAuthMethodIdField             = "primary_auth_method_id"
	TargetIdField                        = "target_id"
	HostIdField                          = "host_id"
	HostSetIdField                       = "host_set_id"
	HostSetsField                        = "host_sets"
	HostSourcesField                     = "host_sources"
	AuthTokenIdField                     = "auth_token_id"
	EndpointField                        = "endpoint"
	CertificateField                     = "certificate"
	TerminationReasonField               = "termination_reason"
	StatusField                          = "status"
	StatesField                          = "states"
	SessionConnectionLimitField          = "session_connection_limit"
	SessionMaxSecondsField               = "session_max_seconds"
	WorkerFilterField                    = "worker_filter"
	AccountIdsField                      = "account_ids"
	AccountsField                        = "accounts"
	LoginNameField                       = "login_name"
	FullNameField                        = "full_name"
	PrimaryAccountIdField                = "primary_account_id"
	EmailField                           = "email"
	ManagedGroupIdsField                 = "managed_group_ids"
	FilterField                          = "filter"
	CredentialStoreIdField               = "credential_store_id"
	ApplicationCredentialLibraryIdsField = "application_credential_library_ids"
	ApplicationCredentialLibrariesField  = "application_credential_libraries"
	ApplicationCredentialSourceIdsField  = "application_credential_source_ids"
	ApplicationCredentialSourcesField    = "application_credential_sources"
	PreferredEndpointsField              = "preferred_endpoints"
	SyncIntervalSecondsField             = "sync_interval_seconds"
	PluginIdField                        = "plugin_id"
	PluginField                          = "plugin"
	PluginNameField                      = "plugin_name"
	IpAddressesField                     = "ip_addresses"
	DnsNamesField                        = "dns_names"
	SecretsHmacField                     = "secrets_hmac"
	ExternalIdField                      = "external_id"
	EgressCredentialSourceIdsField       = "egress_credential_source_ids"
	EgressCredentialSourcesField         = "egress_credential_sources"
)
View Source
const (
	TcpProxyV1     = "boundary-tcp-proxy-v1"
	ServiceTokenV1 = "s1"
)
View Source
const (
	// BOUNDARY_DEVELOPER_ENABLE_EVENTS defines an envvar that enables events.
	// Once this feature is generally available, then this envvar will be
	// deprecated and removed.
	BOUNDARY_DEVELOPER_ENABLE_EVENTS = "BOUNDARY_DEVELOPER_ENABLE_EVENTS"
)

Variables

View Source
var (
	// DefaultMaxRequestDuration is the amount of time we'll wait for a request
	DefaultMaxRequestDuration = 90 * time.Second

	// DefaultMaxRequestSize is the maximum size of a request we allow by default
	DefaultMaxRequestSize = int64(1024 * 1024)

	// ContextMaxRequestSizeTypeKey is a value to keep linters from complaining
	// about clashing string identifiers
	ContextMaxRequestSizeTypeKey ContextMaxRequestSizeType

	// ContextOriginalRequestPathTypeKey is a value to keep linters from complaining
	// about clashing string identifiers
	ContextOriginalRequestPathTypeKey ContextOriginalRequestPathType

	// RecoveryTokenValidityPeriod is exported so we can modify it in tests if
	// we want
	RecoveryTokenValidityPeriod = 5 * time.Minute

	// WorkerAuthNonceValidityPeriod is exported so we can modify it in tests if
	// we want
	WorkerAuthNonceValidityPeriod = 2 * time.Minute
)

Functions

This section is empty.

Types

type ContextMaxRequestSizeType

type ContextMaxRequestSizeType struct{}

type ContextOriginalRequestPathType

type ContextOriginalRequestPathType struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL