shellv1

package
v0.0.0-...-3511abf Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_determined_shell_v1_shell_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Shell

type Shell struct {

	// The id of the shell.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The description of the shell.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The state of the shell.
	State taskv1.State `protobuf:"varint,3,opt,name=state,proto3,enum=determined.task.v1.State" json:"state,omitempty"`
	// The time the shell was started.
	StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The container running the shell.
	Container *containerv1.Container `protobuf:"bytes,6,opt,name=container,proto3" json:"container,omitempty"`
	// The private key for this shell.
	PrivateKey string `protobuf:"bytes,7,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// The public key for this shell.
	PublicKey string `protobuf:"bytes,8,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// The display name of the user that created the shell.
	DisplayName string `protobuf:"bytes,16,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The id of the user that created the shell.
	UserId int32 `protobuf:"varint,17,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The username of the user that created the shell.
	Username string `protobuf:"bytes,10,opt,name=username,proto3" json:"username,omitempty"`
	// The name of the resource pool the Shell was created in
	ResourcePool string `protobuf:"bytes,11,opt,name=resource_pool,json=resourcePool,proto3" json:"resource_pool,omitempty"`
	// The exit status;
	ExitStatus string `protobuf:"bytes,12,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"`
	// The addresses;
	Addresses []*_struct.Struct `protobuf:"bytes,13,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// The agent user group;
	AgentUserGroup *_struct.Struct `protobuf:"bytes,14,opt,name=agent_user_group,json=agentUserGroup,proto3" json:"agent_user_group,omitempty"`
	// The associated job id.
	JobId string `protobuf:"bytes,15,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// The workspace id.
	WorkspaceId int32 `protobuf:"varint,18,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	// contains filtered or unexported fields
}

Shell is an ssh server in a containerized environment.

func (*Shell) Descriptor deprecated

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

Deprecated: Use Shell.ProtoReflect.Descriptor instead.

func (*Shell) GetAddresses

func (x *Shell) GetAddresses() []*_struct.Struct

func (*Shell) GetAgentUserGroup

func (x *Shell) GetAgentUserGroup() *_struct.Struct

func (*Shell) GetContainer

func (x *Shell) GetContainer() *containerv1.Container

func (*Shell) GetDescription

func (x *Shell) GetDescription() string

func (*Shell) GetDisplayName

func (x *Shell) GetDisplayName() string

func (*Shell) GetExitStatus

func (x *Shell) GetExitStatus() string

func (*Shell) GetId

func (x *Shell) GetId() string

func (*Shell) GetJobId

func (x *Shell) GetJobId() string

func (*Shell) GetPrivateKey

func (x *Shell) GetPrivateKey() string

func (*Shell) GetPublicKey

func (x *Shell) GetPublicKey() string

func (*Shell) GetResourcePool

func (x *Shell) GetResourcePool() string

func (*Shell) GetStartTime

func (x *Shell) GetStartTime() *timestamp.Timestamp

func (*Shell) GetState

func (x *Shell) GetState() taskv1.State

func (*Shell) GetUserId

func (x *Shell) GetUserId() int32

func (*Shell) GetUsername

func (x *Shell) GetUsername() string

func (*Shell) GetWorkspaceId

func (x *Shell) GetWorkspaceId() int32

func (*Shell) ProtoMessage

func (*Shell) ProtoMessage()

func (*Shell) ProtoReflect

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

func (*Shell) Reset

func (x *Shell) Reset()

func (*Shell) String

func (x *Shell) String() string

Jump to

Keyboard shortcuts

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