protocol

package
v0.0.177 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_std_tasks_protocol_tasks_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Task

type Task struct {
	Id                 string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name               string           `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	HumanReadableLabel string           `protobuf:"bytes,3,opt,name=human_readable_label,json=humanReadableLabel,proto3" json:"human_readable_label,omitempty"`
	CreatedTs          int64            `protobuf:"varint,4,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"`         // Unix time.
	StartedTs          int64            `protobuf:"varint,13,opt,name=started_ts,json=startedTs,proto3" json:"started_ts,omitempty"`        // Unix time.
	CompletedTs        int64            `protobuf:"varint,5,opt,name=completed_ts,json=completedTs,proto3" json:"completed_ts,omitempty"`   // Unix time.
	ErrorMessage       string           `protobuf:"bytes,6,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // When completed_ts is set.
	Output             []*Task_Output   `protobuf:"bytes,7,rep,name=output,proto3" json:"output,omitempty"`
	Scope              []string         `protobuf:"bytes,11,rep,name=scope,proto3" json:"scope,omitempty"`
	EnvName            string           `protobuf:"bytes,12,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"`
	State              string           `protobuf:"bytes,14,opt,name=state,proto3" json:"state,omitempty"`
	Argument           []*Task_Argument `protobuf:"bytes,15,rep,name=argument,proto3" json:"argument,omitempty"`
	// contains filtered or unexported fields
}

func (*Task) Descriptor deprecated

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

Deprecated: Use Task.ProtoReflect.Descriptor instead.

func (*Task) GetArgument

func (x *Task) GetArgument() []*Task_Argument

func (*Task) GetCompletedTs

func (x *Task) GetCompletedTs() int64

func (*Task) GetCreatedTs

func (x *Task) GetCreatedTs() int64

func (*Task) GetEnvName

func (x *Task) GetEnvName() string

func (*Task) GetErrorMessage

func (x *Task) GetErrorMessage() string

func (*Task) GetHumanReadableLabel

func (x *Task) GetHumanReadableLabel() string

func (*Task) GetId

func (x *Task) GetId() string

func (*Task) GetName

func (x *Task) GetName() string

func (*Task) GetOutput

func (x *Task) GetOutput() []*Task_Output

func (*Task) GetScope

func (x *Task) GetScope() []string

func (*Task) GetStartedTs

func (x *Task) GetStartedTs() int64

func (*Task) GetState

func (x *Task) GetState() string

func (*Task) ProtoMessage

func (*Task) ProtoMessage()

func (*Task) ProtoReflect

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

func (*Task) Reset

func (x *Task) Reset()

func (*Task) String

func (x *Task) String() string

type Task_Argument

type Task_Argument struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Msg  string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // The stored value is serialized in a best-effort way.
	// contains filtered or unexported fields
}

func (*Task_Argument) Descriptor deprecated

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

Deprecated: Use Task_Argument.ProtoReflect.Descriptor instead.

func (*Task_Argument) GetMsg

func (x *Task_Argument) GetMsg() string

func (*Task_Argument) GetName

func (x *Task_Argument) GetName() string

func (*Task_Argument) ProtoMessage

func (*Task_Argument) ProtoMessage()

func (*Task_Argument) ProtoReflect

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

func (*Task_Argument) Reset

func (x *Task_Argument) Reset()

func (*Task_Argument) String

func (x *Task_Argument) String() string

type Task_Output

type Task_Output struct {
	Id          string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// contains filtered or unexported fields
}

func (*Task_Output) Descriptor deprecated

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

Deprecated: Use Task_Output.ProtoReflect.Descriptor instead.

func (*Task_Output) GetContentType

func (x *Task_Output) GetContentType() string

func (*Task_Output) GetId

func (x *Task_Output) GetId() string

func (*Task_Output) GetName

func (x *Task_Output) GetName() string

func (*Task_Output) ProtoMessage

func (*Task_Output) ProtoMessage()

func (*Task_Output) ProtoReflect

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

func (*Task_Output) Reset

func (x *Task_Output) Reset()

func (*Task_Output) String

func (x *Task_Output) String() string

Jump to

Keyboard shortcuts

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