session_recordings

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controller_api_resources_sessionrecordings_v1_session_recording_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ChannelRecording

type ChannelRecording struct {

	// The ID of the Channel recording.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: class:"public"
	// The total number of bytes uploaded from the client in the Channel.
	BytesUp uint64 `protobuf:"varint,2,opt,name=bytes_up,proto3" json:"bytes_up,omitempty" class:"public"` // @gotags: class:"public"
	// The total number of bytes downloaded to the client in the Channel.
	BytesDown uint64 `protobuf:"varint,3,opt,name=bytes_down,proto3" json:"bytes_down,omitempty" class:"public"` // @gotags: class:"public"
	// The time the Channel was created in the controller.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public"` // @gotags: class:"public"
	// The time of the most recent update to the Channel.
	UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_time,proto3" json:"updated_time,omitempty" class:"public"` // @gotags: class:"public"
	// The time the Channel started.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,proto3" json:"start_time,omitempty" class:"public"` // @gotags: class:"public"
	// The time the Channel ended.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,proto3" json:"end_time,omitempty" class:"public"` // @gotags: class:"public"
	// The total duration of the Channel.
	Duration *durationpb.Duration `protobuf:"bytes,8,opt,name=duration,proto3" json:"duration,omitempty" class:"public"` // @gotags: class:"public"
	// MimeTypes define the mime types that can
	// be used to consume the recording of this Channel.
	// The only supported mime type is "application/x-asciicast".
	MimeTypes []string `protobuf:"bytes,9,rep,name=mime_types,proto3" json:"mime_types,omitempty" class:"public"` // @gotags: class:"public"
	// contains filtered or unexported fields
}

ChannelRecording contains recorded information about a single Channel within a Connection. Channels are only present in multiplexed protocols, such as SSH.

func (*ChannelRecording) Descriptor deprecated

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

Deprecated: Use ChannelRecording.ProtoReflect.Descriptor instead.

func (*ChannelRecording) GetBytesDown

func (x *ChannelRecording) GetBytesDown() uint64

func (*ChannelRecording) GetBytesUp

func (x *ChannelRecording) GetBytesUp() uint64

func (*ChannelRecording) GetCreatedTime

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

func (*ChannelRecording) GetDuration

func (x *ChannelRecording) GetDuration() *durationpb.Duration

func (*ChannelRecording) GetEndTime

func (x *ChannelRecording) GetEndTime() *timestamppb.Timestamp

func (*ChannelRecording) GetId

func (x *ChannelRecording) GetId() string

func (*ChannelRecording) GetMimeTypes

func (x *ChannelRecording) GetMimeTypes() []string

func (*ChannelRecording) GetStartTime

func (x *ChannelRecording) GetStartTime() *timestamppb.Timestamp

func (*ChannelRecording) GetUpdatedTime

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

func (*ChannelRecording) ProtoMessage

func (*ChannelRecording) ProtoMessage()

func (*ChannelRecording) ProtoReflect

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

func (*ChannelRecording) Reset

func (x *ChannelRecording) Reset()

func (*ChannelRecording) String

func (x *ChannelRecording) String() string

type ConnectionRecording

type ConnectionRecording struct {

	// The ID of the Connection recording.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: class:"public"
	// The total number of bytes uploaded from the client in the Connection.
	// This includes any protocol overhead.
	BytesUp uint64 `protobuf:"varint,2,opt,name=bytes_up,proto3" json:"bytes_up,omitempty" class:"public"` // @gotags: class:"public"
	// The total number of bytes downloaded to the client in the Connection.
	// This includes any protocol overhead.
	BytesDown uint64 `protobuf:"varint,3,opt,name=bytes_down,proto3" json:"bytes_down,omitempty" class:"public"` // @gotags: class:"public"
	// The time the Connection was created in the controller.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public"` // @gotags: class:"public"
	// The time of the most recent update to the Connection.
	UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_time,proto3" json:"updated_time,omitempty" class:"public"` // @gotags: class:"public"
	// The time the Connection started.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,proto3" json:"start_time,omitempty" class:"public"` // @gotags: class:"public"
	// The time the Connection ended.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,proto3" json:"end_time,omitempty" class:"public"` // @gotags: class:"public"
	// The total duration of the Connection.
	Duration *durationpb.Duration `protobuf:"bytes,8,opt,name=duration,proto3" json:"duration,omitempty" class:"public"` // @gotags: class:"public"
	// MimeTypes define the mime types that can
	// be used to consume the recording of this Connection.
	// No mime types are currently supported.
	MimeTypes []string `protobuf:"bytes,9,rep,name=mime_types,proto3" json:"mime_types,omitempty" class:"public"` // @gotags: class:"public"
	// Optionally, the channels used in this Connection,
	// if it is using a multiplexed protocol, such as SSH.
	ChannelRecordings []*ChannelRecording `protobuf:"bytes,10,rep,name=channel_recordings,proto3" json:"channel_recordings,omitempty"`
	// contains filtered or unexported fields
}

ConnectionRecording contains the recording of a single Connection within a Session.

func (*ConnectionRecording) Descriptor deprecated

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

Deprecated: Use ConnectionRecording.ProtoReflect.Descriptor instead.

func (*ConnectionRecording) GetBytesDown

func (x *ConnectionRecording) GetBytesDown() uint64

func (*ConnectionRecording) GetBytesUp

func (x *ConnectionRecording) GetBytesUp() uint64

func (*ConnectionRecording) GetChannelRecordings

func (x *ConnectionRecording) GetChannelRecordings() []*ChannelRecording

func (*ConnectionRecording) GetCreatedTime

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

func (*ConnectionRecording) GetDuration

func (x *ConnectionRecording) GetDuration() *durationpb.Duration

func (*ConnectionRecording) GetEndTime

func (x *ConnectionRecording) GetEndTime() *timestamppb.Timestamp

func (*ConnectionRecording) GetId

func (x *ConnectionRecording) GetId() string

func (*ConnectionRecording) GetMimeTypes

func (x *ConnectionRecording) GetMimeTypes() []string

func (*ConnectionRecording) GetStartTime

func (x *ConnectionRecording) GetStartTime() *timestamppb.Timestamp

func (*ConnectionRecording) GetUpdatedTime

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

func (*ConnectionRecording) ProtoMessage

func (*ConnectionRecording) ProtoMessage()

func (*ConnectionRecording) ProtoReflect

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

func (*ConnectionRecording) Reset

func (x *ConnectionRecording) Reset()

func (*ConnectionRecording) String

func (x *ConnectionRecording) String() string

type Host

type Host struct {

	// The ID of the Host
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: class:"public"
	// The Host Catalog this Host is in
	HostCatalog *HostCatalog `protobuf:"bytes,2,opt,name=host_catalog,proto3" json:"host_catalog,omitempty" class:"public"` // @gotags: class:"public"
	// The name of the Host, if set.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: class:"public"
	// The description of the Host, if set.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" class:"public"` // @gotags: class:"public"
	// The type of the host. This will be either "static" or "plugin"
	Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: class:"public"
	// Types that are assignable to Attrs:
	//
	//	*Host_Attributes
	Attrs isHost_Attrs `protobuf_oneof:"attrs"`
	// The external id of the Host, if any.
	ExternalId string `protobuf:"bytes,7,opt,name=external_id,proto3" json:"external_id,omitempty" class:"public"` // @gotags: class:"public"
	// The external name of the Host, if any.
	ExternalName string `protobuf:"bytes,8,opt,name=external_name,proto3" json:"external_name,omitempty" class:"public"` // @gotags: class:"public"
	// contains filtered or unexported fields
}

Host describes the Host that was chosen for the recorded session.

func (*Host) Descriptor deprecated

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

Deprecated: Use Host.ProtoReflect.Descriptor instead.

func (*Host) GetAttributes

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

func (*Host) GetAttrs

func (m *Host) GetAttrs() isHost_Attrs

func (*Host) GetDescription

func (x *Host) GetDescription() string

func (*Host) GetExternalId

func (x *Host) GetExternalId() string

func (*Host) GetExternalName added in v0.0.34

func (x *Host) GetExternalName() string

func (*Host) GetHostCatalog

func (x *Host) GetHostCatalog() *HostCatalog

func (*Host) GetId

func (x *Host) GetId() string

func (*Host) GetName

func (x *Host) GetName() string

func (*Host) GetType

func (x *Host) GetType() string

func (*Host) ProtoMessage

func (*Host) ProtoMessage()

func (*Host) ProtoReflect

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

func (*Host) Reset

func (x *Host) Reset()

func (*Host) String

func (x *Host) String() string

type HostCatalog

type HostCatalog struct {

	// The ID of the Host Catalog
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: class:"public"
	// The scope that the Host Catalog is in
	Scope *scopes.ScopeInfo `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty" class:"public"` // @gotags: class:"public"
	// The plugin id used by this Host Catalog, if any.
	PluginId string `protobuf:"bytes,3,opt,name=plugin_id,proto3" json:"plugin_id,omitempty" class:"public"` // @gotags: class:"public"
	// The name of the Host Catalog, if set
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: class:"public"
	// The description of the Host Catalog.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty" class:"public"` // @gotags: class:"public"
	// The type of the Host Catalog.  This will be either "static" or "plugin"
	Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: class:"public"
	// Types that are assignable to Attrs:
	//
	//	*HostCatalog_Attributes
	Attrs isHostCatalog_Attrs `protobuf_oneof:"attrs"`
	// contains filtered or unexported fields
}

HostCatalog describes the HostCatalog that contains the host chosen for the recorded session.

func (*HostCatalog) Descriptor deprecated

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

Deprecated: Use HostCatalog.ProtoReflect.Descriptor instead.

func (*HostCatalog) GetAttributes

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

func (*HostCatalog) GetAttrs

func (m *HostCatalog) GetAttrs() isHostCatalog_Attrs

func (*HostCatalog) GetDescription

func (x *HostCatalog) GetDescription() string

func (*HostCatalog) GetId

func (x *HostCatalog) GetId() string

func (*HostCatalog) GetName

func (x *HostCatalog) GetName() string

func (*HostCatalog) GetPluginId

func (x *HostCatalog) GetPluginId() string

func (*HostCatalog) GetScope

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

func (*HostCatalog) GetType

func (x *HostCatalog) GetType() string

func (*HostCatalog) ProtoMessage

func (*HostCatalog) ProtoMessage()

func (*HostCatalog) ProtoReflect

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

func (*HostCatalog) Reset

func (x *HostCatalog) Reset()

func (*HostCatalog) String

func (x *HostCatalog) String() string

type HostCatalog_Attributes

type HostCatalog_Attributes struct {
	// The attributes of the Host Catalog.
	Attributes *structpb.Struct `protobuf:"bytes,7,opt,name=attributes,proto3,oneof" class:"public"` // @gotags: class:"public"
}

type Host_Attributes

type Host_Attributes struct {
	// The attributes that are applicable for the specific Host.
	Attributes *structpb.Struct `protobuf:"bytes,6,opt,name=attributes,proto3,oneof" class:"public"` // @gotags: class:"public"
}

type SessionRecording

type SessionRecording struct {

	// The ID of the Session recording.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: class:"public"
	// The scope that the Session Recording is in.
	// This is inferred from the storage bucket associated
	// with the target.
	Scope *scopes.ScopeInfo `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty" class:"public"` // @gotags: class:"public"
	// The ID of the Session which this Session Recording recorded.
	SessionId string `protobuf:"bytes,3,opt,name=session_id,proto3" json:"session_id,omitempty" class:"public"` // @gotags: class:"public"
	// The ID of the Storage Bucket for the Target of this Session Recording.
	StorageBucketId string `protobuf:"bytes,4,opt,name=storage_bucket_id,proto3" json:"storage_bucket_id,omitempty"`
	// The total number of bytes uploaded from the client in the Session.
	// This includes all bytes uploaded over all Connections, including
	// any protocol overhead.
	BytesUp uint64 `protobuf:"varint,5,opt,name=bytes_up,proto3" json:"bytes_up,omitempty" class:"public"` // @gotags: class:"public"
	// The total number of bytes downloaded to the client in the Session.
	// This includes all bytes downloaded over all Connections, including
	// any protocol overhead.
	BytesDown uint64 `protobuf:"varint,6,opt,name=bytes_down,proto3" json:"bytes_down,omitempty" class:"public"` // @gotags: class:"public"
	// The time the Session Recording was created in the controller.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public"` // @gotags: class:"public"
	// The time of the most recent update to the Session Recording.
	UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_time,proto3" json:"updated_time,omitempty" class:"public"` // @gotags: class:"public"
	// The time the Session started.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=start_time,proto3" json:"start_time,omitempty" class:"public"` // @gotags: class:"public"
	// The time the Session ended.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=end_time,proto3" json:"end_time,omitempty" class:"public"` // @gotags: class:"public"
	// The total duration of the Session.
	Duration *durationpb.Duration `protobuf:"bytes,11,opt,name=duration,proto3" json:"duration,omitempty" class:"public"` // @gotags: class:"public"
	// Type of the Session that was recorded (e.g. ssh).
	Type string `protobuf:"bytes,12,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: class:"public"
	// The current state of the session recording. One of
	// "started", "available" and "unknown".
	State string `protobuf:"bytes,13,opt,name=state,proto3" json:"state,omitempty" class:"public"` // @gotags: class:"public"
	// Any error seen during the closing of the session recording.
	// Currently only set if state is "unknown".
	ErrorDetails string `protobuf:"bytes,14,opt,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty" class:"public"` // @gotags: class:"public"
	// MimeTypes define the mime types that can
	// be used to consume the recording of this Session.
	// No mime types are currently supported.
	MimeTypes []string `protobuf:"bytes,15,rep,name=mime_types,proto3" json:"mime_types,omitempty" class:"public"` // @gotags: class:"public"
	// The endpoint of the Session; that is, the address to which the egress worker connected.
	Endpoint string `protobuf:"bytes,16,opt,name=endpoint,proto3" json:"endpoint,omitempty" class:"public"` // @gotags: class:"public"
	// The recordings of the connections that were created in the Session.
	// This field may be unset when listing Session recordings.
	ConnectionRecordings []*ConnectionRecording `protobuf:"bytes,17,rep,name=connection_recordings,proto3" json:"connection_recordings,omitempty"`
	// create_time_values contains the values of related fields at the time
	// this Session Recording was created. This may be unset when listing.
	CreateTimeValues *ValuesAtTime `protobuf:"bytes,18,opt,name=create_time_values,proto3" json:"create_time_values,omitempty" class:"public"` // @gotags: class:"public"
	// The available actions on this resource for this user.
	AuthorizedActions []string `protobuf:"bytes,19,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty" class:"public"` // @gotags: class:"public"
	// contains filtered or unexported fields
}

SessionRecording contains information about the recording of a Session.

func (*SessionRecording) Descriptor deprecated

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

Deprecated: Use SessionRecording.ProtoReflect.Descriptor instead.

func (*SessionRecording) GetAuthorizedActions

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

func (*SessionRecording) GetBytesDown

func (x *SessionRecording) GetBytesDown() uint64

func (*SessionRecording) GetBytesUp

func (x *SessionRecording) GetBytesUp() uint64

func (*SessionRecording) GetConnectionRecordings

func (x *SessionRecording) GetConnectionRecordings() []*ConnectionRecording

func (*SessionRecording) GetCreateTimeValues

func (x *SessionRecording) GetCreateTimeValues() *ValuesAtTime

func (*SessionRecording) GetCreatedTime

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

func (*SessionRecording) GetDuration

func (x *SessionRecording) GetDuration() *durationpb.Duration

func (*SessionRecording) GetEndTime

func (x *SessionRecording) GetEndTime() *timestamppb.Timestamp

func (*SessionRecording) GetEndpoint

func (x *SessionRecording) GetEndpoint() string

func (*SessionRecording) GetErrorDetails

func (x *SessionRecording) GetErrorDetails() string

func (*SessionRecording) GetId

func (x *SessionRecording) GetId() string

func (*SessionRecording) GetMimeTypes

func (x *SessionRecording) GetMimeTypes() []string

func (*SessionRecording) GetScope

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

func (*SessionRecording) GetSessionId

func (x *SessionRecording) GetSessionId() string

func (*SessionRecording) GetStartTime

func (x *SessionRecording) GetStartTime() *timestamppb.Timestamp

func (*SessionRecording) GetState

func (x *SessionRecording) GetState() string

func (*SessionRecording) GetStorageBucketId

func (x *SessionRecording) GetStorageBucketId() string

func (*SessionRecording) GetType

func (x *SessionRecording) GetType() string

func (*SessionRecording) GetUpdatedTime

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

func (*SessionRecording) ProtoMessage

func (*SessionRecording) ProtoMessage()

func (*SessionRecording) ProtoReflect

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

func (*SessionRecording) Reset

func (x *SessionRecording) Reset()

func (*SessionRecording) String

func (x *SessionRecording) String() string

type SshTargetAttributes

type SshTargetAttributes struct {

	// The default SSH port that is used when connecting to the endpoint.
	DefaultPort uint32 `protobuf:"varint,1,opt,name=default_port,proto3" json:"default_port,omitempty" class:"public"` // @gotags: class:"public"
	// The default TCP port that will be listened on by the client's local proxy.
	DefaultClientPort uint32 `protobuf:"varint,2,opt,name=default_client_port,proto3" json:"default_client_port,omitempty" class:"public"` // @gotags: class:"public"
	// contains filtered or unexported fields
}

SshTargetAttributes contains attributes relevant to Targets of type "ssh"

func (*SshTargetAttributes) Descriptor deprecated

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

Deprecated: Use SshTargetAttributes.ProtoReflect.Descriptor instead.

func (*SshTargetAttributes) GetDefaultClientPort added in v0.0.34

func (x *SshTargetAttributes) GetDefaultClientPort() uint32

func (*SshTargetAttributes) GetDefaultPort

func (x *SshTargetAttributes) GetDefaultPort() uint32

func (*SshTargetAttributes) ProtoMessage

func (*SshTargetAttributes) ProtoMessage()

func (*SshTargetAttributes) ProtoReflect

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

func (*SshTargetAttributes) Reset

func (x *SshTargetAttributes) Reset()

func (*SshTargetAttributes) String

func (x *SshTargetAttributes) String() string

type StaticHostAttributes

type StaticHostAttributes struct {

	// The address specified on a static host
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" class:"public"` // @gotags: class:"public"
	// contains filtered or unexported fields
}

func (*StaticHostAttributes) Descriptor deprecated

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

Deprecated: Use StaticHostAttributes.ProtoReflect.Descriptor instead.

func (*StaticHostAttributes) GetAddress

func (x *StaticHostAttributes) GetAddress() string

func (*StaticHostAttributes) ProtoMessage

func (*StaticHostAttributes) ProtoMessage()

func (*StaticHostAttributes) ProtoReflect

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

func (*StaticHostAttributes) Reset

func (x *StaticHostAttributes) Reset()

func (*StaticHostAttributes) String

func (x *StaticHostAttributes) String() string

type Target

type Target struct {

	// The ID of the Target.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: class:"public"
	// The name of the Target, if set.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: class:"public"
	// The description of the Target, if set.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" class:"public"` // @gotags: class:"public"
	// The scope that the Target is in.
	Scope *scopes.ScopeInfo `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
	// Maximum total lifetime of a created Session, in seconds.
	SessionMaxSeconds uint32 `protobuf:"varint,5,opt,name=session_max_seconds,proto3" json:"session_max_seconds,omitempty" class:"public"` // @gotags: class:"public"
	// Maximum number of connections allowed in a Session.  Unlimited is indicated by the value -1.
	SessionConnectionLimit int32 `protobuf:"varint,6,opt,name=session_connection_limit,proto3" json:"session_connection_limit,omitempty" class:"public"` // @gotags: class:"public"
	// Optional boolean expression to filter the workers that are allowed to satisfy this request.
	WorkerFilter string `protobuf:"bytes,7,opt,name=worker_filter,proto3" json:"worker_filter,omitempty" class:"public"` // @gotags: class:"public"
	// Optional boolean expressions to filter the egress workers that are allowed to satisfy this request.
	EgressWorkerFilter string `protobuf:"bytes,8,opt,name=egress_worker_filter,proto3" json:"egress_worker_filter,omitempty" class:"public"` // @gotags: class:"public"
	// Optional boolean expressions to filter the ingress workers that are allowed to satisfy this request.
	IngressWorkerFilter string `protobuf:"bytes,9,opt,name=ingress_worker_filter,proto3" json:"ingress_worker_filter,omitempty" class:"public"` // @gotags: class:"public"
	// The type of the Target.
	Type string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
	// Types that are assignable to Attrs:
	//
	//	*Target_Attributes
	Attrs isTarget_Attrs `protobuf_oneof:"attrs"`
	// contains filtered or unexported fields
}

Target describes a target in Boundary.

func (*Target) Descriptor deprecated

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

Deprecated: Use Target.ProtoReflect.Descriptor instead.

func (*Target) GetAttributes

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

func (*Target) GetAttrs

func (m *Target) GetAttrs() isTarget_Attrs

func (*Target) GetDescription

func (x *Target) GetDescription() string

func (*Target) GetEgressWorkerFilter

func (x *Target) GetEgressWorkerFilter() string

func (*Target) GetId

func (x *Target) GetId() string

func (*Target) GetIngressWorkerFilter

func (x *Target) GetIngressWorkerFilter() string

func (*Target) GetName

func (x *Target) GetName() string

func (*Target) GetScope

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

func (*Target) GetSessionConnectionLimit

func (x *Target) GetSessionConnectionLimit() int32

func (*Target) GetSessionMaxSeconds

func (x *Target) GetSessionMaxSeconds() uint32

func (*Target) GetType

func (x *Target) GetType() string

func (*Target) GetWorkerFilter

func (x *Target) GetWorkerFilter() string

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 Target_Attributes

type Target_Attributes struct {
	// The attributes that are applicable for the specific Target.
	Attributes *structpb.Struct `protobuf:"bytes,11,opt,name=attributes,proto3,oneof" class:"public"` // @gotags: class:"public"
}

type User

type User struct {

	// The ID of the User.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: class:"public"
	// The name of the User that created the Session.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" class:"sensitive"` // @gotags: class:"sensitive"
	// The description of the User that created the Session.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" class:"sensitive"` // @gotags: class:"sensitive"
	// The scope that the User is in.
	Scope *scopes.ScopeInfo `protobuf:"bytes,7,opt,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

User describes an authenticated user in Boundary.

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetDescription

func (x *User) GetDescription() string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetScope

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

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type ValuesAtTime

type ValuesAtTime struct {

	// Information about the User that created the Session.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" class:"public"` // @gotags: class:"public"
	// Information about the Target the Session connected to.
	Target *Target `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty" class:"public"` // @gotags: class:"public"
	// Information about the Host chosen for the session.
	Host *Host `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty" class:"public"` // @gotags: class:"public"
	// contains filtered or unexported fields
}

ValuesAtTime contain information about other Boundary resources as they were at a certain time through the lifetime of the Session Recording.

func (*ValuesAtTime) Descriptor deprecated

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

Deprecated: Use ValuesAtTime.ProtoReflect.Descriptor instead.

func (*ValuesAtTime) GetHost

func (x *ValuesAtTime) GetHost() *Host

func (*ValuesAtTime) GetTarget

func (x *ValuesAtTime) GetTarget() *Target

func (*ValuesAtTime) GetUser

func (x *ValuesAtTime) GetUser() *User

func (*ValuesAtTime) ProtoMessage

func (*ValuesAtTime) ProtoMessage()

func (*ValuesAtTime) ProtoReflect

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

func (*ValuesAtTime) Reset

func (x *ValuesAtTime) Reset()

func (*ValuesAtTime) String

func (x *ValuesAtTime) String() string

Jump to

Keyboard shortcuts

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