Documentation ¶
Index ¶
- Variables
- func RegisterDeploymentServiceServer(s grpc.ServiceRegistrar, srv DeploymentServiceServer)
- type BuildPipelineSyncStagesRequest
- func (*BuildPipelineSyncStagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildPipelineSyncStagesRequest) GetRollback() bool
- func (x *BuildPipelineSyncStagesRequest) GetStages() []*BuildPipelineSyncStagesRequest_StageConfig
- func (*BuildPipelineSyncStagesRequest) ProtoMessage()
- func (x *BuildPipelineSyncStagesRequest) ProtoReflect() protoreflect.Message
- func (x *BuildPipelineSyncStagesRequest) Reset()
- func (x *BuildPipelineSyncStagesRequest) String() string
- func (m *BuildPipelineSyncStagesRequest) Validate() error
- func (m *BuildPipelineSyncStagesRequest) ValidateAll() error
- type BuildPipelineSyncStagesRequestMultiError
- type BuildPipelineSyncStagesRequestValidationError
- func (e BuildPipelineSyncStagesRequestValidationError) Cause() error
- func (e BuildPipelineSyncStagesRequestValidationError) Error() string
- func (e BuildPipelineSyncStagesRequestValidationError) ErrorName() string
- func (e BuildPipelineSyncStagesRequestValidationError) Field() string
- func (e BuildPipelineSyncStagesRequestValidationError) Key() bool
- func (e BuildPipelineSyncStagesRequestValidationError) Reason() string
- type BuildPipelineSyncStagesRequest_StageConfig
- func (*BuildPipelineSyncStagesRequest_StageConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BuildPipelineSyncStagesRequest_StageConfig) GetConfig() []byte
- func (x *BuildPipelineSyncStagesRequest_StageConfig) GetDesc() string
- func (x *BuildPipelineSyncStagesRequest_StageConfig) GetId() string
- func (x *BuildPipelineSyncStagesRequest_StageConfig) GetIndex() int32
- func (x *BuildPipelineSyncStagesRequest_StageConfig) GetName() string
- func (x *BuildPipelineSyncStagesRequest_StageConfig) GetTimeout() string
- func (*BuildPipelineSyncStagesRequest_StageConfig) ProtoMessage()
- func (x *BuildPipelineSyncStagesRequest_StageConfig) ProtoReflect() protoreflect.Message
- func (x *BuildPipelineSyncStagesRequest_StageConfig) Reset()
- func (x *BuildPipelineSyncStagesRequest_StageConfig) String() string
- func (m *BuildPipelineSyncStagesRequest_StageConfig) Validate() error
- func (m *BuildPipelineSyncStagesRequest_StageConfig) ValidateAll() error
- type BuildPipelineSyncStagesRequest_StageConfigMultiError
- type BuildPipelineSyncStagesRequest_StageConfigValidationError
- func (e BuildPipelineSyncStagesRequest_StageConfigValidationError) Cause() error
- func (e BuildPipelineSyncStagesRequest_StageConfigValidationError) Error() string
- func (e BuildPipelineSyncStagesRequest_StageConfigValidationError) ErrorName() string
- func (e BuildPipelineSyncStagesRequest_StageConfigValidationError) Field() string
- func (e BuildPipelineSyncStagesRequest_StageConfigValidationError) Key() bool
- func (e BuildPipelineSyncStagesRequest_StageConfigValidationError) Reason() string
- type BuildPipelineSyncStagesResponse
- func (*BuildPipelineSyncStagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildPipelineSyncStagesResponse) GetStages() []*model.PipelineStage
- func (*BuildPipelineSyncStagesResponse) ProtoMessage()
- func (x *BuildPipelineSyncStagesResponse) ProtoReflect() protoreflect.Message
- func (x *BuildPipelineSyncStagesResponse) Reset()
- func (x *BuildPipelineSyncStagesResponse) String() string
- func (m *BuildPipelineSyncStagesResponse) Validate() error
- func (m *BuildPipelineSyncStagesResponse) ValidateAll() error
- type BuildPipelineSyncStagesResponseMultiError
- type BuildPipelineSyncStagesResponseValidationError
- func (e BuildPipelineSyncStagesResponseValidationError) Cause() error
- func (e BuildPipelineSyncStagesResponseValidationError) Error() string
- func (e BuildPipelineSyncStagesResponseValidationError) ErrorName() string
- func (e BuildPipelineSyncStagesResponseValidationError) Field() string
- func (e BuildPipelineSyncStagesResponseValidationError) Key() bool
- func (e BuildPipelineSyncStagesResponseValidationError) Reason() string
- type BuildQuickSyncStagesRequest
- func (*BuildQuickSyncStagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildQuickSyncStagesRequest) GetRollback() bool
- func (*BuildQuickSyncStagesRequest) ProtoMessage()
- func (x *BuildQuickSyncStagesRequest) ProtoReflect() protoreflect.Message
- func (x *BuildQuickSyncStagesRequest) Reset()
- func (x *BuildQuickSyncStagesRequest) String() string
- func (m *BuildQuickSyncStagesRequest) Validate() error
- func (m *BuildQuickSyncStagesRequest) ValidateAll() error
- type BuildQuickSyncStagesRequestMultiError
- type BuildQuickSyncStagesRequestValidationError
- func (e BuildQuickSyncStagesRequestValidationError) Cause() error
- func (e BuildQuickSyncStagesRequestValidationError) Error() string
- func (e BuildQuickSyncStagesRequestValidationError) ErrorName() string
- func (e BuildQuickSyncStagesRequestValidationError) Field() string
- func (e BuildQuickSyncStagesRequestValidationError) Key() bool
- func (e BuildQuickSyncStagesRequestValidationError) Reason() string
- type BuildQuickSyncStagesResponse
- func (*BuildQuickSyncStagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildQuickSyncStagesResponse) GetStages() []*model.PipelineStage
- func (*BuildQuickSyncStagesResponse) ProtoMessage()
- func (x *BuildQuickSyncStagesResponse) ProtoReflect() protoreflect.Message
- func (x *BuildQuickSyncStagesResponse) Reset()
- func (x *BuildQuickSyncStagesResponse) String() string
- func (m *BuildQuickSyncStagesResponse) Validate() error
- func (m *BuildQuickSyncStagesResponse) ValidateAll() error
- type BuildQuickSyncStagesResponseMultiError
- type BuildQuickSyncStagesResponseValidationError
- func (e BuildQuickSyncStagesResponseValidationError) Cause() error
- func (e BuildQuickSyncStagesResponseValidationError) Error() string
- func (e BuildQuickSyncStagesResponseValidationError) ErrorName() string
- func (e BuildQuickSyncStagesResponseValidationError) Field() string
- func (e BuildQuickSyncStagesResponseValidationError) Key() bool
- func (e BuildQuickSyncStagesResponseValidationError) Reason() string
- type DeploymentServiceClient
- type DeploymentServiceServer
- type DetermineStrategyRequest
- func (*DetermineStrategyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetermineStrategyRequest) GetInput() *PlanPluginInput
- func (*DetermineStrategyRequest) ProtoMessage()
- func (x *DetermineStrategyRequest) ProtoReflect() protoreflect.Message
- func (x *DetermineStrategyRequest) Reset()
- func (x *DetermineStrategyRequest) String() string
- func (m *DetermineStrategyRequest) Validate() error
- func (m *DetermineStrategyRequest) ValidateAll() error
- type DetermineStrategyRequestMultiError
- type DetermineStrategyRequestValidationError
- func (e DetermineStrategyRequestValidationError) Cause() error
- func (e DetermineStrategyRequestValidationError) Error() string
- func (e DetermineStrategyRequestValidationError) ErrorName() string
- func (e DetermineStrategyRequestValidationError) Field() string
- func (e DetermineStrategyRequestValidationError) Key() bool
- func (e DetermineStrategyRequestValidationError) Reason() string
- type DetermineStrategyResponse
- func (*DetermineStrategyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DetermineStrategyResponse) GetSummary() string
- func (x *DetermineStrategyResponse) GetSyncStrategy() model.SyncStrategy
- func (*DetermineStrategyResponse) ProtoMessage()
- func (x *DetermineStrategyResponse) ProtoReflect() protoreflect.Message
- func (x *DetermineStrategyResponse) Reset()
- func (x *DetermineStrategyResponse) String() string
- func (m *DetermineStrategyResponse) Validate() error
- func (m *DetermineStrategyResponse) ValidateAll() error
- type DetermineStrategyResponseMultiError
- type DetermineStrategyResponseValidationError
- func (e DetermineStrategyResponseValidationError) Cause() error
- func (e DetermineStrategyResponseValidationError) Error() string
- func (e DetermineStrategyResponseValidationError) ErrorName() string
- func (e DetermineStrategyResponseValidationError) Field() string
- func (e DetermineStrategyResponseValidationError) Key() bool
- func (e DetermineStrategyResponseValidationError) Reason() string
- type DetermineVersionsRequest
- func (*DetermineVersionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetermineVersionsRequest) GetInput() *PlanPluginInput
- func (*DetermineVersionsRequest) ProtoMessage()
- func (x *DetermineVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *DetermineVersionsRequest) Reset()
- func (x *DetermineVersionsRequest) String() string
- func (m *DetermineVersionsRequest) Validate() error
- func (m *DetermineVersionsRequest) ValidateAll() error
- type DetermineVersionsRequestMultiError
- type DetermineVersionsRequestValidationError
- func (e DetermineVersionsRequestValidationError) Cause() error
- func (e DetermineVersionsRequestValidationError) Error() string
- func (e DetermineVersionsRequestValidationError) ErrorName() string
- func (e DetermineVersionsRequestValidationError) Field() string
- func (e DetermineVersionsRequestValidationError) Key() bool
- func (e DetermineVersionsRequestValidationError) Reason() string
- type DetermineVersionsResponse
- func (*DetermineVersionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DetermineVersionsResponse) GetVersions() []*model.ArtifactVersion
- func (*DetermineVersionsResponse) ProtoMessage()
- func (x *DetermineVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *DetermineVersionsResponse) Reset()
- func (x *DetermineVersionsResponse) String() string
- func (m *DetermineVersionsResponse) Validate() error
- func (m *DetermineVersionsResponse) ValidateAll() error
- type DetermineVersionsResponseMultiError
- type DetermineVersionsResponseValidationError
- func (e DetermineVersionsResponseValidationError) Cause() error
- func (e DetermineVersionsResponseValidationError) Error() string
- func (e DetermineVersionsResponseValidationError) ErrorName() string
- func (e DetermineVersionsResponseValidationError) Field() string
- func (e DetermineVersionsResponseValidationError) Key() bool
- func (e DetermineVersionsResponseValidationError) Reason() string
- type FetchDefinedStagesRequest
- func (*FetchDefinedStagesRequest) Descriptor() ([]byte, []int)deprecated
- func (*FetchDefinedStagesRequest) ProtoMessage()
- func (x *FetchDefinedStagesRequest) ProtoReflect() protoreflect.Message
- func (x *FetchDefinedStagesRequest) Reset()
- func (x *FetchDefinedStagesRequest) String() string
- func (m *FetchDefinedStagesRequest) Validate() error
- func (m *FetchDefinedStagesRequest) ValidateAll() error
- type FetchDefinedStagesRequestMultiError
- type FetchDefinedStagesRequestValidationError
- func (e FetchDefinedStagesRequestValidationError) Cause() error
- func (e FetchDefinedStagesRequestValidationError) Error() string
- func (e FetchDefinedStagesRequestValidationError) ErrorName() string
- func (e FetchDefinedStagesRequestValidationError) Field() string
- func (e FetchDefinedStagesRequestValidationError) Key() bool
- func (e FetchDefinedStagesRequestValidationError) Reason() string
- type FetchDefinedStagesResponse
- func (*FetchDefinedStagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchDefinedStagesResponse) GetStages() []string
- func (*FetchDefinedStagesResponse) ProtoMessage()
- func (x *FetchDefinedStagesResponse) ProtoReflect() protoreflect.Message
- func (x *FetchDefinedStagesResponse) Reset()
- func (x *FetchDefinedStagesResponse) String() string
- func (m *FetchDefinedStagesResponse) Validate() error
- func (m *FetchDefinedStagesResponse) ValidateAll() error
- type FetchDefinedStagesResponseMultiError
- type FetchDefinedStagesResponseValidationError
- func (e FetchDefinedStagesResponseValidationError) Cause() error
- func (e FetchDefinedStagesResponseValidationError) Error() string
- func (e FetchDefinedStagesResponseValidationError) ErrorName() string
- func (e FetchDefinedStagesResponseValidationError) Field() string
- func (e FetchDefinedStagesResponseValidationError) Key() bool
- func (e FetchDefinedStagesResponseValidationError) Reason() string
- type PlanPluginInput
- func (*PlanPluginInput) Descriptor() ([]byte, []int)deprecated
- func (x *PlanPluginInput) GetDeployment() *model.Deployment
- func (x *PlanPluginInput) GetPluginConfig() []byte
- func (x *PlanPluginInput) GetRunningDeploymentSource() *model.DeploymentSource
- func (x *PlanPluginInput) GetTargetDeploymentSource() *model.DeploymentSource
- func (*PlanPluginInput) ProtoMessage()
- func (x *PlanPluginInput) ProtoReflect() protoreflect.Message
- func (x *PlanPluginInput) Reset()
- func (x *PlanPluginInput) String() string
- func (m *PlanPluginInput) Validate() error
- func (m *PlanPluginInput) ValidateAll() error
- type PlanPluginInputMultiError
- type PlanPluginInputValidationError
- func (e PlanPluginInputValidationError) Cause() error
- func (e PlanPluginInputValidationError) Error() string
- func (e PlanPluginInputValidationError) ErrorName() string
- func (e PlanPluginInputValidationError) Field() string
- func (e PlanPluginInputValidationError) Key() bool
- func (e PlanPluginInputValidationError) Reason() string
- type UnimplementedDeploymentServiceServer
- func (UnimplementedDeploymentServiceServer) BuildPipelineSyncStages(context.Context, *BuildPipelineSyncStagesRequest) (*BuildPipelineSyncStagesResponse, error)
- func (UnimplementedDeploymentServiceServer) BuildQuickSyncStages(context.Context, *BuildQuickSyncStagesRequest) (*BuildQuickSyncStagesResponse, error)
- func (UnimplementedDeploymentServiceServer) DetermineStrategy(context.Context, *DetermineStrategyRequest) (*DetermineStrategyResponse, error)
- func (UnimplementedDeploymentServiceServer) DetermineVersions(context.Context, *DetermineVersionsRequest) (*DetermineVersionsResponse, error)
- func (UnimplementedDeploymentServiceServer) FetchDefinedStages(context.Context, *FetchDefinedStagesRequest) (*FetchDefinedStagesResponse, error)
- type UnsafeDeploymentServiceServer
Constants ¶
This section is empty.
Variables ¶
var DeploymentService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "grpc.plugin.deploymentapi.v1alpha1.DeploymentService", HandlerType: (*DeploymentServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FetchDefinedStages", Handler: _DeploymentService_FetchDefinedStages_Handler, }, { MethodName: "DetermineVersions", Handler: _DeploymentService_DetermineVersions_Handler, }, { MethodName: "DetermineStrategy", Handler: _DeploymentService_DetermineStrategy_Handler, }, { MethodName: "BuildPipelineSyncStages", Handler: _DeploymentService_BuildPipelineSyncStages_Handler, }, { MethodName: "BuildQuickSyncStages", Handler: _DeploymentService_BuildQuickSyncStages_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/plugin/api/v1alpha1/deployment/api.proto", }
DeploymentService_ServiceDesc is the grpc.ServiceDesc for DeploymentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_pkg_plugin_api_v1alpha1_deployment_api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDeploymentServiceServer ¶
func RegisterDeploymentServiceServer(s grpc.ServiceRegistrar, srv DeploymentServiceServer)
Types ¶
type BuildPipelineSyncStagesRequest ¶
type BuildPipelineSyncStagesRequest struct { Rollback bool `protobuf:"varint,1,opt,name=rollback,proto3" json:"rollback,omitempty"` Stages []*BuildPipelineSyncStagesRequest_StageConfig `protobuf:"bytes,2,rep,name=stages,proto3" json:"stages,omitempty"` // contains filtered or unexported fields }
func (*BuildPipelineSyncStagesRequest) Descriptor
deprecated
func (*BuildPipelineSyncStagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildPipelineSyncStagesRequest.ProtoReflect.Descriptor instead.
func (*BuildPipelineSyncStagesRequest) GetRollback ¶
func (x *BuildPipelineSyncStagesRequest) GetRollback() bool
func (*BuildPipelineSyncStagesRequest) GetStages ¶
func (x *BuildPipelineSyncStagesRequest) GetStages() []*BuildPipelineSyncStagesRequest_StageConfig
func (*BuildPipelineSyncStagesRequest) ProtoMessage ¶
func (*BuildPipelineSyncStagesRequest) ProtoMessage()
func (*BuildPipelineSyncStagesRequest) ProtoReflect ¶
func (x *BuildPipelineSyncStagesRequest) ProtoReflect() protoreflect.Message
func (*BuildPipelineSyncStagesRequest) Reset ¶
func (x *BuildPipelineSyncStagesRequest) Reset()
func (*BuildPipelineSyncStagesRequest) String ¶
func (x *BuildPipelineSyncStagesRequest) String() string
func (*BuildPipelineSyncStagesRequest) Validate ¶
func (m *BuildPipelineSyncStagesRequest) Validate() error
Validate checks the field values on BuildPipelineSyncStagesRequest 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 (*BuildPipelineSyncStagesRequest) ValidateAll ¶
func (m *BuildPipelineSyncStagesRequest) ValidateAll() error
ValidateAll checks the field values on BuildPipelineSyncStagesRequest 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 BuildPipelineSyncStagesRequestMultiError, or nil if none found.
type BuildPipelineSyncStagesRequestMultiError ¶
type BuildPipelineSyncStagesRequestMultiError []error
BuildPipelineSyncStagesRequestMultiError is an error wrapping multiple validation errors returned by BuildPipelineSyncStagesRequest.ValidateAll() if the designated constraints aren't met.
func (BuildPipelineSyncStagesRequestMultiError) AllErrors ¶
func (m BuildPipelineSyncStagesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BuildPipelineSyncStagesRequestMultiError) Error ¶
func (m BuildPipelineSyncStagesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BuildPipelineSyncStagesRequestValidationError ¶
type BuildPipelineSyncStagesRequestValidationError struct {
// contains filtered or unexported fields
}
BuildPipelineSyncStagesRequestValidationError is the validation error returned by BuildPipelineSyncStagesRequest.Validate if the designated constraints aren't met.
func (BuildPipelineSyncStagesRequestValidationError) Cause ¶
func (e BuildPipelineSyncStagesRequestValidationError) Cause() error
Cause function returns cause value.
func (BuildPipelineSyncStagesRequestValidationError) Error ¶
func (e BuildPipelineSyncStagesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BuildPipelineSyncStagesRequestValidationError) ErrorName ¶
func (e BuildPipelineSyncStagesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BuildPipelineSyncStagesRequestValidationError) Field ¶
func (e BuildPipelineSyncStagesRequestValidationError) Field() string
Field function returns field value.
func (BuildPipelineSyncStagesRequestValidationError) Key ¶
func (e BuildPipelineSyncStagesRequestValidationError) Key() bool
Key function returns key value.
func (BuildPipelineSyncStagesRequestValidationError) Reason ¶
func (e BuildPipelineSyncStagesRequestValidationError) Reason() string
Reason function returns reason value.
type BuildPipelineSyncStagesRequest_StageConfig ¶
type BuildPipelineSyncStagesRequest_StageConfig struct { // The stage identifier. // If it's not set, plugin should set it under pattern: // `pluginname-stage-index`. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The stage name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The stage description. Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"` // The stage timeout. // It should be a duration string (aka. 1m/10s/...). Timeout string `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` // The stage index from the stage list in configuration. Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` // The configuration of the stage. Config []byte `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*BuildPipelineSyncStagesRequest_StageConfig) Descriptor
deprecated
func (*BuildPipelineSyncStagesRequest_StageConfig) Descriptor() ([]byte, []int)
Deprecated: Use BuildPipelineSyncStagesRequest_StageConfig.ProtoReflect.Descriptor instead.
func (*BuildPipelineSyncStagesRequest_StageConfig) GetConfig ¶
func (x *BuildPipelineSyncStagesRequest_StageConfig) GetConfig() []byte
func (*BuildPipelineSyncStagesRequest_StageConfig) GetDesc ¶
func (x *BuildPipelineSyncStagesRequest_StageConfig) GetDesc() string
func (*BuildPipelineSyncStagesRequest_StageConfig) GetId ¶
func (x *BuildPipelineSyncStagesRequest_StageConfig) GetId() string
func (*BuildPipelineSyncStagesRequest_StageConfig) GetIndex ¶
func (x *BuildPipelineSyncStagesRequest_StageConfig) GetIndex() int32
func (*BuildPipelineSyncStagesRequest_StageConfig) GetName ¶
func (x *BuildPipelineSyncStagesRequest_StageConfig) GetName() string
func (*BuildPipelineSyncStagesRequest_StageConfig) GetTimeout ¶
func (x *BuildPipelineSyncStagesRequest_StageConfig) GetTimeout() string
func (*BuildPipelineSyncStagesRequest_StageConfig) ProtoMessage ¶
func (*BuildPipelineSyncStagesRequest_StageConfig) ProtoMessage()
func (*BuildPipelineSyncStagesRequest_StageConfig) ProtoReflect ¶
func (x *BuildPipelineSyncStagesRequest_StageConfig) ProtoReflect() protoreflect.Message
func (*BuildPipelineSyncStagesRequest_StageConfig) Reset ¶
func (x *BuildPipelineSyncStagesRequest_StageConfig) Reset()
func (*BuildPipelineSyncStagesRequest_StageConfig) String ¶
func (x *BuildPipelineSyncStagesRequest_StageConfig) String() string
func (*BuildPipelineSyncStagesRequest_StageConfig) Validate ¶
func (m *BuildPipelineSyncStagesRequest_StageConfig) Validate() error
Validate checks the field values on BuildPipelineSyncStagesRequest_StageConfig 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 (*BuildPipelineSyncStagesRequest_StageConfig) ValidateAll ¶
func (m *BuildPipelineSyncStagesRequest_StageConfig) ValidateAll() error
ValidateAll checks the field values on BuildPipelineSyncStagesRequest_StageConfig 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 BuildPipelineSyncStagesRequest_StageConfigMultiError, or nil if none found.
type BuildPipelineSyncStagesRequest_StageConfigMultiError ¶
type BuildPipelineSyncStagesRequest_StageConfigMultiError []error
BuildPipelineSyncStagesRequest_StageConfigMultiError is an error wrapping multiple validation errors returned by BuildPipelineSyncStagesRequest_StageConfig.ValidateAll() if the designated constraints aren't met.
func (BuildPipelineSyncStagesRequest_StageConfigMultiError) AllErrors ¶
func (m BuildPipelineSyncStagesRequest_StageConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BuildPipelineSyncStagesRequest_StageConfigMultiError) Error ¶
func (m BuildPipelineSyncStagesRequest_StageConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BuildPipelineSyncStagesRequest_StageConfigValidationError ¶
type BuildPipelineSyncStagesRequest_StageConfigValidationError struct {
// contains filtered or unexported fields
}
BuildPipelineSyncStagesRequest_StageConfigValidationError is the validation error returned by BuildPipelineSyncStagesRequest_StageConfig.Validate if the designated constraints aren't met.
func (BuildPipelineSyncStagesRequest_StageConfigValidationError) Cause ¶
func (e BuildPipelineSyncStagesRequest_StageConfigValidationError) Cause() error
Cause function returns cause value.
func (BuildPipelineSyncStagesRequest_StageConfigValidationError) Error ¶
func (e BuildPipelineSyncStagesRequest_StageConfigValidationError) Error() string
Error satisfies the builtin error interface
func (BuildPipelineSyncStagesRequest_StageConfigValidationError) ErrorName ¶
func (e BuildPipelineSyncStagesRequest_StageConfigValidationError) ErrorName() string
ErrorName returns error name.
func (BuildPipelineSyncStagesRequest_StageConfigValidationError) Field ¶
func (e BuildPipelineSyncStagesRequest_StageConfigValidationError) Field() string
Field function returns field value.
func (BuildPipelineSyncStagesRequest_StageConfigValidationError) Key ¶
func (e BuildPipelineSyncStagesRequest_StageConfigValidationError) Key() bool
Key function returns key value.
func (BuildPipelineSyncStagesRequest_StageConfigValidationError) Reason ¶
func (e BuildPipelineSyncStagesRequest_StageConfigValidationError) Reason() string
Reason function returns reason value.
type BuildPipelineSyncStagesResponse ¶
type BuildPipelineSyncStagesResponse struct { // The built stages of the deployment pipeline. Stages []*model.PipelineStage `protobuf:"bytes,1,rep,name=stages,proto3" json:"stages,omitempty"` // contains filtered or unexported fields }
func (*BuildPipelineSyncStagesResponse) Descriptor
deprecated
func (*BuildPipelineSyncStagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildPipelineSyncStagesResponse.ProtoReflect.Descriptor instead.
func (*BuildPipelineSyncStagesResponse) GetStages ¶
func (x *BuildPipelineSyncStagesResponse) GetStages() []*model.PipelineStage
func (*BuildPipelineSyncStagesResponse) ProtoMessage ¶
func (*BuildPipelineSyncStagesResponse) ProtoMessage()
func (*BuildPipelineSyncStagesResponse) ProtoReflect ¶
func (x *BuildPipelineSyncStagesResponse) ProtoReflect() protoreflect.Message
func (*BuildPipelineSyncStagesResponse) Reset ¶
func (x *BuildPipelineSyncStagesResponse) Reset()
func (*BuildPipelineSyncStagesResponse) String ¶
func (x *BuildPipelineSyncStagesResponse) String() string
func (*BuildPipelineSyncStagesResponse) Validate ¶
func (m *BuildPipelineSyncStagesResponse) Validate() error
Validate checks the field values on BuildPipelineSyncStagesResponse 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 (*BuildPipelineSyncStagesResponse) ValidateAll ¶
func (m *BuildPipelineSyncStagesResponse) ValidateAll() error
ValidateAll checks the field values on BuildPipelineSyncStagesResponse 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 BuildPipelineSyncStagesResponseMultiError, or nil if none found.
type BuildPipelineSyncStagesResponseMultiError ¶
type BuildPipelineSyncStagesResponseMultiError []error
BuildPipelineSyncStagesResponseMultiError is an error wrapping multiple validation errors returned by BuildPipelineSyncStagesResponse.ValidateAll() if the designated constraints aren't met.
func (BuildPipelineSyncStagesResponseMultiError) AllErrors ¶
func (m BuildPipelineSyncStagesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BuildPipelineSyncStagesResponseMultiError) Error ¶
func (m BuildPipelineSyncStagesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BuildPipelineSyncStagesResponseValidationError ¶
type BuildPipelineSyncStagesResponseValidationError struct {
// contains filtered or unexported fields
}
BuildPipelineSyncStagesResponseValidationError is the validation error returned by BuildPipelineSyncStagesResponse.Validate if the designated constraints aren't met.
func (BuildPipelineSyncStagesResponseValidationError) Cause ¶
func (e BuildPipelineSyncStagesResponseValidationError) Cause() error
Cause function returns cause value.
func (BuildPipelineSyncStagesResponseValidationError) Error ¶
func (e BuildPipelineSyncStagesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BuildPipelineSyncStagesResponseValidationError) ErrorName ¶
func (e BuildPipelineSyncStagesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BuildPipelineSyncStagesResponseValidationError) Field ¶
func (e BuildPipelineSyncStagesResponseValidationError) Field() string
Field function returns field value.
func (BuildPipelineSyncStagesResponseValidationError) Key ¶
func (e BuildPipelineSyncStagesResponseValidationError) Key() bool
Key function returns key value.
func (BuildPipelineSyncStagesResponseValidationError) Reason ¶
func (e BuildPipelineSyncStagesResponseValidationError) Reason() string
Reason function returns reason value.
type BuildQuickSyncStagesRequest ¶
type BuildQuickSyncStagesRequest struct { Rollback bool `protobuf:"varint,1,opt,name=rollback,proto3" json:"rollback,omitempty"` // contains filtered or unexported fields }
func (*BuildQuickSyncStagesRequest) Descriptor
deprecated
func (*BuildQuickSyncStagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildQuickSyncStagesRequest.ProtoReflect.Descriptor instead.
func (*BuildQuickSyncStagesRequest) GetRollback ¶
func (x *BuildQuickSyncStagesRequest) GetRollback() bool
func (*BuildQuickSyncStagesRequest) ProtoMessage ¶
func (*BuildQuickSyncStagesRequest) ProtoMessage()
func (*BuildQuickSyncStagesRequest) ProtoReflect ¶
func (x *BuildQuickSyncStagesRequest) ProtoReflect() protoreflect.Message
func (*BuildQuickSyncStagesRequest) Reset ¶
func (x *BuildQuickSyncStagesRequest) Reset()
func (*BuildQuickSyncStagesRequest) String ¶
func (x *BuildQuickSyncStagesRequest) String() string
func (*BuildQuickSyncStagesRequest) Validate ¶
func (m *BuildQuickSyncStagesRequest) Validate() error
Validate checks the field values on BuildQuickSyncStagesRequest 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 (*BuildQuickSyncStagesRequest) ValidateAll ¶
func (m *BuildQuickSyncStagesRequest) ValidateAll() error
ValidateAll checks the field values on BuildQuickSyncStagesRequest 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 BuildQuickSyncStagesRequestMultiError, or nil if none found.
type BuildQuickSyncStagesRequestMultiError ¶
type BuildQuickSyncStagesRequestMultiError []error
BuildQuickSyncStagesRequestMultiError is an error wrapping multiple validation errors returned by BuildQuickSyncStagesRequest.ValidateAll() if the designated constraints aren't met.
func (BuildQuickSyncStagesRequestMultiError) AllErrors ¶
func (m BuildQuickSyncStagesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BuildQuickSyncStagesRequestMultiError) Error ¶
func (m BuildQuickSyncStagesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BuildQuickSyncStagesRequestValidationError ¶
type BuildQuickSyncStagesRequestValidationError struct {
// contains filtered or unexported fields
}
BuildQuickSyncStagesRequestValidationError is the validation error returned by BuildQuickSyncStagesRequest.Validate if the designated constraints aren't met.
func (BuildQuickSyncStagesRequestValidationError) Cause ¶
func (e BuildQuickSyncStagesRequestValidationError) Cause() error
Cause function returns cause value.
func (BuildQuickSyncStagesRequestValidationError) Error ¶
func (e BuildQuickSyncStagesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BuildQuickSyncStagesRequestValidationError) ErrorName ¶
func (e BuildQuickSyncStagesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BuildQuickSyncStagesRequestValidationError) Field ¶
func (e BuildQuickSyncStagesRequestValidationError) Field() string
Field function returns field value.
func (BuildQuickSyncStagesRequestValidationError) Key ¶
func (e BuildQuickSyncStagesRequestValidationError) Key() bool
Key function returns key value.
func (BuildQuickSyncStagesRequestValidationError) Reason ¶
func (e BuildQuickSyncStagesRequestValidationError) Reason() string
Reason function returns reason value.
type BuildQuickSyncStagesResponse ¶
type BuildQuickSyncStagesResponse struct { // The built stages of the deployment pipeline. Stages []*model.PipelineStage `protobuf:"bytes,1,rep,name=stages,proto3" json:"stages,omitempty"` // contains filtered or unexported fields }
func (*BuildQuickSyncStagesResponse) Descriptor
deprecated
func (*BuildQuickSyncStagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildQuickSyncStagesResponse.ProtoReflect.Descriptor instead.
func (*BuildQuickSyncStagesResponse) GetStages ¶
func (x *BuildQuickSyncStagesResponse) GetStages() []*model.PipelineStage
func (*BuildQuickSyncStagesResponse) ProtoMessage ¶
func (*BuildQuickSyncStagesResponse) ProtoMessage()
func (*BuildQuickSyncStagesResponse) ProtoReflect ¶
func (x *BuildQuickSyncStagesResponse) ProtoReflect() protoreflect.Message
func (*BuildQuickSyncStagesResponse) Reset ¶
func (x *BuildQuickSyncStagesResponse) Reset()
func (*BuildQuickSyncStagesResponse) String ¶
func (x *BuildQuickSyncStagesResponse) String() string
func (*BuildQuickSyncStagesResponse) Validate ¶
func (m *BuildQuickSyncStagesResponse) Validate() error
Validate checks the field values on BuildQuickSyncStagesResponse 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 (*BuildQuickSyncStagesResponse) ValidateAll ¶
func (m *BuildQuickSyncStagesResponse) ValidateAll() error
ValidateAll checks the field values on BuildQuickSyncStagesResponse 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 BuildQuickSyncStagesResponseMultiError, or nil if none found.
type BuildQuickSyncStagesResponseMultiError ¶
type BuildQuickSyncStagesResponseMultiError []error
BuildQuickSyncStagesResponseMultiError is an error wrapping multiple validation errors returned by BuildQuickSyncStagesResponse.ValidateAll() if the designated constraints aren't met.
func (BuildQuickSyncStagesResponseMultiError) AllErrors ¶
func (m BuildQuickSyncStagesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BuildQuickSyncStagesResponseMultiError) Error ¶
func (m BuildQuickSyncStagesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BuildQuickSyncStagesResponseValidationError ¶
type BuildQuickSyncStagesResponseValidationError struct {
// contains filtered or unexported fields
}
BuildQuickSyncStagesResponseValidationError is the validation error returned by BuildQuickSyncStagesResponse.Validate if the designated constraints aren't met.
func (BuildQuickSyncStagesResponseValidationError) Cause ¶
func (e BuildQuickSyncStagesResponseValidationError) Cause() error
Cause function returns cause value.
func (BuildQuickSyncStagesResponseValidationError) Error ¶
func (e BuildQuickSyncStagesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BuildQuickSyncStagesResponseValidationError) ErrorName ¶
func (e BuildQuickSyncStagesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BuildQuickSyncStagesResponseValidationError) Field ¶
func (e BuildQuickSyncStagesResponseValidationError) Field() string
Field function returns field value.
func (BuildQuickSyncStagesResponseValidationError) Key ¶
func (e BuildQuickSyncStagesResponseValidationError) Key() bool
Key function returns key value.
func (BuildQuickSyncStagesResponseValidationError) Reason ¶
func (e BuildQuickSyncStagesResponseValidationError) Reason() string
Reason function returns reason value.
type DeploymentServiceClient ¶
type DeploymentServiceClient interface { // FetchDefinedStages fetches the defined stages' name which are supported by the plugin. FetchDefinedStages(ctx context.Context, in *FetchDefinedStagesRequest, opts ...grpc.CallOption) (*FetchDefinedStagesResponse, error) // DetermineVersions determines which versions of the artifacts will be used for the given deployment. DetermineVersions(ctx context.Context, in *DetermineVersionsRequest, opts ...grpc.CallOption) (*DetermineVersionsResponse, error) // DetermineStrategy determines which strategy should be used for the given deployment. DetermineStrategy(ctx context.Context, in *DetermineStrategyRequest, opts ...grpc.CallOption) (*DetermineStrategyResponse, error) // BuildPipelineSyncStages builds the deployment pipeline stages. BuildPipelineSyncStages(ctx context.Context, in *BuildPipelineSyncStagesRequest, opts ...grpc.CallOption) (*BuildPipelineSyncStagesResponse, error) // BuildQuickSyncStages builds the deployment quick sync stages. BuildQuickSyncStages(ctx context.Context, in *BuildQuickSyncStagesRequest, opts ...grpc.CallOption) (*BuildQuickSyncStagesResponse, error) }
DeploymentServiceClient is the client API for DeploymentService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeploymentServiceClient ¶
func NewDeploymentServiceClient(cc grpc.ClientConnInterface) DeploymentServiceClient
type DeploymentServiceServer ¶
type DeploymentServiceServer interface { // FetchDefinedStages fetches the defined stages' name which are supported by the plugin. FetchDefinedStages(context.Context, *FetchDefinedStagesRequest) (*FetchDefinedStagesResponse, error) // DetermineVersions determines which versions of the artifacts will be used for the given deployment. DetermineVersions(context.Context, *DetermineVersionsRequest) (*DetermineVersionsResponse, error) // DetermineStrategy determines which strategy should be used for the given deployment. DetermineStrategy(context.Context, *DetermineStrategyRequest) (*DetermineStrategyResponse, error) // BuildPipelineSyncStages builds the deployment pipeline stages. BuildPipelineSyncStages(context.Context, *BuildPipelineSyncStagesRequest) (*BuildPipelineSyncStagesResponse, error) // BuildQuickSyncStages builds the deployment quick sync stages. BuildQuickSyncStages(context.Context, *BuildQuickSyncStagesRequest) (*BuildQuickSyncStagesResponse, error) // contains filtered or unexported methods }
DeploymentServiceServer is the server API for DeploymentService service. All implementations must embed UnimplementedDeploymentServiceServer for forward compatibility
type DetermineStrategyRequest ¶
type DetermineStrategyRequest struct { Input *PlanPluginInput `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` // contains filtered or unexported fields }
func (*DetermineStrategyRequest) Descriptor
deprecated
func (*DetermineStrategyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetermineStrategyRequest.ProtoReflect.Descriptor instead.
func (*DetermineStrategyRequest) GetInput ¶
func (x *DetermineStrategyRequest) GetInput() *PlanPluginInput
func (*DetermineStrategyRequest) ProtoMessage ¶
func (*DetermineStrategyRequest) ProtoMessage()
func (*DetermineStrategyRequest) ProtoReflect ¶
func (x *DetermineStrategyRequest) ProtoReflect() protoreflect.Message
func (*DetermineStrategyRequest) Reset ¶
func (x *DetermineStrategyRequest) Reset()
func (*DetermineStrategyRequest) String ¶
func (x *DetermineStrategyRequest) String() string
func (*DetermineStrategyRequest) Validate ¶
func (m *DetermineStrategyRequest) Validate() error
Validate checks the field values on DetermineStrategyRequest 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 (*DetermineStrategyRequest) ValidateAll ¶
func (m *DetermineStrategyRequest) ValidateAll() error
ValidateAll checks the field values on DetermineStrategyRequest 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 DetermineStrategyRequestMultiError, or nil if none found.
type DetermineStrategyRequestMultiError ¶
type DetermineStrategyRequestMultiError []error
DetermineStrategyRequestMultiError is an error wrapping multiple validation errors returned by DetermineStrategyRequest.ValidateAll() if the designated constraints aren't met.
func (DetermineStrategyRequestMultiError) AllErrors ¶
func (m DetermineStrategyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DetermineStrategyRequestMultiError) Error ¶
func (m DetermineStrategyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DetermineStrategyRequestValidationError ¶
type DetermineStrategyRequestValidationError struct {
// contains filtered or unexported fields
}
DetermineStrategyRequestValidationError is the validation error returned by DetermineStrategyRequest.Validate if the designated constraints aren't met.
func (DetermineStrategyRequestValidationError) Cause ¶
func (e DetermineStrategyRequestValidationError) Cause() error
Cause function returns cause value.
func (DetermineStrategyRequestValidationError) Error ¶
func (e DetermineStrategyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DetermineStrategyRequestValidationError) ErrorName ¶
func (e DetermineStrategyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DetermineStrategyRequestValidationError) Field ¶
func (e DetermineStrategyRequestValidationError) Field() string
Field function returns field value.
func (DetermineStrategyRequestValidationError) Key ¶
func (e DetermineStrategyRequestValidationError) Key() bool
Key function returns key value.
func (DetermineStrategyRequestValidationError) Reason ¶
func (e DetermineStrategyRequestValidationError) Reason() string
Reason function returns reason value.
type DetermineStrategyResponse ¶
type DetermineStrategyResponse struct { // The determined sync strategy. SyncStrategy model.SyncStrategy `protobuf:"varint,1,opt,name=sync_strategy,json=syncStrategy,proto3,enum=model.SyncStrategy" json:"sync_strategy,omitempty"` // Text summary of the determined strategy. Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` // contains filtered or unexported fields }
func (*DetermineStrategyResponse) Descriptor
deprecated
func (*DetermineStrategyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DetermineStrategyResponse.ProtoReflect.Descriptor instead.
func (*DetermineStrategyResponse) GetSummary ¶
func (x *DetermineStrategyResponse) GetSummary() string
func (*DetermineStrategyResponse) GetSyncStrategy ¶
func (x *DetermineStrategyResponse) GetSyncStrategy() model.SyncStrategy
func (*DetermineStrategyResponse) ProtoMessage ¶
func (*DetermineStrategyResponse) ProtoMessage()
func (*DetermineStrategyResponse) ProtoReflect ¶
func (x *DetermineStrategyResponse) ProtoReflect() protoreflect.Message
func (*DetermineStrategyResponse) Reset ¶
func (x *DetermineStrategyResponse) Reset()
func (*DetermineStrategyResponse) String ¶
func (x *DetermineStrategyResponse) String() string
func (*DetermineStrategyResponse) Validate ¶
func (m *DetermineStrategyResponse) Validate() error
Validate checks the field values on DetermineStrategyResponse 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 (*DetermineStrategyResponse) ValidateAll ¶
func (m *DetermineStrategyResponse) ValidateAll() error
ValidateAll checks the field values on DetermineStrategyResponse 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 DetermineStrategyResponseMultiError, or nil if none found.
type DetermineStrategyResponseMultiError ¶
type DetermineStrategyResponseMultiError []error
DetermineStrategyResponseMultiError is an error wrapping multiple validation errors returned by DetermineStrategyResponse.ValidateAll() if the designated constraints aren't met.
func (DetermineStrategyResponseMultiError) AllErrors ¶
func (m DetermineStrategyResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DetermineStrategyResponseMultiError) Error ¶
func (m DetermineStrategyResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DetermineStrategyResponseValidationError ¶
type DetermineStrategyResponseValidationError struct {
// contains filtered or unexported fields
}
DetermineStrategyResponseValidationError is the validation error returned by DetermineStrategyResponse.Validate if the designated constraints aren't met.
func (DetermineStrategyResponseValidationError) Cause ¶
func (e DetermineStrategyResponseValidationError) Cause() error
Cause function returns cause value.
func (DetermineStrategyResponseValidationError) Error ¶
func (e DetermineStrategyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DetermineStrategyResponseValidationError) ErrorName ¶
func (e DetermineStrategyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DetermineStrategyResponseValidationError) Field ¶
func (e DetermineStrategyResponseValidationError) Field() string
Field function returns field value.
func (DetermineStrategyResponseValidationError) Key ¶
func (e DetermineStrategyResponseValidationError) Key() bool
Key function returns key value.
func (DetermineStrategyResponseValidationError) Reason ¶
func (e DetermineStrategyResponseValidationError) Reason() string
Reason function returns reason value.
type DetermineVersionsRequest ¶
type DetermineVersionsRequest struct { Input *PlanPluginInput `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` // contains filtered or unexported fields }
func (*DetermineVersionsRequest) Descriptor
deprecated
func (*DetermineVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetermineVersionsRequest.ProtoReflect.Descriptor instead.
func (*DetermineVersionsRequest) GetInput ¶
func (x *DetermineVersionsRequest) GetInput() *PlanPluginInput
func (*DetermineVersionsRequest) ProtoMessage ¶
func (*DetermineVersionsRequest) ProtoMessage()
func (*DetermineVersionsRequest) ProtoReflect ¶
func (x *DetermineVersionsRequest) ProtoReflect() protoreflect.Message
func (*DetermineVersionsRequest) Reset ¶
func (x *DetermineVersionsRequest) Reset()
func (*DetermineVersionsRequest) String ¶
func (x *DetermineVersionsRequest) String() string
func (*DetermineVersionsRequest) Validate ¶
func (m *DetermineVersionsRequest) Validate() error
Validate checks the field values on DetermineVersionsRequest 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 (*DetermineVersionsRequest) ValidateAll ¶
func (m *DetermineVersionsRequest) ValidateAll() error
ValidateAll checks the field values on DetermineVersionsRequest 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 DetermineVersionsRequestMultiError, or nil if none found.
type DetermineVersionsRequestMultiError ¶
type DetermineVersionsRequestMultiError []error
DetermineVersionsRequestMultiError is an error wrapping multiple validation errors returned by DetermineVersionsRequest.ValidateAll() if the designated constraints aren't met.
func (DetermineVersionsRequestMultiError) AllErrors ¶
func (m DetermineVersionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DetermineVersionsRequestMultiError) Error ¶
func (m DetermineVersionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DetermineVersionsRequestValidationError ¶
type DetermineVersionsRequestValidationError struct {
// contains filtered or unexported fields
}
DetermineVersionsRequestValidationError is the validation error returned by DetermineVersionsRequest.Validate if the designated constraints aren't met.
func (DetermineVersionsRequestValidationError) Cause ¶
func (e DetermineVersionsRequestValidationError) Cause() error
Cause function returns cause value.
func (DetermineVersionsRequestValidationError) Error ¶
func (e DetermineVersionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DetermineVersionsRequestValidationError) ErrorName ¶
func (e DetermineVersionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DetermineVersionsRequestValidationError) Field ¶
func (e DetermineVersionsRequestValidationError) Field() string
Field function returns field value.
func (DetermineVersionsRequestValidationError) Key ¶
func (e DetermineVersionsRequestValidationError) Key() bool
Key function returns key value.
func (DetermineVersionsRequestValidationError) Reason ¶
func (e DetermineVersionsRequestValidationError) Reason() string
Reason function returns reason value.
type DetermineVersionsResponse ¶
type DetermineVersionsResponse struct { // The determined versions of the artifacts. Versions []*model.ArtifactVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` // contains filtered or unexported fields }
func (*DetermineVersionsResponse) Descriptor
deprecated
func (*DetermineVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DetermineVersionsResponse.ProtoReflect.Descriptor instead.
func (*DetermineVersionsResponse) GetVersions ¶
func (x *DetermineVersionsResponse) GetVersions() []*model.ArtifactVersion
func (*DetermineVersionsResponse) ProtoMessage ¶
func (*DetermineVersionsResponse) ProtoMessage()
func (*DetermineVersionsResponse) ProtoReflect ¶
func (x *DetermineVersionsResponse) ProtoReflect() protoreflect.Message
func (*DetermineVersionsResponse) Reset ¶
func (x *DetermineVersionsResponse) Reset()
func (*DetermineVersionsResponse) String ¶
func (x *DetermineVersionsResponse) String() string
func (*DetermineVersionsResponse) Validate ¶
func (m *DetermineVersionsResponse) Validate() error
Validate checks the field values on DetermineVersionsResponse 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 (*DetermineVersionsResponse) ValidateAll ¶
func (m *DetermineVersionsResponse) ValidateAll() error
ValidateAll checks the field values on DetermineVersionsResponse 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 DetermineVersionsResponseMultiError, or nil if none found.
type DetermineVersionsResponseMultiError ¶
type DetermineVersionsResponseMultiError []error
DetermineVersionsResponseMultiError is an error wrapping multiple validation errors returned by DetermineVersionsResponse.ValidateAll() if the designated constraints aren't met.
func (DetermineVersionsResponseMultiError) AllErrors ¶
func (m DetermineVersionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DetermineVersionsResponseMultiError) Error ¶
func (m DetermineVersionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DetermineVersionsResponseValidationError ¶
type DetermineVersionsResponseValidationError struct {
// contains filtered or unexported fields
}
DetermineVersionsResponseValidationError is the validation error returned by DetermineVersionsResponse.Validate if the designated constraints aren't met.
func (DetermineVersionsResponseValidationError) Cause ¶
func (e DetermineVersionsResponseValidationError) Cause() error
Cause function returns cause value.
func (DetermineVersionsResponseValidationError) Error ¶
func (e DetermineVersionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DetermineVersionsResponseValidationError) ErrorName ¶
func (e DetermineVersionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DetermineVersionsResponseValidationError) Field ¶
func (e DetermineVersionsResponseValidationError) Field() string
Field function returns field value.
func (DetermineVersionsResponseValidationError) Key ¶
func (e DetermineVersionsResponseValidationError) Key() bool
Key function returns key value.
func (DetermineVersionsResponseValidationError) Reason ¶
func (e DetermineVersionsResponseValidationError) Reason() string
Reason function returns reason value.
type FetchDefinedStagesRequest ¶
type FetchDefinedStagesRequest struct {
// contains filtered or unexported fields
}
func (*FetchDefinedStagesRequest) Descriptor
deprecated
func (*FetchDefinedStagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchDefinedStagesRequest.ProtoReflect.Descriptor instead.
func (*FetchDefinedStagesRequest) ProtoMessage ¶
func (*FetchDefinedStagesRequest) ProtoMessage()
func (*FetchDefinedStagesRequest) ProtoReflect ¶
func (x *FetchDefinedStagesRequest) ProtoReflect() protoreflect.Message
func (*FetchDefinedStagesRequest) Reset ¶
func (x *FetchDefinedStagesRequest) Reset()
func (*FetchDefinedStagesRequest) String ¶
func (x *FetchDefinedStagesRequest) String() string
func (*FetchDefinedStagesRequest) Validate ¶
func (m *FetchDefinedStagesRequest) Validate() error
Validate checks the field values on FetchDefinedStagesRequest 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 (*FetchDefinedStagesRequest) ValidateAll ¶
func (m *FetchDefinedStagesRequest) ValidateAll() error
ValidateAll checks the field values on FetchDefinedStagesRequest 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 FetchDefinedStagesRequestMultiError, or nil if none found.
type FetchDefinedStagesRequestMultiError ¶
type FetchDefinedStagesRequestMultiError []error
FetchDefinedStagesRequestMultiError is an error wrapping multiple validation errors returned by FetchDefinedStagesRequest.ValidateAll() if the designated constraints aren't met.
func (FetchDefinedStagesRequestMultiError) AllErrors ¶
func (m FetchDefinedStagesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FetchDefinedStagesRequestMultiError) Error ¶
func (m FetchDefinedStagesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FetchDefinedStagesRequestValidationError ¶
type FetchDefinedStagesRequestValidationError struct {
// contains filtered or unexported fields
}
FetchDefinedStagesRequestValidationError is the validation error returned by FetchDefinedStagesRequest.Validate if the designated constraints aren't met.
func (FetchDefinedStagesRequestValidationError) Cause ¶
func (e FetchDefinedStagesRequestValidationError) Cause() error
Cause function returns cause value.
func (FetchDefinedStagesRequestValidationError) Error ¶
func (e FetchDefinedStagesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FetchDefinedStagesRequestValidationError) ErrorName ¶
func (e FetchDefinedStagesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FetchDefinedStagesRequestValidationError) Field ¶
func (e FetchDefinedStagesRequestValidationError) Field() string
Field function returns field value.
func (FetchDefinedStagesRequestValidationError) Key ¶
func (e FetchDefinedStagesRequestValidationError) Key() bool
Key function returns key value.
func (FetchDefinedStagesRequestValidationError) Reason ¶
func (e FetchDefinedStagesRequestValidationError) Reason() string
Reason function returns reason value.
type FetchDefinedStagesResponse ¶
type FetchDefinedStagesResponse struct { // The defined stages supported by the plugin. Stages []string `protobuf:"bytes,1,rep,name=stages,proto3" json:"stages,omitempty"` // contains filtered or unexported fields }
func (*FetchDefinedStagesResponse) Descriptor
deprecated
func (*FetchDefinedStagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchDefinedStagesResponse.ProtoReflect.Descriptor instead.
func (*FetchDefinedStagesResponse) GetStages ¶
func (x *FetchDefinedStagesResponse) GetStages() []string
func (*FetchDefinedStagesResponse) ProtoMessage ¶
func (*FetchDefinedStagesResponse) ProtoMessage()
func (*FetchDefinedStagesResponse) ProtoReflect ¶
func (x *FetchDefinedStagesResponse) ProtoReflect() protoreflect.Message
func (*FetchDefinedStagesResponse) Reset ¶
func (x *FetchDefinedStagesResponse) Reset()
func (*FetchDefinedStagesResponse) String ¶
func (x *FetchDefinedStagesResponse) String() string
func (*FetchDefinedStagesResponse) Validate ¶
func (m *FetchDefinedStagesResponse) Validate() error
Validate checks the field values on FetchDefinedStagesResponse 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 (*FetchDefinedStagesResponse) ValidateAll ¶
func (m *FetchDefinedStagesResponse) ValidateAll() error
ValidateAll checks the field values on FetchDefinedStagesResponse 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 FetchDefinedStagesResponseMultiError, or nil if none found.
type FetchDefinedStagesResponseMultiError ¶
type FetchDefinedStagesResponseMultiError []error
FetchDefinedStagesResponseMultiError is an error wrapping multiple validation errors returned by FetchDefinedStagesResponse.ValidateAll() if the designated constraints aren't met.
func (FetchDefinedStagesResponseMultiError) AllErrors ¶
func (m FetchDefinedStagesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FetchDefinedStagesResponseMultiError) Error ¶
func (m FetchDefinedStagesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FetchDefinedStagesResponseValidationError ¶
type FetchDefinedStagesResponseValidationError struct {
// contains filtered or unexported fields
}
FetchDefinedStagesResponseValidationError is the validation error returned by FetchDefinedStagesResponse.Validate if the designated constraints aren't met.
func (FetchDefinedStagesResponseValidationError) Cause ¶
func (e FetchDefinedStagesResponseValidationError) Cause() error
Cause function returns cause value.
func (FetchDefinedStagesResponseValidationError) Error ¶
func (e FetchDefinedStagesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FetchDefinedStagesResponseValidationError) ErrorName ¶
func (e FetchDefinedStagesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FetchDefinedStagesResponseValidationError) Field ¶
func (e FetchDefinedStagesResponseValidationError) Field() string
Field function returns field value.
func (FetchDefinedStagesResponseValidationError) Key ¶
func (e FetchDefinedStagesResponseValidationError) Key() bool
Key function returns key value.
func (FetchDefinedStagesResponseValidationError) Reason ¶
func (e FetchDefinedStagesResponseValidationError) Reason() string
Reason function returns reason value.
type PlanPluginInput ¶
type PlanPluginInput struct { // The deployment to build a plan for. Deployment *model.Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"` // The configuration of plugin that handles the deployment. PluginConfig []byte `protobuf:"bytes,2,opt,name=plugin_config,json=pluginConfig,proto3" json:"plugin_config,omitempty"` // The running deployment source. RunningDeploymentSource *model.DeploymentSource `` /* 132-byte string literal not displayed */ // The target deployment source. TargetDeploymentSource *model.DeploymentSource `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PlanPluginInput) Descriptor
deprecated
func (*PlanPluginInput) Descriptor() ([]byte, []int)
Deprecated: Use PlanPluginInput.ProtoReflect.Descriptor instead.
func (*PlanPluginInput) GetDeployment ¶
func (x *PlanPluginInput) GetDeployment() *model.Deployment
func (*PlanPluginInput) GetPluginConfig ¶
func (x *PlanPluginInput) GetPluginConfig() []byte
func (*PlanPluginInput) GetRunningDeploymentSource ¶
func (x *PlanPluginInput) GetRunningDeploymentSource() *model.DeploymentSource
func (*PlanPluginInput) GetTargetDeploymentSource ¶
func (x *PlanPluginInput) GetTargetDeploymentSource() *model.DeploymentSource
func (*PlanPluginInput) ProtoMessage ¶
func (*PlanPluginInput) ProtoMessage()
func (*PlanPluginInput) ProtoReflect ¶
func (x *PlanPluginInput) ProtoReflect() protoreflect.Message
func (*PlanPluginInput) Reset ¶
func (x *PlanPluginInput) Reset()
func (*PlanPluginInput) String ¶
func (x *PlanPluginInput) String() string
func (*PlanPluginInput) Validate ¶
func (m *PlanPluginInput) Validate() error
Validate checks the field values on PlanPluginInput 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 (*PlanPluginInput) ValidateAll ¶
func (m *PlanPluginInput) ValidateAll() error
ValidateAll checks the field values on PlanPluginInput 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 PlanPluginInputMultiError, or nil if none found.
type PlanPluginInputMultiError ¶
type PlanPluginInputMultiError []error
PlanPluginInputMultiError is an error wrapping multiple validation errors returned by PlanPluginInput.ValidateAll() if the designated constraints aren't met.
func (PlanPluginInputMultiError) AllErrors ¶
func (m PlanPluginInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PlanPluginInputMultiError) Error ¶
func (m PlanPluginInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PlanPluginInputValidationError ¶
type PlanPluginInputValidationError struct {
// contains filtered or unexported fields
}
PlanPluginInputValidationError is the validation error returned by PlanPluginInput.Validate if the designated constraints aren't met.
func (PlanPluginInputValidationError) Cause ¶
func (e PlanPluginInputValidationError) Cause() error
Cause function returns cause value.
func (PlanPluginInputValidationError) Error ¶
func (e PlanPluginInputValidationError) Error() string
Error satisfies the builtin error interface
func (PlanPluginInputValidationError) ErrorName ¶
func (e PlanPluginInputValidationError) ErrorName() string
ErrorName returns error name.
func (PlanPluginInputValidationError) Field ¶
func (e PlanPluginInputValidationError) Field() string
Field function returns field value.
func (PlanPluginInputValidationError) Key ¶
func (e PlanPluginInputValidationError) Key() bool
Key function returns key value.
func (PlanPluginInputValidationError) Reason ¶
func (e PlanPluginInputValidationError) Reason() string
Reason function returns reason value.
type UnimplementedDeploymentServiceServer ¶
type UnimplementedDeploymentServiceServer struct { }
UnimplementedDeploymentServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDeploymentServiceServer) BuildPipelineSyncStages ¶
func (UnimplementedDeploymentServiceServer) BuildPipelineSyncStages(context.Context, *BuildPipelineSyncStagesRequest) (*BuildPipelineSyncStagesResponse, error)
func (UnimplementedDeploymentServiceServer) BuildQuickSyncStages ¶
func (UnimplementedDeploymentServiceServer) BuildQuickSyncStages(context.Context, *BuildQuickSyncStagesRequest) (*BuildQuickSyncStagesResponse, error)
func (UnimplementedDeploymentServiceServer) DetermineStrategy ¶
func (UnimplementedDeploymentServiceServer) DetermineStrategy(context.Context, *DetermineStrategyRequest) (*DetermineStrategyResponse, error)
func (UnimplementedDeploymentServiceServer) DetermineVersions ¶
func (UnimplementedDeploymentServiceServer) DetermineVersions(context.Context, *DetermineVersionsRequest) (*DetermineVersionsResponse, error)
func (UnimplementedDeploymentServiceServer) FetchDefinedStages ¶
func (UnimplementedDeploymentServiceServer) FetchDefinedStages(context.Context, *FetchDefinedStagesRequest) (*FetchDefinedStagesResponse, error)
type UnsafeDeploymentServiceServer ¶
type UnsafeDeploymentServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDeploymentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeploymentServiceServer will result in compilation errors.