Documentation ¶
Index ¶
- Variables
- type CanaryProgress
- func (*CanaryProgress) Descriptor() ([]byte, []int)deprecated
- func (x *CanaryProgress) GetCanaryWeight() int32
- func (x *CanaryProgress) GetDuration() *durationpb.Duration
- func (*CanaryProgress) ProtoMessage()
- func (x *CanaryProgress) ProtoReflect() protoreflect.Message
- func (x *CanaryProgress) Reset()
- func (x *CanaryProgress) String() string
- func (m *CanaryProgress) Validate() error
- func (m *CanaryProgress) ValidateAll() error
- type CanaryProgressMultiError
- type CanaryProgressValidationError
- func (e CanaryProgressValidationError) Cause() error
- func (e CanaryProgressValidationError) Error() string
- func (e CanaryProgressValidationError) ErrorName() string
- func (e CanaryProgressValidationError) Field() string
- func (e CanaryProgressValidationError) Key() bool
- func (e CanaryProgressValidationError) Reason() string
- type DeliveryConfig
- func (*DeliveryConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DeliveryConfig) GetAnalysisTemplates() []string
- func (x *DeliveryConfig) GetCanaryProgress() []*CanaryProgress
- func (*DeliveryConfig) ProtoMessage()
- func (x *DeliveryConfig) ProtoReflect() protoreflect.Message
- func (x *DeliveryConfig) Reset()
- func (x *DeliveryConfig) String() string
- func (m *DeliveryConfig) Validate() error
- func (m *DeliveryConfig) ValidateAll() error
- type DeliveryConfigMultiError
- type DeliveryConfigValidationError
- func (e DeliveryConfigValidationError) Cause() error
- func (e DeliveryConfigValidationError) Error() string
- func (e DeliveryConfigValidationError) ErrorName() string
- func (e DeliveryConfigValidationError) Field() string
- func (e DeliveryConfigValidationError) Key() bool
- func (e DeliveryConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_prodvana_delivery_delivery_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CanaryProgress ¶
type CanaryProgress struct { // weight to advance canary to, percentage 0-100 CanaryWeight int32 `protobuf:"varint,1,opt,name=canary_weight,json=canaryWeight,proto3" json:"canary_weight,omitempty"` // duration to pause at this weight before advancing Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*CanaryProgress) Descriptor
deprecated
func (*CanaryProgress) Descriptor() ([]byte, []int)
Deprecated: Use CanaryProgress.ProtoReflect.Descriptor instead.
func (*CanaryProgress) GetCanaryWeight ¶
func (x *CanaryProgress) GetCanaryWeight() int32
func (*CanaryProgress) GetDuration ¶
func (x *CanaryProgress) GetDuration() *durationpb.Duration
func (*CanaryProgress) ProtoMessage ¶
func (*CanaryProgress) ProtoMessage()
func (*CanaryProgress) ProtoReflect ¶
func (x *CanaryProgress) ProtoReflect() protoreflect.Message
func (*CanaryProgress) Reset ¶
func (x *CanaryProgress) Reset()
func (*CanaryProgress) String ¶
func (x *CanaryProgress) String() string
func (*CanaryProgress) Validate ¶
func (m *CanaryProgress) Validate() error
Validate checks the field values on CanaryProgress 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 (*CanaryProgress) ValidateAll ¶
func (m *CanaryProgress) ValidateAll() error
ValidateAll checks the field values on CanaryProgress 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 CanaryProgressMultiError, or nil if none found.
type CanaryProgressMultiError ¶
type CanaryProgressMultiError []error
CanaryProgressMultiError is an error wrapping multiple validation errors returned by CanaryProgress.ValidateAll() if the designated constraints aren't met.
func (CanaryProgressMultiError) AllErrors ¶
func (m CanaryProgressMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CanaryProgressMultiError) Error ¶
func (m CanaryProgressMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CanaryProgressValidationError ¶
type CanaryProgressValidationError struct {
// contains filtered or unexported fields
}
CanaryProgressValidationError is the validation error returned by CanaryProgress.Validate if the designated constraints aren't met.
func (CanaryProgressValidationError) Cause ¶
func (e CanaryProgressValidationError) Cause() error
Cause function returns cause value.
func (CanaryProgressValidationError) Error ¶
func (e CanaryProgressValidationError) Error() string
Error satisfies the builtin error interface
func (CanaryProgressValidationError) ErrorName ¶
func (e CanaryProgressValidationError) ErrorName() string
ErrorName returns error name.
func (CanaryProgressValidationError) Field ¶
func (e CanaryProgressValidationError) Field() string
Field function returns field value.
func (CanaryProgressValidationError) Key ¶
func (e CanaryProgressValidationError) Key() bool
Key function returns key value.
func (CanaryProgressValidationError) Reason ¶
func (e CanaryProgressValidationError) Reason() string
Reason function returns reason value.
type DeliveryConfig ¶
type DeliveryConfig struct { // progression of canary as delivery occurs CanaryProgress []*CanaryProgress `protobuf:"bytes,1,rep,name=canary_progress,json=canaryProgress,proto3" json:"canary_progress,omitempty"` AnalysisTemplates []string `protobuf:"bytes,2,rep,name=analysis_templates,json=analysisTemplates,proto3" json:"analysis_templates,omitempty"` // contains filtered or unexported fields }
func (*DeliveryConfig) Descriptor
deprecated
func (*DeliveryConfig) Descriptor() ([]byte, []int)
Deprecated: Use DeliveryConfig.ProtoReflect.Descriptor instead.
func (*DeliveryConfig) GetAnalysisTemplates ¶
func (x *DeliveryConfig) GetAnalysisTemplates() []string
func (*DeliveryConfig) GetCanaryProgress ¶
func (x *DeliveryConfig) GetCanaryProgress() []*CanaryProgress
func (*DeliveryConfig) ProtoMessage ¶
func (*DeliveryConfig) ProtoMessage()
func (*DeliveryConfig) ProtoReflect ¶
func (x *DeliveryConfig) ProtoReflect() protoreflect.Message
func (*DeliveryConfig) Reset ¶
func (x *DeliveryConfig) Reset()
func (*DeliveryConfig) String ¶
func (x *DeliveryConfig) String() string
func (*DeliveryConfig) Validate ¶
func (m *DeliveryConfig) Validate() error
Validate checks the field values on DeliveryConfig 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 (*DeliveryConfig) ValidateAll ¶
func (m *DeliveryConfig) ValidateAll() error
ValidateAll checks the field values on DeliveryConfig 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 DeliveryConfigMultiError, or nil if none found.
type DeliveryConfigMultiError ¶
type DeliveryConfigMultiError []error
DeliveryConfigMultiError is an error wrapping multiple validation errors returned by DeliveryConfig.ValidateAll() if the designated constraints aren't met.
func (DeliveryConfigMultiError) AllErrors ¶
func (m DeliveryConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeliveryConfigMultiError) Error ¶
func (m DeliveryConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeliveryConfigValidationError ¶
type DeliveryConfigValidationError struct {
// contains filtered or unexported fields
}
DeliveryConfigValidationError is the validation error returned by DeliveryConfig.Validate if the designated constraints aren't met.
func (DeliveryConfigValidationError) Cause ¶
func (e DeliveryConfigValidationError) Cause() error
Cause function returns cause value.
func (DeliveryConfigValidationError) Error ¶
func (e DeliveryConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DeliveryConfigValidationError) ErrorName ¶
func (e DeliveryConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DeliveryConfigValidationError) Field ¶
func (e DeliveryConfigValidationError) Field() string
Field function returns field value.
func (DeliveryConfigValidationError) Key ¶
func (e DeliveryConfigValidationError) Key() bool
Key function returns key value.
func (DeliveryConfigValidationError) Reason ¶
func (e DeliveryConfigValidationError) Reason() string
Reason function returns reason value.