api

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: MPL-2.0 Imports: 11 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Platform_name = map[int32]string{
		0: "LINUX",
		1: "WINDOWS",
	}
	Platform_value = map[string]int32{
		"LINUX":   0,
		"WINDOWS": 1,
	}
)

Enum value maps for Platform.

View Source
var (
	Annotation_Level_name = map[int32]string{
		0: "NOTICE",
		1: "WARNING",
		2: "FAILURE",
	}
	Annotation_Level_value = map[string]int32{
		"NOTICE":  0,
		"WARNING": 1,
		"FAILURE": 2,
	}
)

Enum value maps for Annotation_Level.

View Source
var (
	Annotation_Type_name = map[int32]string{
		0: "GENERIC",
		1: "TEST_RESULT",
		2: "LINT_RESULT",
		3: "ANALYSIS_RESULT",
	}
	Annotation_Type_value = map[string]int32{
		"GENERIC":         0,
		"TEST_RESULT":     1,
		"LINT_RESULT":     2,
		"ANALYSIS_RESULT": 3,
	}
)

Enum value maps for Annotation_Type.

View Source
var (
	Task_Status_name = map[int32]string{
		0: "CREATED",
		1: "TRIGGERED",
		2: "SCHEDULED",
		3: "EXECUTING",
		4: "ABORTED",
		5: "FAILED",
		6: "COMPLETED",
		7: "SKIPPED",
	}
	Task_Status_value = map[string]int32{
		"CREATED":   0,
		"TRIGGERED": 1,
		"SCHEDULED": 2,
		"EXECUTING": 3,
		"ABORTED":   4,
		"FAILED":    5,
		"COMPLETED": 6,
		"SKIPPED":   7,
	}
)

Enum value maps for Task_Status.

View Source
var (
	Command_CommandExecutionBehavior_name = map[int32]string{
		0: "ON_SUCCESS",
		1: "ON_FAILURE",
		2: "ALWAYS",
	}
	Command_CommandExecutionBehavior_value = map[string]int32{
		"ON_SUCCESS": 0,
		"ON_FAILURE": 1,
		"ALWAYS":     2,
	}
)

Enum value maps for Command_CommandExecutionBehavior.

View Source
var File_cirrus_ci_service_proto protoreflect.FileDescriptor

Functions

func RegisterCirrusCIServiceServer

func RegisterCirrusCIServiceServer(s grpc.ServiceRegistrar, srv CirrusCIServiceServer)

func RegisterCirrusConfigurationEvaluatorServiceServer added in v1.12.0

func RegisterCirrusConfigurationEvaluatorServiceServer(s grpc.ServiceRegistrar, srv CirrusConfigurationEvaluatorServiceServer)

func RegisterCirrusWorkersServiceServer added in v1.14.0

func RegisterCirrusWorkersServiceServer(s grpc.ServiceRegistrar, srv CirrusWorkersServiceServer)

Types

type AdditionalContainer

type AdditionalContainer struct {
	Name             string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Image            string            `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	Cpu              float32           `protobuf:"fixed32,3,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory           uint32            `protobuf:"varint,4,opt,name=memory,proto3" json:"memory,omitempty"` // in MB
	ContainerPort    uint32            `protobuf:"varint,5,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"`
	Environment      map[string]string `` /* 163-byte string literal not displayed */
	Command          []string          `protobuf:"bytes,7,rep,name=command,proto3" json:"command,omitempty"`
	ReadinessCommand []string          `protobuf:"bytes,8,rep,name=readiness_command,json=readinessCommand,proto3" json:"readiness_command,omitempty"`
	Privileged       bool              `protobuf:"varint,9,opt,name=privileged,proto3" json:"privileged,omitempty"`
	HostPort         uint32            `protobuf:"varint,10,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"`
	// contains filtered or unexported fields
}

func (*AdditionalContainer) Descriptor deprecated

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

Deprecated: Use AdditionalContainer.ProtoReflect.Descriptor instead.

func (*AdditionalContainer) GetCommand

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

func (*AdditionalContainer) GetContainerPort

func (x *AdditionalContainer) GetContainerPort() uint32

func (*AdditionalContainer) GetCpu

func (x *AdditionalContainer) GetCpu() float32

func (*AdditionalContainer) GetEnvironment

func (x *AdditionalContainer) GetEnvironment() map[string]string

func (*AdditionalContainer) GetHostPort

func (x *AdditionalContainer) GetHostPort() uint32

func (*AdditionalContainer) GetImage

func (x *AdditionalContainer) GetImage() string

func (*AdditionalContainer) GetMemory

func (x *AdditionalContainer) GetMemory() uint32

func (*AdditionalContainer) GetName

func (x *AdditionalContainer) GetName() string

func (*AdditionalContainer) GetPrivileged

func (x *AdditionalContainer) GetPrivileged() bool

func (*AdditionalContainer) GetReadinessCommand

func (x *AdditionalContainer) GetReadinessCommand() []string

func (*AdditionalContainer) ProtoMessage

func (*AdditionalContainer) ProtoMessage()

func (*AdditionalContainer) ProtoReflect added in v1.5.0

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

func (*AdditionalContainer) Reset

func (x *AdditionalContainer) Reset()

func (*AdditionalContainer) String

func (x *AdditionalContainer) String() string

type Annotation

type Annotation struct {
	Type               Annotation_Type          `protobuf:"varint,1,opt,name=type,proto3,enum=org.cirruslabs.ci.services.cirruscigrpc.Annotation_Type" json:"type,omitempty"`
	Level              Annotation_Level         `` /* 126-byte string literal not displayed */
	Message            string                   `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	RawDetails         string                   `protobuf:"bytes,4,opt,name=raw_details,json=rawDetails,proto3" json:"raw_details,omitempty"`
	FullyQualifiedName string                   `protobuf:"bytes,5,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3" json:"fully_qualified_name,omitempty"`
	FileLocation       *Annotation_FileLocation `protobuf:"bytes,6,opt,name=file_location,json=fileLocation,proto3" json:"file_location,omitempty"`
	// contains filtered or unexported fields
}

func (*Annotation) Descriptor deprecated

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

Deprecated: Use Annotation.ProtoReflect.Descriptor instead.

func (*Annotation) GetFileLocation

func (x *Annotation) GetFileLocation() *Annotation_FileLocation

func (*Annotation) GetFullyQualifiedName

func (x *Annotation) GetFullyQualifiedName() string

func (*Annotation) GetLevel

func (x *Annotation) GetLevel() Annotation_Level

func (*Annotation) GetMessage

func (x *Annotation) GetMessage() string

func (*Annotation) GetRawDetails

func (x *Annotation) GetRawDetails() string

func (*Annotation) GetType

func (x *Annotation) GetType() Annotation_Type

func (*Annotation) ProtoMessage

func (*Annotation) ProtoMessage()

func (*Annotation) ProtoReflect added in v1.5.0

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

func (*Annotation) Reset

func (x *Annotation) Reset()

func (*Annotation) String

func (x *Annotation) String() string

type Annotation_FileLocation

type Annotation_FileLocation struct {
	Path        string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	StartLine   int64  `protobuf:"varint,2,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"`
	EndLine     int64  `protobuf:"varint,3,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"`
	StartColumn int64  `protobuf:"varint,4,opt,name=start_column,json=startColumn,proto3" json:"start_column,omitempty"`
	EndColumn   int64  `protobuf:"varint,5,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"`
	// contains filtered or unexported fields
}

func (*Annotation_FileLocation) Descriptor deprecated

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

Deprecated: Use Annotation_FileLocation.ProtoReflect.Descriptor instead.

func (*Annotation_FileLocation) GetEndColumn

func (x *Annotation_FileLocation) GetEndColumn() int64

func (*Annotation_FileLocation) GetEndLine

func (x *Annotation_FileLocation) GetEndLine() int64

func (*Annotation_FileLocation) GetPath

func (x *Annotation_FileLocation) GetPath() string

func (*Annotation_FileLocation) GetStartColumn

func (x *Annotation_FileLocation) GetStartColumn() int64

func (*Annotation_FileLocation) GetStartLine

func (x *Annotation_FileLocation) GetStartLine() int64

func (*Annotation_FileLocation) ProtoMessage

func (*Annotation_FileLocation) ProtoMessage()

func (*Annotation_FileLocation) ProtoReflect added in v1.5.0

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

func (*Annotation_FileLocation) Reset

func (x *Annotation_FileLocation) Reset()

func (*Annotation_FileLocation) String

func (x *Annotation_FileLocation) String() string

type Annotation_Level

type Annotation_Level int32
const (
	Annotation_NOTICE  Annotation_Level = 0
	Annotation_WARNING Annotation_Level = 1
	Annotation_FAILURE Annotation_Level = 2
)

func (Annotation_Level) Descriptor added in v1.5.0

func (Annotation_Level) Enum added in v1.5.0

func (Annotation_Level) EnumDescriptor deprecated

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

Deprecated: Use Annotation_Level.Descriptor instead.

func (Annotation_Level) Number added in v1.5.0

func (Annotation_Level) String

func (x Annotation_Level) String() string

func (Annotation_Level) Type added in v1.5.0

type Annotation_Type

type Annotation_Type int32
const (
	Annotation_GENERIC         Annotation_Type = 0
	Annotation_TEST_RESULT     Annotation_Type = 1
	Annotation_LINT_RESULT     Annotation_Type = 2
	Annotation_ANALYSIS_RESULT Annotation_Type = 3
)

func (Annotation_Type) Descriptor added in v1.5.0

func (Annotation_Type) Enum added in v1.5.0

func (x Annotation_Type) Enum() *Annotation_Type

func (Annotation_Type) EnumDescriptor deprecated

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

Deprecated: Use Annotation_Type.Descriptor instead.

func (Annotation_Type) Number added in v1.5.0

func (Annotation_Type) String

func (x Annotation_Type) String() string

func (Annotation_Type) Type added in v1.5.0

type ArtifactEntry

type ArtifactEntry struct {

	// Types that are assignable to Value:
	//	*ArtifactEntry_ArtifactsUpload_
	//	*ArtifactEntry_Chunk
	Value isArtifactEntry_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*ArtifactEntry) Descriptor deprecated

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

Deprecated: Use ArtifactEntry.ProtoReflect.Descriptor instead.

func (*ArtifactEntry) GetArtifactsUpload

func (x *ArtifactEntry) GetArtifactsUpload() *ArtifactEntry_ArtifactsUpload

func (*ArtifactEntry) GetChunk

func (*ArtifactEntry) GetValue

func (m *ArtifactEntry) GetValue() isArtifactEntry_Value

func (*ArtifactEntry) ProtoMessage

func (*ArtifactEntry) ProtoMessage()

func (*ArtifactEntry) ProtoReflect added in v1.5.0

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

func (*ArtifactEntry) Reset

func (x *ArtifactEntry) Reset()

func (*ArtifactEntry) String

func (x *ArtifactEntry) String() string

type ArtifactEntry_ArtifactChunk

type ArtifactEntry_ArtifactChunk struct {
	ArtifactPath string `protobuf:"bytes,1,opt,name=artifact_path,json=artifactPath,proto3" json:"artifact_path,omitempty"`
	Data         []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ArtifactEntry_ArtifactChunk) Descriptor deprecated

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

Deprecated: Use ArtifactEntry_ArtifactChunk.ProtoReflect.Descriptor instead.

func (*ArtifactEntry_ArtifactChunk) GetArtifactPath

func (x *ArtifactEntry_ArtifactChunk) GetArtifactPath() string

func (*ArtifactEntry_ArtifactChunk) GetData

func (x *ArtifactEntry_ArtifactChunk) GetData() []byte

func (*ArtifactEntry_ArtifactChunk) ProtoMessage

func (*ArtifactEntry_ArtifactChunk) ProtoMessage()

func (*ArtifactEntry_ArtifactChunk) ProtoReflect added in v1.5.0

func (*ArtifactEntry_ArtifactChunk) Reset

func (x *ArtifactEntry_ArtifactChunk) Reset()

func (*ArtifactEntry_ArtifactChunk) String

func (x *ArtifactEntry_ArtifactChunk) String() string

type ArtifactEntry_ArtifactsUpload

type ArtifactEntry_ArtifactsUpload struct {
	TaskIdentification *TaskIdentification `protobuf:"bytes,1,opt,name=task_identification,json=taskIdentification,proto3" json:"task_identification,omitempty"`
	Name               string              `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type               string              `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Format             string              `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*ArtifactEntry_ArtifactsUpload) Descriptor deprecated

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

Deprecated: Use ArtifactEntry_ArtifactsUpload.ProtoReflect.Descriptor instead.

func (*ArtifactEntry_ArtifactsUpload) GetFormat

func (x *ArtifactEntry_ArtifactsUpload) GetFormat() string

func (*ArtifactEntry_ArtifactsUpload) GetName

func (*ArtifactEntry_ArtifactsUpload) GetTaskIdentification

func (x *ArtifactEntry_ArtifactsUpload) GetTaskIdentification() *TaskIdentification

func (*ArtifactEntry_ArtifactsUpload) GetType

func (*ArtifactEntry_ArtifactsUpload) ProtoMessage

func (*ArtifactEntry_ArtifactsUpload) ProtoMessage()

func (*ArtifactEntry_ArtifactsUpload) ProtoReflect added in v1.5.0

func (*ArtifactEntry_ArtifactsUpload) Reset

func (x *ArtifactEntry_ArtifactsUpload) Reset()

func (*ArtifactEntry_ArtifactsUpload) String

type ArtifactEntry_ArtifactsUpload_

type ArtifactEntry_ArtifactsUpload_ struct {
	ArtifactsUpload *ArtifactEntry_ArtifactsUpload `protobuf:"bytes,1,opt,name=artifacts_upload,json=artifactsUpload,proto3,oneof"`
}

type ArtifactEntry_Chunk

type ArtifactEntry_Chunk struct {
	Chunk *ArtifactEntry_ArtifactChunk `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"`
}

type ArtifactsInstruction

type ArtifactsInstruction struct {
	Paths  []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	Type   string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Format string   `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*ArtifactsInstruction) Descriptor deprecated

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

Deprecated: Use ArtifactsInstruction.ProtoReflect.Descriptor instead.

func (*ArtifactsInstruction) GetFormat

func (x *ArtifactsInstruction) GetFormat() string

func (*ArtifactsInstruction) GetPaths

func (x *ArtifactsInstruction) GetPaths() []string

func (*ArtifactsInstruction) GetType

func (x *ArtifactsInstruction) GetType() string

func (*ArtifactsInstruction) ProtoMessage

func (*ArtifactsInstruction) ProtoMessage()

func (*ArtifactsInstruction) ProtoReflect added in v1.5.0

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

func (*ArtifactsInstruction) Reset

func (x *ArtifactsInstruction) Reset()

func (*ArtifactsInstruction) String

func (x *ArtifactsInstruction) String() string

type BackgroundScriptInstruction

type BackgroundScriptInstruction struct {
	Scripts []string `protobuf:"bytes,1,rep,name=scripts,proto3" json:"scripts,omitempty"`
	// contains filtered or unexported fields
}

func (*BackgroundScriptInstruction) Descriptor deprecated

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

Deprecated: Use BackgroundScriptInstruction.ProtoReflect.Descriptor instead.

func (*BackgroundScriptInstruction) GetScripts

func (x *BackgroundScriptInstruction) GetScripts() []string

func (*BackgroundScriptInstruction) ProtoMessage

func (*BackgroundScriptInstruction) ProtoMessage()

func (*BackgroundScriptInstruction) ProtoReflect added in v1.5.0

func (*BackgroundScriptInstruction) Reset

func (x *BackgroundScriptInstruction) Reset()

func (*BackgroundScriptInstruction) String

func (x *BackgroundScriptInstruction) String() string

type CacheEntry

type CacheEntry struct {

	// Types that are assignable to Value:
	//	*CacheEntry_Key
	//	*CacheEntry_Chunk
	Value isCacheEntry_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*CacheEntry) Descriptor deprecated

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

Deprecated: Use CacheEntry.ProtoReflect.Descriptor instead.

func (*CacheEntry) GetChunk

func (x *CacheEntry) GetChunk() *DataChunk

func (*CacheEntry) GetKey

func (x *CacheEntry) GetKey() *CacheEntry_CacheKey

func (*CacheEntry) GetValue

func (m *CacheEntry) GetValue() isCacheEntry_Value

func (*CacheEntry) ProtoMessage

func (*CacheEntry) ProtoMessage()

func (*CacheEntry) ProtoReflect added in v1.5.0

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

func (*CacheEntry) Reset

func (x *CacheEntry) Reset()

func (*CacheEntry) String

func (x *CacheEntry) String() string

type CacheEntry_CacheKey

type CacheEntry_CacheKey struct {
	TaskIdentification *TaskIdentification `protobuf:"bytes,1,opt,name=task_identification,json=taskIdentification,proto3" json:"task_identification,omitempty"`
	CacheKey           string              `protobuf:"bytes,2,opt,name=cache_key,json=cacheKey,proto3" json:"cache_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CacheEntry_CacheKey) Descriptor deprecated

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

Deprecated: Use CacheEntry_CacheKey.ProtoReflect.Descriptor instead.

func (*CacheEntry_CacheKey) GetCacheKey

func (x *CacheEntry_CacheKey) GetCacheKey() string

func (*CacheEntry_CacheKey) GetTaskIdentification

func (x *CacheEntry_CacheKey) GetTaskIdentification() *TaskIdentification

func (*CacheEntry_CacheKey) ProtoMessage

func (*CacheEntry_CacheKey) ProtoMessage()

func (*CacheEntry_CacheKey) ProtoReflect added in v1.5.0

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

func (*CacheEntry_CacheKey) Reset

func (x *CacheEntry_CacheKey) Reset()

func (*CacheEntry_CacheKey) String

func (x *CacheEntry_CacheKey) String() string

type CacheEntry_Chunk

type CacheEntry_Chunk struct {
	Chunk *DataChunk `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"`
}

type CacheEntry_Key

type CacheEntry_Key struct {
	Key *CacheEntry_CacheKey `protobuf:"bytes,1,opt,name=key,proto3,oneof"`
}

type CacheInfo

type CacheInfo struct {
	Key               string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	SizeInBytes       int64  `protobuf:"varint,2,opt,name=size_in_bytes,json=sizeInBytes,proto3" json:"size_in_bytes,omitempty"`
	CreationTimestamp int64  `protobuf:"varint,3,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp,omitempty"`
	CreatedByTaskId   int64  `protobuf:"varint,4,opt,name=created_by_task_id,json=createdByTaskId,proto3" json:"created_by_task_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CacheInfo) Descriptor deprecated

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

Deprecated: Use CacheInfo.ProtoReflect.Descriptor instead.

func (*CacheInfo) GetCreatedByTaskId

func (x *CacheInfo) GetCreatedByTaskId() int64

func (*CacheInfo) GetCreationTimestamp

func (x *CacheInfo) GetCreationTimestamp() int64

func (*CacheInfo) GetKey

func (x *CacheInfo) GetKey() string

func (*CacheInfo) GetSizeInBytes

func (x *CacheInfo) GetSizeInBytes() int64

func (*CacheInfo) ProtoMessage

func (*CacheInfo) ProtoMessage()

func (*CacheInfo) ProtoReflect added in v1.5.0

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

func (*CacheInfo) Reset

func (x *CacheInfo) Reset()

func (*CacheInfo) String

func (x *CacheInfo) String() string

type CacheInfoRequest

type CacheInfoRequest struct {
	TaskIdentification *TaskIdentification `protobuf:"bytes,1,opt,name=task_identification,json=taskIdentification,proto3" json:"task_identification,omitempty"`
	CacheKey           string              `protobuf:"bytes,2,opt,name=cache_key,json=cacheKey,proto3" json:"cache_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CacheInfoRequest) Descriptor deprecated

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

Deprecated: Use CacheInfoRequest.ProtoReflect.Descriptor instead.

func (*CacheInfoRequest) GetCacheKey

func (x *CacheInfoRequest) GetCacheKey() string

func (*CacheInfoRequest) GetTaskIdentification

func (x *CacheInfoRequest) GetTaskIdentification() *TaskIdentification

func (*CacheInfoRequest) ProtoMessage

func (*CacheInfoRequest) ProtoMessage()

func (*CacheInfoRequest) ProtoReflect added in v1.5.0

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

func (*CacheInfoRequest) Reset

func (x *CacheInfoRequest) Reset()

func (*CacheInfoRequest) String

func (x *CacheInfoRequest) String() string

type CacheInfoResponse

type CacheInfoResponse struct {
	Info *CacheInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*CacheInfoResponse) Descriptor deprecated

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

Deprecated: Use CacheInfoResponse.ProtoReflect.Descriptor instead.

func (*CacheInfoResponse) GetInfo

func (x *CacheInfoResponse) GetInfo() *CacheInfo

func (*CacheInfoResponse) ProtoMessage

func (*CacheInfoResponse) ProtoMessage()

func (*CacheInfoResponse) ProtoReflect added in v1.5.0

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

func (*CacheInfoResponse) Reset

func (x *CacheInfoResponse) Reset()

func (*CacheInfoResponse) String

func (x *CacheInfoResponse) String() string

type CacheInstruction

type CacheInstruction struct {
	Folder             string   `protobuf:"bytes,1,opt,name=folder,proto3" json:"folder,omitempty"`
	FingerprintScripts []string `protobuf:"bytes,2,rep,name=fingerprint_scripts,json=fingerprintScripts,proto3" json:"fingerprint_scripts,omitempty"`
	PopulateScripts    []string `protobuf:"bytes,3,rep,name=populate_scripts,json=populateScripts,proto3" json:"populate_scripts,omitempty"`
	ReuploadOnChanges  bool     `protobuf:"varint,4,opt,name=reupload_on_changes,json=reuploadOnChanges,proto3" json:"reupload_on_changes,omitempty"`
	// contains filtered or unexported fields
}

func (*CacheInstruction) Descriptor deprecated

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

Deprecated: Use CacheInstruction.ProtoReflect.Descriptor instead.

func (*CacheInstruction) GetFingerprintScripts

func (x *CacheInstruction) GetFingerprintScripts() []string

func (*CacheInstruction) GetFolder

func (x *CacheInstruction) GetFolder() string

func (*CacheInstruction) GetPopulateScripts

func (x *CacheInstruction) GetPopulateScripts() []string

func (*CacheInstruction) GetReuploadOnChanges

func (x *CacheInstruction) GetReuploadOnChanges() bool

func (*CacheInstruction) ProtoMessage

func (*CacheInstruction) ProtoMessage()

func (*CacheInstruction) ProtoReflect added in v1.5.0

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

func (*CacheInstruction) Reset

func (x *CacheInstruction) Reset()

func (*CacheInstruction) String

func (x *CacheInstruction) String() string

type CirrusCIServiceClient

type CirrusCIServiceClient interface {
	InitialCommands(ctx context.Context, in *InitialCommandsRequest, opts ...grpc.CallOption) (*CommandsResponse, error)
	ReportSingleCommand(ctx context.Context, in *ReportSingleCommandRequest, opts ...grpc.CallOption) (*ReportSingleCommandResponse, error)
	ReportAnnotations(ctx context.Context, in *ReportAnnotationsCommandRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	StreamLogs(ctx context.Context, opts ...grpc.CallOption) (CirrusCIService_StreamLogsClient, error)
	SaveLogs(ctx context.Context, opts ...grpc.CallOption) (CirrusCIService_SaveLogsClient, error)
	UploadCache(ctx context.Context, opts ...grpc.CallOption) (CirrusCIService_UploadCacheClient, error)
	UploadArtifacts(ctx context.Context, opts ...grpc.CallOption) (CirrusCIService_UploadArtifactsClient, error)
	DownloadCache(ctx context.Context, in *DownloadCacheRequest, opts ...grpc.CallOption) (CirrusCIService_DownloadCacheClient, error)
	CacheInfo(ctx context.Context, in *CacheInfoRequest, opts ...grpc.CallOption) (*CacheInfoResponse, error)
	Ping(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
	Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatResponse, error)
	ReportStopHook(ctx context.Context, in *ReportStopHookRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	ReportAgentError(ctx context.Context, in *ReportAgentProblemRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	ReportAgentWarning(ctx context.Context, in *ReportAgentProblemRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	ReportAgentSignal(ctx context.Context, in *ReportAgentSignalRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	ReportAgentLogs(ctx context.Context, in *ReportAgentLogsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	ParseConfig(ctx context.Context, in *ParseConfigRequest, opts ...grpc.CallOption) (*ParseConfigResponse, error)
}

CirrusCIServiceClient is the client API for CirrusCIService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CirrusCIServiceServer

CirrusCIServiceServer is the server API for CirrusCIService service. All implementations must embed UnimplementedCirrusCIServiceServer for forward compatibility

type CirrusCIService_DownloadCacheClient

type CirrusCIService_DownloadCacheClient interface {
	Recv() (*DataChunk, error)
	grpc.ClientStream
}

type CirrusCIService_DownloadCacheServer

type CirrusCIService_DownloadCacheServer interface {
	Send(*DataChunk) error
	grpc.ServerStream
}

type CirrusCIService_SaveLogsClient

type CirrusCIService_SaveLogsClient interface {
	Send(*LogEntry) error
	CloseAndRecv() (*UploadLogsResponse, error)
	grpc.ClientStream
}

type CirrusCIService_SaveLogsServer

type CirrusCIService_SaveLogsServer interface {
	SendAndClose(*UploadLogsResponse) error
	Recv() (*LogEntry, error)
	grpc.ServerStream
}

type CirrusCIService_StreamLogsClient

type CirrusCIService_StreamLogsClient interface {
	Send(*LogEntry) error
	CloseAndRecv() (*UploadLogsResponse, error)
	grpc.ClientStream
}

type CirrusCIService_StreamLogsServer

type CirrusCIService_StreamLogsServer interface {
	SendAndClose(*UploadLogsResponse) error
	Recv() (*LogEntry, error)
	grpc.ServerStream
}

type CirrusCIService_UploadArtifactsClient

type CirrusCIService_UploadArtifactsClient interface {
	Send(*ArtifactEntry) error
	CloseAndRecv() (*UploadArtifactsResponse, error)
	grpc.ClientStream
}

type CirrusCIService_UploadArtifactsServer

type CirrusCIService_UploadArtifactsServer interface {
	SendAndClose(*UploadArtifactsResponse) error
	Recv() (*ArtifactEntry, error)
	grpc.ServerStream
}

type CirrusCIService_UploadCacheClient

type CirrusCIService_UploadCacheClient interface {
	Send(*CacheEntry) error
	CloseAndRecv() (*UploadCacheResponse, error)
	grpc.ClientStream
}

type CirrusCIService_UploadCacheServer

type CirrusCIService_UploadCacheServer interface {
	SendAndClose(*UploadCacheResponse) error
	Recv() (*CacheEntry, error)
	grpc.ServerStream
}

type CirrusConfigurationEvaluatorServiceClient added in v1.11.0

type CirrusConfigurationEvaluatorServiceClient interface {
	EvaluateConfig(ctx context.Context, in *EvaluateConfigRequest, opts ...grpc.CallOption) (*EvaluateConfigResponse, error)
}

CirrusConfigurationEvaluatorServiceClient is the client API for CirrusConfigurationEvaluatorService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCirrusConfigurationEvaluatorServiceClient added in v1.11.0

func NewCirrusConfigurationEvaluatorServiceClient(cc grpc.ClientConnInterface) CirrusConfigurationEvaluatorServiceClient

type CirrusConfigurationEvaluatorServiceServer added in v1.12.0

type CirrusConfigurationEvaluatorServiceServer interface {
	EvaluateConfig(context.Context, *EvaluateConfigRequest) (*EvaluateConfigResponse, error)
	// contains filtered or unexported methods
}

CirrusConfigurationEvaluatorServiceServer is the server API for CirrusConfigurationEvaluatorService service. All implementations must embed UnimplementedCirrusConfigurationEvaluatorServiceServer for forward compatibility

type CirrusWorkersServiceClient added in v1.14.0

type CirrusWorkersServiceClient interface {
	// Issued by the persistent worker after it starts
	//
	// Can be called without a session token.
	Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error)
	// Periodically issued by the registered persistent worker to get new jobs and indicate that it's alive
	Poll(ctx context.Context, in *PollRequest, opts ...grpc.CallOption) (*PollResponse, error)
	// Issued by the registered persistent worker to indicate task status
	TaskStarted(ctx context.Context, in *TaskIdentification, opts ...grpc.CallOption) (*empty.Empty, error)
	TaskStopped(ctx context.Context, in *TaskIdentification, opts ...grpc.CallOption) (*empty.Empty, error)
}

CirrusWorkersServiceClient is the client API for CirrusWorkersService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCirrusWorkersServiceClient added in v1.14.0

func NewCirrusWorkersServiceClient(cc grpc.ClientConnInterface) CirrusWorkersServiceClient

type CirrusWorkersServiceServer added in v1.14.0

type CirrusWorkersServiceServer interface {
	// Issued by the persistent worker after it starts
	//
	// Can be called without a session token.
	Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
	// Periodically issued by the registered persistent worker to get new jobs and indicate that it's alive
	Poll(context.Context, *PollRequest) (*PollResponse, error)
	// Issued by the registered persistent worker to indicate task status
	TaskStarted(context.Context, *TaskIdentification) (*empty.Empty, error)
	TaskStopped(context.Context, *TaskIdentification) (*empty.Empty, error)
	// contains filtered or unexported methods
}

CirrusWorkersServiceServer is the server API for CirrusWorkersService service. All implementations must embed UnimplementedCirrusWorkersServiceServer for forward compatibility

type CloneInstruction

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

func (*CloneInstruction) Descriptor deprecated

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

Deprecated: Use CloneInstruction.ProtoReflect.Descriptor instead.

func (*CloneInstruction) ProtoMessage

func (*CloneInstruction) ProtoMessage()

func (*CloneInstruction) ProtoReflect added in v1.5.0

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

func (*CloneInstruction) Reset

func (x *CloneInstruction) Reset()

func (*CloneInstruction) String

func (x *CloneInstruction) String() string

type Command

type Command struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Instruction:
	//	*Command_ExitInstruction
	//	*Command_ScriptInstruction
	//	*Command_BackgroundScriptInstruction
	//	*Command_CacheInstruction
	//	*Command_UploadCacheInstruction
	//	*Command_CloneInstruction
	//	*Command_FileInstruction
	//	*Command_ArtifactsInstruction
	Instruction        isCommand_Instruction            `protobuf_oneof:"instruction"`
	ExecutionBehaviour Command_CommandExecutionBehavior `` /* 195-byte string literal not displayed */
	Properties         map[string]string                `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Command) Descriptor deprecated

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

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) GetArtifactsInstruction

func (x *Command) GetArtifactsInstruction() *ArtifactsInstruction

func (*Command) GetBackgroundScriptInstruction

func (x *Command) GetBackgroundScriptInstruction() *BackgroundScriptInstruction

func (*Command) GetCacheInstruction

func (x *Command) GetCacheInstruction() *CacheInstruction

func (*Command) GetCloneInstruction

func (x *Command) GetCloneInstruction() *CloneInstruction

func (*Command) GetExecutionBehaviour added in v1.5.0

func (x *Command) GetExecutionBehaviour() Command_CommandExecutionBehavior

func (*Command) GetExitInstruction

func (x *Command) GetExitInstruction() *ExitInstruction

func (*Command) GetFileInstruction

func (x *Command) GetFileInstruction() *FileInstruction

func (*Command) GetInstruction

func (m *Command) GetInstruction() isCommand_Instruction

func (*Command) GetName

func (x *Command) GetName() string

func (*Command) GetProperties added in v1.5.0

func (x *Command) GetProperties() map[string]string

func (*Command) GetScriptInstruction

func (x *Command) GetScriptInstruction() *ScriptInstruction

func (*Command) GetUploadCacheInstruction

func (x *Command) GetUploadCacheInstruction() *UploadCacheInstruction

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) ProtoReflect added in v1.5.0

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

func (*Command) Reset

func (x *Command) Reset()

func (*Command) String

func (x *Command) String() string

type Command_ArtifactsInstruction

type Command_ArtifactsInstruction struct {
	ArtifactsInstruction *ArtifactsInstruction `protobuf:"bytes,9,opt,name=artifacts_instruction,json=artifactsInstruction,proto3,oneof"`
}

type Command_BackgroundScriptInstruction

type Command_BackgroundScriptInstruction struct {
	BackgroundScriptInstruction *BackgroundScriptInstruction `protobuf:"bytes,4,opt,name=background_script_instruction,json=backgroundScriptInstruction,proto3,oneof"`
}

type Command_CacheInstruction

type Command_CacheInstruction struct {
	CacheInstruction *CacheInstruction `protobuf:"bytes,5,opt,name=cache_instruction,json=cacheInstruction,proto3,oneof"`
}

type Command_CloneInstruction

type Command_CloneInstruction struct {
	CloneInstruction *CloneInstruction `protobuf:"bytes,7,opt,name=clone_instruction,json=cloneInstruction,proto3,oneof"`
}

type Command_CommandExecutionBehavior added in v1.5.0

type Command_CommandExecutionBehavior int32
const (
	Command_ON_SUCCESS Command_CommandExecutionBehavior = 0
	Command_ON_FAILURE Command_CommandExecutionBehavior = 1
	Command_ALWAYS     Command_CommandExecutionBehavior = 2
)

func (Command_CommandExecutionBehavior) Descriptor added in v1.5.0

func (Command_CommandExecutionBehavior) Enum added in v1.5.0

func (Command_CommandExecutionBehavior) EnumDescriptor deprecated added in v1.5.0

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

Deprecated: Use Command_CommandExecutionBehavior.Descriptor instead.

func (Command_CommandExecutionBehavior) Number added in v1.5.0

func (Command_CommandExecutionBehavior) String added in v1.5.0

func (Command_CommandExecutionBehavior) Type added in v1.5.0

type Command_ExitInstruction

type Command_ExitInstruction struct {
	ExitInstruction *ExitInstruction `protobuf:"bytes,2,opt,name=exit_instruction,json=exitInstruction,proto3,oneof"`
}

type Command_FileInstruction

type Command_FileInstruction struct {
	FileInstruction *FileInstruction `protobuf:"bytes,8,opt,name=file_instruction,json=fileInstruction,proto3,oneof"`
}

type Command_ScriptInstruction

type Command_ScriptInstruction struct {
	ScriptInstruction *ScriptInstruction `protobuf:"bytes,3,opt,name=script_instruction,json=scriptInstruction,proto3,oneof"`
}

type Command_UploadCacheInstruction

type Command_UploadCacheInstruction struct {
	UploadCacheInstruction *UploadCacheInstruction `protobuf:"bytes,6,opt,name=upload_cache_instruction,json=uploadCacheInstruction,proto3,oneof"`
}

type CommandsResponse

type CommandsResponse struct {
	Environment       map[string]string `` /* 163-byte string literal not displayed */
	Commands          []*Command        `protobuf:"bytes,2,rep,name=commands,proto3" json:"commands,omitempty"`
	ServerToken       string            `protobuf:"bytes,3,opt,name=serverToken,proto3" json:"serverToken,omitempty"`
	TimeoutInSeconds  int64             `protobuf:"varint,4,opt,name=timeout_in_seconds,json=timeoutInSeconds,proto3" json:"timeout_in_seconds,omitempty"`
	SecretsToMask     []string          `protobuf:"bytes,5,rep,name=secrets_to_mask,json=secretsToMask,proto3" json:"secrets_to_mask,omitempty"`
	FailedAtLeastOnce bool              `protobuf:"varint,6,opt,name=failed_at_least_once,json=failedAtLeastOnce,proto3" json:"failed_at_least_once,omitempty"`
	// contains filtered or unexported fields
}

func (*CommandsResponse) Descriptor deprecated

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

Deprecated: Use CommandsResponse.ProtoReflect.Descriptor instead.

func (*CommandsResponse) GetCommands

func (x *CommandsResponse) GetCommands() []*Command

func (*CommandsResponse) GetEnvironment

func (x *CommandsResponse) GetEnvironment() map[string]string

func (*CommandsResponse) GetFailedAtLeastOnce added in v1.6.0

func (x *CommandsResponse) GetFailedAtLeastOnce() bool

func (*CommandsResponse) GetSecretsToMask

func (x *CommandsResponse) GetSecretsToMask() []string

func (*CommandsResponse) GetServerToken

func (x *CommandsResponse) GetServerToken() string

func (*CommandsResponse) GetTimeoutInSeconds

func (x *CommandsResponse) GetTimeoutInSeconds() int64

func (*CommandsResponse) ProtoMessage

func (*CommandsResponse) ProtoMessage()

func (*CommandsResponse) ProtoReflect added in v1.5.0

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

func (*CommandsResponse) Reset

func (x *CommandsResponse) Reset()

func (*CommandsResponse) String

func (x *CommandsResponse) String() string

type ContainerInstance

type ContainerInstance struct {
	Image                  string                 `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	Cpu                    float32                `protobuf:"fixed32,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory                 uint32                 `protobuf:"varint,3,opt,name=memory,proto3" json:"memory,omitempty"` // in MB
	AdditionalContainers   []*AdditionalContainer `protobuf:"bytes,4,rep,name=additional_containers,json=additionalContainers,proto3" json:"additional_containers,omitempty"`
	Platform               Platform               `protobuf:"varint,5,opt,name=platform,proto3,enum=org.cirruslabs.ci.services.cirruscigrpc.Platform" json:"platform,omitempty"`
	DockerfilePath         string                 `protobuf:"bytes,6,opt,name=dockerfile_path,json=dockerfilePath,proto3" json:"dockerfile_path,omitempty"`
	OperationSystemVersion string                 `` /* 129-byte string literal not displayed */
	DockerArguments        map[string]string      `` /* 194-byte string literal not displayed */
	Privileged             bool                   `protobuf:"varint,10,opt,name=privileged,proto3" json:"privileged,omitempty"`
	// 11 occupied
	UseInMemoryDisk bool `protobuf:"varint,12,opt,name=use_in_memory_disk,json=useInMemoryDisk,proto3" json:"use_in_memory_disk,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerInstance) Descriptor deprecated

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

Deprecated: Use ContainerInstance.ProtoReflect.Descriptor instead.

func (*ContainerInstance) GetAdditionalContainers

func (x *ContainerInstance) GetAdditionalContainers() []*AdditionalContainer

func (*ContainerInstance) GetCpu

func (x *ContainerInstance) GetCpu() float32

func (*ContainerInstance) GetDockerArguments

func (x *ContainerInstance) GetDockerArguments() map[string]string

func (*ContainerInstance) GetDockerfilePath

func (x *ContainerInstance) GetDockerfilePath() string

func (*ContainerInstance) GetImage

func (x *ContainerInstance) GetImage() string

func (*ContainerInstance) GetMemory

func (x *ContainerInstance) GetMemory() uint32

func (*ContainerInstance) GetOperationSystemVersion

func (x *ContainerInstance) GetOperationSystemVersion() string

func (*ContainerInstance) GetPlatform

func (x *ContainerInstance) GetPlatform() Platform

func (*ContainerInstance) GetPrivileged added in v1.6.0

func (x *ContainerInstance) GetPrivileged() bool

func (*ContainerInstance) GetUseInMemoryDisk added in v1.14.0

func (x *ContainerInstance) GetUseInMemoryDisk() bool

func (*ContainerInstance) ProtoMessage

func (*ContainerInstance) ProtoMessage()

func (*ContainerInstance) ProtoReflect added in v1.5.0

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

func (*ContainerInstance) Reset

func (x *ContainerInstance) Reset()

func (*ContainerInstance) String

func (x *ContainerInstance) String() string

type DataChunk

type DataChunk struct {
	Data        []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	RedirectUrl string `protobuf:"bytes,2,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"`
	// contains filtered or unexported fields
}

func (*DataChunk) Descriptor deprecated

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

Deprecated: Use DataChunk.ProtoReflect.Descriptor instead.

func (*DataChunk) GetData

func (x *DataChunk) GetData() []byte

func (*DataChunk) GetRedirectUrl added in v1.6.0

func (x *DataChunk) GetRedirectUrl() string

func (*DataChunk) ProtoMessage

func (*DataChunk) ProtoMessage()

func (*DataChunk) ProtoReflect added in v1.5.0

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

func (*DataChunk) Reset

func (x *DataChunk) Reset()

func (*DataChunk) String

func (x *DataChunk) String() string

type DownloadCacheRequest

type DownloadCacheRequest struct {
	TaskIdentification *TaskIdentification `protobuf:"bytes,1,opt,name=task_identification,json=taskIdentification,proto3" json:"task_identification,omitempty"`
	CacheKey           string              `protobuf:"bytes,2,opt,name=cache_key,json=cacheKey,proto3" json:"cache_key,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadCacheRequest) Descriptor deprecated

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

Deprecated: Use DownloadCacheRequest.ProtoReflect.Descriptor instead.

func (*DownloadCacheRequest) GetCacheKey

func (x *DownloadCacheRequest) GetCacheKey() string

func (*DownloadCacheRequest) GetTaskIdentification

func (x *DownloadCacheRequest) GetTaskIdentification() *TaskIdentification

func (*DownloadCacheRequest) ProtoMessage

func (*DownloadCacheRequest) ProtoMessage()

func (*DownloadCacheRequest) ProtoReflect added in v1.5.0

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

func (*DownloadCacheRequest) Reset

func (x *DownloadCacheRequest) Reset()

func (*DownloadCacheRequest) String

func (x *DownloadCacheRequest) String() string

type EvaluateConfigRequest added in v1.11.0

type EvaluateConfigRequest struct {
	YamlConfig              string                                         `protobuf:"bytes,1,opt,name=yaml_config,json=yamlConfig,proto3" json:"yaml_config,omitempty"`
	StarlarkConfig          string                                         `protobuf:"bytes,2,opt,name=starlark_config,json=starlarkConfig,proto3" json:"starlark_config,omitempty"`
	Environment             map[string]string                              `` /* 163-byte string literal not displayed */
	AffectedFiles           []string                                       `protobuf:"bytes,4,rep,name=affectedFiles,proto3" json:"affectedFiles,omitempty"`
	FilesContents           map[string]string                              `` /* 167-byte string literal not displayed */
	AdditionalInstancesInfo *EvaluateConfigRequest_AdditionalInstancesInfo `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EvaluateConfigRequest) Descriptor deprecated added in v1.11.0

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

Deprecated: Use EvaluateConfigRequest.ProtoReflect.Descriptor instead.

func (*EvaluateConfigRequest) GetAdditionalInstancesInfo added in v1.12.0

func (*EvaluateConfigRequest) GetAffectedFiles added in v1.11.0

func (x *EvaluateConfigRequest) GetAffectedFiles() []string

func (*EvaluateConfigRequest) GetEnvironment added in v1.11.0

func (x *EvaluateConfigRequest) GetEnvironment() map[string]string

func (*EvaluateConfigRequest) GetFilesContents added in v1.11.0

func (x *EvaluateConfigRequest) GetFilesContents() map[string]string

func (*EvaluateConfigRequest) GetStarlarkConfig added in v1.11.0

func (x *EvaluateConfigRequest) GetStarlarkConfig() string

func (*EvaluateConfigRequest) GetYamlConfig added in v1.11.0

func (x *EvaluateConfigRequest) GetYamlConfig() string

func (*EvaluateConfigRequest) ProtoMessage added in v1.11.0

func (*EvaluateConfigRequest) ProtoMessage()

func (*EvaluateConfigRequest) ProtoReflect added in v1.11.0

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

func (*EvaluateConfigRequest) Reset added in v1.11.0

func (x *EvaluateConfigRequest) Reset()

func (*EvaluateConfigRequest) String added in v1.11.0

func (x *EvaluateConfigRequest) String() string

type EvaluateConfigRequest_AdditionalInstancesInfo added in v1.12.0

type EvaluateConfigRequest_AdditionalInstancesInfo struct {
	Instances map[string]string `` // field name to proto FQN
	/* 159-byte string literal not displayed */
	DescriptorSet *descriptor.FileDescriptorSet `protobuf:"bytes,2,opt,name=descriptor_set,json=descriptorSet,proto3" json:"descriptor_set,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluateConfigRequest_AdditionalInstancesInfo) Descriptor deprecated added in v1.12.0

Deprecated: Use EvaluateConfigRequest_AdditionalInstancesInfo.ProtoReflect.Descriptor instead.

func (*EvaluateConfigRequest_AdditionalInstancesInfo) GetDescriptorSet added in v1.14.0

func (*EvaluateConfigRequest_AdditionalInstancesInfo) GetInstances added in v1.12.0

func (*EvaluateConfigRequest_AdditionalInstancesInfo) ProtoMessage added in v1.12.0

func (*EvaluateConfigRequest_AdditionalInstancesInfo) ProtoReflect added in v1.12.0

func (*EvaluateConfigRequest_AdditionalInstancesInfo) Reset added in v1.12.0

func (*EvaluateConfigRequest_AdditionalInstancesInfo) String added in v1.12.0

type EvaluateConfigResponse added in v1.11.0

type EvaluateConfigResponse struct {
	Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluateConfigResponse) Descriptor deprecated added in v1.11.0

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

Deprecated: Use EvaluateConfigResponse.ProtoReflect.Descriptor instead.

func (*EvaluateConfigResponse) GetTasks added in v1.11.0

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

func (*EvaluateConfigResponse) ProtoMessage added in v1.11.0

func (*EvaluateConfigResponse) ProtoMessage()

func (*EvaluateConfigResponse) ProtoReflect added in v1.11.0

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

func (*EvaluateConfigResponse) Reset added in v1.11.0

func (x *EvaluateConfigResponse) Reset()

func (*EvaluateConfigResponse) String added in v1.11.0

func (x *EvaluateConfigResponse) String() string

type ExitInstruction

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

func (*ExitInstruction) Descriptor deprecated

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

Deprecated: Use ExitInstruction.ProtoReflect.Descriptor instead.

func (*ExitInstruction) ProtoMessage

func (*ExitInstruction) ProtoMessage()

func (*ExitInstruction) ProtoReflect added in v1.5.0

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

func (*ExitInstruction) Reset

func (x *ExitInstruction) Reset()

func (*ExitInstruction) String

func (x *ExitInstruction) String() string

type FileInstruction

type FileInstruction struct {
	DestinationPath string `protobuf:"bytes,1,opt,name=destination_path,json=destinationPath,proto3" json:"destination_path,omitempty"`
	// Types that are assignable to Source:
	//	*FileInstruction_FromEnvironmentVariable
	Source isFileInstruction_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

func (*FileInstruction) Descriptor deprecated

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

Deprecated: Use FileInstruction.ProtoReflect.Descriptor instead.

func (*FileInstruction) GetDestinationPath

func (x *FileInstruction) GetDestinationPath() string

func (*FileInstruction) GetFromEnvironmentVariable

func (x *FileInstruction) GetFromEnvironmentVariable() string

func (*FileInstruction) GetSource

func (m *FileInstruction) GetSource() isFileInstruction_Source

func (*FileInstruction) ProtoMessage

func (*FileInstruction) ProtoMessage()

func (*FileInstruction) ProtoReflect added in v1.5.0

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

func (*FileInstruction) Reset

func (x *FileInstruction) Reset()

func (*FileInstruction) String

func (x *FileInstruction) String() string

type FileInstruction_FromEnvironmentVariable

type FileInstruction_FromEnvironmentVariable struct {
	FromEnvironmentVariable string `protobuf:"bytes,2,opt,name=from_environment_variable,json=fromEnvironmentVariable,proto3,oneof"`
}

type HeartbeatRequest

type HeartbeatRequest struct {
	TaskIdentification *TaskIdentification `protobuf:"bytes,1,opt,name=task_identification,json=taskIdentification,proto3" json:"task_identification,omitempty"`
	// contains filtered or unexported fields
}

func (*HeartbeatRequest) Descriptor deprecated

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

Deprecated: Use HeartbeatRequest.ProtoReflect.Descriptor instead.

func (*HeartbeatRequest) GetTaskIdentification

func (x *HeartbeatRequest) GetTaskIdentification() *TaskIdentification

func (*HeartbeatRequest) ProtoMessage

func (*HeartbeatRequest) ProtoMessage()

func (*HeartbeatRequest) ProtoReflect added in v1.5.0

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

func (*HeartbeatRequest) Reset

func (x *HeartbeatRequest) Reset()

func (*HeartbeatRequest) String

func (x *HeartbeatRequest) String() string

type HeartbeatResponse

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

func (*HeartbeatResponse) Descriptor deprecated

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

Deprecated: Use HeartbeatResponse.ProtoReflect.Descriptor instead.

func (*HeartbeatResponse) ProtoMessage

func (*HeartbeatResponse) ProtoMessage()

func (*HeartbeatResponse) ProtoReflect added in v1.5.0

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

func (*HeartbeatResponse) Reset

func (x *HeartbeatResponse) Reset()

func (*HeartbeatResponse) String

func (x *HeartbeatResponse) String() string

type InitialCommandsRequest

type InitialCommandsRequest struct {
	TaskIdentification  *TaskIdentification `protobuf:"bytes,1,opt,name=task_identification,json=taskIdentification,proto3" json:"task_identification,omitempty"`
	LocalTimestamp      int64               `protobuf:"varint,2,opt,name=local_timestamp,json=localTimestamp,proto3" json:"local_timestamp,omitempty"`
	ContinueFromCommand string              `protobuf:"bytes,3,opt,name=continue_from_command,json=continueFromCommand,proto3" json:"continue_from_command,omitempty"`
	// contains filtered or unexported fields
}

func (*InitialCommandsRequest) Descriptor deprecated

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

Deprecated: Use InitialCommandsRequest.ProtoReflect.Descriptor instead.

func (*InitialCommandsRequest) GetContinueFromCommand

func (x *InitialCommandsRequest) GetContinueFromCommand() string

func (*InitialCommandsRequest) GetLocalTimestamp

func (x *InitialCommandsRequest) GetLocalTimestamp() int64

func (*InitialCommandsRequest) GetTaskIdentification

func (x *InitialCommandsRequest) GetTaskIdentification() *TaskIdentification

func (*InitialCommandsRequest) ProtoMessage

func (*InitialCommandsRequest) ProtoMessage()

func (*InitialCommandsRequest) ProtoReflect added in v1.5.0

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

func (*InitialCommandsRequest) Reset

func (x *InitialCommandsRequest) Reset()

func (*InitialCommandsRequest) String

func (x *InitialCommandsRequest) String() string

type LogEntry

type LogEntry struct {

	// Types that are assignable to Value:
	//	*LogEntry_Key
	//	*LogEntry_Chunk
	Value isLogEntry_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*LogEntry) Descriptor deprecated

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

Deprecated: Use LogEntry.ProtoReflect.Descriptor instead.

func (*LogEntry) GetChunk

func (x *LogEntry) GetChunk() *DataChunk

func (*LogEntry) GetKey

func (x *LogEntry) GetKey() *LogEntry_LogKey

func (*LogEntry) GetValue

func (m *LogEntry) GetValue() isLogEntry_Value

func (*LogEntry) ProtoMessage

func (*LogEntry) ProtoMessage()

func (*LogEntry) ProtoReflect added in v1.5.0

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

func (*LogEntry) Reset

func (x *LogEntry) Reset()

func (*LogEntry) String

func (x *LogEntry) String() string

type LogEntry_Chunk

type LogEntry_Chunk struct {
	Chunk *DataChunk `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"`
}

type LogEntry_Key

type LogEntry_Key struct {
	Key *LogEntry_LogKey `protobuf:"bytes,1,opt,name=key,proto3,oneof"`
}

type LogEntry_LogKey

type LogEntry_LogKey struct {
	TaskIdentification *TaskIdentification `protobuf:"bytes,1,opt,name=task_identification,json=taskIdentification,proto3" json:"task_identification,omitempty"`
	CommandName        string              `protobuf:"bytes,2,opt,name=command_name,json=commandName,proto3" json:"command_name,omitempty"`
	Raw                bool                `protobuf:"varint,3,opt,name=raw,proto3" json:"raw,omitempty"` // true to disable live updates
	// contains filtered or unexported fields
}

func (*LogEntry_LogKey) Descriptor deprecated

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

Deprecated: Use LogEntry_LogKey.ProtoReflect.Descriptor instead.

func (*LogEntry_LogKey) GetCommandName

func (x *LogEntry_LogKey) GetCommandName() string

func (*LogEntry_LogKey) GetRaw

func (x *LogEntry_LogKey) GetRaw() bool

func (*LogEntry_LogKey) GetTaskIdentification

func (x *LogEntry_LogKey) GetTaskIdentification() *TaskIdentification

func (*LogEntry_LogKey) ProtoMessage

func (*LogEntry_LogKey) ProtoMessage()

func (*LogEntry_LogKey) ProtoReflect added in v1.5.0

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

func (*LogEntry_LogKey) Reset

func (x *LogEntry_LogKey) Reset()

func (*LogEntry_LogKey) String

func (x *LogEntry_LogKey) String() string

type ParseConfigRequest

type ParseConfigRequest struct {
	Config        string            `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	Environment   map[string]string `` /* 163-byte string literal not displayed */
	AffectedFiles []string          `protobuf:"bytes,3,rep,name=affectedFiles,proto3" json:"affectedFiles,omitempty"`
	FilesContents map[string]string `` /* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ParseConfigRequest) Descriptor deprecated

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

Deprecated: Use ParseConfigRequest.ProtoReflect.Descriptor instead.

func (*ParseConfigRequest) GetAffectedFiles

func (x *ParseConfigRequest) GetAffectedFiles() []string

func (*ParseConfigRequest) GetConfig

func (x *ParseConfigRequest) GetConfig() string

func (*ParseConfigRequest) GetEnvironment

func (x *ParseConfigRequest) GetEnvironment() map[string]string

func (*ParseConfigRequest) GetFilesContents added in v1.6.0

func (x *ParseConfigRequest) GetFilesContents() map[string]string

func (*ParseConfigRequest) ProtoMessage

func (*ParseConfigRequest) ProtoMessage()

func (*ParseConfigRequest) ProtoReflect added in v1.5.0

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

func (*ParseConfigRequest) Reset

func (x *ParseConfigRequest) Reset()

func (*ParseConfigRequest) String

func (x *ParseConfigRequest) String() string

type ParseConfigResponse

type ParseConfigResponse struct {
	Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
	// contains filtered or unexported fields
}

func (*ParseConfigResponse) Descriptor deprecated

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

Deprecated: Use ParseConfigResponse.ProtoReflect.Descriptor instead.

func (*ParseConfigResponse) GetTasks

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

func (*ParseConfigResponse) ProtoMessage

func (*ParseConfigResponse) ProtoMessage()

func (*ParseConfigResponse) ProtoReflect added in v1.5.0

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

func (*ParseConfigResponse) Reset

func (x *ParseConfigResponse) Reset()

func (*ParseConfigResponse) String

func (x *ParseConfigResponse) String() string

type PersistentWorkerInstance added in v1.14.4

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

func (*PersistentWorkerInstance) Descriptor deprecated added in v1.14.4

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

Deprecated: Use PersistentWorkerInstance.ProtoReflect.Descriptor instead.

func (*PersistentWorkerInstance) ProtoMessage added in v1.14.4

func (*PersistentWorkerInstance) ProtoMessage()

func (*PersistentWorkerInstance) ProtoReflect added in v1.14.4

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

func (*PersistentWorkerInstance) Reset added in v1.14.4

func (x *PersistentWorkerInstance) Reset()

func (*PersistentWorkerInstance) String added in v1.14.4

func (x *PersistentWorkerInstance) String() string

type PipeInstance added in v1.5.0

type PipeInstance struct {
	Cpu    float32 `protobuf:"fixed32,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory uint32  `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"`
	// contains filtered or unexported fields
}

func (*PipeInstance) Descriptor deprecated added in v1.5.0

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

Deprecated: Use PipeInstance.ProtoReflect.Descriptor instead.

func (*PipeInstance) GetCpu added in v1.5.0

func (x *PipeInstance) GetCpu() float32

func (*PipeInstance) GetMemory added in v1.5.0

func (x *PipeInstance) GetMemory() uint32

func (*PipeInstance) ProtoMessage added in v1.5.0

func (*PipeInstance) ProtoMessage()

func (*PipeInstance) ProtoReflect added in v1.5.0

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

func (*PipeInstance) Reset added in v1.5.0

func (x *PipeInstance) Reset()

func (*PipeInstance) String added in v1.5.0

func (x *PipeInstance) String() string

type Platform

type Platform int32
const (
	Platform_LINUX   Platform = 0
	Platform_WINDOWS Platform = 1
)

func (Platform) Descriptor added in v1.5.0

func (Platform) Descriptor() protoreflect.EnumDescriptor

func (Platform) Enum added in v1.5.0

func (x Platform) Enum() *Platform

func (Platform) EnumDescriptor deprecated

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

Deprecated: Use Platform.Descriptor instead.

func (Platform) Number added in v1.5.0

func (x Platform) Number() protoreflect.EnumNumber

func (Platform) String

func (x Platform) String() string

func (Platform) Type added in v1.5.0

type PollRequest added in v1.14.0

type PollRequest struct {
	WorkerInfo   *WorkerInfo `protobuf:"bytes,1,opt,name=worker_info,json=workerInfo,proto3" json:"worker_info,omitempty"`
	RunningTasks []int64     `protobuf:"varint,2,rep,packed,name=running_tasks,json=runningTasks,proto3" json:"running_tasks,omitempty"`
	// contains filtered or unexported fields
}

func (*PollRequest) Descriptor deprecated added in v1.14.0

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

Deprecated: Use PollRequest.ProtoReflect.Descriptor instead.

func (*PollRequest) GetRunningTasks added in v1.14.0

func (x *PollRequest) GetRunningTasks() []int64

func (*PollRequest) GetWorkerInfo added in v1.14.0

func (x *PollRequest) GetWorkerInfo() *WorkerInfo

func (*PollRequest) ProtoMessage added in v1.14.0

func (*PollRequest) ProtoMessage()

func (*PollRequest) ProtoReflect added in v1.14.0

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

func (*PollRequest) Reset added in v1.14.0

func (x *PollRequest) Reset()

func (*PollRequest) String added in v1.14.0

func (x *PollRequest) String() string

type PollResponse added in v1.14.0

type PollResponse struct {
	TasksToStart          []*PollResponse_AgentAwareTask `protobuf:"bytes,1,rep,name=tasks_to_start,json=tasksToStart,proto3" json:"tasks_to_start,omitempty"`
	TasksToStop           []int64                        `protobuf:"varint,2,rep,packed,name=tasks_to_stop,json=tasksToStop,proto3" json:"tasks_to_stop,omitempty"`
	PollIntervalInSeconds uint32                         `` /* 129-byte string literal not displayed */
	Shutdown              bool                           `protobuf:"varint,4,opt,name=shutdown,proto3" json:"shutdown,omitempty"`
	// contains filtered or unexported fields
}

func (*PollResponse) Descriptor deprecated added in v1.14.0

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

Deprecated: Use PollResponse.ProtoReflect.Descriptor instead.

func (*PollResponse) GetPollIntervalInSeconds added in v1.14.0

func (x *PollResponse) GetPollIntervalInSeconds() uint32

func (*PollResponse) GetShutdown added in v1.16.0

func (x *PollResponse) GetShutdown() bool

func (*PollResponse) GetTasksToStart added in v1.14.0

func (x *PollResponse) GetTasksToStart() []*PollResponse_AgentAwareTask

func (*PollResponse) GetTasksToStop added in v1.14.0

func (x *PollResponse) GetTasksToStop() []int64

func (*PollResponse) ProtoMessage added in v1.14.0

func (*PollResponse) ProtoMessage()

func (*PollResponse) ProtoReflect added in v1.14.0

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

func (*PollResponse) Reset added in v1.14.0

func (x *PollResponse) Reset()

func (*PollResponse) String added in v1.14.0

func (x *PollResponse) String() string

type PollResponse_AgentAwareTask added in v1.14.0

type PollResponse_AgentAwareTask struct {
	TaskId       int64  `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	ServerSecret string `protobuf:"bytes,3,opt,name=server_secret,json=serverSecret,proto3" json:"server_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*PollResponse_AgentAwareTask) Descriptor deprecated added in v1.14.0

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

Deprecated: Use PollResponse_AgentAwareTask.ProtoReflect.Descriptor instead.

func (*PollResponse_AgentAwareTask) GetClientSecret added in v1.14.0

func (x *PollResponse_AgentAwareTask) GetClientSecret() string

func (*PollResponse_AgentAwareTask) GetServerSecret added in v1.14.0

func (x *PollResponse_AgentAwareTask) GetServerSecret() string

func (*PollResponse_AgentAwareTask) GetTaskId added in v1.14.0

func (x *PollResponse_AgentAwareTask) GetTaskId() int64

func (*PollResponse_AgentAwareTask) ProtoMessage added in v1.14.0

func (*PollResponse_AgentAwareTask) ProtoMessage()

func (*PollResponse_AgentAwareTask) ProtoReflect added in v1.14.0

func (*PollResponse_AgentAwareTask) Reset added in v1.14.0

func (x *PollResponse_AgentAwareTask) Reset()

func (*PollResponse_AgentAwareTask) String added in v1.14.0

func (x *PollResponse_AgentAwareTask) String() string

type PrebuiltImageInstance added in v1.6.0

type PrebuiltImageInstance struct {
	Repository     string            `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	Platform       Platform          `protobuf:"varint,2,opt,name=platform,proto3,enum=org.cirruslabs.ci.services.cirruscigrpc.Platform" json:"platform,omitempty"`
	Reference      string            `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"`
	DockerfilePath string            `protobuf:"bytes,6,opt,name=dockerfile_path,json=dockerfilePath,proto3" json:"dockerfile_path,omitempty"`
	Arguments      map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PrebuiltImageInstance) Descriptor deprecated added in v1.6.0

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

Deprecated: Use PrebuiltImageInstance.ProtoReflect.Descriptor instead.

func (*PrebuiltImageInstance) GetArguments added in v1.7.0

func (x *PrebuiltImageInstance) GetArguments() map[string]string

func (*PrebuiltImageInstance) GetDockerfilePath added in v1.7.0

func (x *PrebuiltImageInstance) GetDockerfilePath() string

func (*PrebuiltImageInstance) GetPlatform added in v1.6.0

func (x *PrebuiltImageInstance) GetPlatform() Platform

func (*PrebuiltImageInstance) GetReference added in v1.6.0

func (x *PrebuiltImageInstance) GetReference() string

func (*PrebuiltImageInstance) GetRepository added in v1.6.0

func (x *PrebuiltImageInstance) GetRepository() string

func (*PrebuiltImageInstance) ProtoMessage added in v1.6.0

func (*PrebuiltImageInstance) ProtoMessage()

func (*PrebuiltImageInstance) ProtoReflect added in v1.6.0

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

func (*PrebuiltImageInstance) Reset added in v1.6.0

func (x *PrebuiltImageInstance) Reset()

func (*PrebuiltImageInstance) String added in v1.6.0

func (x *PrebuiltImageInstance) String() string

type RegisterRequest added in v1.14.0

type RegisterRequest struct {
	RegistrationToken string      `protobuf:"bytes,1,opt,name=registration_token,json=registrationToken,proto3" json:"registration_token,omitempty"`
	WorkerInfo        *WorkerInfo `protobuf:"bytes,2,opt,name=worker_info,json=workerInfo,proto3" json:"worker_info,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) Descriptor deprecated added in v1.14.0

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetRegistrationToken added in v1.14.0

func (x *RegisterRequest) GetRegistrationToken() string

func (*RegisterRequest) GetWorkerInfo added in v1.14.0

func (x *RegisterRequest) GetWorkerInfo() *WorkerInfo

func (*RegisterRequest) ProtoMessage added in v1.14.0

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect added in v1.14.0

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

func (*RegisterRequest) Reset added in v1.14.0

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String added in v1.14.0

func (x *RegisterRequest) String() string

type RegisterResponse added in v1.14.0

type RegisterResponse struct {
	SessionToken string `protobuf:"bytes,1,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterResponse) Descriptor deprecated added in v1.14.0

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

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetSessionToken added in v1.16.0

func (x *RegisterResponse) GetSessionToken() string

func (*RegisterResponse) ProtoMessage added in v1.14.0

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect added in v1.14.0

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

func (*RegisterResponse) Reset added in v1.14.0

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String added in v1.14.0

func (x *RegisterResponse) String() string

type ReportAgentLogsRequest

type ReportAgentLogsRequest struct {
	TaskIdentification *TaskIdentification `protobuf:"bytes,1,opt,name=task_identification,json=taskIdentification,proto3" json:"task_identification,omitempty"`
	Logs               string              `protobuf:"bytes,2,opt,name=logs,proto3" json:"logs,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportAgentLogsRequest) Descriptor deprecated

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

Deprecated: Use ReportAgentLogsRequest.ProtoReflect.Descriptor instead.

func (*ReportAgentLogsRequest) GetLogs

func (x *ReportAgentLogsRequest) GetLogs() string

func (*ReportAgentLogsRequest) GetTaskIdentification

func (x *ReportAgentLogsRequest) GetTaskIdentification() *TaskIdentification

func (*ReportAgentLogsRequest) ProtoMessage

func (*ReportAgentLogsRequest) ProtoMessage()

func (*ReportAgentLogsRequest) ProtoReflect added in v1.5.0

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

func (*ReportAgentLogsRequest) Reset

func (x *ReportAgentLogsRequest) Reset()

func (*ReportAgentLogsRequest) String

func (x *ReportAgentLogsRequest) String() string

type ReportAgentProblemRequest

type ReportAgentProblemRequest struct {
	TaskIdentification *TaskIdentification `protobuf:"bytes,1,opt,name=task_identification,json=taskIdentification,proto3" json:"task_identification,omitempty"`
	Message            string              `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Stack              string              `protobuf:"bytes,3,opt,name=stack,proto3" json:"stack,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportAgentProblemRequest) Descriptor deprecated

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

Deprecated: Use ReportAgentProblemRequest.ProtoReflect.Descriptor instead.

func (*ReportAgentProblemRequest) GetMessage

func (x *ReportAgentProblemRequest) GetMessage() string

func (*ReportAgentProblemRequest) GetStack

func (x *ReportAgentProblemRequest) GetStack() string

func (*ReportAgentProblemRequest) GetTaskIdentification

func (x *ReportAgentProblemRequest) GetTaskIdentification() *TaskIdentification

func (*ReportAgentProblemRequest) ProtoMessage

func (*ReportAgentProblemRequest) ProtoMessage()

func (*ReportAgentProblemRequest) ProtoReflect added in v1.5.0

func (*ReportAgentProblemRequest) Reset

func (x *ReportAgentProblemRequest) Reset()

func (*ReportAgentProblemRequest) String

func (x *ReportAgentProblemRequest) String() string

type ReportAgentSignalRequest

type ReportAgentSignalRequest struct {
	TaskIdentification *TaskIdentification `protobuf:"bytes,1,opt,name=task_identification,json=taskIdentification,proto3" json:"task_identification,omitempty"`
	Signal             string              `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportAgentSignalRequest) Descriptor deprecated

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

Deprecated: Use ReportAgentSignalRequest.ProtoReflect.Descriptor instead.

func (*ReportAgentSignalRequest) GetSignal

func (x *ReportAgentSignalRequest) GetSignal() string

func (*ReportAgentSignalRequest) GetTaskIdentification

func (x *ReportAgentSignalRequest) GetTaskIdentification() *TaskIdentification

func (*ReportAgentSignalRequest) ProtoMessage

func (*ReportAgentSignalRequest) ProtoMessage()

func (*ReportAgentSignalRequest) ProtoReflect added in v1.5.0

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

func (*ReportAgentSignalRequest) Reset

func (x *ReportAgentSignalRequest) Reset()

func (*ReportAgentSignalRequest) String

func (x *ReportAgentSignalRequest) String() string

type ReportAnnotationsCommandRequest

type ReportAnnotationsCommandRequest struct {
	TaskIdentification *TaskIdentification `protobuf:"bytes,1,opt,name=task_identification,json=taskIdentification,proto3" json:"task_identification,omitempty"`
	Annotations        []*Annotation       `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportAnnotationsCommandRequest) Descriptor deprecated

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

Deprecated: Use ReportAnnotationsCommandRequest.ProtoReflect.Descriptor instead.

func (*ReportAnnotationsCommandRequest) GetAnnotations

func (x *ReportAnnotationsCommandRequest) GetAnnotations() []*Annotation

func (*ReportAnnotationsCommandRequest) GetTaskIdentification

func (x *ReportAnnotationsCommandRequest) GetTaskIdentification() *TaskIdentification

func (*ReportAnnotationsCommandRequest) ProtoMessage

func (*ReportAnnotationsCommandRequest) ProtoMessage()

func (*ReportAnnotationsCommandRequest) ProtoReflect added in v1.5.0

func (*ReportAnnotationsCommandRequest) Reset

func (*ReportAnnotationsCommandRequest) String

type ReportSingleCommandRequest

type ReportSingleCommandRequest struct {
	TaskIdentification *TaskIdentification `protobuf:"bytes,1,opt,name=task_identification,json=taskIdentification,proto3" json:"task_identification,omitempty"`
	CommandName        string              `protobuf:"bytes,2,opt,name=command_name,json=commandName,proto3" json:"command_name,omitempty"`
	Succeded           bool                `protobuf:"varint,3,opt,name=succeded,proto3" json:"succeded,omitempty"`
	DurationInSeconds  int64               `protobuf:"varint,4,opt,name=duration_in_seconds,json=durationInSeconds,proto3" json:"duration_in_seconds,omitempty"`
	SignaledToExit     bool                `protobuf:"varint,5,opt,name=signaled_to_exit,json=signaledToExit,proto3" json:"signaled_to_exit,omitempty"`
	LocalTimestamp     int64               `protobuf:"varint,6,opt,name=local_timestamp,json=localTimestamp,proto3" json:"local_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportSingleCommandRequest) Descriptor deprecated

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

Deprecated: Use ReportSingleCommandRequest.ProtoReflect.Descriptor instead.

func (*ReportSingleCommandRequest) GetCommandName

func (x *ReportSingleCommandRequest) GetCommandName() string

func (*ReportSingleCommandRequest) GetDurationInSeconds

func (x *ReportSingleCommandRequest) GetDurationInSeconds() int64

func (*ReportSingleCommandRequest) GetLocalTimestamp

func (x *ReportSingleCommandRequest) GetLocalTimestamp() int64

func (*ReportSingleCommandRequest) GetSignaledToExit

func (x *ReportSingleCommandRequest) GetSignaledToExit() bool

func (*ReportSingleCommandRequest) GetSucceded

func (x *ReportSingleCommandRequest) GetSucceded() bool

func (*ReportSingleCommandRequest) GetTaskIdentification

func (x *ReportSingleCommandRequest) GetTaskIdentification() *TaskIdentification

func (*ReportSingleCommandRequest) ProtoMessage

func (*ReportSingleCommandRequest) ProtoMessage()

func (*ReportSingleCommandRequest) ProtoReflect added in v1.5.0

func (*ReportSingleCommandRequest) Reset

func (x *ReportSingleCommandRequest) Reset()

func (*ReportSingleCommandRequest) String

func (x *ReportSingleCommandRequest) String() string

type ReportSingleCommandResponse

type ReportSingleCommandResponse struct {
	NextCommandName       string            `protobuf:"bytes,1,opt,name=next_command_name,json=nextCommandName,proto3" json:"next_command_name,omitempty"`
	AdditionalEnvironment map[string]string `` /* 212-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ReportSingleCommandResponse) Descriptor deprecated

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

Deprecated: Use ReportSingleCommandResponse.ProtoReflect.Descriptor instead.

func (*ReportSingleCommandResponse) GetAdditionalEnvironment

func (x *ReportSingleCommandResponse) GetAdditionalEnvironment() map[string]string

func (*ReportSingleCommandResponse) GetNextCommandName

func (x *ReportSingleCommandResponse) GetNextCommandName() string

func (*ReportSingleCommandResponse) ProtoMessage

func (*ReportSingleCommandResponse) ProtoMessage()

func (*ReportSingleCommandResponse) ProtoReflect added in v1.5.0

func (*ReportSingleCommandResponse) Reset

func (x *ReportSingleCommandResponse) Reset()

func (*ReportSingleCommandResponse) String

func (x *ReportSingleCommandResponse) String() string

type ReportStopHookRequest

type ReportStopHookRequest struct {
	TaskIdentification *TaskIdentification `protobuf:"bytes,1,opt,name=task_identification,json=taskIdentification,proto3" json:"task_identification,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportStopHookRequest) Descriptor deprecated

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

Deprecated: Use ReportStopHookRequest.ProtoReflect.Descriptor instead.

func (*ReportStopHookRequest) GetTaskIdentification

func (x *ReportStopHookRequest) GetTaskIdentification() *TaskIdentification

func (*ReportStopHookRequest) ProtoMessage

func (*ReportStopHookRequest) ProtoMessage()

func (*ReportStopHookRequest) ProtoReflect added in v1.5.0

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

func (*ReportStopHookRequest) Reset

func (x *ReportStopHookRequest) Reset()

func (*ReportStopHookRequest) String

func (x *ReportStopHookRequest) String() string

type ScriptInstruction

type ScriptInstruction struct {
	Scripts []string `protobuf:"bytes,1,rep,name=scripts,proto3" json:"scripts,omitempty"`
	// contains filtered or unexported fields
}

func (*ScriptInstruction) Descriptor deprecated

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

Deprecated: Use ScriptInstruction.ProtoReflect.Descriptor instead.

func (*ScriptInstruction) GetScripts

func (x *ScriptInstruction) GetScripts() []string

func (*ScriptInstruction) ProtoMessage

func (*ScriptInstruction) ProtoMessage()

func (*ScriptInstruction) ProtoReflect added in v1.5.0

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

func (*ScriptInstruction) Reset

func (x *ScriptInstruction) Reset()

func (*ScriptInstruction) String

func (x *ScriptInstruction) String() string

type Task

type Task struct {
	LocalGroupId       int64             `protobuf:"varint,1,opt,name=local_group_id,json=localGroupId,proto3" json:"local_group_id,omitempty"`
	RequiredGroups     []int64           `protobuf:"varint,2,rep,packed,name=required_groups,json=requiredGroups,proto3" json:"required_groups,omitempty"`
	Name               string            `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Status             Task_Status       `protobuf:"varint,4,opt,name=status,proto3,enum=org.cirruslabs.ci.services.cirruscigrpc.Task_Status" json:"status,omitempty"`
	Environment        map[string]string `` /* 163-byte string literal not displayed */
	Metadata           *Task_Metadata    `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	DeprecatedInstance *Task_Instance    `protobuf:"bytes,7,opt,name=deprecated_instance,json=deprecatedInstance,proto3" json:"deprecated_instance,omitempty"`
	Commands           []*Command        `protobuf:"bytes,8,rep,name=commands,proto3" json:"commands,omitempty"`
	Instance           *any.Any          `protobuf:"bytes,9,opt,name=instance,proto3" json:"instance,omitempty"`
	// contains filtered or unexported fields
}

func (*Task) Descriptor deprecated

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

Deprecated: Use Task.ProtoReflect.Descriptor instead.

func (*Task) GetCommands

func (x *Task) GetCommands() []*Command

func (*Task) GetDeprecatedInstance added in v1.11.0

func (x *Task) GetDeprecatedInstance() *Task_Instance

func (*Task) GetEnvironment

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

func (*Task) GetInstance

func (x *Task) GetInstance() *any.Any

func (*Task) GetLocalGroupId

func (x *Task) GetLocalGroupId() int64

func (*Task) GetMetadata

func (x *Task) GetMetadata() *Task_Metadata

func (*Task) GetName

func (x *Task) GetName() string

func (*Task) GetRequiredGroups

func (x *Task) GetRequiredGroups() []int64

func (*Task) GetStatus

func (x *Task) GetStatus() Task_Status

func (*Task) ProtoMessage

func (*Task) ProtoMessage()

func (*Task) ProtoReflect added in v1.5.0

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

func (*Task) Reset

func (x *Task) Reset()

func (*Task) String

func (x *Task) String() string

type TaskIdentification

type TaskIdentification struct {
	TaskId int64  `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskIdentification) Descriptor deprecated

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

Deprecated: Use TaskIdentification.ProtoReflect.Descriptor instead.

func (*TaskIdentification) GetSecret

func (x *TaskIdentification) GetSecret() string

func (*TaskIdentification) GetTaskId

func (x *TaskIdentification) GetTaskId() int64

func (*TaskIdentification) ProtoMessage

func (*TaskIdentification) ProtoMessage()

func (*TaskIdentification) ProtoReflect added in v1.5.0

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

func (*TaskIdentification) Reset

func (x *TaskIdentification) Reset()

func (*TaskIdentification) String

func (x *TaskIdentification) String() string

type Task_Instance

type Task_Instance struct {
	Type    string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // one of the *Instance from below
	// contains filtered or unexported fields
}

func (*Task_Instance) Descriptor deprecated

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

Deprecated: Use Task_Instance.ProtoReflect.Descriptor instead.

func (*Task_Instance) GetPayload

func (x *Task_Instance) GetPayload() []byte

func (*Task_Instance) GetType

func (x *Task_Instance) GetType() string

func (*Task_Instance) ProtoMessage

func (*Task_Instance) ProtoMessage()

func (*Task_Instance) ProtoReflect added in v1.5.0

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

func (*Task_Instance) Reset

func (x *Task_Instance) Reset()

func (*Task_Instance) String

func (x *Task_Instance) String() string

type Task_Metadata

type Task_Metadata struct {
	UniqueLabels []string          `protobuf:"bytes,1,rep,name=unique_labels,json=uniqueLabels,proto3" json:"unique_labels,omitempty"`
	Properties   map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Task_Metadata) Descriptor deprecated

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

Deprecated: Use Task_Metadata.ProtoReflect.Descriptor instead.

func (*Task_Metadata) GetProperties

func (x *Task_Metadata) GetProperties() map[string]string

func (*Task_Metadata) GetUniqueLabels

func (x *Task_Metadata) GetUniqueLabels() []string

func (*Task_Metadata) ProtoMessage

func (*Task_Metadata) ProtoMessage()

func (*Task_Metadata) ProtoReflect added in v1.5.0

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

func (*Task_Metadata) Reset

func (x *Task_Metadata) Reset()

func (*Task_Metadata) String

func (x *Task_Metadata) String() string

type Task_Status

type Task_Status int32
const (
	Task_CREATED   Task_Status = 0
	Task_TRIGGERED Task_Status = 1
	Task_SCHEDULED Task_Status = 2
	Task_EXECUTING Task_Status = 3 // execution
	Task_ABORTED   Task_Status = 4 // by user or GCP
	Task_FAILED    Task_Status = 5
	Task_COMPLETED Task_Status = 6
	Task_SKIPPED   Task_Status = 7
)

func (Task_Status) Descriptor added in v1.5.0

func (Task_Status) Enum added in v1.5.0

func (x Task_Status) Enum() *Task_Status

func (Task_Status) EnumDescriptor deprecated

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

Deprecated: Use Task_Status.Descriptor instead.

func (Task_Status) Number added in v1.5.0

func (x Task_Status) Number() protoreflect.EnumNumber

func (Task_Status) String

func (x Task_Status) String() string

func (Task_Status) Type added in v1.5.0

type UnimplementedCirrusCIServiceServer

type UnimplementedCirrusCIServiceServer struct {
}

UnimplementedCirrusCIServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCirrusCIServiceServer) CacheInfo

func (UnimplementedCirrusCIServiceServer) DownloadCache

func (UnimplementedCirrusCIServiceServer) Heartbeat

func (UnimplementedCirrusCIServiceServer) InitialCommands

func (UnimplementedCirrusCIServiceServer) ParseConfig

func (UnimplementedCirrusCIServiceServer) Ping

func (UnimplementedCirrusCIServiceServer) ReportAgentError

func (UnimplementedCirrusCIServiceServer) ReportAgentLogs

func (UnimplementedCirrusCIServiceServer) ReportAgentSignal

func (UnimplementedCirrusCIServiceServer) ReportAgentWarning

func (UnimplementedCirrusCIServiceServer) ReportAnnotations

func (UnimplementedCirrusCIServiceServer) ReportSingleCommand

func (UnimplementedCirrusCIServiceServer) ReportStopHook

func (UnimplementedCirrusCIServiceServer) SaveLogs

func (UnimplementedCirrusCIServiceServer) StreamLogs

func (UnimplementedCirrusCIServiceServer) UploadArtifacts

func (UnimplementedCirrusCIServiceServer) UploadCache

type UnimplementedCirrusConfigurationEvaluatorServiceServer added in v1.12.0

type UnimplementedCirrusConfigurationEvaluatorServiceServer struct {
}

UnimplementedCirrusConfigurationEvaluatorServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCirrusConfigurationEvaluatorServiceServer) EvaluateConfig added in v1.12.0

type UnimplementedCirrusWorkersServiceServer added in v1.14.0

type UnimplementedCirrusWorkersServiceServer struct {
}

UnimplementedCirrusWorkersServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCirrusWorkersServiceServer) Poll added in v1.14.0

func (UnimplementedCirrusWorkersServiceServer) Register added in v1.14.0

func (UnimplementedCirrusWorkersServiceServer) TaskStarted added in v1.14.0

func (UnimplementedCirrusWorkersServiceServer) TaskStopped added in v1.14.0

type UnsafeCirrusCIServiceServer added in v1.12.0

type UnsafeCirrusCIServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCirrusCIServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CirrusCIServiceServer will result in compilation errors.

type UnsafeCirrusConfigurationEvaluatorServiceServer added in v1.12.0

type UnsafeCirrusConfigurationEvaluatorServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCirrusConfigurationEvaluatorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CirrusConfigurationEvaluatorServiceServer will result in compilation errors.

type UnsafeCirrusWorkersServiceServer added in v1.14.0

type UnsafeCirrusWorkersServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCirrusWorkersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CirrusWorkersServiceServer will result in compilation errors.

type UploadArtifactsResponse

type UploadArtifactsResponse struct {
	BytesSaved int64 `protobuf:"varint,1,opt,name=bytes_saved,json=bytesSaved,proto3" json:"bytes_saved,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadArtifactsResponse) Descriptor deprecated

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

Deprecated: Use UploadArtifactsResponse.ProtoReflect.Descriptor instead.

func (*UploadArtifactsResponse) GetBytesSaved

func (x *UploadArtifactsResponse) GetBytesSaved() int64

func (*UploadArtifactsResponse) ProtoMessage

func (*UploadArtifactsResponse) ProtoMessage()

func (*UploadArtifactsResponse) ProtoReflect added in v1.5.0

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

func (*UploadArtifactsResponse) Reset

func (x *UploadArtifactsResponse) Reset()

func (*UploadArtifactsResponse) String

func (x *UploadArtifactsResponse) String() string

type UploadCacheInstruction

type UploadCacheInstruction struct {
	CacheName string `protobuf:"bytes,1,opt,name=cache_name,json=cacheName,proto3" json:"cache_name,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadCacheInstruction) Descriptor deprecated

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

Deprecated: Use UploadCacheInstruction.ProtoReflect.Descriptor instead.

func (*UploadCacheInstruction) GetCacheName

func (x *UploadCacheInstruction) GetCacheName() string

func (*UploadCacheInstruction) ProtoMessage

func (*UploadCacheInstruction) ProtoMessage()

func (*UploadCacheInstruction) ProtoReflect added in v1.5.0

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

func (*UploadCacheInstruction) Reset

func (x *UploadCacheInstruction) Reset()

func (*UploadCacheInstruction) String

func (x *UploadCacheInstruction) String() string

type UploadCacheResponse

type UploadCacheResponse struct {
	BytesSaved int64 `protobuf:"varint,1,opt,name=bytes_saved,json=bytesSaved,proto3" json:"bytes_saved,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadCacheResponse) Descriptor deprecated

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

Deprecated: Use UploadCacheResponse.ProtoReflect.Descriptor instead.

func (*UploadCacheResponse) GetBytesSaved

func (x *UploadCacheResponse) GetBytesSaved() int64

func (*UploadCacheResponse) ProtoMessage

func (*UploadCacheResponse) ProtoMessage()

func (*UploadCacheResponse) ProtoReflect added in v1.5.0

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

func (*UploadCacheResponse) Reset

func (x *UploadCacheResponse) Reset()

func (*UploadCacheResponse) String

func (x *UploadCacheResponse) String() string

type UploadLogsResponse

type UploadLogsResponse struct {
	BytesLogged int64 `protobuf:"varint,1,opt,name=bytes_logged,json=bytesLogged,proto3" json:"bytes_logged,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadLogsResponse) Descriptor deprecated

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

Deprecated: Use UploadLogsResponse.ProtoReflect.Descriptor instead.

func (*UploadLogsResponse) GetBytesLogged

func (x *UploadLogsResponse) GetBytesLogged() int64

func (*UploadLogsResponse) ProtoMessage

func (*UploadLogsResponse) ProtoMessage()

func (*UploadLogsResponse) ProtoReflect added in v1.5.0

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

func (*UploadLogsResponse) Reset

func (x *UploadLogsResponse) Reset()

func (*UploadLogsResponse) String

func (x *UploadLogsResponse) String() string

type WorkerInfo added in v1.14.0

type WorkerInfo struct {

	//
	// Well-Known Labels:
	// name — worker's name
	// version — full version (the one returned when running "cirrus --version")
	// hostname — name of the host system
	// os — runtime.GOOS
	// arch — runtime.GOARCH
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WorkerInfo) Descriptor deprecated added in v1.14.0

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

Deprecated: Use WorkerInfo.ProtoReflect.Descriptor instead.

func (*WorkerInfo) GetLabels added in v1.14.0

func (x *WorkerInfo) GetLabels() map[string]string

func (*WorkerInfo) ProtoMessage added in v1.14.0

func (*WorkerInfo) ProtoMessage()

func (*WorkerInfo) ProtoReflect added in v1.14.0

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

func (*WorkerInfo) Reset added in v1.14.0

func (x *WorkerInfo) Reset()

func (*WorkerInfo) String added in v1.14.0

func (x *WorkerInfo) String() string

Jump to

Keyboard shortcuts

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