Documentation ¶
Index ¶
- Variables
- type Shell
- func (*Shell) Descriptor() ([]byte, []int)deprecated
- func (x *Shell) GetAddresses() []*_struct.Struct
- func (x *Shell) GetAgentUserGroup() *_struct.Struct
- func (x *Shell) GetContainer() *containerv1.Container
- func (x *Shell) GetDescription() string
- func (x *Shell) GetDisplayName() string
- func (x *Shell) GetExitStatus() string
- func (x *Shell) GetId() string
- func (x *Shell) GetJobId() string
- func (x *Shell) GetPrivateKey() string
- func (x *Shell) GetPublicKey() string
- func (x *Shell) GetResourcePool() string
- func (x *Shell) GetStartTime() *timestamp.Timestamp
- func (x *Shell) GetState() taskv1.State
- func (x *Shell) GetUserId() int32
- func (x *Shell) GetUsername() string
- func (x *Shell) GetWorkspaceId() int32
- func (*Shell) ProtoMessage()
- func (x *Shell) ProtoReflect() protoreflect.Message
- func (x *Shell) Reset()
- func (x *Shell) String() string
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) GetAddresses ¶
func (*Shell) GetAgentUserGroup ¶
func (*Shell) GetContainer ¶
func (x *Shell) GetContainer() *containerv1.Container
func (*Shell) GetDescription ¶
func (*Shell) GetDisplayName ¶
func (*Shell) GetExitStatus ¶
func (*Shell) GetPrivateKey ¶
func (*Shell) GetPublicKey ¶
func (*Shell) GetResourcePool ¶
func (*Shell) GetStartTime ¶
func (*Shell) GetUsername ¶
func (*Shell) GetWorkspaceId ¶
func (*Shell) ProtoMessage ¶
func (*Shell) ProtoMessage()
func (*Shell) ProtoReflect ¶
func (x *Shell) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.