targets

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: MPL-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controller_api_resources_targets_v1_target_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CredentialLibrary

type CredentialLibrary struct {

	// The ID of the Credential Library.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
	// Output only.  The name of the Credential Library.
	Name string `protobuf:"bytes,20,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The description of the Credential Library.
	Description string `protobuf:"bytes,30,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The Credential Store to which this Credential Library belongs.
	CredentialStoreId string `protobuf:"bytes,40,opt,name=credential_store_id,proto3" json:"credential_store_id,omitempty"`
	// Output only. The type of the credential library.
	Type string `protobuf:"bytes,60,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*CredentialLibrary) Descriptor deprecated

func (*CredentialLibrary) Descriptor() ([]byte, []int)

Deprecated: Use CredentialLibrary.ProtoReflect.Descriptor instead.

func (*CredentialLibrary) GetCredentialStoreId

func (x *CredentialLibrary) GetCredentialStoreId() string

func (*CredentialLibrary) GetDescription

func (x *CredentialLibrary) GetDescription() string

func (*CredentialLibrary) GetId

func (x *CredentialLibrary) GetId() string

func (*CredentialLibrary) GetName

func (x *CredentialLibrary) GetName() string

func (*CredentialLibrary) GetType

func (x *CredentialLibrary) GetType() string

func (*CredentialLibrary) ProtoMessage

func (*CredentialLibrary) ProtoMessage()

func (*CredentialLibrary) ProtoReflect

func (x *CredentialLibrary) ProtoReflect() protoreflect.Message

func (*CredentialLibrary) Reset

func (x *CredentialLibrary) Reset()

func (*CredentialLibrary) String

func (x *CredentialLibrary) String() string

type CredentialSource

type CredentialSource struct {

	// The ID of the Credential. May be empty if the credential is dynamically generated from a library.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
	// Output only. The name of the Credential source.
	Name string `protobuf:"bytes,20,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The description of the Credential source.
	Description string `protobuf:"bytes,30,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The Credential Store to which this Credential source belongs.
	CredentialStoreId string `protobuf:"bytes,40,opt,name=credential_store_id,proto3" json:"credential_store_id,omitempty"`
	// Output only. The type of the credential source (e.g. "vault"; not the type of the credential itself).
	Type string `protobuf:"bytes,60,opt,name=type,proto3" json:"type,omitempty"`
	// Output only. The type of the credential, empty if unspecified.
	CredentialType string `protobuf:"bytes,70,opt,name=credential_type,json=credentialType,proto3" json:"credential_type,omitempty"`
	// contains filtered or unexported fields
}

func (*CredentialSource) Descriptor deprecated

func (*CredentialSource) Descriptor() ([]byte, []int)

Deprecated: Use CredentialSource.ProtoReflect.Descriptor instead.

func (*CredentialSource) GetCredentialStoreId

func (x *CredentialSource) GetCredentialStoreId() string

func (*CredentialSource) GetCredentialType added in v0.0.13

func (x *CredentialSource) GetCredentialType() string

func (*CredentialSource) GetDescription

func (x *CredentialSource) GetDescription() string

func (*CredentialSource) GetId

func (x *CredentialSource) GetId() string

func (*CredentialSource) GetName

func (x *CredentialSource) GetName() string

func (*CredentialSource) GetType

func (x *CredentialSource) GetType() string

func (*CredentialSource) ProtoMessage

func (*CredentialSource) ProtoMessage()

func (*CredentialSource) ProtoReflect

func (x *CredentialSource) ProtoReflect() protoreflect.Message

func (*CredentialSource) Reset

func (x *CredentialSource) Reset()

func (*CredentialSource) String

func (x *CredentialSource) String() string

type HostSet

type HostSet struct {

	// Output only. The ID of the Host Set.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
	// Output only. The Host Catalog to which this Host Set belongs.
	HostCatalogId string `protobuf:"bytes,20,opt,name=host_catalog_id,proto3" json:"host_catalog_id,omitempty"`
	// contains filtered or unexported fields
}

func (*HostSet) Descriptor deprecated

func (*HostSet) Descriptor() ([]byte, []int)

Deprecated: Use HostSet.ProtoReflect.Descriptor instead.

func (*HostSet) GetHostCatalogId

func (x *HostSet) GetHostCatalogId() string

func (*HostSet) GetId

func (x *HostSet) GetId() string

func (*HostSet) ProtoMessage

func (*HostSet) ProtoMessage()

func (*HostSet) ProtoReflect

func (x *HostSet) ProtoReflect() protoreflect.Message

func (*HostSet) Reset

func (x *HostSet) Reset()

func (*HostSet) String

func (x *HostSet) String() string

type HostSource

type HostSource struct {

	// Output only. The ID of the Host Set.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
	// Output only. The Host Catalog to which this Host Source belongs.
	HostCatalogId string `protobuf:"bytes,20,opt,name=host_catalog_id,proto3" json:"host_catalog_id,omitempty"`
	// contains filtered or unexported fields
}

func (*HostSource) Descriptor deprecated

func (*HostSource) Descriptor() ([]byte, []int)

Deprecated: Use HostSource.ProtoReflect.Descriptor instead.

func (*HostSource) GetHostCatalogId

func (x *HostSource) GetHostCatalogId() string

func (*HostSource) GetId

func (x *HostSource) GetId() string

func (*HostSource) ProtoMessage

func (*HostSource) ProtoMessage()

func (*HostSource) ProtoReflect

func (x *HostSource) ProtoReflect() protoreflect.Message

func (*HostSource) Reset

func (x *HostSource) Reset()

func (*HostSource) String

func (x *HostSource) String() string

type SessionAuthorization

type SessionAuthorization struct {

	// Output only. The ID of the Session.
	SessionId string `protobuf:"bytes,10,opt,name=session_id,proto3" json:"session_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The ID of the Target authorizing this Session.
	TargetId string `protobuf:"bytes,20,opt,name=target_id,proto3" json:"target_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. Scope information for this resource.
	Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
	// Output only. The time this resource was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The User for which this Session was authorized.
	UserId string `protobuf:"bytes,50,opt,name=user_id,proto3" json:"user_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The Host Set containing the Host being used for this Session.
	HostSetId string `protobuf:"bytes,60,opt,name=host_set_id,proto3" json:"host_set_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The Host whose address is being used as the endpoint for this Session.
	HostId string `protobuf:"bytes,70,opt,name=host_id,proto3" json:"host_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. Type of the Session (e.g. tcp, ssh, etc.).
	Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The marshaled SessionAuthorizationData message containing all information that the proxy needs.
	AuthorizationToken string `protobuf:"bytes,90,opt,name=authorization_token,proto3" json:"authorization_token,omitempty" class:"private"` // @gotags: `class:"private"`
	// Output only. The endpoint address that the worker will connect to, useful for setting TLS parameters.
	Endpoint string `protobuf:"bytes,100,opt,name=endpoint,proto3" json:"endpoint,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The credentials for this session.
	Credentials []*SessionCredential `protobuf:"bytes,110,rep,name=credentials,proto3" json:"credentials,omitempty"`
	// contains filtered or unexported fields
}

SessionAuthorization contains all fields related to authorization for a Session. It's in the Targets package because it's returned by a Target's authorize action.

func (*SessionAuthorization) Descriptor deprecated

func (*SessionAuthorization) Descriptor() ([]byte, []int)

Deprecated: Use SessionAuthorization.ProtoReflect.Descriptor instead.

func (*SessionAuthorization) GetAuthorizationToken

func (x *SessionAuthorization) GetAuthorizationToken() string

func (*SessionAuthorization) GetCreatedTime

func (x *SessionAuthorization) GetCreatedTime() *timestamppb.Timestamp

func (*SessionAuthorization) GetCredentials

func (x *SessionAuthorization) GetCredentials() []*SessionCredential

func (*SessionAuthorization) GetEndpoint

func (x *SessionAuthorization) GetEndpoint() string

func (*SessionAuthorization) GetHostId

func (x *SessionAuthorization) GetHostId() string

func (*SessionAuthorization) GetHostSetId

func (x *SessionAuthorization) GetHostSetId() string

func (*SessionAuthorization) GetScope

func (x *SessionAuthorization) GetScope() *scopes.ScopeInfo

func (*SessionAuthorization) GetSessionId

func (x *SessionAuthorization) GetSessionId() string

func (*SessionAuthorization) GetTargetId

func (x *SessionAuthorization) GetTargetId() string

func (*SessionAuthorization) GetType

func (x *SessionAuthorization) GetType() string

func (*SessionAuthorization) GetUserId

func (x *SessionAuthorization) GetUserId() string

func (*SessionAuthorization) ProtoMessage

func (*SessionAuthorization) ProtoMessage()

func (*SessionAuthorization) ProtoReflect

func (x *SessionAuthorization) ProtoReflect() protoreflect.Message

func (*SessionAuthorization) Reset

func (x *SessionAuthorization) Reset()

func (*SessionAuthorization) String

func (x *SessionAuthorization) String() string

type SessionAuthorizationData

type SessionAuthorizationData struct {

	// Output only. The ID of the session.
	SessionId string `protobuf:"bytes,10,opt,name=session_id,proto3" json:"session_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The ID of the Target authorizing this session.
	TargetId string `protobuf:"bytes,20,opt,name=target_id,proto3" json:"target_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. Scope information for this the Target that authorized this session.
	Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
	// Output only. The time this resource was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. Type of the session (e.g. tcp, ssh, etc.).
	Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The connection limit being applied to this session. -1 means unlimited. This is not actually enforced on the client side but it provides for better listener handling by including it.
	ConnectionLimit int32 `protobuf:"varint,90,opt,name=connection_limit,proto3" json:"connection_limit,omitempty"`
	// Output only. The certificate to use when connecting. Raw DER bytes.
	Certificate []byte `protobuf:"bytes,120,opt,name=certificate,proto3" json:"certificate,omitempty" class:"secret"` // @gotags: `class:"secret"`
	// Output only. The private key to use when connecting. We are using Ed25519, so this is purely raw bytes, no marshaling.
	PrivateKey []byte `protobuf:"bytes,130,opt,name=private_key,proto3" json:"private_key,omitempty" class:"secret"` // @gotags: `class:"secret"`
	// Output only. The host ID...not used for security purposes, but for some special command handling (e.g. ssh host key aliasing).
	HostId string `protobuf:"bytes,140,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The endpoint, for some special command handling.
	Endpoint string `protobuf:"bytes,141,opt,name=endpoint,proto3" json:"endpoint,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. Worker information. The first worker in the array should be prioritized.
	WorkerInfo []*WorkerInfo `protobuf:"bytes,150,rep,name=worker_info,proto3" json:"worker_info,omitempty"`
	// contains filtered or unexported fields
}

SessionAuthorizationData contains the fields needed by the proxy command to connect to a worker. It is marshaled inside the SessionAuthorization message.

func (*SessionAuthorizationData) Descriptor deprecated

func (*SessionAuthorizationData) Descriptor() ([]byte, []int)

Deprecated: Use SessionAuthorizationData.ProtoReflect.Descriptor instead.

func (*SessionAuthorizationData) GetCertificate

func (x *SessionAuthorizationData) GetCertificate() []byte

func (*SessionAuthorizationData) GetConnectionLimit

func (x *SessionAuthorizationData) GetConnectionLimit() int32

func (*SessionAuthorizationData) GetCreatedTime

func (x *SessionAuthorizationData) GetCreatedTime() *timestamppb.Timestamp

func (*SessionAuthorizationData) GetEndpoint

func (x *SessionAuthorizationData) GetEndpoint() string

func (*SessionAuthorizationData) GetHostId

func (x *SessionAuthorizationData) GetHostId() string

func (*SessionAuthorizationData) GetPrivateKey

func (x *SessionAuthorizationData) GetPrivateKey() []byte

func (*SessionAuthorizationData) GetScope

func (x *SessionAuthorizationData) GetScope() *scopes.ScopeInfo

func (*SessionAuthorizationData) GetSessionId

func (x *SessionAuthorizationData) GetSessionId() string

func (*SessionAuthorizationData) GetTargetId

func (x *SessionAuthorizationData) GetTargetId() string

func (*SessionAuthorizationData) GetType

func (x *SessionAuthorizationData) GetType() string

func (*SessionAuthorizationData) GetWorkerInfo

func (x *SessionAuthorizationData) GetWorkerInfo() []*WorkerInfo

func (*SessionAuthorizationData) ProtoMessage

func (*SessionAuthorizationData) ProtoMessage()

func (*SessionAuthorizationData) ProtoReflect

func (x *SessionAuthorizationData) ProtoReflect() protoreflect.Message

func (*SessionAuthorizationData) Reset

func (x *SessionAuthorizationData) Reset()

func (*SessionAuthorizationData) String

func (x *SessionAuthorizationData) String() string

type SessionCredential

type SessionCredential struct {

	// Output only. The credential source information.
	CredentialSource *CredentialSource `protobuf:"bytes,1,opt,name=credential_source,json=credentialSource,proto3" json:"credential_source,omitempty"`
	// Output only. The library which generated this credential. Deprecated: use credential_source instead.
	//
	// Deprecated: Do not use.
	CredentialLibrary *CredentialLibrary `protobuf:"bytes,10,opt,name=credential_library,json=credentialLibrary,proto3" json:"credential_library,omitempty"`
	// Output only. The secret of this credential base64 encoded.
	Secret *SessionSecret `protobuf:"bytes,20,opt,name=secret,proto3" json:"secret,omitempty"`
	// Output only. The fields of the strongly typed credential, empty if the credential type of the
	// credential source is unspecified.
	Credential *structpb.Struct `protobuf:"bytes,40,opt,name=credential,proto3" json:"credential,omitempty"`
	// contains filtered or unexported fields
}

Credential information for a session.

func (*SessionCredential) Descriptor deprecated

func (*SessionCredential) Descriptor() ([]byte, []int)

Deprecated: Use SessionCredential.ProtoReflect.Descriptor instead.

func (*SessionCredential) GetCredential added in v0.0.13

func (x *SessionCredential) GetCredential() *structpb.Struct

func (*SessionCredential) GetCredentialLibrary deprecated

func (x *SessionCredential) GetCredentialLibrary() *CredentialLibrary

Deprecated: Do not use.

func (*SessionCredential) GetCredentialSource

func (x *SessionCredential) GetCredentialSource() *CredentialSource

func (*SessionCredential) GetSecret

func (x *SessionCredential) GetSecret() *SessionSecret

func (*SessionCredential) ProtoMessage

func (*SessionCredential) ProtoMessage()

func (*SessionCredential) ProtoReflect

func (x *SessionCredential) ProtoReflect() protoreflect.Message

func (*SessionCredential) Reset

func (x *SessionCredential) Reset()

func (*SessionCredential) String

func (x *SessionCredential) String() string

type SessionSecret

type SessionSecret struct {

	// Output only. The base64-encoded value representing the raw bytes from the
	// credential provider.
	Raw string `protobuf:"bytes,10,opt,name=raw,proto3" json:"raw,omitempty"`
	// Output only. The decoded raw string, if a JSON object.
	Decoded *structpb.Struct `protobuf:"bytes,20,opt,name=decoded,proto3" json:"decoded,omitempty"`
	// contains filtered or unexported fields
}

The actual secret for a session credential.

func (*SessionSecret) Descriptor deprecated

func (*SessionSecret) Descriptor() ([]byte, []int)

Deprecated: Use SessionSecret.ProtoReflect.Descriptor instead.

func (*SessionSecret) GetDecoded

func (x *SessionSecret) GetDecoded() *structpb.Struct

func (*SessionSecret) GetRaw

func (x *SessionSecret) GetRaw() string

func (*SessionSecret) ProtoMessage

func (*SessionSecret) ProtoMessage()

func (*SessionSecret) ProtoReflect

func (x *SessionSecret) ProtoReflect() protoreflect.Message

func (*SessionSecret) Reset

func (x *SessionSecret) Reset()

func (*SessionSecret) String

func (x *SessionSecret) String() string

type Target

type Target struct {

	// Output only. The ID of the resource.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
	// The Scope of of this resource. This must be defined for creation of this resource, but is otherwise output only.
	ScopeId string `protobuf:"bytes,20,opt,name=scope_id,proto3" json:"scope_id,omitempty"`
	// Output only. Scope information for this resource.
	Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
	// Required name for identification purposes.
	Name *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty"`
	// Optional user-set description for identification purposes.
	Description *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The time this resource was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty"`
	// Output only. The time this resource was last updated.
	UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
	// Version is used in mutation requests, after the initial creation, to ensure this resource has not changed.
	// The mutation will fail if the version does not match the latest known good version.
	Version uint32 `protobuf:"varint,80,opt,name=version,proto3" json:"version,omitempty"`
	// The type of the Target.
	Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty"`
	// Output only. The IDs of the Host Sets associated with this Target.
	HostSetIds []string `protobuf:"bytes,100,rep,name=host_set_ids,proto3" json:"host_set_ids,omitempty"`
	// Output only. The Host Sets associated with this Target.
	HostSets []*HostSet `protobuf:"bytes,110,rep,name=host_sets,proto3" json:"host_sets,omitempty"`
	// Output only. The IDs of the Host Sources associated with this Target.
	HostSourceIds []string `protobuf:"bytes,420,rep,name=host_source_ids,proto3" json:"host_source_ids,omitempty"`
	// Output only. The Host Sources associated with this Target.
	HostSources []*HostSource `protobuf:"bytes,430,rep,name=host_sources,proto3" json:"host_sources,omitempty"`
	// Maximum total lifetime of a created Session, in seconds.
	SessionMaxSeconds *wrapperspb.UInt32Value `protobuf:"bytes,120,opt,name=session_max_seconds,proto3" json:"session_max_seconds,omitempty"`
	// Maximum number of connections allowed in a Session.  Unlimited is indicated by the value -1.
	SessionConnectionLimit *wrapperspb.Int32Value `protobuf:"bytes,130,opt,name=session_connection_limit,proto3" json:"session_connection_limit,omitempty"`
	// Optional boolean expression to filter the workers that are allowed to satisfy this request.
	WorkerFilter *wrapperspb.StringValue `protobuf:"bytes,140,opt,name=worker_filter,proto3" json:"worker_filter,omitempty"`
	// Output only. The IDs of the application credential library ids associated with this Target. Deprecated: use application_credential_source_ids instead.
	//
	// Deprecated: Do not use.
	ApplicationCredentialLibraryIds []string `protobuf:"bytes,150,rep,name=application_credential_library_ids,proto3" json:"application_credential_library_ids,omitempty"`
	// Output only. The application credential libraries associated with this Target. Deprecated: use application_credential_sources instead.
	//
	// Deprecated: Do not use.
	ApplicationCredentialLibraries []*CredentialLibrary `protobuf:"bytes,180,rep,name=application_credential_libraries,proto3" json:"application_credential_libraries,omitempty"`
	// Output only. The IDs of the application credential source ids associated with this Target.
	ApplicationCredentialSourceIds []string `protobuf:"bytes,400,rep,name=application_credential_source_ids,proto3" json:"application_credential_source_ids,omitempty"`
	// Output only. The application credential sources associated with this Target.
	ApplicationCredentialSources []*CredentialSource `protobuf:"bytes,410,rep,name=application_credential_sources,proto3" json:"application_credential_sources,omitempty"`
	// Output only. The IDs of the egress credential source ids associated with this Target.
	EgressCredentialSourceIds []string `protobuf:"bytes,500,rep,name=egress_credential_source_ids,proto3" json:"egress_credential_source_ids,omitempty"`
	// Output only. The egress credential sources associated with this Target.
	EgressCredentialSources []*CredentialSource `protobuf:"bytes,510,rep,name=egress_credential_sources,proto3" json:"egress_credential_sources,omitempty"`
	// The attributes that are applicable for the specific Target.
	Attributes *structpb.Struct `protobuf:"bytes,200,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// Output only. The available actions on this resource for this user.
	AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty"`
	// contains filtered or unexported fields
}

Target contains all fields related to a Target resource

func (*Target) Descriptor deprecated

func (*Target) Descriptor() ([]byte, []int)

Deprecated: Use Target.ProtoReflect.Descriptor instead.

func (*Target) GetApplicationCredentialLibraries deprecated

func (x *Target) GetApplicationCredentialLibraries() []*CredentialLibrary

Deprecated: Do not use.

func (*Target) GetApplicationCredentialLibraryIds deprecated

func (x *Target) GetApplicationCredentialLibraryIds() []string

Deprecated: Do not use.

func (*Target) GetApplicationCredentialSourceIds

func (x *Target) GetApplicationCredentialSourceIds() []string

func (*Target) GetApplicationCredentialSources

func (x *Target) GetApplicationCredentialSources() []*CredentialSource

func (*Target) GetAttributes

func (x *Target) GetAttributes() *structpb.Struct

func (*Target) GetAuthorizedActions

func (x *Target) GetAuthorizedActions() []string

func (*Target) GetCreatedTime

func (x *Target) GetCreatedTime() *timestamppb.Timestamp

func (*Target) GetDescription

func (x *Target) GetDescription() *wrapperspb.StringValue

func (*Target) GetEgressCredentialSourceIds added in v0.0.12

func (x *Target) GetEgressCredentialSourceIds() []string

func (*Target) GetEgressCredentialSources added in v0.0.12

func (x *Target) GetEgressCredentialSources() []*CredentialSource

func (*Target) GetHostSetIds

func (x *Target) GetHostSetIds() []string

func (*Target) GetHostSets

func (x *Target) GetHostSets() []*HostSet

func (*Target) GetHostSourceIds

func (x *Target) GetHostSourceIds() []string

func (*Target) GetHostSources

func (x *Target) GetHostSources() []*HostSource

func (*Target) GetId

func (x *Target) GetId() string

func (*Target) GetName

func (x *Target) GetName() *wrapperspb.StringValue

func (*Target) GetScope

func (x *Target) GetScope() *scopes.ScopeInfo

func (*Target) GetScopeId

func (x *Target) GetScopeId() string

func (*Target) GetSessionConnectionLimit

func (x *Target) GetSessionConnectionLimit() *wrapperspb.Int32Value

func (*Target) GetSessionMaxSeconds

func (x *Target) GetSessionMaxSeconds() *wrapperspb.UInt32Value

func (*Target) GetType

func (x *Target) GetType() string

func (*Target) GetUpdatedTime

func (x *Target) GetUpdatedTime() *timestamppb.Timestamp

func (*Target) GetVersion

func (x *Target) GetVersion() uint32

func (*Target) GetWorkerFilter

func (x *Target) GetWorkerFilter() *wrapperspb.StringValue

func (*Target) ProtoMessage

func (*Target) ProtoMessage()

func (*Target) ProtoReflect

func (x *Target) ProtoReflect() protoreflect.Message

func (*Target) Reset

func (x *Target) Reset()

func (*Target) String

func (x *Target) String() string

type TcpTargetAttributes

type TcpTargetAttributes struct {

	// The default TCP port that will be used when connecting to the endpoint unless overridden by a Host Set or Host.
	DefaultPort *wrapperspb.UInt32Value `protobuf:"bytes,10,opt,name=default_port,proto3" json:"default_port,omitempty"`
	// contains filtered or unexported fields
}

TcpTargetAttributes contains attributes relevant to Targets of type "tcp"

func (*TcpTargetAttributes) Descriptor deprecated

func (*TcpTargetAttributes) Descriptor() ([]byte, []int)

Deprecated: Use TcpTargetAttributes.ProtoReflect.Descriptor instead.

func (*TcpTargetAttributes) GetDefaultPort

func (x *TcpTargetAttributes) GetDefaultPort() *wrapperspb.UInt32Value

func (*TcpTargetAttributes) ProtoMessage

func (*TcpTargetAttributes) ProtoMessage()

func (*TcpTargetAttributes) ProtoReflect

func (x *TcpTargetAttributes) ProtoReflect() protoreflect.Message

func (*TcpTargetAttributes) Reset

func (x *TcpTargetAttributes) Reset()

func (*TcpTargetAttributes) String

func (x *TcpTargetAttributes) String() string

type UserPasswordCredential added in v0.0.13

type UserPasswordCredential struct {

	// Username of the credential
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// Password of the credential
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

The layout of the struct for "credential" field in SessionCredential for a user_password credential type.

func (*UserPasswordCredential) Descriptor deprecated added in v0.0.13

func (*UserPasswordCredential) Descriptor() ([]byte, []int)

Deprecated: Use UserPasswordCredential.ProtoReflect.Descriptor instead.

func (*UserPasswordCredential) GetPassword added in v0.0.13

func (x *UserPasswordCredential) GetPassword() string

func (*UserPasswordCredential) GetUsername added in v0.0.13

func (x *UserPasswordCredential) GetUsername() string

func (*UserPasswordCredential) ProtoMessage added in v0.0.13

func (*UserPasswordCredential) ProtoMessage()

func (*UserPasswordCredential) ProtoReflect added in v0.0.13

func (x *UserPasswordCredential) ProtoReflect() protoreflect.Message

func (*UserPasswordCredential) Reset added in v0.0.13

func (x *UserPasswordCredential) Reset()

func (*UserPasswordCredential) String added in v0.0.13

func (x *UserPasswordCredential) String() string

type WorkerInfo

type WorkerInfo struct {

	// Output only. The address of the worker.
	Address string `protobuf:"bytes,10,opt,name=address,proto3" json:"address,omitempty" class:"public"` // @gotags: `class:"public"`
	// contains filtered or unexported fields
}

WorkerInfo contains information about workers, returned in to the client in SessionAuthorization

func (*WorkerInfo) Descriptor deprecated

func (*WorkerInfo) Descriptor() ([]byte, []int)

Deprecated: Use WorkerInfo.ProtoReflect.Descriptor instead.

func (*WorkerInfo) GetAddress

func (x *WorkerInfo) GetAddress() string

func (*WorkerInfo) ProtoMessage

func (*WorkerInfo) ProtoMessage()

func (*WorkerInfo) ProtoReflect

func (x *WorkerInfo) ProtoReflect() protoreflect.Message

func (*WorkerInfo) Reset

func (x *WorkerInfo) Reset()

func (*WorkerInfo) String

func (x *WorkerInfo) String() string

Jump to

Keyboard shortcuts

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