Documentation ¶
Index ¶
- Variables
- type ConfigureCapsuleStep
- func (*ConfigureCapsuleStep) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureCapsuleStep) GetInfo() *StepInfo
- func (x *ConfigureCapsuleStep) GetState() ConfigureResult
- func (*ConfigureCapsuleStep) ProtoMessage()
- func (x *ConfigureCapsuleStep) ProtoReflect() protoreflect.Message
- func (x *ConfigureCapsuleStep) Reset()
- func (x *ConfigureCapsuleStep) String() string
- type ConfigureCommitStep
- func (*ConfigureCommitStep) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureCommitStep) GetCommitHash() string
- func (x *ConfigureCommitStep) GetCommitUrl() string
- func (x *ConfigureCommitStep) GetInfo() *StepInfo
- func (*ConfigureCommitStep) ProtoMessage()
- func (x *ConfigureCommitStep) ProtoReflect() protoreflect.Message
- func (x *ConfigureCommitStep) Reset()
- func (x *ConfigureCommitStep) String() string
- type ConfigureEnvStep
- func (*ConfigureEnvStep) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureEnvStep) GetInfo() *StepInfo
- func (x *ConfigureEnvStep) GetIsSecret() bool
- func (x *ConfigureEnvStep) GetState() ConfigureResult
- func (*ConfigureEnvStep) ProtoMessage()
- func (x *ConfigureEnvStep) ProtoReflect() protoreflect.Message
- func (x *ConfigureEnvStep) Reset()
- func (x *ConfigureEnvStep) String() string
- type ConfigureFileStep
- func (*ConfigureFileStep) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureFileStep) GetInfo() *StepInfo
- func (x *ConfigureFileStep) GetIsSecret() bool
- func (x *ConfigureFileStep) GetPath() string
- func (x *ConfigureFileStep) GetState() ConfigureResult
- func (*ConfigureFileStep) ProtoMessage()
- func (x *ConfigureFileStep) ProtoReflect() protoreflect.Message
- func (x *ConfigureFileStep) Reset()
- func (x *ConfigureFileStep) String() string
- type ConfigureResult
- func (ConfigureResult) Descriptor() protoreflect.EnumDescriptor
- func (x ConfigureResult) Enum() *ConfigureResult
- func (ConfigureResult) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConfigureResult) Number() protoreflect.EnumNumber
- func (x ConfigureResult) String() string
- func (ConfigureResult) Type() protoreflect.EnumType
- type ConfigureStage
- func (*ConfigureStage) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureStage) GetInfo() *StageInfo
- func (x *ConfigureStage) GetSteps() []*ConfigureStep
- func (*ConfigureStage) ProtoMessage()
- func (x *ConfigureStage) ProtoReflect() protoreflect.Message
- func (x *ConfigureStage) Reset()
- func (x *ConfigureStage) String() string
- type ConfigureStep
- func (*ConfigureStep) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureStep) GetCommit() *ConfigureCommitStep
- func (x *ConfigureStep) GetConfigureCapsule() *ConfigureCapsuleStep
- func (x *ConfigureStep) GetConfigureEnv() *ConfigureEnvStep
- func (x *ConfigureStep) GetConfigureFile() *ConfigureFileStep
- func (x *ConfigureStep) GetGeneric() *GenericStep
- func (m *ConfigureStep) GetStep() isConfigureStep_Step
- func (*ConfigureStep) ProtoMessage()
- func (x *ConfigureStep) ProtoReflect() protoreflect.Message
- func (x *ConfigureStep) Reset()
- func (x *ConfigureStep) String() string
- type ConfigureStep_Commit
- type ConfigureStep_ConfigureCapsule
- type ConfigureStep_ConfigureEnv
- type ConfigureStep_ConfigureFile
- type ConfigureStep_Generic
- type CreateResourceStep
- func (*CreateResourceStep) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceStep) GetInfo() *StepInfo
- func (x *CreateResourceStep) GetKind() string
- func (x *CreateResourceStep) GetName() string
- func (*CreateResourceStep) ProtoMessage()
- func (x *CreateResourceStep) ProtoReflect() protoreflect.Message
- func (x *CreateResourceStep) Reset()
- func (x *CreateResourceStep) String() string
- type GenericStep
- type InstancesStep
- func (*InstancesStep) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesStep) GetInfo() *StepInfo
- func (x *InstancesStep) GetNumReady() uint32
- func (x *InstancesStep) GetNumStuck() uint32
- func (x *InstancesStep) GetNumUpdated() uint32
- func (x *InstancesStep) GetNumWrongVersion() uint32
- func (*InstancesStep) ProtoMessage()
- func (x *InstancesStep) ProtoReflect() protoreflect.Message
- func (x *InstancesStep) Reset()
- func (x *InstancesStep) String() string
- type ResourceCreationStage
- func (*ResourceCreationStage) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceCreationStage) GetInfo() *StageInfo
- func (x *ResourceCreationStage) GetSteps() []*ResourceCreationStep
- func (*ResourceCreationStage) ProtoMessage()
- func (x *ResourceCreationStage) ProtoReflect() protoreflect.Message
- func (x *ResourceCreationStage) Reset()
- func (x *ResourceCreationStage) String() string
- type ResourceCreationStep
- func (*ResourceCreationStep) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceCreationStep) GetCreateResource() *CreateResourceStep
- func (x *ResourceCreationStep) GetGeneric() *GenericStep
- func (m *ResourceCreationStep) GetStep() isResourceCreationStep_Step
- func (*ResourceCreationStep) ProtoMessage()
- func (x *ResourceCreationStep) ProtoReflect() protoreflect.Message
- func (x *ResourceCreationStep) Reset()
- func (x *ResourceCreationStep) String() string
- type ResourceCreationStep_CreateResource
- type ResourceCreationStep_Generic
- type Result
- type RunningStage
- func (*RunningStage) Descriptor() ([]byte, []int)deprecated
- func (x *RunningStage) GetInfo() *StageInfo
- func (x *RunningStage) GetSteps() []*RunningStep
- func (*RunningStage) ProtoMessage()
- func (x *RunningStage) ProtoReflect() protoreflect.Message
- func (x *RunningStage) Reset()
- func (x *RunningStage) String() string
- type RunningStep
- func (*RunningStep) Descriptor() ([]byte, []int)deprecated
- func (x *RunningStep) GetGeneric() *GenericStep
- func (x *RunningStep) GetInstances() *InstancesStep
- func (m *RunningStep) GetStep() isRunningStep_Step
- func (*RunningStep) ProtoMessage()
- func (x *RunningStep) ProtoReflect() protoreflect.Message
- func (x *RunningStep) Reset()
- func (x *RunningStep) String() string
- type RunningStep_Generic
- type RunningStep_Instances
- type StageInfo
- func (*StageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *StageInfo) GetName() string
- func (x *StageInfo) GetStartedAt() *timestamppb.Timestamp
- func (x *StageInfo) GetState() StageState
- func (x *StageInfo) GetUpdatedAt() *timestamppb.Timestamp
- func (*StageInfo) ProtoMessage()
- func (x *StageInfo) ProtoReflect() protoreflect.Message
- func (x *StageInfo) Reset()
- func (x *StageInfo) String() string
- type StageState
- type Stages
- func (*Stages) Descriptor() ([]byte, []int)deprecated
- func (x *Stages) GetConfigure() *ConfigureStage
- func (x *Stages) GetResourceCreation() *ResourceCreationStage
- func (x *Stages) GetRunning() *RunningStage
- func (*Stages) ProtoMessage()
- func (x *Stages) ProtoReflect() protoreflect.Message
- func (x *Stages) Reset()
- func (x *Stages) String() string
- type State
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetResult() Result
- func (x *Status) GetRolloutId() uint64
- func (x *Status) GetStages() *Stages
- func (x *Status) GetState() State
- func (x *Status) GetUpdatedAt() *timestamppb.Timestamp
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- type StepInfo
- func (*StepInfo) Descriptor() ([]byte, []int)deprecated
- func (x *StepInfo) GetMessage() string
- func (x *StepInfo) GetName() string
- func (x *StepInfo) GetStartedAt() *timestamppb.Timestamp
- func (x *StepInfo) GetState() StepState
- func (x *StepInfo) GetUpdatedAt() *timestamppb.Timestamp
- func (*StepInfo) ProtoMessage()
- func (x *StepInfo) ProtoReflect() protoreflect.Message
- func (x *StepInfo) Reset()
- func (x *StepInfo) String() string
- type StepState
Constants ¶
This section is empty.
Variables ¶
var ( StageState_name = map[int32]string{ 0: "STAGE_STATE_UNSPECIFIED", 1: "STAGE_STATE_DEPLOYING", 2: "STAGE_STATE_RUNNING", 3: "STAGE_STATE_STOPPED", } StageState_value = map[string]int32{ "STAGE_STATE_UNSPECIFIED": 0, "STAGE_STATE_DEPLOYING": 1, "STAGE_STATE_RUNNING": 2, "STAGE_STATE_STOPPED": 3, } )
Enum value maps for StageState.
var ( StepState_name = map[int32]string{ 0: "STEP_STATE_UNSPECIFIED", 1: "STEP_STATE_ONGOING", 2: "STEP_STATE_FAILED", 3: "STEP_STATE_DONE", } StepState_value = map[string]int32{ "STEP_STATE_UNSPECIFIED": 0, "STEP_STATE_ONGOING": 1, "STEP_STATE_FAILED": 2, "STEP_STATE_DONE": 3, } )
Enum value maps for StepState.
var ( State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "STATE_PREPARING", 2: "STATE_CONFIGURE", 3: "STATE_RESOURCE_CREATION", 4: "STATE_RUNNING", 5: "STATE_STOPPED", } State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STATE_PREPARING": 1, "STATE_CONFIGURE": 2, "STATE_RESOURCE_CREATION": 3, "STATE_RUNNING": 4, "STATE_STOPPED": 5, } )
Enum value maps for State.
var ( Result_name = map[int32]string{ 0: "RESULT_UNSPECIFIED", 1: "RESULT_REPLACED", 2: "RESULT_FAILED", 3: "RESULT_ABORTED", 4: "RESULT_ROLLBACK", } Result_value = map[string]int32{ "RESULT_UNSPECIFIED": 0, "RESULT_REPLACED": 1, "RESULT_FAILED": 2, "RESULT_ABORTED": 3, "RESULT_ROLLBACK": 4, } )
Enum value maps for Result.
var ( ConfigureResult_name = map[int32]string{ 0: "CONFIGURE_RESULT_UNSPECIFIED", 1: "CONFIGURE_RESULT_CREATED", 2: "CONFIGURE_RESULT_UPDATED", 3: "CONFIGURE_RESULT_NO_CHANGE", 4: "CONFIGURE_RESULT_DELETED", } ConfigureResult_value = map[string]int32{ "CONFIGURE_RESULT_UNSPECIFIED": 0, "CONFIGURE_RESULT_CREATED": 1, "CONFIGURE_RESULT_UPDATED": 2, "CONFIGURE_RESULT_NO_CHANGE": 3, "CONFIGURE_RESULT_DELETED": 4, } )
Enum value maps for ConfigureResult.
var File_api_v1_capsule_rollout_status_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ConfigureCapsuleStep ¶
type ConfigureCapsuleStep struct { // Step information. Info *StepInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // The state of the step. State ConfigureResult `protobuf:"varint,2,opt,name=state,proto3,enum=api.v1.capsule.rollout.ConfigureResult" json:"state,omitempty"` // contains filtered or unexported fields }
A step configuring a capsule.
func (*ConfigureCapsuleStep) Descriptor
deprecated
func (*ConfigureCapsuleStep) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureCapsuleStep.ProtoReflect.Descriptor instead.
func (*ConfigureCapsuleStep) GetInfo ¶
func (x *ConfigureCapsuleStep) GetInfo() *StepInfo
func (*ConfigureCapsuleStep) GetState ¶
func (x *ConfigureCapsuleStep) GetState() ConfigureResult
func (*ConfigureCapsuleStep) ProtoMessage ¶
func (*ConfigureCapsuleStep) ProtoMessage()
func (*ConfigureCapsuleStep) ProtoReflect ¶
func (x *ConfigureCapsuleStep) ProtoReflect() protoreflect.Message
func (*ConfigureCapsuleStep) Reset ¶
func (x *ConfigureCapsuleStep) Reset()
func (*ConfigureCapsuleStep) String ¶
func (x *ConfigureCapsuleStep) String() string
type ConfigureCommitStep ¶
type ConfigureCommitStep struct { // Step information Info *StepInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // The hash of the commit containing the changes CommitHash string `protobuf:"bytes,2,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"` // The url to the commit (if known. May be empty) CommitUrl string `protobuf:"bytes,3,opt,name=commit_url,json=commitUrl,proto3" json:"commit_url,omitempty"` // contains filtered or unexported fields }
A step committing the changes to git
func (*ConfigureCommitStep) Descriptor
deprecated
func (*ConfigureCommitStep) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureCommitStep.ProtoReflect.Descriptor instead.
func (*ConfigureCommitStep) GetCommitHash ¶
func (x *ConfigureCommitStep) GetCommitHash() string
func (*ConfigureCommitStep) GetCommitUrl ¶
func (x *ConfigureCommitStep) GetCommitUrl() string
func (*ConfigureCommitStep) GetInfo ¶
func (x *ConfigureCommitStep) GetInfo() *StepInfo
func (*ConfigureCommitStep) ProtoMessage ¶
func (*ConfigureCommitStep) ProtoMessage()
func (*ConfigureCommitStep) ProtoReflect ¶
func (x *ConfigureCommitStep) ProtoReflect() protoreflect.Message
func (*ConfigureCommitStep) Reset ¶
func (x *ConfigureCommitStep) Reset()
func (*ConfigureCommitStep) String ¶
func (x *ConfigureCommitStep) String() string
type ConfigureEnvStep ¶
type ConfigureEnvStep struct { // Step information. Info *StepInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // The result of the environment configuration. State ConfigureResult `protobuf:"varint,2,opt,name=state,proto3,enum=api.v1.capsule.rollout.ConfigureResult" json:"state,omitempty"` // Whether the environment is a secret. IsSecret bool `protobuf:"varint,3,opt,name=is_secret,json=isSecret,proto3" json:"is_secret,omitempty"` // contains filtered or unexported fields }
A step configuring an environment.
func (*ConfigureEnvStep) Descriptor
deprecated
func (*ConfigureEnvStep) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureEnvStep.ProtoReflect.Descriptor instead.
func (*ConfigureEnvStep) GetInfo ¶
func (x *ConfigureEnvStep) GetInfo() *StepInfo
func (*ConfigureEnvStep) GetIsSecret ¶
func (x *ConfigureEnvStep) GetIsSecret() bool
func (*ConfigureEnvStep) GetState ¶
func (x *ConfigureEnvStep) GetState() ConfigureResult
func (*ConfigureEnvStep) ProtoMessage ¶
func (*ConfigureEnvStep) ProtoMessage()
func (*ConfigureEnvStep) ProtoReflect ¶
func (x *ConfigureEnvStep) ProtoReflect() protoreflect.Message
func (*ConfigureEnvStep) Reset ¶
func (x *ConfigureEnvStep) Reset()
func (*ConfigureEnvStep) String ¶
func (x *ConfigureEnvStep) String() string
type ConfigureFileStep ¶
type ConfigureFileStep struct { // Step information. Info *StepInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // The result of the file configuration. State ConfigureResult `protobuf:"varint,2,opt,name=state,proto3,enum=api.v1.capsule.rollout.ConfigureResult" json:"state,omitempty"` // The path of the file. Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // Whether the file is a secret. IsSecret bool `protobuf:"varint,4,opt,name=is_secret,json=isSecret,proto3" json:"is_secret,omitempty"` // contains filtered or unexported fields }
A step configuring a file.
func (*ConfigureFileStep) Descriptor
deprecated
func (*ConfigureFileStep) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureFileStep.ProtoReflect.Descriptor instead.
func (*ConfigureFileStep) GetInfo ¶
func (x *ConfigureFileStep) GetInfo() *StepInfo
func (*ConfigureFileStep) GetIsSecret ¶
func (x *ConfigureFileStep) GetIsSecret() bool
func (*ConfigureFileStep) GetPath ¶
func (x *ConfigureFileStep) GetPath() string
func (*ConfigureFileStep) GetState ¶
func (x *ConfigureFileStep) GetState() ConfigureResult
func (*ConfigureFileStep) ProtoMessage ¶
func (*ConfigureFileStep) ProtoMessage()
func (*ConfigureFileStep) ProtoReflect ¶
func (x *ConfigureFileStep) ProtoReflect() protoreflect.Message
func (*ConfigureFileStep) Reset ¶
func (x *ConfigureFileStep) Reset()
func (*ConfigureFileStep) String ¶
func (x *ConfigureFileStep) String() string
type ConfigureResult ¶
type ConfigureResult int32
The result of a configuration step.
const ( // The result is unspecified. ConfigureResult_CONFIGURE_RESULT_UNSPECIFIED ConfigureResult = 0 // The resource is to be created. ConfigureResult_CONFIGURE_RESULT_CREATED ConfigureResult = 1 // The resource is to be updated. ConfigureResult_CONFIGURE_RESULT_UPDATED ConfigureResult = 2 // The resource has no change. ConfigureResult_CONFIGURE_RESULT_NO_CHANGE ConfigureResult = 3 // The resource is to be deleted. ConfigureResult_CONFIGURE_RESULT_DELETED ConfigureResult = 4 )
func (ConfigureResult) Descriptor ¶
func (ConfigureResult) Descriptor() protoreflect.EnumDescriptor
func (ConfigureResult) Enum ¶
func (x ConfigureResult) Enum() *ConfigureResult
func (ConfigureResult) EnumDescriptor
deprecated
func (ConfigureResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConfigureResult.Descriptor instead.
func (ConfigureResult) Number ¶
func (x ConfigureResult) Number() protoreflect.EnumNumber
func (ConfigureResult) String ¶
func (x ConfigureResult) String() string
func (ConfigureResult) Type ¶
func (ConfigureResult) Type() protoreflect.EnumType
type ConfigureStage ¶
type ConfigureStage struct { // Stage information. Info *StageInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // The steps of the stage. Steps []*ConfigureStep `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"` // contains filtered or unexported fields }
The configure stage.
func (*ConfigureStage) Descriptor
deprecated
func (*ConfigureStage) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureStage.ProtoReflect.Descriptor instead.
func (*ConfigureStage) GetInfo ¶
func (x *ConfigureStage) GetInfo() *StageInfo
func (*ConfigureStage) GetSteps ¶
func (x *ConfigureStage) GetSteps() []*ConfigureStep
func (*ConfigureStage) ProtoMessage ¶
func (*ConfigureStage) ProtoMessage()
func (*ConfigureStage) ProtoReflect ¶
func (x *ConfigureStage) ProtoReflect() protoreflect.Message
func (*ConfigureStage) Reset ¶
func (x *ConfigureStage) Reset()
func (*ConfigureStage) String ¶
func (x *ConfigureStage) String() string
type ConfigureStep ¶
type ConfigureStep struct { // Types that are assignable to Step: // // *ConfigureStep_Generic // *ConfigureStep_ConfigureCapsule // *ConfigureStep_ConfigureFile // *ConfigureStep_ConfigureEnv // *ConfigureStep_Commit Step isConfigureStep_Step `protobuf_oneof:"step"` // contains filtered or unexported fields }
A step of the configure stage.
func (*ConfigureStep) Descriptor
deprecated
func (*ConfigureStep) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureStep.ProtoReflect.Descriptor instead.
func (*ConfigureStep) GetCommit ¶
func (x *ConfigureStep) GetCommit() *ConfigureCommitStep
func (*ConfigureStep) GetConfigureCapsule ¶
func (x *ConfigureStep) GetConfigureCapsule() *ConfigureCapsuleStep
func (*ConfigureStep) GetConfigureEnv ¶
func (x *ConfigureStep) GetConfigureEnv() *ConfigureEnvStep
func (*ConfigureStep) GetConfigureFile ¶
func (x *ConfigureStep) GetConfigureFile() *ConfigureFileStep
func (*ConfigureStep) GetGeneric ¶
func (x *ConfigureStep) GetGeneric() *GenericStep
func (*ConfigureStep) GetStep ¶
func (m *ConfigureStep) GetStep() isConfigureStep_Step
func (*ConfigureStep) ProtoMessage ¶
func (*ConfigureStep) ProtoMessage()
func (*ConfigureStep) ProtoReflect ¶
func (x *ConfigureStep) ProtoReflect() protoreflect.Message
func (*ConfigureStep) Reset ¶
func (x *ConfigureStep) Reset()
func (*ConfigureStep) String ¶
func (x *ConfigureStep) String() string
type ConfigureStep_Commit ¶
type ConfigureStep_Commit struct { // A step for commiting the changes to git. Commit *ConfigureCommitStep `protobuf:"bytes,5,opt,name=commit,proto3,oneof"` }
type ConfigureStep_ConfigureCapsule ¶
type ConfigureStep_ConfigureCapsule struct { // A step configuring a capsule. ConfigureCapsule *ConfigureCapsuleStep `protobuf:"bytes,2,opt,name=configure_capsule,json=configureCapsule,proto3,oneof"` }
type ConfigureStep_ConfigureEnv ¶
type ConfigureStep_ConfigureEnv struct { // A step configuring an environment. ConfigureEnv *ConfigureEnvStep `protobuf:"bytes,4,opt,name=configure_env,json=configureEnv,proto3,oneof"` }
type ConfigureStep_ConfigureFile ¶
type ConfigureStep_ConfigureFile struct { // A step configuring a file. ConfigureFile *ConfigureFileStep `protobuf:"bytes,3,opt,name=configure_file,json=configureFile,proto3,oneof"` }
type ConfigureStep_Generic ¶
type ConfigureStep_Generic struct { // A generic step. Generic *GenericStep `protobuf:"bytes,1,opt,name=generic,proto3,oneof"` }
type CreateResourceStep ¶
type CreateResourceStep struct { // Step information. Info *StepInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // The kind of the resource. Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // The name of the resource. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
A step creating a resource.
func (*CreateResourceStep) Descriptor
deprecated
func (*CreateResourceStep) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceStep.ProtoReflect.Descriptor instead.
func (*CreateResourceStep) GetInfo ¶
func (x *CreateResourceStep) GetInfo() *StepInfo
func (*CreateResourceStep) GetKind ¶
func (x *CreateResourceStep) GetKind() string
func (*CreateResourceStep) GetName ¶
func (x *CreateResourceStep) GetName() string
func (*CreateResourceStep) ProtoMessage ¶
func (*CreateResourceStep) ProtoMessage()
func (*CreateResourceStep) ProtoReflect ¶
func (x *CreateResourceStep) ProtoReflect() protoreflect.Message
func (*CreateResourceStep) Reset ¶
func (x *CreateResourceStep) Reset()
func (*CreateResourceStep) String ¶
func (x *CreateResourceStep) String() string
type GenericStep ¶
type GenericStep struct { // Step information. Info *StepInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
A generic step of a stage.
func (*GenericStep) Descriptor
deprecated
func (*GenericStep) Descriptor() ([]byte, []int)
Deprecated: Use GenericStep.ProtoReflect.Descriptor instead.
func (*GenericStep) GetInfo ¶
func (x *GenericStep) GetInfo() *StepInfo
func (*GenericStep) ProtoMessage ¶
func (*GenericStep) ProtoMessage()
func (*GenericStep) ProtoReflect ¶
func (x *GenericStep) ProtoReflect() protoreflect.Message
func (*GenericStep) Reset ¶
func (x *GenericStep) Reset()
func (*GenericStep) String ¶
func (x *GenericStep) String() string
type InstancesStep ¶
type InstancesStep struct { // Step information. Info *StepInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // The number of updated instances. NumUpdated uint32 `protobuf:"varint,2,opt,name=num_updated,json=numUpdated,proto3" json:"num_updated,omitempty"` // The number of ready instances. NumReady uint32 `protobuf:"varint,3,opt,name=num_ready,json=numReady,proto3" json:"num_ready,omitempty"` // The number of stuck instances. NumStuck uint32 `protobuf:"varint,4,opt,name=num_stuck,json=numStuck,proto3" json:"num_stuck,omitempty"` // The number of instances with the wrong version. NumWrongVersion uint32 `protobuf:"varint,5,opt,name=num_wrong_version,json=numWrongVersion,proto3" json:"num_wrong_version,omitempty"` // contains filtered or unexported fields }
Information on the instances of the rollout.
func (*InstancesStep) Descriptor
deprecated
func (*InstancesStep) Descriptor() ([]byte, []int)
Deprecated: Use InstancesStep.ProtoReflect.Descriptor instead.
func (*InstancesStep) GetInfo ¶
func (x *InstancesStep) GetInfo() *StepInfo
func (*InstancesStep) GetNumReady ¶
func (x *InstancesStep) GetNumReady() uint32
func (*InstancesStep) GetNumStuck ¶
func (x *InstancesStep) GetNumStuck() uint32
func (*InstancesStep) GetNumUpdated ¶
func (x *InstancesStep) GetNumUpdated() uint32
func (*InstancesStep) GetNumWrongVersion ¶
func (x *InstancesStep) GetNumWrongVersion() uint32
func (*InstancesStep) ProtoMessage ¶
func (*InstancesStep) ProtoMessage()
func (*InstancesStep) ProtoReflect ¶
func (x *InstancesStep) ProtoReflect() protoreflect.Message
func (*InstancesStep) Reset ¶
func (x *InstancesStep) Reset()
func (*InstancesStep) String ¶
func (x *InstancesStep) String() string
type ResourceCreationStage ¶
type ResourceCreationStage struct { // Stage information. Info *StageInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // The steps of the stage. Steps []*ResourceCreationStep `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"` // contains filtered or unexported fields }
The resource creation stage.
func (*ResourceCreationStage) Descriptor
deprecated
func (*ResourceCreationStage) Descriptor() ([]byte, []int)
Deprecated: Use ResourceCreationStage.ProtoReflect.Descriptor instead.
func (*ResourceCreationStage) GetInfo ¶
func (x *ResourceCreationStage) GetInfo() *StageInfo
func (*ResourceCreationStage) GetSteps ¶
func (x *ResourceCreationStage) GetSteps() []*ResourceCreationStep
func (*ResourceCreationStage) ProtoMessage ¶
func (*ResourceCreationStage) ProtoMessage()
func (*ResourceCreationStage) ProtoReflect ¶
func (x *ResourceCreationStage) ProtoReflect() protoreflect.Message
func (*ResourceCreationStage) Reset ¶
func (x *ResourceCreationStage) Reset()
func (*ResourceCreationStage) String ¶
func (x *ResourceCreationStage) String() string
type ResourceCreationStep ¶
type ResourceCreationStep struct { // Types that are assignable to Step: // // *ResourceCreationStep_Generic // *ResourceCreationStep_CreateResource Step isResourceCreationStep_Step `protobuf_oneof:"step"` // contains filtered or unexported fields }
A step of the resource creation stage.
func (*ResourceCreationStep) Descriptor
deprecated
func (*ResourceCreationStep) Descriptor() ([]byte, []int)
Deprecated: Use ResourceCreationStep.ProtoReflect.Descriptor instead.
func (*ResourceCreationStep) GetCreateResource ¶
func (x *ResourceCreationStep) GetCreateResource() *CreateResourceStep
func (*ResourceCreationStep) GetGeneric ¶
func (x *ResourceCreationStep) GetGeneric() *GenericStep
func (*ResourceCreationStep) GetStep ¶
func (m *ResourceCreationStep) GetStep() isResourceCreationStep_Step
func (*ResourceCreationStep) ProtoMessage ¶
func (*ResourceCreationStep) ProtoMessage()
func (*ResourceCreationStep) ProtoReflect ¶
func (x *ResourceCreationStep) ProtoReflect() protoreflect.Message
func (*ResourceCreationStep) Reset ¶
func (x *ResourceCreationStep) Reset()
func (*ResourceCreationStep) String ¶
func (x *ResourceCreationStep) String() string
type ResourceCreationStep_CreateResource ¶
type ResourceCreationStep_CreateResource struct { // A step creating a resource. CreateResource *CreateResourceStep `protobuf:"bytes,2,opt,name=create_resource,json=createResource,proto3,oneof"` }
type ResourceCreationStep_Generic ¶
type ResourceCreationStep_Generic struct { // A generic step. Generic *GenericStep `protobuf:"bytes,1,opt,name=generic,proto3,oneof"` }
type Result ¶
type Result int32
Different result of a rollout.
const ( // The result is unspecified. Result_RESULT_UNSPECIFIED Result = 0 // The rollout has been replaced. Result_RESULT_REPLACED Result = 1 // The rollout has failed. Result_RESULT_FAILED Result = 2 // The rollout has been aborted. Result_RESULT_ABORTED Result = 3 // The rollout has been rolled back. Result_RESULT_ROLLBACK Result = 4 )
func (Result) Descriptor ¶
func (Result) Descriptor() protoreflect.EnumDescriptor
func (Result) EnumDescriptor
deprecated
func (Result) Number ¶
func (x Result) Number() protoreflect.EnumNumber
func (Result) Type ¶
func (Result) Type() protoreflect.EnumType
type RunningStage ¶
type RunningStage struct { // Stage information. Info *StageInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // The steps of the stage. Steps []*RunningStep `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"` // contains filtered or unexported fields }
The running stage.
func (*RunningStage) Descriptor
deprecated
func (*RunningStage) Descriptor() ([]byte, []int)
Deprecated: Use RunningStage.ProtoReflect.Descriptor instead.
func (*RunningStage) GetInfo ¶
func (x *RunningStage) GetInfo() *StageInfo
func (*RunningStage) GetSteps ¶
func (x *RunningStage) GetSteps() []*RunningStep
func (*RunningStage) ProtoMessage ¶
func (*RunningStage) ProtoMessage()
func (*RunningStage) ProtoReflect ¶
func (x *RunningStage) ProtoReflect() protoreflect.Message
func (*RunningStage) Reset ¶
func (x *RunningStage) Reset()
func (*RunningStage) String ¶
func (x *RunningStage) String() string
type RunningStep ¶
type RunningStep struct { // Types that are assignable to Step: // // *RunningStep_Generic // *RunningStep_Instances Step isRunningStep_Step `protobuf_oneof:"step"` // contains filtered or unexported fields }
A step of the running stage.
func (*RunningStep) Descriptor
deprecated
func (*RunningStep) Descriptor() ([]byte, []int)
Deprecated: Use RunningStep.ProtoReflect.Descriptor instead.
func (*RunningStep) GetGeneric ¶
func (x *RunningStep) GetGeneric() *GenericStep
func (*RunningStep) GetInstances ¶
func (x *RunningStep) GetInstances() *InstancesStep
func (*RunningStep) GetStep ¶
func (m *RunningStep) GetStep() isRunningStep_Step
func (*RunningStep) ProtoMessage ¶
func (*RunningStep) ProtoMessage()
func (*RunningStep) ProtoReflect ¶
func (x *RunningStep) ProtoReflect() protoreflect.Message
func (*RunningStep) Reset ¶
func (x *RunningStep) Reset()
func (*RunningStep) String ¶
func (x *RunningStep) String() string
type RunningStep_Generic ¶
type RunningStep_Generic struct { // A generic step. Generic *GenericStep `protobuf:"bytes,1,opt,name=generic,proto3,oneof"` }
type RunningStep_Instances ¶
type RunningStep_Instances struct { // A step containing information on the instances of the rollout. Instances *InstancesStep `protobuf:"bytes,2,opt,name=instances,proto3,oneof"` }
type StageInfo ¶
type StageInfo struct { // Name of the stage. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The last time the stage was updated. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // The current state of the stage. State StageState `protobuf:"varint,3,opt,name=state,proto3,enum=api.v1.capsule.rollout.StageState" json:"state,omitempty"` // The time the stage started. StartedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // contains filtered or unexported fields }
Information about a stage of a rollout.
func (*StageInfo) Descriptor
deprecated
func (*StageInfo) GetStartedAt ¶
func (x *StageInfo) GetStartedAt() *timestamppb.Timestamp
func (*StageInfo) GetState ¶
func (x *StageInfo) GetState() StageState
func (*StageInfo) GetUpdatedAt ¶
func (x *StageInfo) GetUpdatedAt() *timestamppb.Timestamp
func (*StageInfo) ProtoMessage ¶
func (*StageInfo) ProtoMessage()
func (*StageInfo) ProtoReflect ¶
func (x *StageInfo) ProtoReflect() protoreflect.Message
type StageState ¶
type StageState int32
Different states a stage can be in.
const ( // The state is unspecified. StageState_STAGE_STATE_UNSPECIFIED StageState = 0 // The stage is deploying. StageState_STAGE_STATE_DEPLOYING StageState = 1 // The stage is running. StageState_STAGE_STATE_RUNNING StageState = 2 // The stage is stopped. StageState_STAGE_STATE_STOPPED StageState = 3 )
func (StageState) Descriptor ¶
func (StageState) Descriptor() protoreflect.EnumDescriptor
func (StageState) Enum ¶
func (x StageState) Enum() *StageState
func (StageState) EnumDescriptor
deprecated
func (StageState) EnumDescriptor() ([]byte, []int)
Deprecated: Use StageState.Descriptor instead.
func (StageState) Number ¶
func (x StageState) Number() protoreflect.EnumNumber
func (StageState) String ¶
func (x StageState) String() string
func (StageState) Type ¶
func (StageState) Type() protoreflect.EnumType
type Stages ¶
type Stages struct { // The configure stage. Configure *ConfigureStage `protobuf:"bytes,1,opt,name=configure,proto3" json:"configure,omitempty"` // The resource creation stage. ResourceCreation *ResourceCreationStage `protobuf:"bytes,2,opt,name=resource_creation,json=resourceCreation,proto3" json:"resource_creation,omitempty"` // The running stage. Running *RunningStage `protobuf:"bytes,3,opt,name=running,proto3" json:"running,omitempty"` // contains filtered or unexported fields }
The three stages of a rollout
func (*Stages) Descriptor
deprecated
func (*Stages) GetConfigure ¶
func (x *Stages) GetConfigure() *ConfigureStage
func (*Stages) GetResourceCreation ¶
func (x *Stages) GetResourceCreation() *ResourceCreationStage
func (*Stages) GetRunning ¶
func (x *Stages) GetRunning() *RunningStage
func (*Stages) ProtoMessage ¶
func (*Stages) ProtoMessage()
func (*Stages) ProtoReflect ¶
func (x *Stages) ProtoReflect() protoreflect.Message
type State ¶
type State int32
Different states a rollout can be in.
const ( // The state is unspecified. State_STATE_UNSPECIFIED State = 0 // The rollout is preparing. State_STATE_PREPARING State = 1 // The rollout is configuring. State_STATE_CONFIGURE State = 2 // The rollout is creating resources. State_STATE_RESOURCE_CREATION State = 3 // The rollout is running. State_STATE_RUNNING State = 4 // The rollout is stopped. State_STATE_STOPPED State = 5 )
func (State) Descriptor ¶
func (State) Descriptor() protoreflect.EnumDescriptor
func (State) EnumDescriptor
deprecated
func (State) Number ¶
func (x State) Number() protoreflect.EnumNumber
func (State) Type ¶
func (State) Type() protoreflect.EnumType
type Status ¶
type Status struct { // The ID of the rollout. RolloutId uint64 `protobuf:"varint,1,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"` // The current state of the rollout. State State `protobuf:"varint,2,opt,name=state,proto3,enum=api.v1.capsule.rollout.State" json:"state,omitempty"` // The stages of the rollout. Stages *Stages `protobuf:"bytes,3,opt,name=stages,proto3" json:"stages,omitempty"` // The last time the rollout was updated. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // The result of the rollout. Result Result `protobuf:"varint,5,opt,name=result,proto3,enum=api.v1.capsule.rollout.Result" json:"result,omitempty"` // contains filtered or unexported fields }
Status is a representation of the current state of a rollout.
func (*Status) Descriptor
deprecated
func (*Status) GetRolloutId ¶
func (*Status) GetUpdatedAt ¶
func (x *Status) GetUpdatedAt() *timestamppb.Timestamp
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type StepInfo ¶
type StepInfo struct { // Name of the step. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Messages in the step. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // The last time the step was updated. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // The current state of the step. State StepState `protobuf:"varint,4,opt,name=state,proto3,enum=api.v1.capsule.rollout.StepState" json:"state,omitempty"` // The time the step started. StartedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // contains filtered or unexported fields }
Information about a step of a stage.
func (*StepInfo) Descriptor
deprecated
func (*StepInfo) GetMessage ¶
func (*StepInfo) GetStartedAt ¶
func (x *StepInfo) GetStartedAt() *timestamppb.Timestamp
func (*StepInfo) GetUpdatedAt ¶
func (x *StepInfo) GetUpdatedAt() *timestamppb.Timestamp
func (*StepInfo) ProtoMessage ¶
func (*StepInfo) ProtoMessage()
func (*StepInfo) ProtoReflect ¶
func (x *StepInfo) ProtoReflect() protoreflect.Message
type StepState ¶
type StepState int32
Different states a step can be in.
func (StepState) Descriptor ¶
func (StepState) Descriptor() protoreflect.EnumDescriptor
func (StepState) EnumDescriptor
deprecated
func (StepState) Number ¶
func (x StepState) Number() protoreflect.EnumNumber
func (StepState) Type ¶
func (StepState) Type() protoreflect.EnumType