pipelines

package
v0.3.42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_prodvana_pipelines_object_proto protoreflect.FileDescriptor
View Source
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

Error satisfies the builtin error interface

func (CustomTaskValidationError) ErrorName

func (e CustomTaskValidationError) ErrorName() string

ErrorName returns error name.

func (CustomTaskValidationError) Field

Field function returns field value.

func (CustomTaskValidationError) Key

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

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

Cause function returns cause value.

func (ManualApprovalTaskValidationError) Error

Error satisfies the builtin error interface

func (ManualApprovalTaskValidationError) ErrorName

ErrorName returns error name.

func (ManualApprovalTaskValidationError) Field

Field function returns field value.

func (ManualApprovalTaskValidationError) Key

Key function returns key value.

func (ManualApprovalTaskValidationError) Reason

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

Cause function returns cause value.

func (ParallelTaskValidationError) Error

Error satisfies the builtin error interface

func (ParallelTaskValidationError) ErrorName

func (e ParallelTaskValidationError) ErrorName() string

ErrorName returns error name.

func (ParallelTaskValidationError) Field

Field function returns field value.

func (ParallelTaskValidationError) Key

Key function returns key value.

func (ParallelTaskValidationError) Reason

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

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

Cause function returns cause value.

func (ParallelTask_TaskTrackValidationError) Error

Error satisfies the builtin error interface

func (ParallelTask_TaskTrackValidationError) ErrorName

ErrorName returns error name.

func (ParallelTask_TaskTrackValidationError) Field

Field function returns field value.

func (ParallelTask_TaskTrackValidationError) Key

Key function returns key value.

func (ParallelTask_TaskTrackValidationError) Reason

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

Cause function returns cause value.

func (PipelineConfigValidationError) Error

Error satisfies the builtin error interface

func (PipelineConfigValidationError) ErrorName

func (e PipelineConfigValidationError) ErrorName() string

ErrorName returns error name.

func (PipelineConfigValidationError) Field

Field function returns field value.

func (PipelineConfigValidationError) Key

Key function returns key value.

func (PipelineConfigValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (PipelineRunStateValidationError) Error

Error satisfies the builtin error interface

func (PipelineRunStateValidationError) ErrorName

ErrorName returns error name.

func (PipelineRunStateValidationError) Field

Field function returns field value.

func (PipelineRunStateValidationError) Key

Key function returns key value.

func (PipelineRunStateValidationError) Reason

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

Cause function returns cause value.

func (PipelineRunValidationError) Error

Error satisfies the builtin error interface

func (PipelineRunValidationError) ErrorName

func (e PipelineRunValidationError) ErrorName() string

ErrorName returns error name.

func (PipelineRunValidationError) Field

Field function returns field value.

func (PipelineRunValidationError) Key

Key function returns key value.

func (PipelineRunValidationError) Reason

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

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

Cause function returns cause value.

func (PipelineTemplateValidationError) Error

Error satisfies the builtin error interface

func (PipelineTemplateValidationError) ErrorName

ErrorName returns error name.

func (PipelineTemplateValidationError) Field

Field function returns field value.

func (PipelineTemplateValidationError) Key

Key function returns key value.

func (PipelineTemplateValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use PushTask.ProtoReflect.Descriptor instead.

func (*PushTask) GetApplication

func (x *PushTask) GetApplication() string

func (*PushTask) GetApplicationId

func (x *PushTask) GetApplicationId() string

func (*PushTask) GetReleaseChannel

func (x *PushTask) GetReleaseChannel() string

func (*PushTask) GetReleaseChannelId

func (x *PushTask) GetReleaseChannelId() string

func (*PushTask) GetRollback

func (x *PushTask) GetRollback() bool

func (*PushTask) GetService

func (x *PushTask) GetService() string

func (*PushTask) GetServiceId

func (x *PushTask) GetServiceId() string

func (*PushTask) ProtoMessage

func (*PushTask) ProtoMessage()

func (*PushTask) ProtoReflect

func (x *PushTask) ProtoReflect() protoreflect.Message

func (*PushTask) Reset

func (x *PushTask) Reset()

func (*PushTask) String

func (x *PushTask) String() string

func (*PushTask) Validate

func (m *PushTask) Validate() error

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

func (m *PushTask) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Task.ProtoReflect.Descriptor instead.

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 (x *Task) GetPushTask() *PushTask

func (*Task) GetTaskOneof

func (m *Task) GetTaskOneof() isTask_TaskOneof

func (*Task) GetWaitTask

func (x *Task) GetWaitTask() *WaitTask

func (*Task) ProtoMessage

func (*Task) ProtoMessage()

func (*Task) ProtoReflect

func (x *Task) ProtoReflect() protoreflect.Message

func (*Task) Reset

func (x *Task) Reset()

func (*Task) String

func (x *Task) String() string

func (*Task) Validate

func (m *Task) Validate() error

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

func (m *Task) ValidateAll() error

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

Cause function returns cause value.

func (Task_MetadataValidationError) Error

Error satisfies the builtin error interface

func (Task_MetadataValidationError) ErrorName

func (e Task_MetadataValidationError) ErrorName() string

ErrorName returns error name.

func (Task_MetadataValidationError) Field

Field function returns field value.

func (Task_MetadataValidationError) Key

Key function returns key value.

func (Task_MetadataValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use WaitTask.ProtoReflect.Descriptor instead.

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) Reset

func (x *WaitTask) Reset()

func (*WaitTask) String

func (x *WaitTask) String() string

func (*WaitTask) Validate

func (m *WaitTask) Validate() error

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

func (m *WaitTask) ValidateAll() error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL