Documentation ¶
Index ¶
- Variables
- func RegisterCirrusCIServiceServer(s *grpc.Server, srv CirrusCIServiceServer)
- type AdditionalContainer
- func (*AdditionalContainer) Descriptor() ([]byte, []int)deprecated
- func (x *AdditionalContainer) GetCommand() []string
- func (x *AdditionalContainer) GetContainerPort() uint32
- func (x *AdditionalContainer) GetCpu() float32
- func (x *AdditionalContainer) GetEnvironment() map[string]string
- func (x *AdditionalContainer) GetHostPort() uint32
- func (x *AdditionalContainer) GetImage() string
- func (x *AdditionalContainer) GetMemory() uint32
- func (x *AdditionalContainer) GetName() string
- func (x *AdditionalContainer) GetPrivileged() bool
- func (x *AdditionalContainer) GetReadinessCommand() []string
- func (*AdditionalContainer) ProtoMessage()
- func (x *AdditionalContainer) ProtoReflect() protoreflect.Message
- func (x *AdditionalContainer) Reset()
- func (x *AdditionalContainer) String() string
- type Annotation
- func (*Annotation) Descriptor() ([]byte, []int)deprecated
- func (x *Annotation) GetFileLocation() *Annotation_FileLocation
- func (x *Annotation) GetFullyQualifiedName() string
- func (x *Annotation) GetLevel() Annotation_Level
- func (x *Annotation) GetMessage() string
- func (x *Annotation) GetRawDetails() string
- func (x *Annotation) GetType() Annotation_Type
- func (*Annotation) ProtoMessage()
- func (x *Annotation) ProtoReflect() protoreflect.Message
- func (x *Annotation) Reset()
- func (x *Annotation) String() string
- type Annotation_FileLocation
- func (*Annotation_FileLocation) Descriptor() ([]byte, []int)deprecated
- func (x *Annotation_FileLocation) GetEndColumn() int64
- func (x *Annotation_FileLocation) GetEndLine() int64
- func (x *Annotation_FileLocation) GetPath() string
- func (x *Annotation_FileLocation) GetStartColumn() int64
- func (x *Annotation_FileLocation) GetStartLine() int64
- func (*Annotation_FileLocation) ProtoMessage()
- func (x *Annotation_FileLocation) ProtoReflect() protoreflect.Message
- func (x *Annotation_FileLocation) Reset()
- func (x *Annotation_FileLocation) String() string
- type Annotation_Level
- func (Annotation_Level) Descriptor() protoreflect.EnumDescriptor
- func (x Annotation_Level) Enum() *Annotation_Level
- func (Annotation_Level) EnumDescriptor() ([]byte, []int)deprecated
- func (x Annotation_Level) Number() protoreflect.EnumNumber
- func (x Annotation_Level) String() string
- func (Annotation_Level) Type() protoreflect.EnumType
- type Annotation_Type
- func (Annotation_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Annotation_Type) Enum() *Annotation_Type
- func (Annotation_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Annotation_Type) Number() protoreflect.EnumNumber
- func (x Annotation_Type) String() string
- func (Annotation_Type) Type() protoreflect.EnumType
- type ArtifactEntry
- func (*ArtifactEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ArtifactEntry) GetArtifactsUpload() *ArtifactEntry_ArtifactsUpload
- func (x *ArtifactEntry) GetChunk() *ArtifactEntry_ArtifactChunk
- func (m *ArtifactEntry) GetValue() isArtifactEntry_Value
- func (*ArtifactEntry) ProtoMessage()
- func (x *ArtifactEntry) ProtoReflect() protoreflect.Message
- func (x *ArtifactEntry) Reset()
- func (x *ArtifactEntry) String() string
- type ArtifactEntry_ArtifactChunk
- func (*ArtifactEntry_ArtifactChunk) Descriptor() ([]byte, []int)deprecated
- func (x *ArtifactEntry_ArtifactChunk) GetArtifactPath() string
- func (x *ArtifactEntry_ArtifactChunk) GetData() []byte
- func (*ArtifactEntry_ArtifactChunk) ProtoMessage()
- func (x *ArtifactEntry_ArtifactChunk) ProtoReflect() protoreflect.Message
- func (x *ArtifactEntry_ArtifactChunk) Reset()
- func (x *ArtifactEntry_ArtifactChunk) String() string
- type ArtifactEntry_ArtifactsUpload
- func (*ArtifactEntry_ArtifactsUpload) Descriptor() ([]byte, []int)deprecated
- func (x *ArtifactEntry_ArtifactsUpload) GetFormat() string
- func (x *ArtifactEntry_ArtifactsUpload) GetName() string
- func (x *ArtifactEntry_ArtifactsUpload) GetTaskIdentification() *TaskIdentification
- func (x *ArtifactEntry_ArtifactsUpload) GetType() string
- func (*ArtifactEntry_ArtifactsUpload) ProtoMessage()
- func (x *ArtifactEntry_ArtifactsUpload) ProtoReflect() protoreflect.Message
- func (x *ArtifactEntry_ArtifactsUpload) Reset()
- func (x *ArtifactEntry_ArtifactsUpload) String() string
- type ArtifactEntry_ArtifactsUpload_
- type ArtifactEntry_Chunk
- type ArtifactsInstruction
- func (*ArtifactsInstruction) Descriptor() ([]byte, []int)deprecated
- func (x *ArtifactsInstruction) GetFormat() string
- func (x *ArtifactsInstruction) GetPaths() []string
- func (x *ArtifactsInstruction) GetType() string
- func (*ArtifactsInstruction) ProtoMessage()
- func (x *ArtifactsInstruction) ProtoReflect() protoreflect.Message
- func (x *ArtifactsInstruction) Reset()
- func (x *ArtifactsInstruction) String() string
- type BackgroundScriptInstruction
- func (*BackgroundScriptInstruction) Descriptor() ([]byte, []int)deprecated
- func (x *BackgroundScriptInstruction) GetScripts() []string
- func (*BackgroundScriptInstruction) ProtoMessage()
- func (x *BackgroundScriptInstruction) ProtoReflect() protoreflect.Message
- func (x *BackgroundScriptInstruction) Reset()
- func (x *BackgroundScriptInstruction) String() string
- type CacheEntry
- func (*CacheEntry) Descriptor() ([]byte, []int)deprecated
- func (x *CacheEntry) GetChunk() *DataChunk
- func (x *CacheEntry) GetKey() *CacheEntry_CacheKey
- func (m *CacheEntry) GetValue() isCacheEntry_Value
- func (*CacheEntry) ProtoMessage()
- func (x *CacheEntry) ProtoReflect() protoreflect.Message
- func (x *CacheEntry) Reset()
- func (x *CacheEntry) String() string
- type CacheEntry_CacheKey
- func (*CacheEntry_CacheKey) Descriptor() ([]byte, []int)deprecated
- func (x *CacheEntry_CacheKey) GetCacheKey() string
- func (x *CacheEntry_CacheKey) GetTaskIdentification() *TaskIdentification
- func (*CacheEntry_CacheKey) ProtoMessage()
- func (x *CacheEntry_CacheKey) ProtoReflect() protoreflect.Message
- func (x *CacheEntry_CacheKey) Reset()
- func (x *CacheEntry_CacheKey) String() string
- type CacheEntry_Chunk
- type CacheEntry_Key
- type CacheInfo
- func (*CacheInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CacheInfo) GetCreatedByTaskId() int64
- func (x *CacheInfo) GetCreationTimestamp() int64
- func (x *CacheInfo) GetKey() string
- func (x *CacheInfo) GetSizeInBytes() int64
- func (*CacheInfo) ProtoMessage()
- func (x *CacheInfo) ProtoReflect() protoreflect.Message
- func (x *CacheInfo) Reset()
- func (x *CacheInfo) String() string
- type CacheInfoRequest
- func (*CacheInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CacheInfoRequest) GetCacheKey() string
- func (x *CacheInfoRequest) GetTaskIdentification() *TaskIdentification
- func (*CacheInfoRequest) ProtoMessage()
- func (x *CacheInfoRequest) ProtoReflect() protoreflect.Message
- func (x *CacheInfoRequest) Reset()
- func (x *CacheInfoRequest) String() string
- type CacheInfoResponse
- type CacheInstruction
- func (*CacheInstruction) Descriptor() ([]byte, []int)deprecated
- func (x *CacheInstruction) GetFingerprintScripts() []string
- func (x *CacheInstruction) GetFolder() string
- func (x *CacheInstruction) GetPopulateScripts() []string
- func (x *CacheInstruction) GetReuploadOnChanges() bool
- func (*CacheInstruction) ProtoMessage()
- func (x *CacheInstruction) ProtoReflect() protoreflect.Message
- func (x *CacheInstruction) Reset()
- func (x *CacheInstruction) String() string
- type CirrusCIServiceClient
- type CirrusCIServiceServer
- type CirrusCIService_DownloadCacheClient
- type CirrusCIService_DownloadCacheServer
- type CirrusCIService_SaveLogsClient
- type CirrusCIService_SaveLogsServer
- type CirrusCIService_StreamLogsClient
- type CirrusCIService_StreamLogsServer
- type CirrusCIService_UploadArtifactsClient
- type CirrusCIService_UploadArtifactsServer
- type CirrusCIService_UploadCacheClient
- type CirrusCIService_UploadCacheServer
- type CloneInstruction
- type Command
- func (*Command) Descriptor() ([]byte, []int)deprecated
- func (x *Command) GetArtifactsInstruction() *ArtifactsInstruction
- func (x *Command) GetBackgroundScriptInstruction() *BackgroundScriptInstruction
- func (x *Command) GetCacheInstruction() *CacheInstruction
- func (x *Command) GetCloneInstruction() *CloneInstruction
- func (x *Command) GetExecutionBehaviour() Command_CommandExecutionBehavior
- func (x *Command) GetExitInstruction() *ExitInstruction
- func (x *Command) GetFileInstruction() *FileInstruction
- func (m *Command) GetInstruction() isCommand_Instruction
- func (x *Command) GetName() string
- func (x *Command) GetProperties() map[string]string
- func (x *Command) GetScriptInstruction() *ScriptInstruction
- func (x *Command) GetUploadCacheInstruction() *UploadCacheInstruction
- func (*Command) ProtoMessage()
- func (x *Command) ProtoReflect() protoreflect.Message
- func (x *Command) Reset()
- func (x *Command) String() string
- type Command_ArtifactsInstruction
- type Command_BackgroundScriptInstruction
- type Command_CacheInstruction
- type Command_CloneInstruction
- type Command_CommandExecutionBehavior
- func (Command_CommandExecutionBehavior) Descriptor() protoreflect.EnumDescriptor
- func (x Command_CommandExecutionBehavior) Enum() *Command_CommandExecutionBehavior
- func (Command_CommandExecutionBehavior) EnumDescriptor() ([]byte, []int)deprecated
- func (x Command_CommandExecutionBehavior) Number() protoreflect.EnumNumber
- func (x Command_CommandExecutionBehavior) String() string
- func (Command_CommandExecutionBehavior) Type() protoreflect.EnumType
- type Command_ExitInstruction
- type Command_FileInstruction
- type Command_ScriptInstruction
- type Command_UploadCacheInstruction
- type CommandsResponse
- func (*CommandsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommandsResponse) GetCommands() []*Command
- func (x *CommandsResponse) GetEnvironment() map[string]string
- func (x *CommandsResponse) GetFailedAtLeastOnce() bool
- func (x *CommandsResponse) GetSecretsToMask() []string
- func (x *CommandsResponse) GetServerToken() string
- func (x *CommandsResponse) GetTimeoutInSeconds() int64
- func (*CommandsResponse) ProtoMessage()
- func (x *CommandsResponse) ProtoReflect() protoreflect.Message
- func (x *CommandsResponse) Reset()
- func (x *CommandsResponse) String() string
- type ContainerInstance
- func (*ContainerInstance) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerInstance) GetAdditionalContainers() []*AdditionalContainer
- func (x *ContainerInstance) GetCpu() float32
- func (x *ContainerInstance) GetDockerArguments() map[string]string
- func (x *ContainerInstance) GetDockerfilePath() string
- func (x *ContainerInstance) GetImage() string
- func (x *ContainerInstance) GetMemory() uint32
- func (x *ContainerInstance) GetOperationSystemVersion() string
- func (x *ContainerInstance) GetPlatform() Platform
- func (x *ContainerInstance) GetPrivileged() bool
- func (*ContainerInstance) ProtoMessage()
- func (x *ContainerInstance) ProtoReflect() protoreflect.Message
- func (x *ContainerInstance) Reset()
- func (x *ContainerInstance) String() string
- type DataChunk
- type DownloadCacheRequest
- func (*DownloadCacheRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadCacheRequest) GetCacheKey() string
- func (x *DownloadCacheRequest) GetTaskIdentification() *TaskIdentification
- func (*DownloadCacheRequest) ProtoMessage()
- func (x *DownloadCacheRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadCacheRequest) Reset()
- func (x *DownloadCacheRequest) String() string
- type ExitInstruction
- type FileInstruction
- func (*FileInstruction) Descriptor() ([]byte, []int)deprecated
- func (x *FileInstruction) GetDestinationPath() string
- func (x *FileInstruction) GetFromEnvironmentVariable() string
- func (m *FileInstruction) GetSource() isFileInstruction_Source
- func (*FileInstruction) ProtoMessage()
- func (x *FileInstruction) ProtoReflect() protoreflect.Message
- func (x *FileInstruction) Reset()
- func (x *FileInstruction) String() string
- type FileInstruction_FromEnvironmentVariable
- type HeartbeatRequest
- func (*HeartbeatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HeartbeatRequest) GetTaskIdentification() *TaskIdentification
- func (*HeartbeatRequest) ProtoMessage()
- func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message
- func (x *HeartbeatRequest) Reset()
- func (x *HeartbeatRequest) String() string
- type HeartbeatResponse
- type InitialCommandsRequest
- func (*InitialCommandsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitialCommandsRequest) GetContinueFromCommand() string
- func (x *InitialCommandsRequest) GetLocalTimestamp() int64
- func (x *InitialCommandsRequest) GetTaskIdentification() *TaskIdentification
- func (*InitialCommandsRequest) ProtoMessage()
- func (x *InitialCommandsRequest) ProtoReflect() protoreflect.Message
- func (x *InitialCommandsRequest) Reset()
- func (x *InitialCommandsRequest) String() string
- type LogEntry
- func (*LogEntry) Descriptor() ([]byte, []int)deprecated
- func (x *LogEntry) GetChunk() *DataChunk
- func (x *LogEntry) GetKey() *LogEntry_LogKey
- func (m *LogEntry) GetValue() isLogEntry_Value
- func (*LogEntry) ProtoMessage()
- func (x *LogEntry) ProtoReflect() protoreflect.Message
- func (x *LogEntry) Reset()
- func (x *LogEntry) String() string
- type LogEntry_Chunk
- type LogEntry_Key
- type LogEntry_LogKey
- func (*LogEntry_LogKey) Descriptor() ([]byte, []int)deprecated
- func (x *LogEntry_LogKey) GetCommandName() string
- func (x *LogEntry_LogKey) GetRaw() bool
- func (x *LogEntry_LogKey) GetTaskIdentification() *TaskIdentification
- func (*LogEntry_LogKey) ProtoMessage()
- func (x *LogEntry_LogKey) ProtoReflect() protoreflect.Message
- func (x *LogEntry_LogKey) Reset()
- func (x *LogEntry_LogKey) String() string
- type ParseConfigRequest
- func (*ParseConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ParseConfigRequest) GetAffectedFiles() []string
- func (x *ParseConfigRequest) GetConfig() string
- func (x *ParseConfigRequest) GetEnvironment() map[string]string
- func (x *ParseConfigRequest) GetFilesContents() map[string]string
- func (*ParseConfigRequest) ProtoMessage()
- func (x *ParseConfigRequest) ProtoReflect() protoreflect.Message
- func (x *ParseConfigRequest) Reset()
- func (x *ParseConfigRequest) String() string
- type ParseConfigResponse
- func (*ParseConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ParseConfigResponse) GetTasks() []*Task
- func (*ParseConfigResponse) ProtoMessage()
- func (x *ParseConfigResponse) ProtoReflect() protoreflect.Message
- func (x *ParseConfigResponse) Reset()
- func (x *ParseConfigResponse) String() string
- type PipeInstance
- func (*PipeInstance) Descriptor() ([]byte, []int)deprecated
- func (x *PipeInstance) GetCpu() float32
- func (x *PipeInstance) GetMemory() uint32
- func (*PipeInstance) ProtoMessage()
- func (x *PipeInstance) ProtoReflect() protoreflect.Message
- func (x *PipeInstance) Reset()
- func (x *PipeInstance) String() string
- type Platform
- type PrebuiltImageInstance
- func (*PrebuiltImageInstance) Descriptor() ([]byte, []int)deprecated
- func (x *PrebuiltImageInstance) GetArguments() map[string]string
- func (x *PrebuiltImageInstance) GetDockerfilePath() string
- func (x *PrebuiltImageInstance) GetPlatform() Platform
- func (x *PrebuiltImageInstance) GetReference() string
- func (x *PrebuiltImageInstance) GetRepository() string
- func (*PrebuiltImageInstance) ProtoMessage()
- func (x *PrebuiltImageInstance) ProtoReflect() protoreflect.Message
- func (x *PrebuiltImageInstance) Reset()
- func (x *PrebuiltImageInstance) String() string
- type ReportAgentLogsRequest
- func (*ReportAgentLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportAgentLogsRequest) GetLogs() string
- func (x *ReportAgentLogsRequest) GetTaskIdentification() *TaskIdentification
- func (*ReportAgentLogsRequest) ProtoMessage()
- func (x *ReportAgentLogsRequest) ProtoReflect() protoreflect.Message
- func (x *ReportAgentLogsRequest) Reset()
- func (x *ReportAgentLogsRequest) String() string
- type ReportAgentProblemRequest
- func (*ReportAgentProblemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportAgentProblemRequest) GetMessage() string
- func (x *ReportAgentProblemRequest) GetStack() string
- func (x *ReportAgentProblemRequest) GetTaskIdentification() *TaskIdentification
- func (*ReportAgentProblemRequest) ProtoMessage()
- func (x *ReportAgentProblemRequest) ProtoReflect() protoreflect.Message
- func (x *ReportAgentProblemRequest) Reset()
- func (x *ReportAgentProblemRequest) String() string
- type ReportAgentSignalRequest
- func (*ReportAgentSignalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportAgentSignalRequest) GetSignal() string
- func (x *ReportAgentSignalRequest) GetTaskIdentification() *TaskIdentification
- func (*ReportAgentSignalRequest) ProtoMessage()
- func (x *ReportAgentSignalRequest) ProtoReflect() protoreflect.Message
- func (x *ReportAgentSignalRequest) Reset()
- func (x *ReportAgentSignalRequest) String() string
- type ReportAnnotationsCommandRequest
- func (*ReportAnnotationsCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportAnnotationsCommandRequest) GetAnnotations() []*Annotation
- func (x *ReportAnnotationsCommandRequest) GetTaskIdentification() *TaskIdentification
- func (*ReportAnnotationsCommandRequest) ProtoMessage()
- func (x *ReportAnnotationsCommandRequest) ProtoReflect() protoreflect.Message
- func (x *ReportAnnotationsCommandRequest) Reset()
- func (x *ReportAnnotationsCommandRequest) String() string
- type ReportSingleCommandRequest
- func (*ReportSingleCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportSingleCommandRequest) GetCommandName() string
- func (x *ReportSingleCommandRequest) GetDurationInSeconds() int64
- func (x *ReportSingleCommandRequest) GetLocalTimestamp() int64
- func (x *ReportSingleCommandRequest) GetSignaledToExit() bool
- func (x *ReportSingleCommandRequest) GetSucceded() bool
- func (x *ReportSingleCommandRequest) GetTaskIdentification() *TaskIdentification
- func (*ReportSingleCommandRequest) ProtoMessage()
- func (x *ReportSingleCommandRequest) ProtoReflect() protoreflect.Message
- func (x *ReportSingleCommandRequest) Reset()
- func (x *ReportSingleCommandRequest) String() string
- type ReportSingleCommandResponse
- func (*ReportSingleCommandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReportSingleCommandResponse) GetAdditionalEnvironment() map[string]string
- func (x *ReportSingleCommandResponse) GetNextCommandName() string
- func (*ReportSingleCommandResponse) ProtoMessage()
- func (x *ReportSingleCommandResponse) ProtoReflect() protoreflect.Message
- func (x *ReportSingleCommandResponse) Reset()
- func (x *ReportSingleCommandResponse) String() string
- type ReportStopHookRequest
- func (*ReportStopHookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportStopHookRequest) GetTaskIdentification() *TaskIdentification
- func (*ReportStopHookRequest) ProtoMessage()
- func (x *ReportStopHookRequest) ProtoReflect() protoreflect.Message
- func (x *ReportStopHookRequest) Reset()
- func (x *ReportStopHookRequest) String() string
- type ScriptInstruction
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetCommands() []*Command
- func (x *Task) GetEnvironment() map[string]string
- func (x *Task) GetInstance() *Task_Instance
- func (x *Task) GetLocalGroupId() int64
- func (x *Task) GetMetadata() *Task_Metadata
- func (x *Task) GetName() string
- func (x *Task) GetRequiredGroups() []int64
- func (x *Task) GetStatus() Task_Status
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- type TaskIdentification
- func (*TaskIdentification) Descriptor() ([]byte, []int)deprecated
- func (x *TaskIdentification) GetSecret() string
- func (x *TaskIdentification) GetTaskId() int64
- func (*TaskIdentification) ProtoMessage()
- func (x *TaskIdentification) ProtoReflect() protoreflect.Message
- func (x *TaskIdentification) Reset()
- func (x *TaskIdentification) String() string
- type Task_Instance
- func (*Task_Instance) Descriptor() ([]byte, []int)deprecated
- func (x *Task_Instance) GetPayload() []byte
- func (x *Task_Instance) GetType() string
- func (*Task_Instance) ProtoMessage()
- func (x *Task_Instance) ProtoReflect() protoreflect.Message
- func (x *Task_Instance) Reset()
- func (x *Task_Instance) String() string
- type Task_Metadata
- func (*Task_Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Task_Metadata) GetProperties() map[string]string
- func (x *Task_Metadata) GetUniqueLabels() []string
- func (*Task_Metadata) ProtoMessage()
- func (x *Task_Metadata) ProtoReflect() protoreflect.Message
- func (x *Task_Metadata) Reset()
- func (x *Task_Metadata) String() string
- type Task_Status
- func (Task_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Task_Status) Enum() *Task_Status
- func (Task_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Task_Status) Number() protoreflect.EnumNumber
- func (x Task_Status) String() string
- func (Task_Status) Type() protoreflect.EnumType
- type UnimplementedCirrusCIServiceServer
- func (*UnimplementedCirrusCIServiceServer) CacheInfo(context.Context, *CacheInfoRequest) (*CacheInfoResponse, error)
- func (*UnimplementedCirrusCIServiceServer) DownloadCache(*DownloadCacheRequest, CirrusCIService_DownloadCacheServer) error
- func (*UnimplementedCirrusCIServiceServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
- func (*UnimplementedCirrusCIServiceServer) InitialCommands(context.Context, *InitialCommandsRequest) (*CommandsResponse, error)
- func (*UnimplementedCirrusCIServiceServer) ParseConfig(context.Context, *ParseConfigRequest) (*ParseConfigResponse, error)
- func (*UnimplementedCirrusCIServiceServer) Ping(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedCirrusCIServiceServer) ReportAgentError(context.Context, *ReportAgentProblemRequest) (*empty.Empty, error)
- func (*UnimplementedCirrusCIServiceServer) ReportAgentLogs(context.Context, *ReportAgentLogsRequest) (*empty.Empty, error)
- func (*UnimplementedCirrusCIServiceServer) ReportAgentSignal(context.Context, *ReportAgentSignalRequest) (*empty.Empty, error)
- func (*UnimplementedCirrusCIServiceServer) ReportAgentWarning(context.Context, *ReportAgentProblemRequest) (*empty.Empty, error)
- func (*UnimplementedCirrusCIServiceServer) ReportAnnotations(context.Context, *ReportAnnotationsCommandRequest) (*empty.Empty, error)
- func (*UnimplementedCirrusCIServiceServer) ReportSingleCommand(context.Context, *ReportSingleCommandRequest) (*ReportSingleCommandResponse, error)
- func (*UnimplementedCirrusCIServiceServer) ReportStopHook(context.Context, *ReportStopHookRequest) (*empty.Empty, error)
- func (*UnimplementedCirrusCIServiceServer) SaveLogs(CirrusCIService_SaveLogsServer) error
- func (*UnimplementedCirrusCIServiceServer) StreamLogs(CirrusCIService_StreamLogsServer) error
- func (*UnimplementedCirrusCIServiceServer) UploadArtifacts(CirrusCIService_UploadArtifactsServer) error
- func (*UnimplementedCirrusCIServiceServer) UploadCache(CirrusCIService_UploadCacheServer) error
- type UploadArtifactsResponse
- func (*UploadArtifactsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadArtifactsResponse) GetBytesSaved() int64
- func (*UploadArtifactsResponse) ProtoMessage()
- func (x *UploadArtifactsResponse) ProtoReflect() protoreflect.Message
- func (x *UploadArtifactsResponse) Reset()
- func (x *UploadArtifactsResponse) String() string
- type UploadCacheInstruction
- func (*UploadCacheInstruction) Descriptor() ([]byte, []int)deprecated
- func (x *UploadCacheInstruction) GetCacheName() string
- func (*UploadCacheInstruction) ProtoMessage()
- func (x *UploadCacheInstruction) ProtoReflect() protoreflect.Message
- func (x *UploadCacheInstruction) Reset()
- func (x *UploadCacheInstruction) String() string
- type UploadCacheResponse
- func (*UploadCacheResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadCacheResponse) GetBytesSaved() int64
- func (*UploadCacheResponse) ProtoMessage()
- func (x *UploadCacheResponse) ProtoReflect() protoreflect.Message
- func (x *UploadCacheResponse) Reset()
- func (x *UploadCacheResponse) String() string
- type UploadLogsResponse
- func (*UploadLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadLogsResponse) GetBytesLogged() int64
- func (*UploadLogsResponse) ProtoMessage()
- func (x *UploadLogsResponse) ProtoReflect() protoreflect.Message
- func (x *UploadLogsResponse) Reset()
- func (x *UploadLogsResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Platform_name = map[int32]string{ 0: "LINUX", 1: "WINDOWS", } Platform_value = map[string]int32{ "LINUX": 0, "WINDOWS": 1, } )
Enum value maps for Platform.
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.
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.
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.
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.
var File_cirrus_ci_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCirrusCIServiceServer ¶
func RegisterCirrusCIServiceServer(s *grpc.Server, srv CirrusCIServiceServer)
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) Descriptor() protoreflect.EnumDescriptor
func (Annotation_Level) Enum ¶ added in v1.5.0
func (x Annotation_Level) Enum() *Annotation_Level
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 (x Annotation_Level) Number() protoreflect.EnumNumber
func (Annotation_Level) String ¶
func (x Annotation_Level) String() string
func (Annotation_Level) Type ¶ added in v1.5.0
func (Annotation_Level) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x Annotation_Type) Number() protoreflect.EnumNumber
func (Annotation_Type) String ¶
func (x Annotation_Type) String() string
func (Annotation_Type) Type ¶ added in v1.5.0
func (Annotation_Type) Type() protoreflect.EnumType
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 (x *ArtifactEntry) GetChunk() *ArtifactEntry_ArtifactChunk
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 (x *ArtifactEntry_ArtifactChunk) ProtoReflect() protoreflect.Message
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 (x *ArtifactEntry_ArtifactsUpload) GetName() string
func (*ArtifactEntry_ArtifactsUpload) GetTaskIdentification ¶
func (x *ArtifactEntry_ArtifactsUpload) GetTaskIdentification() *TaskIdentification
func (*ArtifactEntry_ArtifactsUpload) GetType ¶
func (x *ArtifactEntry_ArtifactsUpload) GetType() string
func (*ArtifactEntry_ArtifactsUpload) ProtoMessage ¶
func (*ArtifactEntry_ArtifactsUpload) ProtoMessage()
func (*ArtifactEntry_ArtifactsUpload) ProtoReflect ¶ added in v1.5.0
func (x *ArtifactEntry_ArtifactsUpload) ProtoReflect() protoreflect.Message
func (*ArtifactEntry_ArtifactsUpload) Reset ¶
func (x *ArtifactEntry_ArtifactsUpload) Reset()
func (*ArtifactEntry_ArtifactsUpload) String ¶
func (x *ArtifactEntry_ArtifactsUpload) String() 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 (x *BackgroundScriptInstruction) ProtoReflect() protoreflect.Message
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) GetCreatedByTaskId ¶
func (*CacheInfo) GetCreationTimestamp ¶
func (*CacheInfo) GetSizeInBytes ¶
func (*CacheInfo) ProtoMessage ¶
func (*CacheInfo) ProtoMessage()
func (*CacheInfo) ProtoReflect ¶ added in v1.5.0
func (x *CacheInfo) ProtoReflect() protoreflect.Message
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.
func NewCirrusCIServiceClient ¶
func NewCirrusCIServiceClient(cc grpc.ClientConnInterface) CirrusCIServiceClient
type CirrusCIServiceServer ¶
type CirrusCIServiceServer interface { InitialCommands(context.Context, *InitialCommandsRequest) (*CommandsResponse, error) ReportSingleCommand(context.Context, *ReportSingleCommandRequest) (*ReportSingleCommandResponse, error) ReportAnnotations(context.Context, *ReportAnnotationsCommandRequest) (*empty.Empty, error) StreamLogs(CirrusCIService_StreamLogsServer) error SaveLogs(CirrusCIService_SaveLogsServer) error UploadCache(CirrusCIService_UploadCacheServer) error UploadArtifacts(CirrusCIService_UploadArtifactsServer) error DownloadCache(*DownloadCacheRequest, CirrusCIService_DownloadCacheServer) error CacheInfo(context.Context, *CacheInfoRequest) (*CacheInfoResponse, error) Ping(context.Context, *empty.Empty) (*empty.Empty, error) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error) ReportStopHook(context.Context, *ReportStopHookRequest) (*empty.Empty, error) ReportAgentError(context.Context, *ReportAgentProblemRequest) (*empty.Empty, error) ReportAgentWarning(context.Context, *ReportAgentProblemRequest) (*empty.Empty, error) ReportAgentSignal(context.Context, *ReportAgentSignalRequest) (*empty.Empty, error) ReportAgentLogs(context.Context, *ReportAgentLogsRequest) (*empty.Empty, error) ParseConfig(context.Context, *ParseConfigRequest) (*ParseConfigResponse, error) // contains filtered or unexported methods }
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 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) 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) GetProperties ¶ added in v1.5.0
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
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) Descriptor() protoreflect.EnumDescriptor
func (Command_CommandExecutionBehavior) Enum ¶ added in v1.5.0
func (x Command_CommandExecutionBehavior) Enum() *Command_CommandExecutionBehavior
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 (x Command_CommandExecutionBehavior) Number() protoreflect.EnumNumber
func (Command_CommandExecutionBehavior) String ¶ added in v1.5.0
func (x Command_CommandExecutionBehavior) String() string
func (Command_CommandExecutionBehavior) Type ¶ added in v1.5.0
func (Command_CommandExecutionBehavior) Type() protoreflect.EnumType
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"` // 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) 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) GetRedirectUrl ¶ added in v1.6.0
func (*DataChunk) ProtoMessage ¶
func (*DataChunk) ProtoMessage()
func (*DataChunk) ProtoReflect ¶ added in v1.5.0
func (x *DataChunk) ProtoReflect() protoreflect.Message
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 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) GetKey ¶
func (x *LogEntry) GetKey() *LogEntry_LogKey
func (*LogEntry) ProtoMessage ¶
func (*LogEntry) ProtoMessage()
func (*LogEntry) ProtoReflect ¶ added in v1.5.0
func (x *LogEntry) ProtoReflect() protoreflect.Message
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 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
func (Platform) Descriptor ¶ added in v1.5.0
func (Platform) Descriptor() protoreflect.EnumDescriptor
func (Platform) EnumDescriptor
deprecated
func (Platform) Number ¶ added in v1.5.0
func (x Platform) Number() protoreflect.EnumNumber
func (Platform) Type ¶ added in v1.5.0
func (Platform) Type() protoreflect.EnumType
type PrebuiltImageInstance ¶ added in v1.6.0
type PrebuiltImageInstance struct { Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` Platform Platform `protobuf:"varint,3,opt,name=platform,proto3,enum=org.cirruslabs.ci.services.cirruscigrpc.Platform" json:"platform,omitempty"` DockerfilePath string `protobuf:"bytes,4,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 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 (x *ReportAgentProblemRequest) ProtoReflect() protoreflect.Message
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 (x *ReportAnnotationsCommandRequest) ProtoReflect() protoreflect.Message
func (*ReportAnnotationsCommandRequest) Reset ¶
func (x *ReportAnnotationsCommandRequest) Reset()
func (*ReportAnnotationsCommandRequest) String ¶
func (x *ReportAnnotationsCommandRequest) String() 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 (x *ReportSingleCommandRequest) ProtoReflect() protoreflect.Message
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 (x *ReportSingleCommandResponse) ProtoReflect() protoreflect.Message
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"` Instance *Task_Instance `protobuf:"bytes,7,opt,name=instance,proto3" json:"instance,omitempty"` Commands []*Command `protobuf:"bytes,8,rep,name=commands,proto3" json:"commands,omitempty"` // contains filtered or unexported fields }
func (*Task) Descriptor
deprecated
func (*Task) GetCommands ¶
func (*Task) GetEnvironment ¶
func (*Task) GetInstance ¶
func (x *Task) GetInstance() *Task_Instance
func (*Task) GetLocalGroupId ¶
func (*Task) GetMetadata ¶
func (x *Task) GetMetadata() *Task_Metadata
func (*Task) GetRequiredGroups ¶
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
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) Descriptor() protoreflect.EnumDescriptor
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
func (Task_Status) Type() protoreflect.EnumType
type UnimplementedCirrusCIServiceServer ¶
type UnimplementedCirrusCIServiceServer struct { }
UnimplementedCirrusCIServiceServer must be embedded to have forward compatible implementations.
func (*UnimplementedCirrusCIServiceServer) CacheInfo ¶
func (*UnimplementedCirrusCIServiceServer) CacheInfo(context.Context, *CacheInfoRequest) (*CacheInfoResponse, error)
func (*UnimplementedCirrusCIServiceServer) DownloadCache ¶
func (*UnimplementedCirrusCIServiceServer) DownloadCache(*DownloadCacheRequest, CirrusCIService_DownloadCacheServer) error
func (*UnimplementedCirrusCIServiceServer) Heartbeat ¶
func (*UnimplementedCirrusCIServiceServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
func (*UnimplementedCirrusCIServiceServer) InitialCommands ¶
func (*UnimplementedCirrusCIServiceServer) InitialCommands(context.Context, *InitialCommandsRequest) (*CommandsResponse, error)
func (*UnimplementedCirrusCIServiceServer) ParseConfig ¶
func (*UnimplementedCirrusCIServiceServer) ParseConfig(context.Context, *ParseConfigRequest) (*ParseConfigResponse, error)
func (*UnimplementedCirrusCIServiceServer) ReportAgentError ¶
func (*UnimplementedCirrusCIServiceServer) ReportAgentError(context.Context, *ReportAgentProblemRequest) (*empty.Empty, error)
func (*UnimplementedCirrusCIServiceServer) ReportAgentLogs ¶
func (*UnimplementedCirrusCIServiceServer) ReportAgentLogs(context.Context, *ReportAgentLogsRequest) (*empty.Empty, error)
func (*UnimplementedCirrusCIServiceServer) ReportAgentSignal ¶
func (*UnimplementedCirrusCIServiceServer) ReportAgentSignal(context.Context, *ReportAgentSignalRequest) (*empty.Empty, error)
func (*UnimplementedCirrusCIServiceServer) ReportAgentWarning ¶
func (*UnimplementedCirrusCIServiceServer) ReportAgentWarning(context.Context, *ReportAgentProblemRequest) (*empty.Empty, error)
func (*UnimplementedCirrusCIServiceServer) ReportAnnotations ¶
func (*UnimplementedCirrusCIServiceServer) ReportAnnotations(context.Context, *ReportAnnotationsCommandRequest) (*empty.Empty, error)
func (*UnimplementedCirrusCIServiceServer) ReportSingleCommand ¶
func (*UnimplementedCirrusCIServiceServer) ReportSingleCommand(context.Context, *ReportSingleCommandRequest) (*ReportSingleCommandResponse, error)
func (*UnimplementedCirrusCIServiceServer) ReportStopHook ¶
func (*UnimplementedCirrusCIServiceServer) ReportStopHook(context.Context, *ReportStopHookRequest) (*empty.Empty, error)
func (*UnimplementedCirrusCIServiceServer) SaveLogs ¶
func (*UnimplementedCirrusCIServiceServer) SaveLogs(CirrusCIService_SaveLogsServer) error
func (*UnimplementedCirrusCIServiceServer) StreamLogs ¶
func (*UnimplementedCirrusCIServiceServer) StreamLogs(CirrusCIService_StreamLogsServer) error
func (*UnimplementedCirrusCIServiceServer) UploadArtifacts ¶
func (*UnimplementedCirrusCIServiceServer) UploadArtifacts(CirrusCIService_UploadArtifactsServer) error
func (*UnimplementedCirrusCIServiceServer) UploadCache ¶
func (*UnimplementedCirrusCIServiceServer) UploadCache(CirrusCIService_UploadCacheServer) error
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