tes

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package tes defines shared TES wire models, enum conveniences, and request filters. The REST client lives in github.com/calypr/funnel/client/tes; server implementations are private to Funnel.

Index

Constants

View Source
const (
	Unknown       = State_UNKNOWN
	Queued        = State_QUEUED
	Initializing  = State_INITIALIZING
	Running       = State_RUNNING
	Paused        = State_PAUSED
	Complete      = State_COMPLETE
	ExecutorError = State_EXECUTOR_ERROR
	SystemError   = State_SYSTEM_ERROR
	Canceled      = State_CANCELED
)

State variables for convenience

View Source
const (
	Minimal   = View_MINIMAL
	Basic     = View_BASIC
	Full      = View_FULL
	File      = FileType_FILE
	Directory = FileType_DIRECTORY
)

Shorthand for TES views and file types.

Variables

View Source
var (
	State_name = map[int32]string{
		0:  "UNKNOWN",
		1:  "QUEUED",
		2:  "INITIALIZING",
		3:  "RUNNING",
		4:  "PAUSED",
		5:  "COMPLETE",
		6:  "EXECUTOR_ERROR",
		7:  "SYSTEM_ERROR",
		8:  "CANCELED",
		9:  "PREEMPTED",
		10: "CANCELING",
	}
	State_value = map[string]int32{
		"UNKNOWN":        0,
		"QUEUED":         1,
		"INITIALIZING":   2,
		"RUNNING":        3,
		"PAUSED":         4,
		"COMPLETE":       5,
		"EXECUTOR_ERROR": 6,
		"SYSTEM_ERROR":   7,
		"CANCELED":       8,
		"PREEMPTED":      9,
		"CANCELING":      10,
	}
)

Enum value maps for State.

View Source
var (
	FileType_name = map[int32]string{
		0: "FILE",
		1: "DIRECTORY",
	}
	FileType_value = map[string]int32{
		"FILE":      0,
		"DIRECTORY": 1,
	}
)

Enum value maps for FileType.

View Source
var (
	View_name = map[int32]string{
		0: "MINIMAL",
		1: "BASIC",
		2: "FULL",
	}
	View_value = map[string]int32{
		"MINIMAL": 0,
		"BASIC":   1,
		"FULL":    2,
	}
)

Enum value maps for View.

View Source
var File_tes_tes_proto protoreflect.FileDescriptor

Functions

func TerminalState

func TerminalState(s State) bool

TerminalState reports whether a task has finished.

Types

type CancelTaskRequest

type CancelTaskRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelTaskRequest) Descriptor deprecated

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

Deprecated: Use CancelTaskRequest.ProtoReflect.Descriptor instead.

func (*CancelTaskRequest) GetId

func (x *CancelTaskRequest) GetId() string

func (*CancelTaskRequest) ProtoMessage

func (*CancelTaskRequest) ProtoMessage()

func (*CancelTaskRequest) ProtoReflect

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

func (*CancelTaskRequest) Reset

func (x *CancelTaskRequest) Reset()

func (*CancelTaskRequest) String

func (x *CancelTaskRequest) String() string

type CancelTaskResponse

type CancelTaskResponse struct {
	// contains filtered or unexported fields
}

func (*CancelTaskResponse) Descriptor deprecated

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

Deprecated: Use CancelTaskResponse.ProtoReflect.Descriptor instead.

func (*CancelTaskResponse) ProtoMessage

func (*CancelTaskResponse) ProtoMessage()

func (*CancelTaskResponse) ProtoReflect

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

func (*CancelTaskResponse) Reset

func (x *CancelTaskResponse) Reset()

func (*CancelTaskResponse) String

func (x *CancelTaskResponse) String() string

type CreateTaskResponse

type CreateTaskResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTaskResponse) Descriptor deprecated

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

Deprecated: Use CreateTaskResponse.ProtoReflect.Descriptor instead.

func (*CreateTaskResponse) GetId

func (x *CreateTaskResponse) GetId() string

func (*CreateTaskResponse) ProtoMessage

func (*CreateTaskResponse) ProtoMessage()

func (*CreateTaskResponse) ProtoReflect

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

func (*CreateTaskResponse) Reset

func (x *CreateTaskResponse) Reset()

func (*CreateTaskResponse) String

func (x *CreateTaskResponse) String() string

type Executor

type Executor struct {
	Command     []string          `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"`
	Env         map[string]string `` /* 133-byte string literal not displayed */
	IgnoreError bool              `protobuf:"varint,3,opt,name=ignore_error,json=ignoreError,proto3" json:"ignore_error,omitempty"`
	Image       string            `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
	Stderr      string            `protobuf:"bytes,5,opt,name=stderr,proto3" json:"stderr,omitempty"`
	Stdin       string            `protobuf:"bytes,6,opt,name=stdin,proto3" json:"stdin,omitempty"`
	Stdout      string            `protobuf:"bytes,7,opt,name=stdout,proto3" json:"stdout,omitempty"`
	Workdir     string            `protobuf:"bytes,8,opt,name=workdir,proto3" json:"workdir,omitempty"`
	// contains filtered or unexported fields
}

func (*Executor) Descriptor deprecated

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

Deprecated: Use Executor.ProtoReflect.Descriptor instead.

func (*Executor) GetCommand

func (x *Executor) GetCommand() []string

func (*Executor) GetEnv

func (x *Executor) GetEnv() map[string]string

func (*Executor) GetIgnoreError

func (x *Executor) GetIgnoreError() bool

func (*Executor) GetImage

func (x *Executor) GetImage() string

func (*Executor) GetStderr

func (x *Executor) GetStderr() string

func (*Executor) GetStdin

func (x *Executor) GetStdin() string

func (*Executor) GetStdout

func (x *Executor) GetStdout() string

func (*Executor) GetWorkdir

func (x *Executor) GetWorkdir() string

func (*Executor) ProtoMessage

func (*Executor) ProtoMessage()

func (*Executor) ProtoReflect

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

func (*Executor) Reset

func (x *Executor) Reset()

func (*Executor) String

func (x *Executor) String() string

type ExecutorBasic

type ExecutorBasic struct {
	Command     []string          `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"`
	Env         map[string]string `` /* 133-byte string literal not displayed */
	IgnoreError bool              `protobuf:"varint,3,opt,name=ignore_error,json=ignoreError,proto3" json:"ignore_error,omitempty"`
	Image       string            `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
	Stderr      string            `protobuf:"bytes,5,opt,name=stderr,proto3" json:"stderr,omitempty"`
	Stdin       string            `protobuf:"bytes,6,opt,name=stdin,proto3" json:"stdin,omitempty"`
	Stdout      string            `protobuf:"bytes,7,opt,name=stdout,proto3" json:"stdout,omitempty"`
	Workdir     string            `protobuf:"bytes,8,opt,name=workdir,proto3" json:"workdir,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecutorBasic) Descriptor deprecated

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

Deprecated: Use ExecutorBasic.ProtoReflect.Descriptor instead.

func (*ExecutorBasic) GetCommand

func (x *ExecutorBasic) GetCommand() []string

func (*ExecutorBasic) GetEnv

func (x *ExecutorBasic) GetEnv() map[string]string

func (*ExecutorBasic) GetIgnoreError

func (x *ExecutorBasic) GetIgnoreError() bool

func (*ExecutorBasic) GetImage

func (x *ExecutorBasic) GetImage() string

func (*ExecutorBasic) GetStderr

func (x *ExecutorBasic) GetStderr() string

func (*ExecutorBasic) GetStdin

func (x *ExecutorBasic) GetStdin() string

func (*ExecutorBasic) GetStdout

func (x *ExecutorBasic) GetStdout() string

func (*ExecutorBasic) GetWorkdir

func (x *ExecutorBasic) GetWorkdir() string

func (*ExecutorBasic) ProtoMessage

func (*ExecutorBasic) ProtoMessage()

func (*ExecutorBasic) ProtoReflect

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

func (*ExecutorBasic) Reset

func (x *ExecutorBasic) Reset()

func (*ExecutorBasic) String

func (x *ExecutorBasic) String() string

type ExecutorLog

type ExecutorLog struct {
	EndTime   string `protobuf:"bytes,1,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	ExitCode  int32  `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	StartTime string `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	Stderr    string `protobuf:"bytes,4,opt,name=stderr,proto3" json:"stderr,omitempty"`
	Stdout    string `protobuf:"bytes,5,opt,name=stdout,proto3" json:"stdout,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecutorLog) Descriptor deprecated

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

Deprecated: Use ExecutorLog.ProtoReflect.Descriptor instead.

func (*ExecutorLog) GetEndTime

func (x *ExecutorLog) GetEndTime() string

func (*ExecutorLog) GetExitCode

func (x *ExecutorLog) GetExitCode() int32

func (*ExecutorLog) GetStartTime

func (x *ExecutorLog) GetStartTime() string

func (*ExecutorLog) GetStderr

func (x *ExecutorLog) GetStderr() string

func (*ExecutorLog) GetStdout

func (x *ExecutorLog) GetStdout() string

func (*ExecutorLog) ProtoMessage

func (*ExecutorLog) ProtoMessage()

func (*ExecutorLog) ProtoReflect

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

func (*ExecutorLog) Reset

func (x *ExecutorLog) Reset()

func (*ExecutorLog) String

func (x *ExecutorLog) String() string

type FileType

type FileType int32
const (
	FileType_FILE      FileType = 0
	FileType_DIRECTORY FileType = 1
)

func (FileType) Descriptor

func (FileType) Descriptor() protoreflect.EnumDescriptor

func (FileType) Enum

func (x FileType) Enum() *FileType

func (FileType) EnumDescriptor deprecated

func (FileType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FileType.Descriptor instead.

func (FileType) Number

func (x FileType) Number() protoreflect.EnumNumber

func (FileType) String

func (x FileType) String() string

func (FileType) Type

type GetServiceInfoRequest

type GetServiceInfoRequest struct {
	// contains filtered or unexported fields
}

func (*GetServiceInfoRequest) Descriptor deprecated

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

Deprecated: Use GetServiceInfoRequest.ProtoReflect.Descriptor instead.

func (*GetServiceInfoRequest) ProtoMessage

func (*GetServiceInfoRequest) ProtoMessage()

func (*GetServiceInfoRequest) ProtoReflect

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

func (*GetServiceInfoRequest) Reset

func (x *GetServiceInfoRequest) Reset()

func (*GetServiceInfoRequest) String

func (x *GetServiceInfoRequest) String() string

type GetTaskRequest

type GetTaskRequest struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	View string `protobuf:"bytes,2,opt,name=view,proto3" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTaskRequest) Descriptor deprecated

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

Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead.

func (*GetTaskRequest) GetId

func (x *GetTaskRequest) GetId() string

func (*GetTaskRequest) GetView

func (x *GetTaskRequest) GetView() string

func (*GetTaskRequest) ProtoMessage

func (*GetTaskRequest) ProtoMessage()

func (*GetTaskRequest) ProtoReflect

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

func (*GetTaskRequest) Reset

func (x *GetTaskRequest) Reset()

func (*GetTaskRequest) String

func (x *GetTaskRequest) String() string

type Input

type Input struct {
	Content     string   `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Name        string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Path        string   `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Streamable  bool     `protobuf:"varint,5,opt,name=streamable,proto3" json:"streamable,omitempty"`
	Type        FileType `protobuf:"varint,6,opt,name=type,proto3,enum=tes.FileType" json:"type,omitempty"`
	Url         string   `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*Input) Descriptor deprecated

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

Deprecated: Use Input.ProtoReflect.Descriptor instead.

func (*Input) GetContent

func (x *Input) GetContent() string

func (*Input) GetDescription

func (x *Input) GetDescription() string

func (*Input) GetName

func (x *Input) GetName() string

func (*Input) GetPath

func (x *Input) GetPath() string

func (*Input) GetStreamable

func (x *Input) GetStreamable() bool

func (*Input) GetType

func (x *Input) GetType() FileType

func (*Input) GetUrl

func (x *Input) GetUrl() string

func (*Input) ProtoMessage

func (*Input) ProtoMessage()

func (*Input) ProtoReflect

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

func (*Input) Reset

func (x *Input) Reset()

func (*Input) String

func (x *Input) String() string

type InputBasic

type InputBasic struct {
	Content     string   `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Name        string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Path        string   `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Streamable  bool     `protobuf:"varint,5,opt,name=streamable,proto3" json:"streamable,omitempty"`
	Type        FileType `protobuf:"varint,6,opt,name=type,proto3,enum=tes.FileType" json:"type,omitempty"`
	Url         string   `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*InputBasic) Descriptor deprecated

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

Deprecated: Use InputBasic.ProtoReflect.Descriptor instead.

func (*InputBasic) GetContent

func (x *InputBasic) GetContent() string

func (*InputBasic) GetDescription

func (x *InputBasic) GetDescription() string

func (*InputBasic) GetName

func (x *InputBasic) GetName() string

func (*InputBasic) GetPath

func (x *InputBasic) GetPath() string

func (*InputBasic) GetStreamable

func (x *InputBasic) GetStreamable() bool

func (*InputBasic) GetType

func (x *InputBasic) GetType() FileType

func (*InputBasic) GetUrl

func (x *InputBasic) GetUrl() string

func (*InputBasic) ProtoMessage

func (*InputBasic) ProtoMessage()

func (*InputBasic) ProtoReflect

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

func (*InputBasic) Reset

func (x *InputBasic) Reset()

func (*InputBasic) String

func (x *InputBasic) String() string

type ListTasksRequest

type ListTasksRequest struct {
	NamePrefix string   `protobuf:"bytes,1,opt,name=name_prefix,json=namePrefix,proto3" json:"name_prefix,omitempty"`
	State      State    `protobuf:"varint,2,opt,name=state,proto3,enum=tes.State" json:"state,omitempty"`
	TagKey     []string `protobuf:"bytes,3,rep,name=tag_key,json=tagKey,proto3" json:"tag_key,omitempty"`
	TagValue   []string `protobuf:"bytes,4,rep,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty"`
	PageSize   int32    `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken  string   `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	View       string   `protobuf:"bytes,7,opt,name=view,proto3" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTasksRequest) Descriptor deprecated

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

Deprecated: Use ListTasksRequest.ProtoReflect.Descriptor instead.

func (*ListTasksRequest) GetNamePrefix

func (x *ListTasksRequest) GetNamePrefix() string

func (*ListTasksRequest) GetPageSize

func (x *ListTasksRequest) GetPageSize() int32

func (*ListTasksRequest) GetPageToken

func (x *ListTasksRequest) GetPageToken() string

func (*ListTasksRequest) GetState

func (x *ListTasksRequest) GetState() State

func (*ListTasksRequest) GetTagKey

func (x *ListTasksRequest) GetTagKey() []string

func (*ListTasksRequest) GetTagValue

func (x *ListTasksRequest) GetTagValue() []string

func (*ListTasksRequest) GetTags

func (x *ListTasksRequest) GetTags() map[string]string

GetTags pairs tag keys with values. A key without a value matches any value.

func (*ListTasksRequest) GetView

func (x *ListTasksRequest) GetView() string

func (*ListTasksRequest) ProtoMessage

func (*ListTasksRequest) ProtoMessage()

func (*ListTasksRequest) ProtoReflect

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

func (*ListTasksRequest) Reset

func (x *ListTasksRequest) Reset()

func (*ListTasksRequest) String

func (x *ListTasksRequest) String() string

type ListTasksResponse

type ListTasksResponse struct {
	NextPageToken string  `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	Tasks         []*Task `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTasksResponse) Descriptor deprecated

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

Deprecated: Use ListTasksResponse.ProtoReflect.Descriptor instead.

func (*ListTasksResponse) GetNextPageToken

func (x *ListTasksResponse) GetNextPageToken() string

func (*ListTasksResponse) GetTasks

func (x *ListTasksResponse) GetTasks() []*Task

func (*ListTasksResponse) ProtoMessage

func (*ListTasksResponse) ProtoMessage()

func (*ListTasksResponse) ProtoReflect

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

func (*ListTasksResponse) Reset

func (x *ListTasksResponse) Reset()

func (*ListTasksResponse) String

func (x *ListTasksResponse) String() string

type ListTasksResponseBasic

type ListTasksResponseBasic struct {
	NextPageToken string       `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	Tasks         []*TaskBasic `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTasksResponseBasic) Descriptor deprecated

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

Deprecated: Use ListTasksResponseBasic.ProtoReflect.Descriptor instead.

func (*ListTasksResponseBasic) GetNextPageToken

func (x *ListTasksResponseBasic) GetNextPageToken() string

func (*ListTasksResponseBasic) GetTasks

func (x *ListTasksResponseBasic) GetTasks() []*TaskBasic

func (*ListTasksResponseBasic) ProtoMessage

func (*ListTasksResponseBasic) ProtoMessage()

func (*ListTasksResponseBasic) ProtoReflect

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

func (*ListTasksResponseBasic) Reset

func (x *ListTasksResponseBasic) Reset()

func (*ListTasksResponseBasic) String

func (x *ListTasksResponseBasic) String() string

type ListTasksResponseMin

type ListTasksResponseMin struct {
	NextPageToken string     `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	Tasks         []*TaskMin `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTasksResponseMin) Descriptor deprecated

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

Deprecated: Use ListTasksResponseMin.ProtoReflect.Descriptor instead.

func (*ListTasksResponseMin) GetNextPageToken

func (x *ListTasksResponseMin) GetNextPageToken() string

func (*ListTasksResponseMin) GetTasks

func (x *ListTasksResponseMin) GetTasks() []*TaskMin

func (*ListTasksResponseMin) ProtoMessage

func (*ListTasksResponseMin) ProtoMessage()

func (*ListTasksResponseMin) ProtoReflect

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

func (*ListTasksResponseMin) Reset

func (x *ListTasksResponseMin) Reset()

func (*ListTasksResponseMin) String

func (x *ListTasksResponseMin) String() string

type Output

type Output struct {
	Description string    `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	Name        string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Path        string    `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	PathPrefix  string    `protobuf:"bytes,4,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
	Type        *FileType `protobuf:"varint,5,opt,name=type,proto3,enum=tes.FileType,oneof" json:"type,omitempty"`
	Url         string    `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*Output) Descriptor deprecated

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

Deprecated: Use Output.ProtoReflect.Descriptor instead.

func (*Output) GetDescription

func (x *Output) GetDescription() string

func (*Output) GetName

func (x *Output) GetName() string

func (*Output) GetPath

func (x *Output) GetPath() string

func (*Output) GetPathPrefix

func (x *Output) GetPathPrefix() string

func (*Output) GetType

func (x *Output) GetType() FileType

func (*Output) GetUrl

func (x *Output) GetUrl() string

func (*Output) ProtoMessage

func (*Output) ProtoMessage()

func (*Output) ProtoReflect

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

func (*Output) Reset

func (x *Output) Reset()

func (*Output) String

func (x *Output) String() string

type OutputFileLog

type OutputFileLog struct {
	Path      string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	SizeBytes string `protobuf:"bytes,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	Url       string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*OutputFileLog) Descriptor deprecated

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

Deprecated: Use OutputFileLog.ProtoReflect.Descriptor instead.

func (*OutputFileLog) GetPath

func (x *OutputFileLog) GetPath() string

func (*OutputFileLog) GetSizeBytes

func (x *OutputFileLog) GetSizeBytes() string

func (*OutputFileLog) GetUrl

func (x *OutputFileLog) GetUrl() string

func (*OutputFileLog) ProtoMessage

func (*OutputFileLog) ProtoMessage()

func (*OutputFileLog) ProtoReflect

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

func (*OutputFileLog) Reset

func (x *OutputFileLog) Reset()

func (*OutputFileLog) String

func (x *OutputFileLog) String() string

type Resources

type Resources struct {
	BackendParameters       map[string]string `` /* 186-byte string literal not displayed */
	BackendParametersStrict bool              `` /* 133-byte string literal not displayed */
	CpuCores                int32             `protobuf:"varint,3,opt,name=cpu_cores,json=cpuCores,proto3" json:"cpu_cores,omitempty"`
	DiskGb                  float64           `protobuf:"fixed64,4,opt,name=disk_gb,json=diskGb,proto3" json:"disk_gb,omitempty"`
	Preemptible             bool              `protobuf:"varint,5,opt,name=preemptible,proto3" json:"preemptible,omitempty"`
	RamGb                   float64           `protobuf:"fixed64,6,opt,name=ram_gb,json=ramGb,proto3" json:"ram_gb,omitempty"`
	Zones                   []string          `protobuf:"bytes,7,rep,name=zones,proto3" json:"zones,omitempty"`
	// contains filtered or unexported fields
}

func (*Resources) Descriptor deprecated

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

Deprecated: Use Resources.ProtoReflect.Descriptor instead.

func (*Resources) GetBackendParameters

func (x *Resources) GetBackendParameters() map[string]string

func (*Resources) GetBackendParametersStrict

func (x *Resources) GetBackendParametersStrict() bool

func (*Resources) GetCpuCores

func (x *Resources) GetCpuCores() int32

func (*Resources) GetDiskGb

func (x *Resources) GetDiskGb() float64

func (*Resources) GetPreemptible

func (x *Resources) GetPreemptible() bool

func (*Resources) GetRamGb

func (x *Resources) GetRamGb() float64

func (*Resources) GetZones

func (x *Resources) GetZones() []string

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) ProtoReflect

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

func (*Resources) Reset

func (x *Resources) Reset()

func (*Resources) String

func (x *Resources) String() string

type ServiceInfo

type ServiceInfo struct {
	ContactUrl                    string            `protobuf:"bytes,1,opt,name=contactUrl,proto3" json:"contactUrl,omitempty"`
	CreatedAt                     string            `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	Description                   string            `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	DocumentationUrl              string            `protobuf:"bytes,4,opt,name=documentationUrl,proto3" json:"documentationUrl,omitempty"`
	Environment                   string            `protobuf:"bytes,5,opt,name=environment,proto3" json:"environment,omitempty"`
	Id                            string            `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
	Name                          string            `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	Organization                  map[string]string `` /* 151-byte string literal not displayed */
	Storage                       []string          `protobuf:"bytes,9,rep,name=storage,proto3" json:"storage,omitempty"`
	TesResourcesBackendParameters []string          `` /* 151-byte string literal not displayed */
	Type                          *ServiceType      `protobuf:"bytes,11,opt,name=type,proto3" json:"type,omitempty"`
	UpdatedAt                     string            `protobuf:"bytes,12,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Version                       string            `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceInfo) Descriptor deprecated

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

Deprecated: Use ServiceInfo.ProtoReflect.Descriptor instead.

func (*ServiceInfo) GetContactUrl

func (x *ServiceInfo) GetContactUrl() string

func (*ServiceInfo) GetCreatedAt

func (x *ServiceInfo) GetCreatedAt() string

func (*ServiceInfo) GetDescription

func (x *ServiceInfo) GetDescription() string

func (*ServiceInfo) GetDocumentationUrl

func (x *ServiceInfo) GetDocumentationUrl() string

func (*ServiceInfo) GetEnvironment

func (x *ServiceInfo) GetEnvironment() string

func (*ServiceInfo) GetId

func (x *ServiceInfo) GetId() string

func (*ServiceInfo) GetName

func (x *ServiceInfo) GetName() string

func (*ServiceInfo) GetOrganization

func (x *ServiceInfo) GetOrganization() map[string]string

func (*ServiceInfo) GetStorage

func (x *ServiceInfo) GetStorage() []string

func (*ServiceInfo) GetTesResourcesBackendParameters

func (x *ServiceInfo) GetTesResourcesBackendParameters() []string

func (*ServiceInfo) GetType

func (x *ServiceInfo) GetType() *ServiceType

func (*ServiceInfo) GetUpdatedAt

func (x *ServiceInfo) GetUpdatedAt() string

func (*ServiceInfo) GetVersion

func (x *ServiceInfo) GetVersion() string

func (*ServiceInfo) ProtoMessage

func (*ServiceInfo) ProtoMessage()

func (*ServiceInfo) ProtoReflect

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

func (*ServiceInfo) Reset

func (x *ServiceInfo) Reset()

func (*ServiceInfo) String

func (x *ServiceInfo) String() string

type ServiceType

type ServiceType struct {
	Artifact string `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"`
	Group    string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
	Version  string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceType) Descriptor deprecated

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

Deprecated: Use ServiceType.ProtoReflect.Descriptor instead.

func (*ServiceType) GetArtifact

func (x *ServiceType) GetArtifact() string

func (*ServiceType) GetGroup

func (x *ServiceType) GetGroup() string

func (*ServiceType) GetVersion

func (x *ServiceType) GetVersion() string

func (*ServiceType) ProtoMessage

func (*ServiceType) ProtoMessage()

func (*ServiceType) ProtoReflect

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

func (*ServiceType) Reset

func (x *ServiceType) Reset()

func (*ServiceType) String

func (x *ServiceType) String() string

type State

type State int32
const (
	State_UNKNOWN        State = 0
	State_QUEUED         State = 1
	State_INITIALIZING   State = 2
	State_RUNNING        State = 3
	State_PAUSED         State = 4
	State_COMPLETE       State = 5
	State_EXECUTOR_ERROR State = 6
	State_SYSTEM_ERROR   State = 7
	State_CANCELED       State = 8
	State_PREEMPTED      State = 9
	State_CANCELING      State = 10
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

func (State) EnumDescriptor() ([]byte, []int)

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

type Task

type Task struct {
	CreationTime string            `protobuf:"bytes,1,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
	Description  string            `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Executors    []*Executor       `protobuf:"bytes,3,rep,name=executors,proto3" json:"executors,omitempty"`
	Id           string            `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	Inputs       []*Input          `protobuf:"bytes,5,rep,name=inputs,proto3" json:"inputs,omitempty"`
	Logs         []*TaskLog        `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"`
	Name         string            `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	Outputs      []*Output         `protobuf:"bytes,8,rep,name=outputs,proto3" json:"outputs,omitempty"`
	Resources    *Resources        `protobuf:"bytes,9,opt,name=resources,proto3" json:"resources,omitempty"`
	State        State             `protobuf:"varint,10,opt,name=state,proto3,enum=tes.State" json:"state,omitempty"`
	Tags         map[string]string `` /* 136-byte string literal not displayed */
	Volumes      []string          `protobuf:"bytes,12,rep,name=volumes,proto3" json:"volumes,omitempty"`
	// contains filtered or unexported fields
}

func (*Task) Descriptor deprecated

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

Deprecated: Use Task.ProtoReflect.Descriptor instead.

func (*Task) GetCreationTime

func (x *Task) GetCreationTime() string

func (*Task) GetDescription

func (x *Task) GetDescription() string

func (*Task) GetExecutors

func (x *Task) GetExecutors() []*Executor

func (*Task) GetId

func (x *Task) GetId() string

func (*Task) GetInputs

func (x *Task) GetInputs() []*Input

func (*Task) GetLogs

func (x *Task) GetLogs() []*TaskLog

func (*Task) GetName

func (x *Task) GetName() string

func (*Task) GetOutputs

func (x *Task) GetOutputs() []*Output

func (*Task) GetResources

func (x *Task) GetResources() *Resources

func (*Task) GetState

func (x *Task) GetState() State

func (*Task) GetTags

func (x *Task) GetTags() map[string]string

func (*Task) GetVolumes

func (x *Task) GetVolumes() []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 TaskBasic

type TaskBasic struct {
	CreationTime string            `protobuf:"bytes,1,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
	Description  string            `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Executors    []*ExecutorBasic  `protobuf:"bytes,3,rep,name=executors,proto3" json:"executors,omitempty"`
	Id           string            `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	Inputs       []*InputBasic     `protobuf:"bytes,5,rep,name=inputs,proto3" json:"inputs,omitempty"`
	Logs         []*TaskLogBasic   `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"`
	Name         string            `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	Outputs      []*Output         `protobuf:"bytes,8,rep,name=outputs,proto3" json:"outputs,omitempty"`
	Resources    *Resources        `protobuf:"bytes,9,opt,name=resources,proto3" json:"resources,omitempty"`
	State        State             `protobuf:"varint,10,opt,name=state,proto3,enum=tes.State" json:"state,omitempty"`
	Tags         map[string]string `` /* 136-byte string literal not displayed */
	Volumes      []string          `protobuf:"bytes,12,rep,name=volumes,proto3" json:"volumes,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskBasic) Descriptor deprecated

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

Deprecated: Use TaskBasic.ProtoReflect.Descriptor instead.

func (*TaskBasic) GetCreationTime

func (x *TaskBasic) GetCreationTime() string

func (*TaskBasic) GetDescription

func (x *TaskBasic) GetDescription() string

func (*TaskBasic) GetExecutors

func (x *TaskBasic) GetExecutors() []*ExecutorBasic

func (*TaskBasic) GetId

func (x *TaskBasic) GetId() string

func (*TaskBasic) GetInputs

func (x *TaskBasic) GetInputs() []*InputBasic

func (*TaskBasic) GetLogs

func (x *TaskBasic) GetLogs() []*TaskLogBasic

func (*TaskBasic) GetName

func (x *TaskBasic) GetName() string

func (*TaskBasic) GetOutputs

func (x *TaskBasic) GetOutputs() []*Output

func (*TaskBasic) GetResources

func (x *TaskBasic) GetResources() *Resources

func (*TaskBasic) GetState

func (x *TaskBasic) GetState() State

func (*TaskBasic) GetTags

func (x *TaskBasic) GetTags() map[string]string

func (*TaskBasic) GetVolumes

func (x *TaskBasic) GetVolumes() []string

func (*TaskBasic) ProtoMessage

func (*TaskBasic) ProtoMessage()

func (*TaskBasic) ProtoReflect

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

func (*TaskBasic) Reset

func (x *TaskBasic) Reset()

func (*TaskBasic) String

func (x *TaskBasic) String() string

type TaskLog

type TaskLog struct {
	EndTime    string            `protobuf:"bytes,1,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Logs       []*ExecutorLog    `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"`
	Metadata   map[string]string `` /* 143-byte string literal not displayed */
	Outputs    []*OutputFileLog  `protobuf:"bytes,4,rep,name=outputs,proto3" json:"outputs,omitempty"`
	StartTime  string            `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	SystemLogs []string          `protobuf:"bytes,6,rep,name=system_logs,json=systemLogs,proto3" json:"system_logs,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskLog) Descriptor deprecated

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

Deprecated: Use TaskLog.ProtoReflect.Descriptor instead.

func (*TaskLog) GetEndTime

func (x *TaskLog) GetEndTime() string

func (*TaskLog) GetLogs

func (x *TaskLog) GetLogs() []*ExecutorLog

func (*TaskLog) GetMetadata

func (x *TaskLog) GetMetadata() map[string]string

func (*TaskLog) GetOutputs

func (x *TaskLog) GetOutputs() []*OutputFileLog

func (*TaskLog) GetStartTime

func (x *TaskLog) GetStartTime() string

func (*TaskLog) GetSystemLogs

func (x *TaskLog) GetSystemLogs() []string

func (*TaskLog) ProtoMessage

func (*TaskLog) ProtoMessage()

func (*TaskLog) ProtoReflect

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

func (*TaskLog) Reset

func (x *TaskLog) Reset()

func (*TaskLog) String

func (x *TaskLog) String() string

type TaskLogBasic

type TaskLogBasic struct {
	EndTime    string            `protobuf:"bytes,1,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Logs       []*ExecutorLog    `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"`
	Metadata   map[string]string `` /* 143-byte string literal not displayed */
	Outputs    []*OutputFileLog  `protobuf:"bytes,4,rep,name=outputs,proto3" json:"outputs,omitempty"`
	StartTime  string            `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	SystemLogs []string          `protobuf:"bytes,6,rep,name=system_logs,json=systemLogs,proto3" json:"system_logs,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskLogBasic) Descriptor deprecated

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

Deprecated: Use TaskLogBasic.ProtoReflect.Descriptor instead.

func (*TaskLogBasic) GetEndTime

func (x *TaskLogBasic) GetEndTime() string

func (*TaskLogBasic) GetLogs

func (x *TaskLogBasic) GetLogs() []*ExecutorLog

func (*TaskLogBasic) GetMetadata

func (x *TaskLogBasic) GetMetadata() map[string]string

func (*TaskLogBasic) GetOutputs

func (x *TaskLogBasic) GetOutputs() []*OutputFileLog

func (*TaskLogBasic) GetStartTime

func (x *TaskLogBasic) GetStartTime() string

func (*TaskLogBasic) GetSystemLogs

func (x *TaskLogBasic) GetSystemLogs() []string

func (*TaskLogBasic) ProtoMessage

func (*TaskLogBasic) ProtoMessage()

func (*TaskLogBasic) ProtoReflect

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

func (*TaskLogBasic) Reset

func (x *TaskLogBasic) Reset()

func (*TaskLogBasic) String

func (x *TaskLogBasic) String() string

type TaskMin

type TaskMin struct {
	CreationTime string            `protobuf:"bytes,1,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
	Description  string            `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Executors    []*Executor       `protobuf:"bytes,3,rep,name=executors,proto3" json:"executors,omitempty"`
	Id           string            `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	Inputs       []*Input          `protobuf:"bytes,5,rep,name=inputs,proto3" json:"inputs,omitempty"`
	Logs         []*TaskLog        `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"`
	Name         string            `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	Outputs      []*Output         `protobuf:"bytes,8,rep,name=outputs,proto3" json:"outputs,omitempty"`
	Resources    *Resources        `protobuf:"bytes,9,opt,name=resources,proto3" json:"resources,omitempty"`
	State        State             `protobuf:"varint,10,opt,name=state,proto3,enum=tes.State" json:"state,omitempty"`
	Tags         map[string]string `` /* 136-byte string literal not displayed */
	Volumes      []string          `protobuf:"bytes,12,rep,name=volumes,proto3" json:"volumes,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskMin) Descriptor deprecated

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

Deprecated: Use TaskMin.ProtoReflect.Descriptor instead.

func (*TaskMin) GetCreationTime

func (x *TaskMin) GetCreationTime() string

func (*TaskMin) GetDescription

func (x *TaskMin) GetDescription() string

func (*TaskMin) GetExecutors

func (x *TaskMin) GetExecutors() []*Executor

func (*TaskMin) GetId

func (x *TaskMin) GetId() string

func (*TaskMin) GetInputs

func (x *TaskMin) GetInputs() []*Input

func (*TaskMin) GetLogs

func (x *TaskMin) GetLogs() []*TaskLog

func (*TaskMin) GetName

func (x *TaskMin) GetName() string

func (*TaskMin) GetOutputs

func (x *TaskMin) GetOutputs() []*Output

func (*TaskMin) GetResources

func (x *TaskMin) GetResources() *Resources

func (*TaskMin) GetState

func (x *TaskMin) GetState() State

func (*TaskMin) GetTags

func (x *TaskMin) GetTags() map[string]string

func (*TaskMin) GetVolumes

func (x *TaskMin) GetVolumes() []string

func (*TaskMin) ProtoMessage

func (*TaskMin) ProtoMessage()

func (*TaskMin) ProtoReflect

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

func (*TaskMin) Reset

func (x *TaskMin) Reset()

func (*TaskMin) String

func (x *TaskMin) String() string

type View

type View int32
const (
	View_MINIMAL View = 0
	View_BASIC   View = 1
	View_FULL    View = 2
)

func (View) Descriptor

func (View) Descriptor() protoreflect.EnumDescriptor

func (View) Enum

func (x View) Enum() *View

func (View) EnumDescriptor deprecated

func (View) EnumDescriptor() ([]byte, []int)

Deprecated: Use View.Descriptor instead.

func (View) Number

func (x View) Number() protoreflect.EnumNumber

func (View) String

func (x View) String() string

func (View) Type

func (View) Type() protoreflect.EnumType

Directories

Path Synopsis
internal
openapi2proto command

Jump to

Keyboard shortcuts

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