Documentation ¶
Index ¶
- Variables
- type CustomTask
- func (*CustomTask) Descriptor() ([]byte, []int)deprecated
- func (x *CustomTask) GetApplication() string
- func (x *CustomTask) GetApplicationId() string
- func (x *CustomTask) GetDescription() string
- func (x *CustomTask) GetFinalCompiledProgram() bool
- func (x *CustomTask) GetProgram() *common_config.ProgramConfig
- func (x *CustomTask) GetReleaseChannel() string
- func (x *CustomTask) GetReleaseChannelId() string
- func (x *CustomTask) GetRetryConfig() *common_config.RetryConfig
- func (*CustomTask) ProtoMessage()
- func (x *CustomTask) ProtoReflect() protoreflect.Message
- func (x *CustomTask) Reset()
- func (x *CustomTask) String() string
- func (m *CustomTask) Validate() error
- func (m *CustomTask) ValidateAll() error
- type CustomTaskMultiError
- type CustomTaskValidationError
- type ManualApprovalTask
- func (*ManualApprovalTask) Descriptor() ([]byte, []int)deprecated
- func (*ManualApprovalTask) ProtoMessage()
- func (x *ManualApprovalTask) ProtoReflect() protoreflect.Message
- func (x *ManualApprovalTask) Reset()
- func (x *ManualApprovalTask) String() string
- func (m *ManualApprovalTask) Validate() error
- func (m *ManualApprovalTask) ValidateAll() error
- type ManualApprovalTaskMultiError
- type ManualApprovalTaskValidationError
- func (e ManualApprovalTaskValidationError) Cause() error
- func (e ManualApprovalTaskValidationError) Error() string
- func (e ManualApprovalTaskValidationError) ErrorName() string
- func (e ManualApprovalTaskValidationError) Field() string
- func (e ManualApprovalTaskValidationError) Key() bool
- func (e ManualApprovalTaskValidationError) Reason() string
- type ParallelTask
- func (*ParallelTask) Descriptor() ([]byte, []int)deprecated
- func (x *ParallelTask) GetTracks() []*ParallelTask_TaskTrack
- func (*ParallelTask) ProtoMessage()
- func (x *ParallelTask) ProtoReflect() protoreflect.Message
- func (x *ParallelTask) Reset()
- func (x *ParallelTask) String() string
- func (m *ParallelTask) Validate() error
- func (m *ParallelTask) ValidateAll() error
- type ParallelTaskMultiError
- type ParallelTaskValidationError
- func (e ParallelTaskValidationError) Cause() error
- func (e ParallelTaskValidationError) Error() string
- func (e ParallelTaskValidationError) ErrorName() string
- func (e ParallelTaskValidationError) Field() string
- func (e ParallelTaskValidationError) Key() bool
- func (e ParallelTaskValidationError) Reason() string
- type ParallelTask_TaskTrack
- func (*ParallelTask_TaskTrack) Descriptor() ([]byte, []int)deprecated
- func (x *ParallelTask_TaskTrack) GetTasks() []*Task
- func (*ParallelTask_TaskTrack) ProtoMessage()
- func (x *ParallelTask_TaskTrack) ProtoReflect() protoreflect.Message
- func (x *ParallelTask_TaskTrack) Reset()
- func (x *ParallelTask_TaskTrack) String() string
- func (m *ParallelTask_TaskTrack) Validate() error
- func (m *ParallelTask_TaskTrack) ValidateAll() error
- type ParallelTask_TaskTrackMultiError
- type ParallelTask_TaskTrackValidationError
- func (e ParallelTask_TaskTrackValidationError) Cause() error
- func (e ParallelTask_TaskTrackValidationError) Error() string
- func (e ParallelTask_TaskTrackValidationError) ErrorName() string
- func (e ParallelTask_TaskTrackValidationError) Field() string
- func (e ParallelTask_TaskTrackValidationError) Key() bool
- func (e ParallelTask_TaskTrackValidationError) Reason() string
- type PipelineConfig
- func (*PipelineConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineConfig) GetName() string
- func (x *PipelineConfig) GetNotifications() *common_config.NotificationConfig
- func (x *PipelineConfig) GetRollback() bool
- func (x *PipelineConfig) GetTasks() []*Task
- func (*PipelineConfig) ProtoMessage()
- func (x *PipelineConfig) ProtoReflect() protoreflect.Message
- func (x *PipelineConfig) Reset()
- func (x *PipelineConfig) String() string
- func (m *PipelineConfig) Validate() error
- func (m *PipelineConfig) ValidateAll() error
- type PipelineConfigMultiError
- type PipelineConfigValidationError
- func (e PipelineConfigValidationError) Cause() error
- func (e PipelineConfigValidationError) Error() string
- func (e PipelineConfigValidationError) ErrorName() string
- func (e PipelineConfigValidationError) Field() string
- func (e PipelineConfigValidationError) Key() bool
- func (e PipelineConfigValidationError) Reason() string
- type PipelineRun
- func (*PipelineRun) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineRun) GetMeta() *common_config.PipelineRunObjectMeta
- func (x *PipelineRun) GetState() *PipelineRunState
- func (*PipelineRun) ProtoMessage()
- func (x *PipelineRun) ProtoReflect() protoreflect.Message
- func (x *PipelineRun) Reset()
- func (x *PipelineRun) String() string
- func (m *PipelineRun) Validate() error
- func (m *PipelineRun) ValidateAll() error
- type PipelineRunMultiError
- type PipelineRunState
- func (*PipelineRunState) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineRunState) GetCreationTimestamp() *timestamppb.Timestamp
- func (x *PipelineRunState) GetLastUpdateTimestamp() *timestamppb.Timestamp
- func (x *PipelineRunState) GetState() string
- func (x *PipelineRunState) GetTerminal() bool
- func (*PipelineRunState) ProtoMessage()
- func (x *PipelineRunState) ProtoReflect() protoreflect.Message
- func (x *PipelineRunState) Reset()
- func (x *PipelineRunState) String() string
- func (m *PipelineRunState) Validate() error
- func (m *PipelineRunState) ValidateAll() error
- type PipelineRunStateMultiError
- type PipelineRunStateValidationError
- func (e PipelineRunStateValidationError) Cause() error
- func (e PipelineRunStateValidationError) Error() string
- func (e PipelineRunStateValidationError) ErrorName() string
- func (e PipelineRunStateValidationError) Field() string
- func (e PipelineRunStateValidationError) Key() bool
- func (e PipelineRunStateValidationError) Reason() string
- type PipelineRunValidationError
- func (e PipelineRunValidationError) Cause() error
- func (e PipelineRunValidationError) Error() string
- func (e PipelineRunValidationError) ErrorName() string
- func (e PipelineRunValidationError) Field() string
- func (e PipelineRunValidationError) Key() bool
- func (e PipelineRunValidationError) Reason() string
- type PipelineTemplate
- func (*PipelineTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineTemplate) GetNameSuffix() string
- func (x *PipelineTemplate) GetNotifications() *common_config.NotificationConfig
- func (x *PipelineTemplate) GetRollback() bool
- func (x *PipelineTemplate) GetTasks() []*Task
- func (*PipelineTemplate) ProtoMessage()
- func (x *PipelineTemplate) ProtoReflect() protoreflect.Message
- func (x *PipelineTemplate) Reset()
- func (x *PipelineTemplate) String() string
- func (m *PipelineTemplate) Validate() error
- func (m *PipelineTemplate) ValidateAll() error
- type PipelineTemplateMultiError
- type PipelineTemplateValidationError
- func (e PipelineTemplateValidationError) Cause() error
- func (e PipelineTemplateValidationError) Error() string
- func (e PipelineTemplateValidationError) ErrorName() string
- func (e PipelineTemplateValidationError) Field() string
- func (e PipelineTemplateValidationError) Key() bool
- func (e PipelineTemplateValidationError) Reason() string
- type PushTask
- func (*PushTask) Descriptor() ([]byte, []int)deprecated
- func (x *PushTask) GetApplication() string
- func (x *PushTask) GetApplicationId() string
- func (x *PushTask) GetReleaseChannel() string
- func (x *PushTask) GetReleaseChannelId() string
- func (x *PushTask) GetRollback() bool
- func (x *PushTask) GetService() string
- func (x *PushTask) GetServiceId() string
- func (*PushTask) ProtoMessage()
- func (x *PushTask) ProtoReflect() protoreflect.Message
- func (x *PushTask) Reset()
- func (x *PushTask) String() string
- func (m *PushTask) Validate() error
- func (m *PushTask) ValidateAll() error
- type PushTaskMultiError
- type PushTaskValidationError
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetCustomTask() *CustomTask
- func (x *Task) GetManualApprovalTask() *ManualApprovalTask
- func (x *Task) GetMetadata() *Task_Metadata
- func (x *Task) GetParallelTask() *ParallelTask
- func (x *Task) GetPushTask() *PushTask
- func (m *Task) GetTaskOneof() isTask_TaskOneof
- func (x *Task) GetWaitTask() *WaitTask
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- func (m *Task) Validate() error
- func (m *Task) ValidateAll() error
- type TaskMultiError
- type TaskValidationError
- type Task_CustomTask
- type Task_ManualApprovalTask
- type Task_Metadata
- func (*Task_Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Task_Metadata) GetId() int32
- func (*Task_Metadata) ProtoMessage()
- func (x *Task_Metadata) ProtoReflect() protoreflect.Message
- func (x *Task_Metadata) Reset()
- func (x *Task_Metadata) String() string
- func (m *Task_Metadata) Validate() error
- func (m *Task_Metadata) ValidateAll() error
- type Task_MetadataMultiError
- type Task_MetadataValidationError
- func (e Task_MetadataValidationError) Cause() error
- func (e Task_MetadataValidationError) Error() string
- func (e Task_MetadataValidationError) ErrorName() string
- func (e Task_MetadataValidationError) Field() string
- func (e Task_MetadataValidationError) Key() bool
- func (e Task_MetadataValidationError) Reason() string
- type Task_ParallelTask
- type Task_PushTask
- type Task_WaitTask
- type WaitTask
- func (*WaitTask) Descriptor() ([]byte, []int)deprecated
- func (x *WaitTask) GetDuration() *durationpb.Duration
- func (*WaitTask) ProtoMessage()
- func (x *WaitTask) ProtoReflect() protoreflect.Message
- func (x *WaitTask) Reset()
- func (x *WaitTask) String() string
- func (m *WaitTask) Validate() error
- func (m *WaitTask) ValidateAll() error
- type WaitTaskMultiError
- type WaitTaskValidationError
Constants ¶
This section is empty.
Variables ¶
var File_prodvana_pipelines_object_proto protoreflect.FileDescriptor
var File_prodvana_pipelines_pipelines_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CustomTask ¶
type CustomTask struct { // description used for displaying this task Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` Program *common_config.ProgramConfig `protobuf:"bytes,1,opt,name=program,proto3" json:"program,omitempty"` // if not set, the custom task will not be retried once it starts executing once. RetryConfig *common_config.RetryConfig `protobuf:"bytes,2,opt,name=retry_config,json=retryConfig,proto3" json:"retry_config,omitempty"` // TODO(naphat) is this the best interface, or do we just take runtime + namespace? Application string `protobuf:"bytes,3,opt,name=application,proto3" json:"application,omitempty"` ApplicationId string `protobuf:"bytes,4,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` ReleaseChannel string `protobuf:"bytes,5,opt,name=release_channel,json=releaseChannel,proto3" json:"release_channel,omitempty"` ReleaseChannelId string `protobuf:"bytes,6,opt,name=release_channel_id,json=releaseChannelId,proto3" json:"release_channel_id,omitempty"` // if set, treat the program as the final program, avoid any internal Prodvana compilation (e.g. setting default env from app config) FinalCompiledProgram bool `protobuf:"varint,8,opt,name=final_compiled_program,json=finalCompiledProgram,proto3" json:"final_compiled_program,omitempty"` // contains filtered or unexported fields }
func (*CustomTask) Descriptor
deprecated
func (*CustomTask) Descriptor() ([]byte, []int)
Deprecated: Use CustomTask.ProtoReflect.Descriptor instead.
func (*CustomTask) GetApplication ¶
func (x *CustomTask) GetApplication() string
func (*CustomTask) GetApplicationId ¶
func (x *CustomTask) GetApplicationId() string
func (*CustomTask) GetDescription ¶
func (x *CustomTask) GetDescription() string
func (*CustomTask) GetFinalCompiledProgram ¶
func (x *CustomTask) GetFinalCompiledProgram() bool
func (*CustomTask) GetProgram ¶
func (x *CustomTask) GetProgram() *common_config.ProgramConfig
func (*CustomTask) GetReleaseChannel ¶
func (x *CustomTask) GetReleaseChannel() string
func (*CustomTask) GetReleaseChannelId ¶
func (x *CustomTask) GetReleaseChannelId() string
func (*CustomTask) GetRetryConfig ¶
func (x *CustomTask) GetRetryConfig() *common_config.RetryConfig
func (*CustomTask) ProtoMessage ¶
func (*CustomTask) ProtoMessage()
func (*CustomTask) ProtoReflect ¶
func (x *CustomTask) ProtoReflect() protoreflect.Message
func (*CustomTask) Reset ¶
func (x *CustomTask) Reset()
func (*CustomTask) String ¶
func (x *CustomTask) String() string
func (*CustomTask) Validate ¶
func (m *CustomTask) Validate() error
Validate checks the field values on CustomTask 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 (*CustomTask) ValidateAll ¶
func (m *CustomTask) ValidateAll() error
ValidateAll checks the field values on CustomTask 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 CustomTaskMultiError, or nil if none found.
type CustomTaskMultiError ¶
type CustomTaskMultiError []error
CustomTaskMultiError is an error wrapping multiple validation errors returned by CustomTask.ValidateAll() if the designated constraints aren't met.
func (CustomTaskMultiError) AllErrors ¶
func (m CustomTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CustomTaskMultiError) Error ¶
func (m CustomTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CustomTaskValidationError ¶
type CustomTaskValidationError struct {
// contains filtered or unexported fields
}
CustomTaskValidationError is the validation error returned by CustomTask.Validate if the designated constraints aren't met.
func (CustomTaskValidationError) Cause ¶
func (e CustomTaskValidationError) Cause() error
Cause function returns cause value.
func (CustomTaskValidationError) Error ¶
func (e CustomTaskValidationError) Error() string
Error satisfies the builtin error interface
func (CustomTaskValidationError) ErrorName ¶
func (e CustomTaskValidationError) ErrorName() string
ErrorName returns error name.
func (CustomTaskValidationError) Field ¶
func (e CustomTaskValidationError) Field() string
Field function returns field value.
func (CustomTaskValidationError) Key ¶
func (e CustomTaskValidationError) Key() bool
Key function returns key value.
func (CustomTaskValidationError) Reason ¶
func (e CustomTaskValidationError) Reason() string
Reason function returns reason value.
type ManualApprovalTask ¶
type ManualApprovalTask struct {
// contains filtered or unexported fields
}
func (*ManualApprovalTask) Descriptor
deprecated
func (*ManualApprovalTask) Descriptor() ([]byte, []int)
Deprecated: Use ManualApprovalTask.ProtoReflect.Descriptor instead.
func (*ManualApprovalTask) ProtoMessage ¶
func (*ManualApprovalTask) ProtoMessage()
func (*ManualApprovalTask) ProtoReflect ¶
func (x *ManualApprovalTask) ProtoReflect() protoreflect.Message
func (*ManualApprovalTask) Reset ¶
func (x *ManualApprovalTask) Reset()
func (*ManualApprovalTask) String ¶
func (x *ManualApprovalTask) String() string
func (*ManualApprovalTask) Validate ¶
func (m *ManualApprovalTask) Validate() error
Validate checks the field values on ManualApprovalTask 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 (*ManualApprovalTask) ValidateAll ¶
func (m *ManualApprovalTask) ValidateAll() error
ValidateAll checks the field values on ManualApprovalTask 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 ManualApprovalTaskMultiError, or nil if none found.
type ManualApprovalTaskMultiError ¶
type ManualApprovalTaskMultiError []error
ManualApprovalTaskMultiError is an error wrapping multiple validation errors returned by ManualApprovalTask.ValidateAll() if the designated constraints aren't met.
func (ManualApprovalTaskMultiError) AllErrors ¶
func (m ManualApprovalTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ManualApprovalTaskMultiError) Error ¶
func (m ManualApprovalTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ManualApprovalTaskValidationError ¶
type ManualApprovalTaskValidationError struct {
// contains filtered or unexported fields
}
ManualApprovalTaskValidationError is the validation error returned by ManualApprovalTask.Validate if the designated constraints aren't met.
func (ManualApprovalTaskValidationError) Cause ¶
func (e ManualApprovalTaskValidationError) Cause() error
Cause function returns cause value.
func (ManualApprovalTaskValidationError) Error ¶
func (e ManualApprovalTaskValidationError) Error() string
Error satisfies the builtin error interface
func (ManualApprovalTaskValidationError) ErrorName ¶
func (e ManualApprovalTaskValidationError) ErrorName() string
ErrorName returns error name.
func (ManualApprovalTaskValidationError) Field ¶
func (e ManualApprovalTaskValidationError) Field() string
Field function returns field value.
func (ManualApprovalTaskValidationError) Key ¶
func (e ManualApprovalTaskValidationError) Key() bool
Key function returns key value.
func (ManualApprovalTaskValidationError) Reason ¶
func (e ManualApprovalTaskValidationError) Reason() string
Reason function returns reason value.
type ParallelTask ¶
type ParallelTask struct { Tracks []*ParallelTask_TaskTrack `protobuf:"bytes,1,rep,name=tracks,proto3" json:"tracks,omitempty"` // contains filtered or unexported fields }
func (*ParallelTask) Descriptor
deprecated
func (*ParallelTask) Descriptor() ([]byte, []int)
Deprecated: Use ParallelTask.ProtoReflect.Descriptor instead.
func (*ParallelTask) GetTracks ¶
func (x *ParallelTask) GetTracks() []*ParallelTask_TaskTrack
func (*ParallelTask) ProtoMessage ¶
func (*ParallelTask) ProtoMessage()
func (*ParallelTask) ProtoReflect ¶
func (x *ParallelTask) ProtoReflect() protoreflect.Message
func (*ParallelTask) Reset ¶
func (x *ParallelTask) Reset()
func (*ParallelTask) String ¶
func (x *ParallelTask) String() string
func (*ParallelTask) Validate ¶
func (m *ParallelTask) Validate() error
Validate checks the field values on ParallelTask 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 (*ParallelTask) ValidateAll ¶
func (m *ParallelTask) ValidateAll() error
ValidateAll checks the field values on ParallelTask 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 ParallelTaskMultiError, or nil if none found.
type ParallelTaskMultiError ¶
type ParallelTaskMultiError []error
ParallelTaskMultiError is an error wrapping multiple validation errors returned by ParallelTask.ValidateAll() if the designated constraints aren't met.
func (ParallelTaskMultiError) AllErrors ¶
func (m ParallelTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ParallelTaskMultiError) Error ¶
func (m ParallelTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ParallelTaskValidationError ¶
type ParallelTaskValidationError struct {
// contains filtered or unexported fields
}
ParallelTaskValidationError is the validation error returned by ParallelTask.Validate if the designated constraints aren't met.
func (ParallelTaskValidationError) Cause ¶
func (e ParallelTaskValidationError) Cause() error
Cause function returns cause value.
func (ParallelTaskValidationError) Error ¶
func (e ParallelTaskValidationError) Error() string
Error satisfies the builtin error interface
func (ParallelTaskValidationError) ErrorName ¶
func (e ParallelTaskValidationError) ErrorName() string
ErrorName returns error name.
func (ParallelTaskValidationError) Field ¶
func (e ParallelTaskValidationError) Field() string
Field function returns field value.
func (ParallelTaskValidationError) Key ¶
func (e ParallelTaskValidationError) Key() bool
Key function returns key value.
func (ParallelTaskValidationError) Reason ¶
func (e ParallelTaskValidationError) Reason() string
Reason function returns reason value.
type ParallelTask_TaskTrack ¶
type ParallelTask_TaskTrack struct { Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` // contains filtered or unexported fields }
func (*ParallelTask_TaskTrack) Descriptor
deprecated
func (*ParallelTask_TaskTrack) Descriptor() ([]byte, []int)
Deprecated: Use ParallelTask_TaskTrack.ProtoReflect.Descriptor instead.
func (*ParallelTask_TaskTrack) GetTasks ¶
func (x *ParallelTask_TaskTrack) GetTasks() []*Task
func (*ParallelTask_TaskTrack) ProtoMessage ¶
func (*ParallelTask_TaskTrack) ProtoMessage()
func (*ParallelTask_TaskTrack) ProtoReflect ¶
func (x *ParallelTask_TaskTrack) ProtoReflect() protoreflect.Message
func (*ParallelTask_TaskTrack) Reset ¶
func (x *ParallelTask_TaskTrack) Reset()
func (*ParallelTask_TaskTrack) String ¶
func (x *ParallelTask_TaskTrack) String() string
func (*ParallelTask_TaskTrack) Validate ¶
func (m *ParallelTask_TaskTrack) Validate() error
Validate checks the field values on ParallelTask_TaskTrack 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 (*ParallelTask_TaskTrack) ValidateAll ¶
func (m *ParallelTask_TaskTrack) ValidateAll() error
ValidateAll checks the field values on ParallelTask_TaskTrack 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 ParallelTask_TaskTrackMultiError, or nil if none found.
type ParallelTask_TaskTrackMultiError ¶
type ParallelTask_TaskTrackMultiError []error
ParallelTask_TaskTrackMultiError is an error wrapping multiple validation errors returned by ParallelTask_TaskTrack.ValidateAll() if the designated constraints aren't met.
func (ParallelTask_TaskTrackMultiError) AllErrors ¶
func (m ParallelTask_TaskTrackMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ParallelTask_TaskTrackMultiError) Error ¶
func (m ParallelTask_TaskTrackMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ParallelTask_TaskTrackValidationError ¶
type ParallelTask_TaskTrackValidationError struct {
// contains filtered or unexported fields
}
ParallelTask_TaskTrackValidationError is the validation error returned by ParallelTask_TaskTrack.Validate if the designated constraints aren't met.
func (ParallelTask_TaskTrackValidationError) Cause ¶
func (e ParallelTask_TaskTrackValidationError) Cause() error
Cause function returns cause value.
func (ParallelTask_TaskTrackValidationError) Error ¶
func (e ParallelTask_TaskTrackValidationError) Error() string
Error satisfies the builtin error interface
func (ParallelTask_TaskTrackValidationError) ErrorName ¶
func (e ParallelTask_TaskTrackValidationError) ErrorName() string
ErrorName returns error name.
func (ParallelTask_TaskTrackValidationError) Field ¶
func (e ParallelTask_TaskTrackValidationError) Field() string
Field function returns field value.
func (ParallelTask_TaskTrackValidationError) Key ¶
func (e ParallelTask_TaskTrackValidationError) Key() bool
Key function returns key value.
func (ParallelTask_TaskTrackValidationError) Reason ¶
func (e ParallelTask_TaskTrackValidationError) Reason() string
Reason function returns reason value.
type PipelineConfig ¶
type PipelineConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Tasks []*Task `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty"` Rollback bool `protobuf:"varint,3,opt,name=rollback,proto3" json:"rollback,omitempty"` Notifications *common_config.NotificationConfig `protobuf:"bytes,4,opt,name=notifications,proto3" json:"notifications,omitempty"` // contains filtered or unexported fields }
func (*PipelineConfig) Descriptor
deprecated
func (*PipelineConfig) Descriptor() ([]byte, []int)
Deprecated: Use PipelineConfig.ProtoReflect.Descriptor instead.
func (*PipelineConfig) GetName ¶
func (x *PipelineConfig) GetName() string
func (*PipelineConfig) GetNotifications ¶
func (x *PipelineConfig) GetNotifications() *common_config.NotificationConfig
func (*PipelineConfig) GetRollback ¶
func (x *PipelineConfig) GetRollback() bool
func (*PipelineConfig) GetTasks ¶
func (x *PipelineConfig) GetTasks() []*Task
func (*PipelineConfig) ProtoMessage ¶
func (*PipelineConfig) ProtoMessage()
func (*PipelineConfig) ProtoReflect ¶
func (x *PipelineConfig) ProtoReflect() protoreflect.Message
func (*PipelineConfig) Reset ¶
func (x *PipelineConfig) Reset()
func (*PipelineConfig) String ¶
func (x *PipelineConfig) String() string
func (*PipelineConfig) Validate ¶
func (m *PipelineConfig) Validate() error
Validate checks the field values on PipelineConfig 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 (*PipelineConfig) ValidateAll ¶
func (m *PipelineConfig) ValidateAll() error
ValidateAll checks the field values on PipelineConfig 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 PipelineConfigMultiError, or nil if none found.
type PipelineConfigMultiError ¶
type PipelineConfigMultiError []error
PipelineConfigMultiError is an error wrapping multiple validation errors returned by PipelineConfig.ValidateAll() if the designated constraints aren't met.
func (PipelineConfigMultiError) AllErrors ¶
func (m PipelineConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PipelineConfigMultiError) Error ¶
func (m PipelineConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PipelineConfigValidationError ¶
type PipelineConfigValidationError struct {
// contains filtered or unexported fields
}
PipelineConfigValidationError is the validation error returned by PipelineConfig.Validate if the designated constraints aren't met.
func (PipelineConfigValidationError) Cause ¶
func (e PipelineConfigValidationError) Cause() error
Cause function returns cause value.
func (PipelineConfigValidationError) Error ¶
func (e PipelineConfigValidationError) Error() string
Error satisfies the builtin error interface
func (PipelineConfigValidationError) ErrorName ¶
func (e PipelineConfigValidationError) ErrorName() string
ErrorName returns error name.
func (PipelineConfigValidationError) Field ¶
func (e PipelineConfigValidationError) Field() string
Field function returns field value.
func (PipelineConfigValidationError) Key ¶
func (e PipelineConfigValidationError) Key() bool
Key function returns key value.
func (PipelineConfigValidationError) Reason ¶
func (e PipelineConfigValidationError) Reason() string
Reason function returns reason value.
type PipelineRun ¶
type PipelineRun struct { Meta *common_config.PipelineRunObjectMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` State *PipelineRunState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*PipelineRun) Descriptor
deprecated
func (*PipelineRun) Descriptor() ([]byte, []int)
Deprecated: Use PipelineRun.ProtoReflect.Descriptor instead.
func (*PipelineRun) GetMeta ¶
func (x *PipelineRun) GetMeta() *common_config.PipelineRunObjectMeta
func (*PipelineRun) GetState ¶
func (x *PipelineRun) GetState() *PipelineRunState
func (*PipelineRun) ProtoMessage ¶
func (*PipelineRun) ProtoMessage()
func (*PipelineRun) ProtoReflect ¶
func (x *PipelineRun) ProtoReflect() protoreflect.Message
func (*PipelineRun) Reset ¶
func (x *PipelineRun) Reset()
func (*PipelineRun) String ¶
func (x *PipelineRun) String() string
func (*PipelineRun) Validate ¶
func (m *PipelineRun) Validate() error
Validate checks the field values on PipelineRun 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 (*PipelineRun) ValidateAll ¶
func (m *PipelineRun) ValidateAll() error
ValidateAll checks the field values on PipelineRun 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 PipelineRunMultiError, or nil if none found.
type PipelineRunMultiError ¶
type PipelineRunMultiError []error
PipelineRunMultiError is an error wrapping multiple validation errors returned by PipelineRun.ValidateAll() if the designated constraints aren't met.
func (PipelineRunMultiError) AllErrors ¶
func (m PipelineRunMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PipelineRunMultiError) Error ¶
func (m PipelineRunMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PipelineRunState ¶
type PipelineRunState struct { CreationTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp,omitempty"` LastUpdateTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_update_timestamp,json=lastUpdateTimestamp,proto3" json:"last_update_timestamp,omitempty"` State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` Terminal bool `protobuf:"varint,4,opt,name=terminal,proto3" json:"terminal,omitempty"` // if pipeline run is in a terminal state // contains filtered or unexported fields }
func (*PipelineRunState) Descriptor
deprecated
func (*PipelineRunState) Descriptor() ([]byte, []int)
Deprecated: Use PipelineRunState.ProtoReflect.Descriptor instead.
func (*PipelineRunState) GetCreationTimestamp ¶
func (x *PipelineRunState) GetCreationTimestamp() *timestamppb.Timestamp
func (*PipelineRunState) GetLastUpdateTimestamp ¶
func (x *PipelineRunState) GetLastUpdateTimestamp() *timestamppb.Timestamp
func (*PipelineRunState) GetState ¶
func (x *PipelineRunState) GetState() string
func (*PipelineRunState) GetTerminal ¶
func (x *PipelineRunState) GetTerminal() bool
func (*PipelineRunState) ProtoMessage ¶
func (*PipelineRunState) ProtoMessage()
func (*PipelineRunState) ProtoReflect ¶
func (x *PipelineRunState) ProtoReflect() protoreflect.Message
func (*PipelineRunState) Reset ¶
func (x *PipelineRunState) Reset()
func (*PipelineRunState) String ¶
func (x *PipelineRunState) String() string
func (*PipelineRunState) Validate ¶
func (m *PipelineRunState) Validate() error
Validate checks the field values on PipelineRunState 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 (*PipelineRunState) ValidateAll ¶
func (m *PipelineRunState) ValidateAll() error
ValidateAll checks the field values on PipelineRunState 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 PipelineRunStateMultiError, or nil if none found.
type PipelineRunStateMultiError ¶
type PipelineRunStateMultiError []error
PipelineRunStateMultiError is an error wrapping multiple validation errors returned by PipelineRunState.ValidateAll() if the designated constraints aren't met.
func (PipelineRunStateMultiError) AllErrors ¶
func (m PipelineRunStateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PipelineRunStateMultiError) Error ¶
func (m PipelineRunStateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PipelineRunStateValidationError ¶
type PipelineRunStateValidationError struct {
// contains filtered or unexported fields
}
PipelineRunStateValidationError is the validation error returned by PipelineRunState.Validate if the designated constraints aren't met.
func (PipelineRunStateValidationError) Cause ¶
func (e PipelineRunStateValidationError) Cause() error
Cause function returns cause value.
func (PipelineRunStateValidationError) Error ¶
func (e PipelineRunStateValidationError) Error() string
Error satisfies the builtin error interface
func (PipelineRunStateValidationError) ErrorName ¶
func (e PipelineRunStateValidationError) ErrorName() string
ErrorName returns error name.
func (PipelineRunStateValidationError) Field ¶
func (e PipelineRunStateValidationError) Field() string
Field function returns field value.
func (PipelineRunStateValidationError) Key ¶
func (e PipelineRunStateValidationError) Key() bool
Key function returns key value.
func (PipelineRunStateValidationError) Reason ¶
func (e PipelineRunStateValidationError) Reason() string
Reason function returns reason value.
type PipelineRunValidationError ¶
type PipelineRunValidationError struct {
// contains filtered or unexported fields
}
PipelineRunValidationError is the validation error returned by PipelineRun.Validate if the designated constraints aren't met.
func (PipelineRunValidationError) Cause ¶
func (e PipelineRunValidationError) Cause() error
Cause function returns cause value.
func (PipelineRunValidationError) Error ¶
func (e PipelineRunValidationError) Error() string
Error satisfies the builtin error interface
func (PipelineRunValidationError) ErrorName ¶
func (e PipelineRunValidationError) ErrorName() string
ErrorName returns error name.
func (PipelineRunValidationError) Field ¶
func (e PipelineRunValidationError) Field() string
Field function returns field value.
func (PipelineRunValidationError) Key ¶
func (e PipelineRunValidationError) Key() bool
Key function returns key value.
func (PipelineRunValidationError) Reason ¶
func (e PipelineRunValidationError) Reason() string
Reason function returns reason value.
type PipelineTemplate ¶
type PipelineTemplate struct { NameSuffix string `protobuf:"bytes,1,opt,name=name_suffix,json=nameSuffix,proto3" json:"name_suffix,omitempty"` Tasks []*Task `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty"` Rollback bool `protobuf:"varint,3,opt,name=rollback,proto3" json:"rollback,omitempty"` Notifications *common_config.NotificationConfig `protobuf:"bytes,4,opt,name=notifications,proto3" json:"notifications,omitempty"` // optional, will default to application's notification config // contains filtered or unexported fields }
Similar to pipeline, but the task IDs and service fields are expected to not be filled out.
func (*PipelineTemplate) Descriptor
deprecated
func (*PipelineTemplate) Descriptor() ([]byte, []int)
Deprecated: Use PipelineTemplate.ProtoReflect.Descriptor instead.
func (*PipelineTemplate) GetNameSuffix ¶
func (x *PipelineTemplate) GetNameSuffix() string
func (*PipelineTemplate) GetNotifications ¶
func (x *PipelineTemplate) GetNotifications() *common_config.NotificationConfig
func (*PipelineTemplate) GetRollback ¶
func (x *PipelineTemplate) GetRollback() bool
func (*PipelineTemplate) GetTasks ¶
func (x *PipelineTemplate) GetTasks() []*Task
func (*PipelineTemplate) ProtoMessage ¶
func (*PipelineTemplate) ProtoMessage()
func (*PipelineTemplate) ProtoReflect ¶
func (x *PipelineTemplate) ProtoReflect() protoreflect.Message
func (*PipelineTemplate) Reset ¶
func (x *PipelineTemplate) Reset()
func (*PipelineTemplate) String ¶
func (x *PipelineTemplate) String() string
func (*PipelineTemplate) Validate ¶
func (m *PipelineTemplate) Validate() error
Validate checks the field values on PipelineTemplate 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 (*PipelineTemplate) ValidateAll ¶
func (m *PipelineTemplate) ValidateAll() error
ValidateAll checks the field values on PipelineTemplate 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 PipelineTemplateMultiError, or nil if none found.
type PipelineTemplateMultiError ¶
type PipelineTemplateMultiError []error
PipelineTemplateMultiError is an error wrapping multiple validation errors returned by PipelineTemplate.ValidateAll() if the designated constraints aren't met.
func (PipelineTemplateMultiError) AllErrors ¶
func (m PipelineTemplateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PipelineTemplateMultiError) Error ¶
func (m PipelineTemplateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PipelineTemplateValidationError ¶
type PipelineTemplateValidationError struct {
// contains filtered or unexported fields
}
PipelineTemplateValidationError is the validation error returned by PipelineTemplate.Validate if the designated constraints aren't met.
func (PipelineTemplateValidationError) Cause ¶
func (e PipelineTemplateValidationError) Cause() error
Cause function returns cause value.
func (PipelineTemplateValidationError) Error ¶
func (e PipelineTemplateValidationError) Error() string
Error satisfies the builtin error interface
func (PipelineTemplateValidationError) ErrorName ¶
func (e PipelineTemplateValidationError) ErrorName() string
ErrorName returns error name.
func (PipelineTemplateValidationError) Field ¶
func (e PipelineTemplateValidationError) Field() string
Field function returns field value.
func (PipelineTemplateValidationError) Key ¶
func (e PipelineTemplateValidationError) Key() bool
Key function returns key value.
func (PipelineTemplateValidationError) Reason ¶
func (e PipelineTemplateValidationError) Reason() string
Reason function returns reason value.
type PushTask ¶
type PushTask struct { // when passing as input, only specify one of service or service_id, not both ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // when passing as input, only specify one of release_channel or release_channel_id, not both ReleaseChannelId string `protobuf:"bytes,3,opt,name=release_channel_id,json=releaseChannelId,proto3" json:"release_channel_id,omitempty"` ReleaseChannel string `protobuf:"bytes,4,opt,name=release_channel,json=releaseChannel,proto3" json:"release_channel,omitempty"` // deprecated, set at pipeline level instead of task level Rollback bool `protobuf:"varint,5,opt,name=rollback,proto3" json:"rollback,omitempty"` ApplicationId string `protobuf:"bytes,6,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` Application string `protobuf:"bytes,7,opt,name=application,proto3" json:"application,omitempty"` // contains filtered or unexported fields }
func (*PushTask) Descriptor
deprecated
func (*PushTask) GetApplication ¶
func (*PushTask) GetApplicationId ¶
func (*PushTask) GetReleaseChannel ¶
func (*PushTask) GetReleaseChannelId ¶
func (*PushTask) GetRollback ¶
func (*PushTask) GetService ¶
func (*PushTask) GetServiceId ¶
func (*PushTask) ProtoMessage ¶
func (*PushTask) ProtoMessage()
func (*PushTask) ProtoReflect ¶
func (x *PushTask) ProtoReflect() protoreflect.Message
func (*PushTask) Validate ¶
Validate checks the field values on PushTask 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 (*PushTask) ValidateAll ¶
ValidateAll checks the field values on PushTask 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 PushTaskMultiError, or nil if none found.
type PushTaskMultiError ¶
type PushTaskMultiError []error
PushTaskMultiError is an error wrapping multiple validation errors returned by PushTask.ValidateAll() if the designated constraints aren't met.
func (PushTaskMultiError) AllErrors ¶
func (m PushTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PushTaskMultiError) Error ¶
func (m PushTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PushTaskValidationError ¶
type PushTaskValidationError struct {
// contains filtered or unexported fields
}
PushTaskValidationError is the validation error returned by PushTask.Validate if the designated constraints aren't met.
func (PushTaskValidationError) Cause ¶
func (e PushTaskValidationError) Cause() error
Cause function returns cause value.
func (PushTaskValidationError) Error ¶
func (e PushTaskValidationError) Error() string
Error satisfies the builtin error interface
func (PushTaskValidationError) ErrorName ¶
func (e PushTaskValidationError) ErrorName() string
ErrorName returns error name.
func (PushTaskValidationError) Field ¶
func (e PushTaskValidationError) Field() string
Field function returns field value.
func (PushTaskValidationError) Key ¶
func (e PushTaskValidationError) Key() bool
Key function returns key value.
func (PushTaskValidationError) Reason ¶
func (e PushTaskValidationError) Reason() string
Reason function returns reason value.
type Task ¶
type Task struct { Metadata *Task_Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Types that are assignable to TaskOneof: // // *Task_PushTask // *Task_WaitTask // *Task_ParallelTask // *Task_ManualApprovalTask // *Task_CustomTask TaskOneof isTask_TaskOneof `protobuf_oneof:"task_oneof"` // contains filtered or unexported fields }
func (*Task) Descriptor
deprecated
func (*Task) GetCustomTask ¶
func (x *Task) GetCustomTask() *CustomTask
func (*Task) GetManualApprovalTask ¶
func (x *Task) GetManualApprovalTask() *ManualApprovalTask
func (*Task) GetMetadata ¶
func (x *Task) GetMetadata() *Task_Metadata
func (*Task) GetParallelTask ¶
func (x *Task) GetParallelTask() *ParallelTask
func (*Task) GetPushTask ¶
func (*Task) GetTaskOneof ¶
func (m *Task) GetTaskOneof() isTask_TaskOneof
func (*Task) GetWaitTask ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
func (*Task) Validate ¶
Validate checks the field values on Task 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 (*Task) ValidateAll ¶
ValidateAll checks the field values on Task 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 TaskMultiError, or nil if none found.
type TaskMultiError ¶
type TaskMultiError []error
TaskMultiError is an error wrapping multiple validation errors returned by Task.ValidateAll() if the designated constraints aren't met.
func (TaskMultiError) AllErrors ¶
func (m TaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TaskMultiError) Error ¶
func (m TaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TaskValidationError ¶
type TaskValidationError struct {
// contains filtered or unexported fields
}
TaskValidationError is the validation error returned by Task.Validate if the designated constraints aren't met.
func (TaskValidationError) Cause ¶
func (e TaskValidationError) Cause() error
Cause function returns cause value.
func (TaskValidationError) Error ¶
func (e TaskValidationError) Error() string
Error satisfies the builtin error interface
func (TaskValidationError) ErrorName ¶
func (e TaskValidationError) ErrorName() string
ErrorName returns error name.
func (TaskValidationError) Field ¶
func (e TaskValidationError) Field() string
Field function returns field value.
func (TaskValidationError) Key ¶
func (e TaskValidationError) Key() bool
Key function returns key value.
func (TaskValidationError) Reason ¶
func (e TaskValidationError) Reason() string
Reason function returns reason value.
type Task_CustomTask ¶
type Task_CustomTask struct {
CustomTask *CustomTask `protobuf:"bytes,6,opt,name=custom_task,json=customTask,proto3,oneof"`
}
type Task_ManualApprovalTask ¶
type Task_ManualApprovalTask struct {
ManualApprovalTask *ManualApprovalTask `protobuf:"bytes,5,opt,name=manual_approval_task,json=manualApprovalTask,proto3,oneof"`
}
type Task_Metadata ¶
type Task_Metadata struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Metadata contains information generic to all task types. Compilation of a task can be done entirely with its metadata and specific task-type config.
func (*Task_Metadata) Descriptor
deprecated
func (*Task_Metadata) Descriptor() ([]byte, []int)
Deprecated: Use Task_Metadata.ProtoReflect.Descriptor instead.
func (*Task_Metadata) GetId ¶
func (x *Task_Metadata) GetId() int32
func (*Task_Metadata) ProtoMessage ¶
func (*Task_Metadata) ProtoMessage()
func (*Task_Metadata) ProtoReflect ¶
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
func (*Task_Metadata) Validate ¶
func (m *Task_Metadata) Validate() error
Validate checks the field values on Task_Metadata 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 (*Task_Metadata) ValidateAll ¶
func (m *Task_Metadata) ValidateAll() error
ValidateAll checks the field values on Task_Metadata 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 Task_MetadataMultiError, or nil if none found.
type Task_MetadataMultiError ¶
type Task_MetadataMultiError []error
Task_MetadataMultiError is an error wrapping multiple validation errors returned by Task_Metadata.ValidateAll() if the designated constraints aren't met.
func (Task_MetadataMultiError) AllErrors ¶
func (m Task_MetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_MetadataMultiError) Error ¶
func (m Task_MetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_MetadataValidationError ¶
type Task_MetadataValidationError struct {
// contains filtered or unexported fields
}
Task_MetadataValidationError is the validation error returned by Task_Metadata.Validate if the designated constraints aren't met.
func (Task_MetadataValidationError) Cause ¶
func (e Task_MetadataValidationError) Cause() error
Cause function returns cause value.
func (Task_MetadataValidationError) Error ¶
func (e Task_MetadataValidationError) Error() string
Error satisfies the builtin error interface
func (Task_MetadataValidationError) ErrorName ¶
func (e Task_MetadataValidationError) ErrorName() string
ErrorName returns error name.
func (Task_MetadataValidationError) Field ¶
func (e Task_MetadataValidationError) Field() string
Field function returns field value.
func (Task_MetadataValidationError) Key ¶
func (e Task_MetadataValidationError) Key() bool
Key function returns key value.
func (Task_MetadataValidationError) Reason ¶
func (e Task_MetadataValidationError) Reason() string
Reason function returns reason value.
type Task_ParallelTask ¶
type Task_ParallelTask struct {
ParallelTask *ParallelTask `protobuf:"bytes,4,opt,name=parallel_task,json=parallelTask,proto3,oneof"`
}
type Task_PushTask ¶
type Task_PushTask struct {
PushTask *PushTask `protobuf:"bytes,2,opt,name=push_task,json=pushTask,proto3,oneof"`
}
type Task_WaitTask ¶
type Task_WaitTask struct {
WaitTask *WaitTask `protobuf:"bytes,3,opt,name=wait_task,json=waitTask,proto3,oneof"`
}
type WaitTask ¶
type WaitTask struct { Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*WaitTask) Descriptor
deprecated
func (*WaitTask) GetDuration ¶
func (x *WaitTask) GetDuration() *durationpb.Duration
func (*WaitTask) ProtoMessage ¶
func (*WaitTask) ProtoMessage()
func (*WaitTask) ProtoReflect ¶
func (x *WaitTask) ProtoReflect() protoreflect.Message
func (*WaitTask) Validate ¶
Validate checks the field values on WaitTask 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 (*WaitTask) ValidateAll ¶
ValidateAll checks the field values on WaitTask 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 WaitTaskMultiError, or nil if none found.
type WaitTaskMultiError ¶
type WaitTaskMultiError []error
WaitTaskMultiError is an error wrapping multiple validation errors returned by WaitTask.ValidateAll() if the designated constraints aren't met.
func (WaitTaskMultiError) AllErrors ¶
func (m WaitTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WaitTaskMultiError) Error ¶
func (m WaitTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WaitTaskValidationError ¶
type WaitTaskValidationError struct {
// contains filtered or unexported fields
}
WaitTaskValidationError is the validation error returned by WaitTask.Validate if the designated constraints aren't met.
func (WaitTaskValidationError) Cause ¶
func (e WaitTaskValidationError) Cause() error
Cause function returns cause value.
func (WaitTaskValidationError) Error ¶
func (e WaitTaskValidationError) Error() string
Error satisfies the builtin error interface
func (WaitTaskValidationError) ErrorName ¶
func (e WaitTaskValidationError) ErrorName() string
ErrorName returns error name.
func (WaitTaskValidationError) Field ¶
func (e WaitTaskValidationError) Field() string
Field function returns field value.
func (WaitTaskValidationError) Key ¶
func (e WaitTaskValidationError) Key() bool
Key function returns key value.
func (WaitTaskValidationError) Reason ¶
func (e WaitTaskValidationError) Reason() string
Reason function returns reason value.