Documentation ¶
Index ¶
- Variables
- type Command
- func (*Command) Descriptor() ([]byte, []int)deprecated
- func (x *Command) GetContainer() *containerv1.Container
- func (x *Command) GetDescription() string
- func (x *Command) GetDisplayName() string
- func (x *Command) GetExitStatus() string
- func (x *Command) GetId() string
- func (x *Command) GetJobId() string
- func (x *Command) GetResourcePool() string
- func (x *Command) GetStartTime() *timestamp.Timestamp
- func (x *Command) GetState() taskv1.State
- func (x *Command) GetUserId() int32
- func (x *Command) GetUsername() string
- func (x *Command) GetWorkspaceId() int32
- func (*Command) ProtoMessage()
- func (x *Command) ProtoReflect() protoreflect.Message
- func (x *Command) Reset()
- func (x *Command) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_determined_command_v1_command_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { // The id of the command. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The description of the command. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The state of the command. State taskv1.State `protobuf:"varint,3,opt,name=state,proto3,enum=determined.task.v1.State" json:"state,omitempty"` // The time the command was started. StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The container running the command. Container *containerv1.Container `protobuf:"bytes,6,opt,name=container,proto3" json:"container,omitempty"` // The display name of the user that created the command. DisplayName string `protobuf:"bytes,14,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The id of the user that created the command. UserId int32 `protobuf:"varint,15,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The username of the user that created the command. Username string `protobuf:"bytes,10,opt,name=username,proto3" json:"username,omitempty"` // The name of the resource pool the command 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 associated job id. JobId string `protobuf:"bytes,13,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // The workspace id. WorkspaceId int32 `protobuf:"varint,16,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` // contains filtered or unexported fields }
Command is a single container running the configured command.
func (*Command) Descriptor
deprecated
func (*Command) GetContainer ¶
func (x *Command) GetContainer() *containerv1.Container
func (*Command) GetDescription ¶
func (*Command) GetDisplayName ¶
func (*Command) GetExitStatus ¶
func (*Command) GetResourcePool ¶
func (*Command) GetStartTime ¶
func (*Command) GetUsername ¶
func (*Command) GetWorkspaceId ¶
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.