commandv1

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: 8 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) GetContainer

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

func (*Command) GetDescription

func (x *Command) GetDescription() string

func (*Command) GetDisplayName

func (x *Command) GetDisplayName() string

func (*Command) GetExitStatus

func (x *Command) GetExitStatus() string

func (*Command) GetId

func (x *Command) GetId() string

func (*Command) GetJobId

func (x *Command) GetJobId() string

func (*Command) GetResourcePool

func (x *Command) GetResourcePool() string

func (*Command) GetStartTime

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

func (*Command) GetState

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

func (*Command) GetUserId

func (x *Command) GetUserId() int32

func (*Command) GetUsername

func (x *Command) GetUsername() string

func (*Command) GetWorkspaceId

func (x *Command) GetWorkspaceId() int32

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) ProtoReflect

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

func (*Command) Reset

func (x *Command) Reset()

func (*Command) String

func (x *Command) String() string

Jump to

Keyboard shortcuts

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