Documentation ¶
Index ¶
- Variables
- type MaestroConfig
- func (*MaestroConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MaestroConfig) GetStrategy() Strategy
- func (*MaestroConfig) ProtoMessage()
- func (x *MaestroConfig) ProtoReflect() protoreflect.Message
- func (x *MaestroConfig) Reset()
- func (x *MaestroConfig) String() string
- func (m *MaestroConfig) Validate() error
- func (m *MaestroConfig) ValidateAll() error
- type MaestroConfigMultiError
- type MaestroConfigValidationError
- func (e MaestroConfigValidationError) Cause() error
- func (e MaestroConfigValidationError) Error() string
- func (e MaestroConfigValidationError) ErrorName() string
- func (e MaestroConfigValidationError) Field() string
- func (e MaestroConfigValidationError) Key() bool
- func (e MaestroConfigValidationError) Reason() string
- type MaestroRelease
- func (*MaestroRelease) Descriptor() ([]byte, []int)deprecated
- func (x *MaestroRelease) GetConfig() *MaestroReleaseConfig
- func (x *MaestroRelease) GetMeta() *object.ObjectMeta
- func (x *MaestroRelease) GetState() *MaestroReleaseState
- func (*MaestroRelease) ProtoMessage()
- func (x *MaestroRelease) ProtoReflect() protoreflect.Message
- func (x *MaestroRelease) Reset()
- func (x *MaestroRelease) String() string
- func (m *MaestroRelease) Validate() error
- func (m *MaestroRelease) ValidateAll() error
- type MaestroReleaseChannelState
- func (*MaestroReleaseChannelState) Descriptor() ([]byte, []int)deprecated
- func (x *MaestroReleaseChannelState) GetDesiredStateId() string
- func (x *MaestroReleaseChannelState) GetEntityId() string
- func (x *MaestroReleaseChannelState) GetStatus() Status
- func (*MaestroReleaseChannelState) ProtoMessage()
- func (x *MaestroReleaseChannelState) ProtoReflect() protoreflect.Message
- func (x *MaestroReleaseChannelState) Reset()
- func (x *MaestroReleaseChannelState) String() string
- func (m *MaestroReleaseChannelState) Validate() error
- func (m *MaestroReleaseChannelState) ValidateAll() error
- type MaestroReleaseChannelStateMultiError
- type MaestroReleaseChannelStateValidationError
- func (e MaestroReleaseChannelStateValidationError) Cause() error
- func (e MaestroReleaseChannelStateValidationError) Error() string
- func (e MaestroReleaseChannelStateValidationError) ErrorName() string
- func (e MaestroReleaseChannelStateValidationError) Field() string
- func (e MaestroReleaseChannelStateValidationError) Key() bool
- func (e MaestroReleaseChannelStateValidationError) Reason() string
- type MaestroReleaseConfig
- func (*MaestroReleaseConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MaestroReleaseConfig) GetCompiledDesiredState() *model.State
- func (x *MaestroReleaseConfig) GetCreationTimestamp() *timestamppb.Timestamp
- func (x *MaestroReleaseConfig) GetEntityId() *model.Identifier
- func (x *MaestroReleaseConfig) GetInputDesiredState() *model.State
- func (x *MaestroReleaseConfig) GetMaestroConfig() *MaestroConfig
- func (x *MaestroReleaseConfig) GetSetDesiredStateMetadata() *model.SetDesiredStateMetadata
- func (*MaestroReleaseConfig) ProtoMessage()
- func (x *MaestroReleaseConfig) ProtoReflect() protoreflect.Message
- func (x *MaestroReleaseConfig) Reset()
- func (x *MaestroReleaseConfig) String() string
- func (m *MaestroReleaseConfig) Validate() error
- func (m *MaestroReleaseConfig) ValidateAll() error
- type MaestroReleaseConfigMultiError
- type MaestroReleaseConfigValidationError
- func (e MaestroReleaseConfigValidationError) Cause() error
- func (e MaestroReleaseConfigValidationError) Error() string
- func (e MaestroReleaseConfigValidationError) ErrorName() string
- func (e MaestroReleaseConfigValidationError) Field() string
- func (e MaestroReleaseConfigValidationError) Key() bool
- func (e MaestroReleaseConfigValidationError) Reason() string
- type MaestroReleaseMultiError
- type MaestroReleaseState
- func (*MaestroReleaseState) Descriptor() ([]byte, []int)deprecated
- func (x *MaestroReleaseState) GetLastUpdateTimestamp() *timestamppb.Timestamp
- func (x *MaestroReleaseState) GetReleaseChannelStates() map[string]*MaestroReleaseChannelState
- func (x *MaestroReleaseState) GetReleaseChannelStatuses() map[string]Status
- func (x *MaestroReleaseState) GetStatus() Status
- func (*MaestroReleaseState) ProtoMessage()
- func (x *MaestroReleaseState) ProtoReflect() protoreflect.Message
- func (x *MaestroReleaseState) Reset()
- func (x *MaestroReleaseState) String() string
- func (m *MaestroReleaseState) Validate() error
- func (m *MaestroReleaseState) ValidateAll() error
- type MaestroReleaseStateMultiError
- type MaestroReleaseStateValidationError
- func (e MaestroReleaseStateValidationError) Cause() error
- func (e MaestroReleaseStateValidationError) Error() string
- func (e MaestroReleaseStateValidationError) ErrorName() string
- func (e MaestroReleaseStateValidationError) Field() string
- func (e MaestroReleaseStateValidationError) Key() bool
- func (e MaestroReleaseStateValidationError) Reason() string
- type MaestroReleaseValidationError
- func (e MaestroReleaseValidationError) Cause() error
- func (e MaestroReleaseValidationError) Error() string
- func (e MaestroReleaseValidationError) ErrorName() string
- func (e MaestroReleaseValidationError) Field() string
- func (e MaestroReleaseValidationError) Key() bool
- func (e MaestroReleaseValidationError) Reason() string
- type Status
- type Strategy
Constants ¶
This section is empty.
Variables ¶
var ( Status_name = map[int32]string{ 0: "UNKNOWN_STATUS", 1: "PENDING", 2: "IN_PROGRESS", 3: "SUCCEEDED", 4: "FAILED", 5: "SKIPPED", } Status_value = map[string]int32{ "UNKNOWN_STATUS": 0, "PENDING": 1, "IN_PROGRESS": 2, "SUCCEEDED": 3, "FAILED": 4, "SKIPPED": 5, } )
Enum value maps for Status.
var ( Strategy_name = map[int32]string{ 0: "UNKNOWN_STRATEGY", 2: "RELEASE_TRAIN", 3: "MAESTRO_DISABLED", 4: "IMMEDIATE", } Strategy_value = map[string]int32{ "UNKNOWN_STRATEGY": 0, "RELEASE_TRAIN": 2, "MAESTRO_DISABLED": 3, "IMMEDIATE": 4, } )
Enum value maps for Strategy.
var File_prodvana_desired_state_maestro_maestro_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MaestroConfig ¶
type MaestroConfig struct { Strategy Strategy `protobuf:"varint,1,opt,name=strategy,proto3,enum=prodvana.desired_state.maestro.Strategy" json:"strategy,omitempty"` // contains filtered or unexported fields }
func (*MaestroConfig) Descriptor
deprecated
func (*MaestroConfig) Descriptor() ([]byte, []int)
Deprecated: Use MaestroConfig.ProtoReflect.Descriptor instead.
func (*MaestroConfig) GetStrategy ¶
func (x *MaestroConfig) GetStrategy() Strategy
func (*MaestroConfig) ProtoMessage ¶
func (*MaestroConfig) ProtoMessage()
func (*MaestroConfig) ProtoReflect ¶
func (x *MaestroConfig) ProtoReflect() protoreflect.Message
func (*MaestroConfig) Reset ¶
func (x *MaestroConfig) Reset()
func (*MaestroConfig) String ¶
func (x *MaestroConfig) String() string
func (*MaestroConfig) Validate ¶
func (m *MaestroConfig) Validate() error
Validate checks the field values on MaestroConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MaestroConfig) ValidateAll ¶
func (m *MaestroConfig) ValidateAll() error
ValidateAll checks the field values on MaestroConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MaestroConfigMultiError, or nil if none found.
type MaestroConfigMultiError ¶
type MaestroConfigMultiError []error
MaestroConfigMultiError is an error wrapping multiple validation errors returned by MaestroConfig.ValidateAll() if the designated constraints aren't met.
func (MaestroConfigMultiError) AllErrors ¶
func (m MaestroConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MaestroConfigMultiError) Error ¶
func (m MaestroConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MaestroConfigValidationError ¶
type MaestroConfigValidationError struct {
// contains filtered or unexported fields
}
MaestroConfigValidationError is the validation error returned by MaestroConfig.Validate if the designated constraints aren't met.
func (MaestroConfigValidationError) Cause ¶
func (e MaestroConfigValidationError) Cause() error
Cause function returns cause value.
func (MaestroConfigValidationError) Error ¶
func (e MaestroConfigValidationError) Error() string
Error satisfies the builtin error interface
func (MaestroConfigValidationError) ErrorName ¶
func (e MaestroConfigValidationError) ErrorName() string
ErrorName returns error name.
func (MaestroConfigValidationError) Field ¶
func (e MaestroConfigValidationError) Field() string
Field function returns field value.
func (MaestroConfigValidationError) Key ¶
func (e MaestroConfigValidationError) Key() bool
Key function returns key value.
func (MaestroConfigValidationError) Reason ¶
func (e MaestroConfigValidationError) Reason() string
Reason function returns reason value.
type MaestroRelease ¶
type MaestroRelease struct { Meta *object.ObjectMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Config *MaestroReleaseConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` State *MaestroReleaseState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*MaestroRelease) Descriptor
deprecated
func (*MaestroRelease) Descriptor() ([]byte, []int)
Deprecated: Use MaestroRelease.ProtoReflect.Descriptor instead.
func (*MaestroRelease) GetConfig ¶
func (x *MaestroRelease) GetConfig() *MaestroReleaseConfig
func (*MaestroRelease) GetMeta ¶
func (x *MaestroRelease) GetMeta() *object.ObjectMeta
func (*MaestroRelease) GetState ¶
func (x *MaestroRelease) GetState() *MaestroReleaseState
func (*MaestroRelease) ProtoMessage ¶
func (*MaestroRelease) ProtoMessage()
func (*MaestroRelease) ProtoReflect ¶
func (x *MaestroRelease) ProtoReflect() protoreflect.Message
func (*MaestroRelease) Reset ¶
func (x *MaestroRelease) Reset()
func (*MaestroRelease) String ¶
func (x *MaestroRelease) String() string
func (*MaestroRelease) Validate ¶
func (m *MaestroRelease) Validate() error
Validate checks the field values on MaestroRelease with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MaestroRelease) ValidateAll ¶
func (m *MaestroRelease) ValidateAll() error
ValidateAll checks the field values on MaestroRelease with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MaestroReleaseMultiError, or nil if none found.
type MaestroReleaseChannelState ¶ added in v0.3.18
type MaestroReleaseChannelState struct { Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=prodvana.desired_state.maestro.Status" json:"status,omitempty"` DesiredStateId string `protobuf:"bytes,2,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"` EntityId string `protobuf:"bytes,3,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` // contains filtered or unexported fields }
func (*MaestroReleaseChannelState) Descriptor
deprecated
added in
v0.3.18
func (*MaestroReleaseChannelState) Descriptor() ([]byte, []int)
Deprecated: Use MaestroReleaseChannelState.ProtoReflect.Descriptor instead.
func (*MaestroReleaseChannelState) GetDesiredStateId ¶ added in v0.3.18
func (x *MaestroReleaseChannelState) GetDesiredStateId() string
func (*MaestroReleaseChannelState) GetEntityId ¶ added in v0.3.18
func (x *MaestroReleaseChannelState) GetEntityId() string
func (*MaestroReleaseChannelState) GetStatus ¶ added in v0.3.18
func (x *MaestroReleaseChannelState) GetStatus() Status
func (*MaestroReleaseChannelState) ProtoMessage ¶ added in v0.3.18
func (*MaestroReleaseChannelState) ProtoMessage()
func (*MaestroReleaseChannelState) ProtoReflect ¶ added in v0.3.18
func (x *MaestroReleaseChannelState) ProtoReflect() protoreflect.Message
func (*MaestroReleaseChannelState) Reset ¶ added in v0.3.18
func (x *MaestroReleaseChannelState) Reset()
func (*MaestroReleaseChannelState) String ¶ added in v0.3.18
func (x *MaestroReleaseChannelState) String() string
func (*MaestroReleaseChannelState) Validate ¶ added in v0.3.18
func (m *MaestroReleaseChannelState) Validate() error
Validate checks the field values on MaestroReleaseChannelState with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MaestroReleaseChannelState) ValidateAll ¶ added in v0.3.18
func (m *MaestroReleaseChannelState) ValidateAll() error
ValidateAll checks the field values on MaestroReleaseChannelState with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MaestroReleaseChannelStateMultiError, or nil if none found.
type MaestroReleaseChannelStateMultiError ¶ added in v0.3.18
type MaestroReleaseChannelStateMultiError []error
MaestroReleaseChannelStateMultiError is an error wrapping multiple validation errors returned by MaestroReleaseChannelState.ValidateAll() if the designated constraints aren't met.
func (MaestroReleaseChannelStateMultiError) AllErrors ¶ added in v0.3.18
func (m MaestroReleaseChannelStateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MaestroReleaseChannelStateMultiError) Error ¶ added in v0.3.18
func (m MaestroReleaseChannelStateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MaestroReleaseChannelStateValidationError ¶ added in v0.3.18
type MaestroReleaseChannelStateValidationError struct {
// contains filtered or unexported fields
}
MaestroReleaseChannelStateValidationError is the validation error returned by MaestroReleaseChannelState.Validate if the designated constraints aren't met.
func (MaestroReleaseChannelStateValidationError) Cause ¶ added in v0.3.18
func (e MaestroReleaseChannelStateValidationError) Cause() error
Cause function returns cause value.
func (MaestroReleaseChannelStateValidationError) Error ¶ added in v0.3.18
func (e MaestroReleaseChannelStateValidationError) Error() string
Error satisfies the builtin error interface
func (MaestroReleaseChannelStateValidationError) ErrorName ¶ added in v0.3.18
func (e MaestroReleaseChannelStateValidationError) ErrorName() string
ErrorName returns error name.
func (MaestroReleaseChannelStateValidationError) Field ¶ added in v0.3.18
func (e MaestroReleaseChannelStateValidationError) Field() string
Field function returns field value.
func (MaestroReleaseChannelStateValidationError) Key ¶ added in v0.3.18
func (e MaestroReleaseChannelStateValidationError) Key() bool
Key function returns key value.
func (MaestroReleaseChannelStateValidationError) Reason ¶ added in v0.3.18
func (e MaestroReleaseChannelStateValidationError) Reason() string
Reason function returns reason value.
type MaestroReleaseConfig ¶
type MaestroReleaseConfig struct { EntityId *model.Identifier `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` MaestroConfig *MaestroConfig `protobuf:"bytes,2,opt,name=maestro_config,json=maestroConfig,proto3" json:"maestro_config,omitempty"` InputDesiredState *model.State `protobuf:"bytes,5,opt,name=input_desired_state,json=inputDesiredState,proto3" json:"input_desired_state,omitempty"` CompiledDesiredState *model.State `protobuf:"bytes,3,opt,name=compiled_desired_state,json=compiledDesiredState,proto3" json:"compiled_desired_state,omitempty"` CreationTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp,omitempty"` SetDesiredStateMetadata *model.SetDesiredStateMetadata `` // next tag: 7 /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MaestroReleaseConfig) Descriptor
deprecated
func (*MaestroReleaseConfig) Descriptor() ([]byte, []int)
Deprecated: Use MaestroReleaseConfig.ProtoReflect.Descriptor instead.
func (*MaestroReleaseConfig) GetCompiledDesiredState ¶ added in v0.3.12
func (x *MaestroReleaseConfig) GetCompiledDesiredState() *model.State
func (*MaestroReleaseConfig) GetCreationTimestamp ¶
func (x *MaestroReleaseConfig) GetCreationTimestamp() *timestamppb.Timestamp
func (*MaestroReleaseConfig) GetEntityId ¶
func (x *MaestroReleaseConfig) GetEntityId() *model.Identifier
func (*MaestroReleaseConfig) GetInputDesiredState ¶ added in v0.3.12
func (x *MaestroReleaseConfig) GetInputDesiredState() *model.State
func (*MaestroReleaseConfig) GetMaestroConfig ¶
func (x *MaestroReleaseConfig) GetMaestroConfig() *MaestroConfig
func (*MaestroReleaseConfig) GetSetDesiredStateMetadata ¶ added in v0.3.12
func (x *MaestroReleaseConfig) GetSetDesiredStateMetadata() *model.SetDesiredStateMetadata
func (*MaestroReleaseConfig) ProtoMessage ¶
func (*MaestroReleaseConfig) ProtoMessage()
func (*MaestroReleaseConfig) ProtoReflect ¶
func (x *MaestroReleaseConfig) ProtoReflect() protoreflect.Message
func (*MaestroReleaseConfig) Reset ¶
func (x *MaestroReleaseConfig) Reset()
func (*MaestroReleaseConfig) String ¶
func (x *MaestroReleaseConfig) String() string
func (*MaestroReleaseConfig) Validate ¶
func (m *MaestroReleaseConfig) Validate() error
Validate checks the field values on MaestroReleaseConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MaestroReleaseConfig) ValidateAll ¶
func (m *MaestroReleaseConfig) ValidateAll() error
ValidateAll checks the field values on MaestroReleaseConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MaestroReleaseConfigMultiError, or nil if none found.
type MaestroReleaseConfigMultiError ¶
type MaestroReleaseConfigMultiError []error
MaestroReleaseConfigMultiError is an error wrapping multiple validation errors returned by MaestroReleaseConfig.ValidateAll() if the designated constraints aren't met.
func (MaestroReleaseConfigMultiError) AllErrors ¶
func (m MaestroReleaseConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MaestroReleaseConfigMultiError) Error ¶
func (m MaestroReleaseConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MaestroReleaseConfigValidationError ¶
type MaestroReleaseConfigValidationError struct {
// contains filtered or unexported fields
}
MaestroReleaseConfigValidationError is the validation error returned by MaestroReleaseConfig.Validate if the designated constraints aren't met.
func (MaestroReleaseConfigValidationError) Cause ¶
func (e MaestroReleaseConfigValidationError) Cause() error
Cause function returns cause value.
func (MaestroReleaseConfigValidationError) Error ¶
func (e MaestroReleaseConfigValidationError) Error() string
Error satisfies the builtin error interface
func (MaestroReleaseConfigValidationError) ErrorName ¶
func (e MaestroReleaseConfigValidationError) ErrorName() string
ErrorName returns error name.
func (MaestroReleaseConfigValidationError) Field ¶
func (e MaestroReleaseConfigValidationError) Field() string
Field function returns field value.
func (MaestroReleaseConfigValidationError) Key ¶
func (e MaestroReleaseConfigValidationError) Key() bool
Key function returns key value.
func (MaestroReleaseConfigValidationError) Reason ¶
func (e MaestroReleaseConfigValidationError) Reason() string
Reason function returns reason value.
type MaestroReleaseMultiError ¶
type MaestroReleaseMultiError []error
MaestroReleaseMultiError is an error wrapping multiple validation errors returned by MaestroRelease.ValidateAll() if the designated constraints aren't met.
func (MaestroReleaseMultiError) AllErrors ¶
func (m MaestroReleaseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MaestroReleaseMultiError) Error ¶
func (m MaestroReleaseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MaestroReleaseState ¶
type MaestroReleaseState struct { Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=prodvana.desired_state.maestro.Status" json:"status,omitempty"` LastUpdateTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_update_timestamp,json=lastUpdateTimestamp,proto3" json:"last_update_timestamp,omitempty"` ReleaseChannelStatuses map[string]Status `` // status by release channel id. Use release_channel_states instead. /* 261-byte string literal not displayed */ ReleaseChannelStates map[string]*MaestroReleaseChannelState `` /* 211-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MaestroReleaseState) Descriptor
deprecated
func (*MaestroReleaseState) Descriptor() ([]byte, []int)
Deprecated: Use MaestroReleaseState.ProtoReflect.Descriptor instead.
func (*MaestroReleaseState) GetLastUpdateTimestamp ¶
func (x *MaestroReleaseState) GetLastUpdateTimestamp() *timestamppb.Timestamp
func (*MaestroReleaseState) GetReleaseChannelStates ¶ added in v0.3.18
func (x *MaestroReleaseState) GetReleaseChannelStates() map[string]*MaestroReleaseChannelState
func (*MaestroReleaseState) GetReleaseChannelStatuses ¶
func (x *MaestroReleaseState) GetReleaseChannelStatuses() map[string]Status
func (*MaestroReleaseState) GetStatus ¶
func (x *MaestroReleaseState) GetStatus() Status
func (*MaestroReleaseState) ProtoMessage ¶
func (*MaestroReleaseState) ProtoMessage()
func (*MaestroReleaseState) ProtoReflect ¶
func (x *MaestroReleaseState) ProtoReflect() protoreflect.Message
func (*MaestroReleaseState) Reset ¶
func (x *MaestroReleaseState) Reset()
func (*MaestroReleaseState) String ¶
func (x *MaestroReleaseState) String() string
func (*MaestroReleaseState) Validate ¶
func (m *MaestroReleaseState) Validate() error
Validate checks the field values on MaestroReleaseState with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MaestroReleaseState) ValidateAll ¶
func (m *MaestroReleaseState) ValidateAll() error
ValidateAll checks the field values on MaestroReleaseState with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MaestroReleaseStateMultiError, or nil if none found.
type MaestroReleaseStateMultiError ¶
type MaestroReleaseStateMultiError []error
MaestroReleaseStateMultiError is an error wrapping multiple validation errors returned by MaestroReleaseState.ValidateAll() if the designated constraints aren't met.
func (MaestroReleaseStateMultiError) AllErrors ¶
func (m MaestroReleaseStateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MaestroReleaseStateMultiError) Error ¶
func (m MaestroReleaseStateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MaestroReleaseStateValidationError ¶
type MaestroReleaseStateValidationError struct {
// contains filtered or unexported fields
}
MaestroReleaseStateValidationError is the validation error returned by MaestroReleaseState.Validate if the designated constraints aren't met.
func (MaestroReleaseStateValidationError) Cause ¶
func (e MaestroReleaseStateValidationError) Cause() error
Cause function returns cause value.
func (MaestroReleaseStateValidationError) Error ¶
func (e MaestroReleaseStateValidationError) Error() string
Error satisfies the builtin error interface
func (MaestroReleaseStateValidationError) ErrorName ¶
func (e MaestroReleaseStateValidationError) ErrorName() string
ErrorName returns error name.
func (MaestroReleaseStateValidationError) Field ¶
func (e MaestroReleaseStateValidationError) Field() string
Field function returns field value.
func (MaestroReleaseStateValidationError) Key ¶
func (e MaestroReleaseStateValidationError) Key() bool
Key function returns key value.
func (MaestroReleaseStateValidationError) Reason ¶
func (e MaestroReleaseStateValidationError) Reason() string
Reason function returns reason value.
type MaestroReleaseValidationError ¶
type MaestroReleaseValidationError struct {
// contains filtered or unexported fields
}
MaestroReleaseValidationError is the validation error returned by MaestroRelease.Validate if the designated constraints aren't met.
func (MaestroReleaseValidationError) Cause ¶
func (e MaestroReleaseValidationError) Cause() error
Cause function returns cause value.
func (MaestroReleaseValidationError) Error ¶
func (e MaestroReleaseValidationError) Error() string
Error satisfies the builtin error interface
func (MaestroReleaseValidationError) ErrorName ¶
func (e MaestroReleaseValidationError) ErrorName() string
ErrorName returns error name.
func (MaestroReleaseValidationError) Field ¶
func (e MaestroReleaseValidationError) Field() string
Field function returns field value.
func (MaestroReleaseValidationError) Key ¶
func (e MaestroReleaseValidationError) Key() bool
Key function returns key value.
func (MaestroReleaseValidationError) Reason ¶
func (e MaestroReleaseValidationError) Reason() string
Reason function returns reason value.
type Status ¶
type Status int32
const ( Status_UNKNOWN_STATUS Status = 0 // Pending means this train entry has never been started and is waiting for dependencies to be met. Status_PENDING Status = 1 // Dependencies have been met and this train entry has been promoted. Status_IN_PROGRESS Status = 2 // Successfully converged. Status_SUCCEEDED Status = 3 // Promoted but failed to converge. Status_FAILED Status = 4 // This train entry was skipped - any dependencies on this entry can proceed. Status_SKIPPED Status = 5 )
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type Strategy ¶
type Strategy int32
func (Strategy) Descriptor ¶
func (Strategy) Descriptor() protoreflect.EnumDescriptor
func (Strategy) EnumDescriptor
deprecated
func (Strategy) Number ¶
func (x Strategy) Number() protoreflect.EnumNumber
func (Strategy) Type ¶
func (Strategy) Type() protoreflect.EnumType