deployment

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)

View Source
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 (*BuildPipelineSyncStagesRequest) ProtoMessage

func (*BuildPipelineSyncStagesRequest) ProtoMessage()

func (*BuildPipelineSyncStagesRequest) ProtoReflect

func (*BuildPipelineSyncStagesRequest) Reset

func (x *BuildPipelineSyncStagesRequest) Reset()

func (*BuildPipelineSyncStagesRequest) 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

AllErrors returns a list of validation violation errors.

func (BuildPipelineSyncStagesRequestMultiError) Error

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

Cause function returns cause value.

func (BuildPipelineSyncStagesRequestValidationError) Error

Error satisfies the builtin error interface

func (BuildPipelineSyncStagesRequestValidationError) ErrorName

ErrorName returns error name.

func (BuildPipelineSyncStagesRequestValidationError) Field

Field function returns field value.

func (BuildPipelineSyncStagesRequestValidationError) Key

Key function returns key value.

func (BuildPipelineSyncStagesRequestValidationError) Reason

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

Deprecated: Use BuildPipelineSyncStagesRequest_StageConfig.ProtoReflect.Descriptor instead.

func (*BuildPipelineSyncStagesRequest_StageConfig) GetConfig

func (*BuildPipelineSyncStagesRequest_StageConfig) GetDesc

func (*BuildPipelineSyncStagesRequest_StageConfig) GetId

func (*BuildPipelineSyncStagesRequest_StageConfig) GetIndex

func (*BuildPipelineSyncStagesRequest_StageConfig) GetName

func (*BuildPipelineSyncStagesRequest_StageConfig) GetTimeout

func (*BuildPipelineSyncStagesRequest_StageConfig) ProtoMessage

func (*BuildPipelineSyncStagesRequest_StageConfig) ProtoReflect

func (*BuildPipelineSyncStagesRequest_StageConfig) Reset

func (*BuildPipelineSyncStagesRequest_StageConfig) String

func (*BuildPipelineSyncStagesRequest_StageConfig) Validate

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

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

AllErrors returns a list of validation violation errors.

func (BuildPipelineSyncStagesRequest_StageConfigMultiError) Error

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

Cause function returns cause value.

func (BuildPipelineSyncStagesRequest_StageConfigValidationError) Error

Error satisfies the builtin error interface

func (BuildPipelineSyncStagesRequest_StageConfigValidationError) ErrorName

ErrorName returns error name.

func (BuildPipelineSyncStagesRequest_StageConfigValidationError) Field

Field function returns field value.

func (BuildPipelineSyncStagesRequest_StageConfigValidationError) Key

Key function returns key value.

func (BuildPipelineSyncStagesRequest_StageConfigValidationError) Reason

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 (*BuildPipelineSyncStagesResponse) ProtoMessage

func (*BuildPipelineSyncStagesResponse) ProtoMessage()

func (*BuildPipelineSyncStagesResponse) ProtoReflect

func (*BuildPipelineSyncStagesResponse) Reset

func (*BuildPipelineSyncStagesResponse) 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

AllErrors returns a list of validation violation errors.

func (BuildPipelineSyncStagesResponseMultiError) Error

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

Cause function returns cause value.

func (BuildPipelineSyncStagesResponseValidationError) Error

Error satisfies the builtin error interface

func (BuildPipelineSyncStagesResponseValidationError) ErrorName

ErrorName returns error name.

func (BuildPipelineSyncStagesResponseValidationError) Field

Field function returns field value.

func (BuildPipelineSyncStagesResponseValidationError) Key

Key function returns key value.

func (BuildPipelineSyncStagesResponseValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (BuildQuickSyncStagesRequestMultiError) Error

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

Cause function returns cause value.

func (BuildQuickSyncStagesRequestValidationError) Error

Error satisfies the builtin error interface

func (BuildQuickSyncStagesRequestValidationError) ErrorName

ErrorName returns error name.

func (BuildQuickSyncStagesRequestValidationError) Field

Field function returns field value.

func (BuildQuickSyncStagesRequestValidationError) Key

Key function returns key value.

func (BuildQuickSyncStagesRequestValidationError) Reason

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 (*BuildQuickSyncStagesResponse) ProtoMessage

func (*BuildQuickSyncStagesResponse) ProtoMessage()

func (*BuildQuickSyncStagesResponse) ProtoReflect

func (*BuildQuickSyncStagesResponse) Reset

func (x *BuildQuickSyncStagesResponse) Reset()

func (*BuildQuickSyncStagesResponse) 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

AllErrors returns a list of validation violation errors.

func (BuildQuickSyncStagesResponseMultiError) Error

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

Cause function returns cause value.

func (BuildQuickSyncStagesResponseValidationError) Error

Error satisfies the builtin error interface

func (BuildQuickSyncStagesResponseValidationError) ErrorName

ErrorName returns error name.

func (BuildQuickSyncStagesResponseValidationError) Field

Field function returns field value.

func (BuildQuickSyncStagesResponseValidationError) Key

Key function returns key value.

func (BuildQuickSyncStagesResponseValidationError) Reason

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.

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

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

Cause function returns cause value.

func (DetermineStrategyRequestValidationError) Error

Error satisfies the builtin error interface

func (DetermineStrategyRequestValidationError) ErrorName

ErrorName returns error name.

func (DetermineStrategyRequestValidationError) Field

Field function returns field value.

func (DetermineStrategyRequestValidationError) Key

Key function returns key value.

func (DetermineStrategyRequestValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (DetermineStrategyResponseMultiError) Error

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

Cause function returns cause value.

func (DetermineStrategyResponseValidationError) Error

Error satisfies the builtin error interface

func (DetermineStrategyResponseValidationError) ErrorName

ErrorName returns error name.

func (DetermineStrategyResponseValidationError) Field

Field function returns field value.

func (DetermineStrategyResponseValidationError) Key

Key function returns key value.

func (DetermineStrategyResponseValidationError) Reason

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

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

Cause function returns cause value.

func (DetermineVersionsRequestValidationError) Error

Error satisfies the builtin error interface

func (DetermineVersionsRequestValidationError) ErrorName

ErrorName returns error name.

func (DetermineVersionsRequestValidationError) Field

Field function returns field value.

func (DetermineVersionsRequestValidationError) Key

Key function returns key value.

func (DetermineVersionsRequestValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (DetermineVersionsResponseMultiError) Error

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

Cause function returns cause value.

func (DetermineVersionsResponseValidationError) Error

Error satisfies the builtin error interface

func (DetermineVersionsResponseValidationError) ErrorName

ErrorName returns error name.

func (DetermineVersionsResponseValidationError) Field

Field function returns field value.

func (DetermineVersionsResponseValidationError) Key

Key function returns key value.

func (DetermineVersionsResponseValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (FetchDefinedStagesRequestMultiError) Error

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

Cause function returns cause value.

func (FetchDefinedStagesRequestValidationError) Error

Error satisfies the builtin error interface

func (FetchDefinedStagesRequestValidationError) ErrorName

ErrorName returns error name.

func (FetchDefinedStagesRequestValidationError) Field

Field function returns field value.

func (FetchDefinedStagesRequestValidationError) Key

Key function returns key value.

func (FetchDefinedStagesRequestValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (FetchDefinedStagesResponseMultiError) Error

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

Cause function returns cause value.

func (FetchDefinedStagesResponseValidationError) Error

Error satisfies the builtin error interface

func (FetchDefinedStagesResponseValidationError) ErrorName

ErrorName returns error name.

func (FetchDefinedStagesResponseValidationError) Field

Field function returns field value.

func (FetchDefinedStagesResponseValidationError) Key

Key function returns key value.

func (FetchDefinedStagesResponseValidationError) Reason

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

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

Cause function returns cause value.

func (PlanPluginInputValidationError) Error

Error satisfies the builtin error interface

func (PlanPluginInputValidationError) ErrorName

func (e PlanPluginInputValidationError) ErrorName() string

ErrorName returns error name.

func (PlanPluginInputValidationError) Field

Field function returns field value.

func (PlanPluginInputValidationError) Key

Key function returns key value.

func (PlanPluginInputValidationError) Reason

Reason function returns reason value.

type UnimplementedDeploymentServiceServer

type UnimplementedDeploymentServiceServer struct {
}

UnimplementedDeploymentServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDeploymentServiceServer) BuildQuickSyncStages

func (UnimplementedDeploymentServiceServer) DetermineStrategy

func (UnimplementedDeploymentServiceServer) DetermineVersions

func (UnimplementedDeploymentServiceServer) FetchDefinedStages

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.

Jump to

Keyboard shortcuts

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