deployment

package
v0.3.42 Latest Latest
Warning

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

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

Documentation

Overview

Package deployment is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	DeploymentManager_RecordDeployment_FullMethodName        = "/prodvana.deployment.DeploymentManager/RecordDeployment"
	DeploymentManager_UpdateDeploymentStatus_FullMethodName  = "/prodvana.deployment.DeploymentManager/UpdateDeploymentStatus"
	DeploymentManager_ListDeployments_FullMethodName         = "/prodvana.deployment.DeploymentManager/ListDeployments"
	DeploymentManager_ListDeploymentsStream_FullMethodName   = "/prodvana.deployment.DeploymentManager/ListDeploymentsStream"
	DeploymentManager_CompareDeployment_FullMethodName       = "/prodvana.deployment.DeploymentManager/CompareDeployment"
	DeploymentManager_PreviewDeployment_FullMethodName       = "/prodvana.deployment.DeploymentManager/PreviewDeployment"
	DeploymentManager_GetLatestDeployments_FullMethodName    = "/prodvana.deployment.DeploymentManager/GetLatestDeployments"
	DeploymentManager_CheckCommitInDeployment_FullMethodName = "/prodvana.deployment.DeploymentManager/CheckCommitInDeployment"
)

Variables

View Source
var (
	CheckCommitInDeploymentResp_Result_name = map[int32]string{
		0: "UNKNOWN",
		1: "INCLUDED",
		2: "NO_RELATION",
		3: "NOT_INCLUDED",
	}
	CheckCommitInDeploymentResp_Result_value = map[string]int32{
		"UNKNOWN":      0,
		"INCLUDED":     1,
		"NO_RELATION":  2,
		"NOT_INCLUDED": 3,
	}
)

Enum value maps for CheckCommitInDeploymentResp_Result.

View Source
var DeploymentManager_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "prodvana.deployment.DeploymentManager",
	HandlerType: (*DeploymentManagerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RecordDeployment",
			Handler:    _DeploymentManager_RecordDeployment_Handler,
		},
		{
			MethodName: "UpdateDeploymentStatus",
			Handler:    _DeploymentManager_UpdateDeploymentStatus_Handler,
		},
		{
			MethodName: "ListDeployments",
			Handler:    _DeploymentManager_ListDeployments_Handler,
		},
		{
			MethodName: "CompareDeployment",
			Handler:    _DeploymentManager_CompareDeployment_Handler,
		},
		{
			MethodName: "PreviewDeployment",
			Handler:    _DeploymentManager_PreviewDeployment_Handler,
		},
		{
			MethodName: "GetLatestDeployments",
			Handler:    _DeploymentManager_GetLatestDeployments_Handler,
		},
		{
			MethodName: "CheckCommitInDeployment",
			Handler:    _DeploymentManager_CheckCommitInDeployment_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListDeploymentsStream",
			Handler:       _DeploymentManager_ListDeploymentsStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "prodvana/deployment/manager.proto",
}

DeploymentManager_ServiceDesc is the grpc.ServiceDesc for DeploymentManager 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_prodvana_deployment_manager_proto protoreflect.FileDescriptor

Functions

func RegisterDeploymentManagerHandler

func RegisterDeploymentManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterDeploymentManagerHandler registers the http handlers for service DeploymentManager to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterDeploymentManagerHandlerClient

func RegisterDeploymentManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DeploymentManagerClient) error

RegisterDeploymentManagerHandlerClient registers the http handlers for service DeploymentManager to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DeploymentManagerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DeploymentManagerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DeploymentManagerClient" to call the correct interceptors.

func RegisterDeploymentManagerHandlerFromEndpoint

func RegisterDeploymentManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterDeploymentManagerHandlerFromEndpoint is same as RegisterDeploymentManagerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterDeploymentManagerHandlerServer

func RegisterDeploymentManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DeploymentManagerServer) error

RegisterDeploymentManagerHandlerServer registers the http handlers for service DeploymentManager to "mux". UnaryRPC :call DeploymentManagerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDeploymentManagerHandlerFromEndpoint instead.

func RegisterDeploymentManagerServer

func RegisterDeploymentManagerServer(s grpc.ServiceRegistrar, srv DeploymentManagerServer)

Types

type CheckCommitInDeploymentReq

type CheckCommitInDeploymentReq struct {

	// Types that are assignable to DeploymentOneof:
	//
	//	*CheckCommitInDeploymentReq_DeploymentId
	//	*CheckCommitInDeploymentReq_DeploymentServiceInstance
	DeploymentOneof isCheckCommitInDeploymentReq_DeploymentOneof `protobuf_oneof:"deployment_oneof"`
	Repository      string                                       `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
	Commit          string                                       `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckCommitInDeploymentReq) Descriptor deprecated

func (*CheckCommitInDeploymentReq) Descriptor() ([]byte, []int)

Deprecated: Use CheckCommitInDeploymentReq.ProtoReflect.Descriptor instead.

func (*CheckCommitInDeploymentReq) GetCommit

func (x *CheckCommitInDeploymentReq) GetCommit() string

func (*CheckCommitInDeploymentReq) GetDeploymentId

func (x *CheckCommitInDeploymentReq) GetDeploymentId() string

func (*CheckCommitInDeploymentReq) GetDeploymentOneof

func (m *CheckCommitInDeploymentReq) GetDeploymentOneof() isCheckCommitInDeploymentReq_DeploymentOneof

func (*CheckCommitInDeploymentReq) GetDeploymentServiceInstance

func (x *CheckCommitInDeploymentReq) GetDeploymentServiceInstance() *DeploymentServiceInstance

func (*CheckCommitInDeploymentReq) GetRepository

func (x *CheckCommitInDeploymentReq) GetRepository() string

func (*CheckCommitInDeploymentReq) ProtoMessage

func (*CheckCommitInDeploymentReq) ProtoMessage()

func (*CheckCommitInDeploymentReq) ProtoReflect

func (*CheckCommitInDeploymentReq) Reset

func (x *CheckCommitInDeploymentReq) Reset()

func (*CheckCommitInDeploymentReq) String

func (x *CheckCommitInDeploymentReq) String() string

func (*CheckCommitInDeploymentReq) Validate

func (m *CheckCommitInDeploymentReq) Validate() error

Validate checks the field values on CheckCommitInDeploymentReq 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 (*CheckCommitInDeploymentReq) ValidateAll

func (m *CheckCommitInDeploymentReq) ValidateAll() error

ValidateAll checks the field values on CheckCommitInDeploymentReq 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 CheckCommitInDeploymentReqMultiError, or nil if none found.

type CheckCommitInDeploymentReqMultiError

type CheckCommitInDeploymentReqMultiError []error

CheckCommitInDeploymentReqMultiError is an error wrapping multiple validation errors returned by CheckCommitInDeploymentReq.ValidateAll() if the designated constraints aren't met.

func (CheckCommitInDeploymentReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CheckCommitInDeploymentReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CheckCommitInDeploymentReqValidationError

type CheckCommitInDeploymentReqValidationError struct {
	// contains filtered or unexported fields
}

CheckCommitInDeploymentReqValidationError is the validation error returned by CheckCommitInDeploymentReq.Validate if the designated constraints aren't met.

func (CheckCommitInDeploymentReqValidationError) Cause

Cause function returns cause value.

func (CheckCommitInDeploymentReqValidationError) Error

Error satisfies the builtin error interface

func (CheckCommitInDeploymentReqValidationError) ErrorName

ErrorName returns error name.

func (CheckCommitInDeploymentReqValidationError) Field

Field function returns field value.

func (CheckCommitInDeploymentReqValidationError) Key

Key function returns key value.

func (CheckCommitInDeploymentReqValidationError) Reason

Reason function returns reason value.

type CheckCommitInDeploymentReq_DeploymentId

type CheckCommitInDeploymentReq_DeploymentId struct {
	DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3,oneof"`
}

type CheckCommitInDeploymentReq_DeploymentServiceInstance

type CheckCommitInDeploymentReq_DeploymentServiceInstance struct {
	DeploymentServiceInstance *DeploymentServiceInstance `protobuf:"bytes,2,opt,name=deployment_service_instance,json=deploymentServiceInstance,proto3,oneof"` // will pick latest deployment
}

type CheckCommitInDeploymentResp

type CheckCommitInDeploymentResp struct {
	Result CheckCommitInDeploymentResp_Result `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CheckCommitInDeploymentResp) Descriptor deprecated

func (*CheckCommitInDeploymentResp) Descriptor() ([]byte, []int)

Deprecated: Use CheckCommitInDeploymentResp.ProtoReflect.Descriptor instead.

func (*CheckCommitInDeploymentResp) GetResult

func (*CheckCommitInDeploymentResp) ProtoMessage

func (*CheckCommitInDeploymentResp) ProtoMessage()

func (*CheckCommitInDeploymentResp) ProtoReflect

func (*CheckCommitInDeploymentResp) Reset

func (x *CheckCommitInDeploymentResp) Reset()

func (*CheckCommitInDeploymentResp) String

func (x *CheckCommitInDeploymentResp) String() string

func (*CheckCommitInDeploymentResp) Validate

func (m *CheckCommitInDeploymentResp) Validate() error

Validate checks the field values on CheckCommitInDeploymentResp 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 (*CheckCommitInDeploymentResp) ValidateAll

func (m *CheckCommitInDeploymentResp) ValidateAll() error

ValidateAll checks the field values on CheckCommitInDeploymentResp 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 CheckCommitInDeploymentRespMultiError, or nil if none found.

type CheckCommitInDeploymentRespMultiError

type CheckCommitInDeploymentRespMultiError []error

CheckCommitInDeploymentRespMultiError is an error wrapping multiple validation errors returned by CheckCommitInDeploymentResp.ValidateAll() if the designated constraints aren't met.

func (CheckCommitInDeploymentRespMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CheckCommitInDeploymentRespMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CheckCommitInDeploymentRespValidationError

type CheckCommitInDeploymentRespValidationError struct {
	// contains filtered or unexported fields
}

CheckCommitInDeploymentRespValidationError is the validation error returned by CheckCommitInDeploymentResp.Validate if the designated constraints aren't met.

func (CheckCommitInDeploymentRespValidationError) Cause

Cause function returns cause value.

func (CheckCommitInDeploymentRespValidationError) Error

Error satisfies the builtin error interface

func (CheckCommitInDeploymentRespValidationError) ErrorName

ErrorName returns error name.

func (CheckCommitInDeploymentRespValidationError) Field

Field function returns field value.

func (CheckCommitInDeploymentRespValidationError) Key

Key function returns key value.

func (CheckCommitInDeploymentRespValidationError) Reason

Reason function returns reason value.

type CheckCommitInDeploymentResp_Result

type CheckCommitInDeploymentResp_Result int32
const (
	CheckCommitInDeploymentResp_UNKNOWN      CheckCommitInDeploymentResp_Result = 0
	CheckCommitInDeploymentResp_INCLUDED     CheckCommitInDeploymentResp_Result = 1
	CheckCommitInDeploymentResp_NO_RELATION  CheckCommitInDeploymentResp_Result = 2
	CheckCommitInDeploymentResp_NOT_INCLUDED CheckCommitInDeploymentResp_Result = 3
)

func (CheckCommitInDeploymentResp_Result) Descriptor

func (CheckCommitInDeploymentResp_Result) Enum

func (CheckCommitInDeploymentResp_Result) EnumDescriptor deprecated

func (CheckCommitInDeploymentResp_Result) EnumDescriptor() ([]byte, []int)

Deprecated: Use CheckCommitInDeploymentResp_Result.Descriptor instead.

func (CheckCommitInDeploymentResp_Result) Number

func (CheckCommitInDeploymentResp_Result) String

func (CheckCommitInDeploymentResp_Result) Type

type CompareDeploymentReq

type CompareDeploymentReq struct {
	NewDeployment  *DeploymentRef `protobuf:"bytes,1,opt,name=new_deployment,json=newDeployment,proto3" json:"new_deployment,omitempty"`
	PrevDeployment *DeploymentRef `protobuf:"bytes,2,opt,name=prev_deployment,json=prevDeployment,proto3" json:"prev_deployment,omitempty"`
	// contains filtered or unexported fields
}

func (*CompareDeploymentReq) Descriptor deprecated

func (*CompareDeploymentReq) Descriptor() ([]byte, []int)

Deprecated: Use CompareDeploymentReq.ProtoReflect.Descriptor instead.

func (*CompareDeploymentReq) GetNewDeployment

func (x *CompareDeploymentReq) GetNewDeployment() *DeploymentRef

func (*CompareDeploymentReq) GetPrevDeployment

func (x *CompareDeploymentReq) GetPrevDeployment() *DeploymentRef

func (*CompareDeploymentReq) ProtoMessage

func (*CompareDeploymentReq) ProtoMessage()

func (*CompareDeploymentReq) ProtoReflect

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

func (*CompareDeploymentReq) Reset

func (x *CompareDeploymentReq) Reset()

func (*CompareDeploymentReq) String

func (x *CompareDeploymentReq) String() string

func (*CompareDeploymentReq) Validate

func (m *CompareDeploymentReq) Validate() error

Validate checks the field values on CompareDeploymentReq 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 (*CompareDeploymentReq) ValidateAll

func (m *CompareDeploymentReq) ValidateAll() error

ValidateAll checks the field values on CompareDeploymentReq 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 CompareDeploymentReqMultiError, or nil if none found.

type CompareDeploymentReqMultiError

type CompareDeploymentReqMultiError []error

CompareDeploymentReqMultiError is an error wrapping multiple validation errors returned by CompareDeploymentReq.ValidateAll() if the designated constraints aren't met.

func (CompareDeploymentReqMultiError) AllErrors

func (m CompareDeploymentReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CompareDeploymentReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CompareDeploymentReqValidationError

type CompareDeploymentReqValidationError struct {
	// contains filtered or unexported fields
}

CompareDeploymentReqValidationError is the validation error returned by CompareDeploymentReq.Validate if the designated constraints aren't met.

func (CompareDeploymentReqValidationError) Cause

Cause function returns cause value.

func (CompareDeploymentReqValidationError) Error

Error satisfies the builtin error interface

func (CompareDeploymentReqValidationError) ErrorName

ErrorName returns error name.

func (CompareDeploymentReqValidationError) Field

Field function returns field value.

func (CompareDeploymentReqValidationError) Key

Key function returns key value.

func (CompareDeploymentReqValidationError) Reason

Reason function returns reason value.

type CompareDeploymentResp

type CompareDeploymentResp struct {
	Comparison *model.DeploymentComparison `protobuf:"bytes,1,opt,name=comparison,proto3" json:"comparison,omitempty"`
	// contains filtered or unexported fields
}

func (*CompareDeploymentResp) Descriptor deprecated

func (*CompareDeploymentResp) Descriptor() ([]byte, []int)

Deprecated: Use CompareDeploymentResp.ProtoReflect.Descriptor instead.

func (*CompareDeploymentResp) GetComparison

func (x *CompareDeploymentResp) GetComparison() *model.DeploymentComparison

func (*CompareDeploymentResp) ProtoMessage

func (*CompareDeploymentResp) ProtoMessage()

func (*CompareDeploymentResp) ProtoReflect

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

func (*CompareDeploymentResp) Reset

func (x *CompareDeploymentResp) Reset()

func (*CompareDeploymentResp) String

func (x *CompareDeploymentResp) String() string

func (*CompareDeploymentResp) Validate

func (m *CompareDeploymentResp) Validate() error

Validate checks the field values on CompareDeploymentResp 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 (*CompareDeploymentResp) ValidateAll

func (m *CompareDeploymentResp) ValidateAll() error

ValidateAll checks the field values on CompareDeploymentResp 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 CompareDeploymentRespMultiError, or nil if none found.

type CompareDeploymentRespMultiError

type CompareDeploymentRespMultiError []error

CompareDeploymentRespMultiError is an error wrapping multiple validation errors returned by CompareDeploymentResp.ValidateAll() if the designated constraints aren't met.

func (CompareDeploymentRespMultiError) AllErrors

func (m CompareDeploymentRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CompareDeploymentRespMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CompareDeploymentRespValidationError

type CompareDeploymentRespValidationError struct {
	// contains filtered or unexported fields
}

CompareDeploymentRespValidationError is the validation error returned by CompareDeploymentResp.Validate if the designated constraints aren't met.

func (CompareDeploymentRespValidationError) Cause

Cause function returns cause value.

func (CompareDeploymentRespValidationError) Error

Error satisfies the builtin error interface

func (CompareDeploymentRespValidationError) ErrorName

ErrorName returns error name.

func (CompareDeploymentRespValidationError) Field

Field function returns field value.

func (CompareDeploymentRespValidationError) Key

Key function returns key value.

func (CompareDeploymentRespValidationError) Reason

Reason function returns reason value.

type DeploymentFilter

type DeploymentFilter struct {

	// filters to deployments for join(join(services, OR), join(release_channels, OR), AND)
	Services        []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	ReleaseChannels []string `protobuf:"bytes,2,rep,name=release_channels,json=releaseChannels,proto3" json:"release_channels,omitempty"`
	// if set, the filters on services and deployment channels above will be limited to this app.
	// Otherwise, there is no app filter (so e.g. release_channels=['staging'] will select
	// staging deployment channels across all apps.)
	Application    string `protobuf:"bytes,3,opt,name=application,proto3" json:"application,omitempty"`
	DesiredStateId string `protobuf:"bytes,4,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"` // desired_state_id filter is AND'ed with everything else in the same filter object
	ReleaseId      string `protobuf:"bytes,5,opt,name=release_id,json=releaseId,proto3" json:"release_id,omitempty"`                  // release_id filter is AND'ed with everything else in the same filter object
	// contains filtered or unexported fields
}

func (*DeploymentFilter) Descriptor deprecated

func (*DeploymentFilter) Descriptor() ([]byte, []int)

Deprecated: Use DeploymentFilter.ProtoReflect.Descriptor instead.

func (*DeploymentFilter) GetApplication

func (x *DeploymentFilter) GetApplication() string

func (*DeploymentFilter) GetDesiredStateId

func (x *DeploymentFilter) GetDesiredStateId() string

func (*DeploymentFilter) GetReleaseChannels

func (x *DeploymentFilter) GetReleaseChannels() []string

func (*DeploymentFilter) GetReleaseId added in v0.3.12

func (x *DeploymentFilter) GetReleaseId() string

func (*DeploymentFilter) GetServices

func (x *DeploymentFilter) GetServices() []string

func (*DeploymentFilter) ProtoMessage

func (*DeploymentFilter) ProtoMessage()

func (*DeploymentFilter) ProtoReflect

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

func (*DeploymentFilter) Reset

func (x *DeploymentFilter) Reset()

func (*DeploymentFilter) String

func (x *DeploymentFilter) String() string

func (*DeploymentFilter) Validate

func (m *DeploymentFilter) Validate() error

Validate checks the field values on DeploymentFilter 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 (*DeploymentFilter) ValidateAll

func (m *DeploymentFilter) ValidateAll() error

ValidateAll checks the field values on DeploymentFilter 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 DeploymentFilterMultiError, or nil if none found.

type DeploymentFilterMultiError

type DeploymentFilterMultiError []error

DeploymentFilterMultiError is an error wrapping multiple validation errors returned by DeploymentFilter.ValidateAll() if the designated constraints aren't met.

func (DeploymentFilterMultiError) AllErrors

func (m DeploymentFilterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeploymentFilterMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeploymentFilterValidationError

type DeploymentFilterValidationError struct {
	// contains filtered or unexported fields
}

DeploymentFilterValidationError is the validation error returned by DeploymentFilter.Validate if the designated constraints aren't met.

func (DeploymentFilterValidationError) Cause

Cause function returns cause value.

func (DeploymentFilterValidationError) Error

Error satisfies the builtin error interface

func (DeploymentFilterValidationError) ErrorName

ErrorName returns error name.

func (DeploymentFilterValidationError) Field

Field function returns field value.

func (DeploymentFilterValidationError) Key

Key function returns key value.

func (DeploymentFilterValidationError) Reason

Reason function returns reason value.

type DeploymentManagerClient

type DeploymentManagerClient interface {
	RecordDeployment(ctx context.Context, in *RecordDeploymentReq, opts ...grpc.CallOption) (*RecordDeploymentResp, error)
	UpdateDeploymentStatus(ctx context.Context, in *UpdateDeploymentStatusReq, opts ...grpc.CallOption) (*UpdateDeploymentStatusResp, error)
	ListDeployments(ctx context.Context, in *ListDeploymentsReq, opts ...grpc.CallOption) (*ListDeploymentsResp, error)
	// page tokens arguments are ignored here
	ListDeploymentsStream(ctx context.Context, in *ListDeploymentsReq, opts ...grpc.CallOption) (DeploymentManager_ListDeploymentsStreamClient, error)
	CompareDeployment(ctx context.Context, in *CompareDeploymentReq, opts ...grpc.CallOption) (*CompareDeploymentResp, error)
	PreviewDeployment(ctx context.Context, in *PreviewDeploymentReq, opts ...grpc.CallOption) (*PreviewDeploymentResp, error)
	// returns the latest deployments for each (application, service, deployment channel) tuple.
	GetLatestDeployments(ctx context.Context, in *GetLatestDeploymentsReq, opts ...grpc.CallOption) (*GetLatestDeploymentsResp, error)
	CheckCommitInDeployment(ctx context.Context, in *CheckCommitInDeploymentReq, opts ...grpc.CallOption) (*CheckCommitInDeploymentResp, error)
}

DeploymentManagerClient is the client API for DeploymentManager 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 DeploymentManagerServer

type DeploymentManagerServer interface {
	RecordDeployment(context.Context, *RecordDeploymentReq) (*RecordDeploymentResp, error)
	UpdateDeploymentStatus(context.Context, *UpdateDeploymentStatusReq) (*UpdateDeploymentStatusResp, error)
	ListDeployments(context.Context, *ListDeploymentsReq) (*ListDeploymentsResp, error)
	// page tokens arguments are ignored here
	ListDeploymentsStream(*ListDeploymentsReq, DeploymentManager_ListDeploymentsStreamServer) error
	CompareDeployment(context.Context, *CompareDeploymentReq) (*CompareDeploymentResp, error)
	PreviewDeployment(context.Context, *PreviewDeploymentReq) (*PreviewDeploymentResp, error)
	// returns the latest deployments for each (application, service, deployment channel) tuple.
	GetLatestDeployments(context.Context, *GetLatestDeploymentsReq) (*GetLatestDeploymentsResp, error)
	CheckCommitInDeployment(context.Context, *CheckCommitInDeploymentReq) (*CheckCommitInDeploymentResp, error)
	// contains filtered or unexported methods
}

DeploymentManagerServer is the server API for DeploymentManager service. All implementations must embed UnimplementedDeploymentManagerServer for forward compatibility

type DeploymentManager_ListDeploymentsStreamClient

type DeploymentManager_ListDeploymentsStreamClient interface {
	Recv() (*ListDeploymentsResp, error)
	grpc.ClientStream
}

type DeploymentManager_ListDeploymentsStreamServer

type DeploymentManager_ListDeploymentsStreamServer interface {
	Send(*ListDeploymentsResp) error
	grpc.ServerStream
}

type DeploymentRef

type DeploymentRef struct {

	// a deployment reference is either an existing deployment id or the deployment config of a hypothetical, not yet recorded deployment.
	//
	// Types that are assignable to Ref:
	//
	//	*DeploymentRef_DeploymentId
	//	*DeploymentRef_Config
	//	*DeploymentRef_ServiceInstanceConfig_
	Ref isDeploymentRef_Ref `protobuf_oneof:"ref"`
	// contains filtered or unexported fields
}

func (*DeploymentRef) Descriptor deprecated

func (*DeploymentRef) Descriptor() ([]byte, []int)

Deprecated: Use DeploymentRef.ProtoReflect.Descriptor instead.

func (*DeploymentRef) GetConfig

func (x *DeploymentRef) GetConfig() *model.DeploymentConfig

func (*DeploymentRef) GetDeploymentId

func (x *DeploymentRef) GetDeploymentId() string

func (*DeploymentRef) GetRef

func (m *DeploymentRef) GetRef() isDeploymentRef_Ref

func (*DeploymentRef) GetServiceInstanceConfig added in v0.3.17

func (x *DeploymentRef) GetServiceInstanceConfig() *DeploymentRef_ServiceInstanceConfig

func (*DeploymentRef) ProtoMessage

func (*DeploymentRef) ProtoMessage()

func (*DeploymentRef) ProtoReflect

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

func (*DeploymentRef) Reset

func (x *DeploymentRef) Reset()

func (*DeploymentRef) String

func (x *DeploymentRef) String() string

func (*DeploymentRef) Validate

func (m *DeploymentRef) Validate() error

Validate checks the field values on DeploymentRef 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 (*DeploymentRef) ValidateAll

func (m *DeploymentRef) ValidateAll() error

ValidateAll checks the field values on DeploymentRef 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 DeploymentRefMultiError, or nil if none found.

type DeploymentRefMultiError

type DeploymentRefMultiError []error

DeploymentRefMultiError is an error wrapping multiple validation errors returned by DeploymentRef.ValidateAll() if the designated constraints aren't met.

func (DeploymentRefMultiError) AllErrors

func (m DeploymentRefMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeploymentRefMultiError) Error

func (m DeploymentRefMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeploymentRefValidationError

type DeploymentRefValidationError struct {
	// contains filtered or unexported fields
}

DeploymentRefValidationError is the validation error returned by DeploymentRef.Validate if the designated constraints aren't met.

func (DeploymentRefValidationError) Cause

Cause function returns cause value.

func (DeploymentRefValidationError) Error

Error satisfies the builtin error interface

func (DeploymentRefValidationError) ErrorName

func (e DeploymentRefValidationError) ErrorName() string

ErrorName returns error name.

func (DeploymentRefValidationError) Field

Field function returns field value.

func (DeploymentRefValidationError) Key

Key function returns key value.

func (DeploymentRefValidationError) Reason

Reason function returns reason value.

type DeploymentRef_Config

type DeploymentRef_Config struct {
	Config *model.DeploymentConfig `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type DeploymentRef_DeploymentId

type DeploymentRef_DeploymentId struct {
	DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3,oneof"`
}

type DeploymentRef_ServiceInstanceConfig added in v0.3.17

type DeploymentRef_ServiceInstanceConfig struct {
	CompiledConfig *service.CompiledServiceInstanceConfig `protobuf:"bytes,1,opt,name=compiled_config,json=compiledConfig,proto3" json:"compiled_config,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentRef_ServiceInstanceConfig) Descriptor deprecated added in v0.3.17

func (*DeploymentRef_ServiceInstanceConfig) Descriptor() ([]byte, []int)

Deprecated: Use DeploymentRef_ServiceInstanceConfig.ProtoReflect.Descriptor instead.

func (*DeploymentRef_ServiceInstanceConfig) GetCompiledConfig added in v0.3.17

func (*DeploymentRef_ServiceInstanceConfig) ProtoMessage added in v0.3.17

func (*DeploymentRef_ServiceInstanceConfig) ProtoMessage()

func (*DeploymentRef_ServiceInstanceConfig) ProtoReflect added in v0.3.17

func (*DeploymentRef_ServiceInstanceConfig) Reset added in v0.3.17

func (*DeploymentRef_ServiceInstanceConfig) String added in v0.3.17

func (*DeploymentRef_ServiceInstanceConfig) Validate added in v0.3.17

Validate checks the field values on DeploymentRef_ServiceInstanceConfig 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 (*DeploymentRef_ServiceInstanceConfig) ValidateAll added in v0.3.17

func (m *DeploymentRef_ServiceInstanceConfig) ValidateAll() error

ValidateAll checks the field values on DeploymentRef_ServiceInstanceConfig 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 DeploymentRef_ServiceInstanceConfigMultiError, or nil if none found.

type DeploymentRef_ServiceInstanceConfigMultiError added in v0.3.17

type DeploymentRef_ServiceInstanceConfigMultiError []error

DeploymentRef_ServiceInstanceConfigMultiError is an error wrapping multiple validation errors returned by DeploymentRef_ServiceInstanceConfig.ValidateAll() if the designated constraints aren't met.

func (DeploymentRef_ServiceInstanceConfigMultiError) AllErrors added in v0.3.17

AllErrors returns a list of validation violation errors.

func (DeploymentRef_ServiceInstanceConfigMultiError) Error added in v0.3.17

Error returns a concatenation of all the error messages it wraps.

type DeploymentRef_ServiceInstanceConfigValidationError added in v0.3.17

type DeploymentRef_ServiceInstanceConfigValidationError struct {
	// contains filtered or unexported fields
}

DeploymentRef_ServiceInstanceConfigValidationError is the validation error returned by DeploymentRef_ServiceInstanceConfig.Validate if the designated constraints aren't met.

func (DeploymentRef_ServiceInstanceConfigValidationError) Cause added in v0.3.17

Cause function returns cause value.

func (DeploymentRef_ServiceInstanceConfigValidationError) Error added in v0.3.17

Error satisfies the builtin error interface

func (DeploymentRef_ServiceInstanceConfigValidationError) ErrorName added in v0.3.17

ErrorName returns error name.

func (DeploymentRef_ServiceInstanceConfigValidationError) Field added in v0.3.17

Field function returns field value.

func (DeploymentRef_ServiceInstanceConfigValidationError) Key added in v0.3.17

Key function returns key value.

func (DeploymentRef_ServiceInstanceConfigValidationError) Reason added in v0.3.17

Reason function returns reason value.

type DeploymentRef_ServiceInstanceConfig_ added in v0.3.17

type DeploymentRef_ServiceInstanceConfig_ struct {
	ServiceInstanceConfig *DeploymentRef_ServiceInstanceConfig `protobuf:"bytes,3,opt,name=service_instance_config,json=serviceInstanceConfig,proto3,oneof"`
}

type DeploymentServiceInstance

type DeploymentServiceInstance struct {
	Application    string `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
	Service        string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	ReleaseChannel string `protobuf:"bytes,3,opt,name=release_channel,json=releaseChannel,proto3" json:"release_channel,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentServiceInstance) Descriptor deprecated

func (*DeploymentServiceInstance) Descriptor() ([]byte, []int)

Deprecated: Use DeploymentServiceInstance.ProtoReflect.Descriptor instead.

func (*DeploymentServiceInstance) GetApplication

func (x *DeploymentServiceInstance) GetApplication() string

func (*DeploymentServiceInstance) GetReleaseChannel

func (x *DeploymentServiceInstance) GetReleaseChannel() string

func (*DeploymentServiceInstance) GetService

func (x *DeploymentServiceInstance) GetService() string

func (*DeploymentServiceInstance) ProtoMessage

func (*DeploymentServiceInstance) ProtoMessage()

func (*DeploymentServiceInstance) ProtoReflect

func (*DeploymentServiceInstance) Reset

func (x *DeploymentServiceInstance) Reset()

func (*DeploymentServiceInstance) String

func (x *DeploymentServiceInstance) String() string

func (*DeploymentServiceInstance) Validate

func (m *DeploymentServiceInstance) Validate() error

Validate checks the field values on DeploymentServiceInstance 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 (*DeploymentServiceInstance) ValidateAll

func (m *DeploymentServiceInstance) ValidateAll() error

ValidateAll checks the field values on DeploymentServiceInstance 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 DeploymentServiceInstanceMultiError, or nil if none found.

type DeploymentServiceInstanceMultiError

type DeploymentServiceInstanceMultiError []error

DeploymentServiceInstanceMultiError is an error wrapping multiple validation errors returned by DeploymentServiceInstance.ValidateAll() if the designated constraints aren't met.

func (DeploymentServiceInstanceMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeploymentServiceInstanceMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeploymentServiceInstanceValidationError

type DeploymentServiceInstanceValidationError struct {
	// contains filtered or unexported fields
}

DeploymentServiceInstanceValidationError is the validation error returned by DeploymentServiceInstance.Validate if the designated constraints aren't met.

func (DeploymentServiceInstanceValidationError) Cause

Cause function returns cause value.

func (DeploymentServiceInstanceValidationError) Error

Error satisfies the builtin error interface

func (DeploymentServiceInstanceValidationError) ErrorName

ErrorName returns error name.

func (DeploymentServiceInstanceValidationError) Field

Field function returns field value.

func (DeploymentServiceInstanceValidationError) Key

Key function returns key value.

func (DeploymentServiceInstanceValidationError) Reason

Reason function returns reason value.

type GetLatestDeploymentsReq

type GetLatestDeploymentsReq struct {

	// filters for listing deployments. Multiple filters are OR'ed together.
	Filters   []*DeploymentFilter    `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
	Filter    *DeploymentFilter      `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`                                                  // escape hatch to support openAPI, which cannot handle repeated list of messages on GET requests. This is joined to the filters list with an OR.
	Status    model.DeploymentStatus `protobuf:"varint,3,opt,name=status,proto3,enum=prodvana.deployment.model.DeploymentStatus" json:"status,omitempty"` // if set, only return deployments with this status
	PageToken string                 `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	PageSize  int32                  `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLatestDeploymentsReq) Descriptor deprecated

func (*GetLatestDeploymentsReq) Descriptor() ([]byte, []int)

Deprecated: Use GetLatestDeploymentsReq.ProtoReflect.Descriptor instead.

func (*GetLatestDeploymentsReq) GetFilter

func (x *GetLatestDeploymentsReq) GetFilter() *DeploymentFilter

func (*GetLatestDeploymentsReq) GetFilters

func (x *GetLatestDeploymentsReq) GetFilters() []*DeploymentFilter

func (*GetLatestDeploymentsReq) GetPageSize

func (x *GetLatestDeploymentsReq) GetPageSize() int32

func (*GetLatestDeploymentsReq) GetPageToken

func (x *GetLatestDeploymentsReq) GetPageToken() string

func (*GetLatestDeploymentsReq) GetStatus

func (*GetLatestDeploymentsReq) ProtoMessage

func (*GetLatestDeploymentsReq) ProtoMessage()

func (*GetLatestDeploymentsReq) ProtoReflect

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

func (*GetLatestDeploymentsReq) Reset

func (x *GetLatestDeploymentsReq) Reset()

func (*GetLatestDeploymentsReq) String

func (x *GetLatestDeploymentsReq) String() string

func (*GetLatestDeploymentsReq) Validate

func (m *GetLatestDeploymentsReq) Validate() error

Validate checks the field values on GetLatestDeploymentsReq 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 (*GetLatestDeploymentsReq) ValidateAll

func (m *GetLatestDeploymentsReq) ValidateAll() error

ValidateAll checks the field values on GetLatestDeploymentsReq 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 GetLatestDeploymentsReqMultiError, or nil if none found.

type GetLatestDeploymentsReqMultiError

type GetLatestDeploymentsReqMultiError []error

GetLatestDeploymentsReqMultiError is an error wrapping multiple validation errors returned by GetLatestDeploymentsReq.ValidateAll() if the designated constraints aren't met.

func (GetLatestDeploymentsReqMultiError) AllErrors

func (m GetLatestDeploymentsReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetLatestDeploymentsReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetLatestDeploymentsReqValidationError

type GetLatestDeploymentsReqValidationError struct {
	// contains filtered or unexported fields
}

GetLatestDeploymentsReqValidationError is the validation error returned by GetLatestDeploymentsReq.Validate if the designated constraints aren't met.

func (GetLatestDeploymentsReqValidationError) Cause

Cause function returns cause value.

func (GetLatestDeploymentsReqValidationError) Error

Error satisfies the builtin error interface

func (GetLatestDeploymentsReqValidationError) ErrorName

ErrorName returns error name.

func (GetLatestDeploymentsReqValidationError) Field

Field function returns field value.

func (GetLatestDeploymentsReqValidationError) Key

Key function returns key value.

func (GetLatestDeploymentsReqValidationError) Reason

Reason function returns reason value.

type GetLatestDeploymentsResp

type GetLatestDeploymentsResp struct {
	Deployments   []*model.Deployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty"`
	NextPageToken string              `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLatestDeploymentsResp) Descriptor deprecated

func (*GetLatestDeploymentsResp) Descriptor() ([]byte, []int)

Deprecated: Use GetLatestDeploymentsResp.ProtoReflect.Descriptor instead.

func (*GetLatestDeploymentsResp) GetDeployments

func (x *GetLatestDeploymentsResp) GetDeployments() []*model.Deployment

func (*GetLatestDeploymentsResp) GetNextPageToken

func (x *GetLatestDeploymentsResp) GetNextPageToken() string

func (*GetLatestDeploymentsResp) ProtoMessage

func (*GetLatestDeploymentsResp) ProtoMessage()

func (*GetLatestDeploymentsResp) ProtoReflect

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

func (*GetLatestDeploymentsResp) Reset

func (x *GetLatestDeploymentsResp) Reset()

func (*GetLatestDeploymentsResp) String

func (x *GetLatestDeploymentsResp) String() string

func (*GetLatestDeploymentsResp) Validate

func (m *GetLatestDeploymentsResp) Validate() error

Validate checks the field values on GetLatestDeploymentsResp 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 (*GetLatestDeploymentsResp) ValidateAll

func (m *GetLatestDeploymentsResp) ValidateAll() error

ValidateAll checks the field values on GetLatestDeploymentsResp 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 GetLatestDeploymentsRespMultiError, or nil if none found.

type GetLatestDeploymentsRespMultiError

type GetLatestDeploymentsRespMultiError []error

GetLatestDeploymentsRespMultiError is an error wrapping multiple validation errors returned by GetLatestDeploymentsResp.ValidateAll() if the designated constraints aren't met.

func (GetLatestDeploymentsRespMultiError) AllErrors

func (m GetLatestDeploymentsRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetLatestDeploymentsRespMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetLatestDeploymentsRespValidationError

type GetLatestDeploymentsRespValidationError struct {
	// contains filtered or unexported fields
}

GetLatestDeploymentsRespValidationError is the validation error returned by GetLatestDeploymentsResp.Validate if the designated constraints aren't met.

func (GetLatestDeploymentsRespValidationError) Cause

Cause function returns cause value.

func (GetLatestDeploymentsRespValidationError) Error

Error satisfies the builtin error interface

func (GetLatestDeploymentsRespValidationError) ErrorName

ErrorName returns error name.

func (GetLatestDeploymentsRespValidationError) Field

Field function returns field value.

func (GetLatestDeploymentsRespValidationError) Key

Key function returns key value.

func (GetLatestDeploymentsRespValidationError) Reason

Reason function returns reason value.

type ListDeploymentsReq

type ListDeploymentsReq struct {

	// filters for listing deployments. Multiple filters are OR'ed together.
	Filters              []*DeploymentFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
	Filter               *DeploymentFilter   `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`                                                           // escape hatch to support openAPI, which cannot handle repeated list of messages on GET requests. This is joined to the filters list with an OR.
	StartingDeploymentId string              `protobuf:"bytes,3,opt,name=starting_deployment_id,json=startingDeploymentId,proto3" json:"starting_deployment_id,omitempty"` // newer deployment, inclusive
	EndingDeploymentId   string              `protobuf:"bytes,4,opt,name=ending_deployment_id,json=endingDeploymentId,proto3" json:"ending_deployment_id,omitempty"`       // older deployment, exclusive
	PageToken            string              `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	PageSize             int32               `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDeploymentsReq) Descriptor deprecated

func (*ListDeploymentsReq) Descriptor() ([]byte, []int)

Deprecated: Use ListDeploymentsReq.ProtoReflect.Descriptor instead.

func (*ListDeploymentsReq) GetEndingDeploymentId

func (x *ListDeploymentsReq) GetEndingDeploymentId() string

func (*ListDeploymentsReq) GetFilter

func (x *ListDeploymentsReq) GetFilter() *DeploymentFilter

func (*ListDeploymentsReq) GetFilters

func (x *ListDeploymentsReq) GetFilters() []*DeploymentFilter

func (*ListDeploymentsReq) GetPageSize

func (x *ListDeploymentsReq) GetPageSize() int32

func (*ListDeploymentsReq) GetPageToken

func (x *ListDeploymentsReq) GetPageToken() string

func (*ListDeploymentsReq) GetStartingDeploymentId

func (x *ListDeploymentsReq) GetStartingDeploymentId() string

func (*ListDeploymentsReq) ProtoMessage

func (*ListDeploymentsReq) ProtoMessage()

func (*ListDeploymentsReq) ProtoReflect

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

func (*ListDeploymentsReq) Reset

func (x *ListDeploymentsReq) Reset()

func (*ListDeploymentsReq) String

func (x *ListDeploymentsReq) String() string

func (*ListDeploymentsReq) Validate

func (m *ListDeploymentsReq) Validate() error

Validate checks the field values on ListDeploymentsReq 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 (*ListDeploymentsReq) ValidateAll

func (m *ListDeploymentsReq) ValidateAll() error

ValidateAll checks the field values on ListDeploymentsReq 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 ListDeploymentsReqMultiError, or nil if none found.

type ListDeploymentsReqMultiError

type ListDeploymentsReqMultiError []error

ListDeploymentsReqMultiError is an error wrapping multiple validation errors returned by ListDeploymentsReq.ValidateAll() if the designated constraints aren't met.

func (ListDeploymentsReqMultiError) AllErrors

func (m ListDeploymentsReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListDeploymentsReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListDeploymentsReqValidationError

type ListDeploymentsReqValidationError struct {
	// contains filtered or unexported fields
}

ListDeploymentsReqValidationError is the validation error returned by ListDeploymentsReq.Validate if the designated constraints aren't met.

func (ListDeploymentsReqValidationError) Cause

Cause function returns cause value.

func (ListDeploymentsReqValidationError) Error

Error satisfies the builtin error interface

func (ListDeploymentsReqValidationError) ErrorName

ErrorName returns error name.

func (ListDeploymentsReqValidationError) Field

Field function returns field value.

func (ListDeploymentsReqValidationError) Key

Key function returns key value.

func (ListDeploymentsReqValidationError) Reason

Reason function returns reason value.

type ListDeploymentsResp

type ListDeploymentsResp struct {
	Deployments   []*model.Deployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty"`
	NextPageToken string              `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDeploymentsResp) Descriptor deprecated

func (*ListDeploymentsResp) Descriptor() ([]byte, []int)

Deprecated: Use ListDeploymentsResp.ProtoReflect.Descriptor instead.

func (*ListDeploymentsResp) GetDeployments

func (x *ListDeploymentsResp) GetDeployments() []*model.Deployment

func (*ListDeploymentsResp) GetNextPageToken

func (x *ListDeploymentsResp) GetNextPageToken() string

func (*ListDeploymentsResp) ProtoMessage

func (*ListDeploymentsResp) ProtoMessage()

func (*ListDeploymentsResp) ProtoReflect

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

func (*ListDeploymentsResp) Reset

func (x *ListDeploymentsResp) Reset()

func (*ListDeploymentsResp) String

func (x *ListDeploymentsResp) String() string

func (*ListDeploymentsResp) Validate

func (m *ListDeploymentsResp) Validate() error

Validate checks the field values on ListDeploymentsResp 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 (*ListDeploymentsResp) ValidateAll

func (m *ListDeploymentsResp) ValidateAll() error

ValidateAll checks the field values on ListDeploymentsResp 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 ListDeploymentsRespMultiError, or nil if none found.

type ListDeploymentsRespMultiError

type ListDeploymentsRespMultiError []error

ListDeploymentsRespMultiError is an error wrapping multiple validation errors returned by ListDeploymentsResp.ValidateAll() if the designated constraints aren't met.

func (ListDeploymentsRespMultiError) AllErrors

func (m ListDeploymentsRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListDeploymentsRespMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListDeploymentsRespValidationError

type ListDeploymentsRespValidationError struct {
	// contains filtered or unexported fields
}

ListDeploymentsRespValidationError is the validation error returned by ListDeploymentsResp.Validate if the designated constraints aren't met.

func (ListDeploymentsRespValidationError) Cause

Cause function returns cause value.

func (ListDeploymentsRespValidationError) Error

Error satisfies the builtin error interface

func (ListDeploymentsRespValidationError) ErrorName

ErrorName returns error name.

func (ListDeploymentsRespValidationError) Field

Field function returns field value.

func (ListDeploymentsRespValidationError) Key

Key function returns key value.

func (ListDeploymentsRespValidationError) Reason

Reason function returns reason value.

type PreviewDeploymentReq

type PreviewDeploymentReq struct {
	Config         *model.DeploymentConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	PrevDeployment *DeploymentRef          `protobuf:"bytes,2,opt,name=prev_deployment,json=prevDeployment,proto3" json:"prev_deployment,omitempty"` // omit to use latest deployment from the same app/service/deployment channel
	// contains filtered or unexported fields
}

func (*PreviewDeploymentReq) Descriptor deprecated

func (*PreviewDeploymentReq) Descriptor() ([]byte, []int)

Deprecated: Use PreviewDeploymentReq.ProtoReflect.Descriptor instead.

func (*PreviewDeploymentReq) GetConfig

func (*PreviewDeploymentReq) GetPrevDeployment

func (x *PreviewDeploymentReq) GetPrevDeployment() *DeploymentRef

func (*PreviewDeploymentReq) ProtoMessage

func (*PreviewDeploymentReq) ProtoMessage()

func (*PreviewDeploymentReq) ProtoReflect

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

func (*PreviewDeploymentReq) Reset

func (x *PreviewDeploymentReq) Reset()

func (*PreviewDeploymentReq) String

func (x *PreviewDeploymentReq) String() string

func (*PreviewDeploymentReq) Validate

func (m *PreviewDeploymentReq) Validate() error

Validate checks the field values on PreviewDeploymentReq 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 (*PreviewDeploymentReq) ValidateAll

func (m *PreviewDeploymentReq) ValidateAll() error

ValidateAll checks the field values on PreviewDeploymentReq 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 PreviewDeploymentReqMultiError, or nil if none found.

type PreviewDeploymentReqMultiError

type PreviewDeploymentReqMultiError []error

PreviewDeploymentReqMultiError is an error wrapping multiple validation errors returned by PreviewDeploymentReq.ValidateAll() if the designated constraints aren't met.

func (PreviewDeploymentReqMultiError) AllErrors

func (m PreviewDeploymentReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PreviewDeploymentReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PreviewDeploymentReqValidationError

type PreviewDeploymentReqValidationError struct {
	// contains filtered or unexported fields
}

PreviewDeploymentReqValidationError is the validation error returned by PreviewDeploymentReq.Validate if the designated constraints aren't met.

func (PreviewDeploymentReqValidationError) Cause

Cause function returns cause value.

func (PreviewDeploymentReqValidationError) Error

Error satisfies the builtin error interface

func (PreviewDeploymentReqValidationError) ErrorName

ErrorName returns error name.

func (PreviewDeploymentReqValidationError) Field

Field function returns field value.

func (PreviewDeploymentReqValidationError) Key

Key function returns key value.

func (PreviewDeploymentReqValidationError) Reason

Reason function returns reason value.

type PreviewDeploymentResp

type PreviewDeploymentResp struct {
	Deployment *model.Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	// contains filtered or unexported fields
}

func (*PreviewDeploymentResp) Descriptor deprecated

func (*PreviewDeploymentResp) Descriptor() ([]byte, []int)

Deprecated: Use PreviewDeploymentResp.ProtoReflect.Descriptor instead.

func (*PreviewDeploymentResp) GetDeployment

func (x *PreviewDeploymentResp) GetDeployment() *model.Deployment

func (*PreviewDeploymentResp) ProtoMessage

func (*PreviewDeploymentResp) ProtoMessage()

func (*PreviewDeploymentResp) ProtoReflect

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

func (*PreviewDeploymentResp) Reset

func (x *PreviewDeploymentResp) Reset()

func (*PreviewDeploymentResp) String

func (x *PreviewDeploymentResp) String() string

func (*PreviewDeploymentResp) Validate

func (m *PreviewDeploymentResp) Validate() error

Validate checks the field values on PreviewDeploymentResp 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 (*PreviewDeploymentResp) ValidateAll

func (m *PreviewDeploymentResp) ValidateAll() error

ValidateAll checks the field values on PreviewDeploymentResp 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 PreviewDeploymentRespMultiError, or nil if none found.

type PreviewDeploymentRespMultiError

type PreviewDeploymentRespMultiError []error

PreviewDeploymentRespMultiError is an error wrapping multiple validation errors returned by PreviewDeploymentResp.ValidateAll() if the designated constraints aren't met.

func (PreviewDeploymentRespMultiError) AllErrors

func (m PreviewDeploymentRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PreviewDeploymentRespMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PreviewDeploymentRespValidationError

type PreviewDeploymentRespValidationError struct {
	// contains filtered or unexported fields
}

PreviewDeploymentRespValidationError is the validation error returned by PreviewDeploymentResp.Validate if the designated constraints aren't met.

func (PreviewDeploymentRespValidationError) Cause

Cause function returns cause value.

func (PreviewDeploymentRespValidationError) Error

Error satisfies the builtin error interface

func (PreviewDeploymentRespValidationError) ErrorName

ErrorName returns error name.

func (PreviewDeploymentRespValidationError) Field

Field function returns field value.

func (PreviewDeploymentRespValidationError) Key

Key function returns key value.

func (PreviewDeploymentRespValidationError) Reason

Reason function returns reason value.

type RecordDeploymentReq

type RecordDeploymentReq struct {
	Config *model.DeploymentConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// If true, create deployment with pending status that is meant to be updated later to either success or failure.
	// By default, deployments are created with status SUCCEEDED.
	Pending bool `protobuf:"varint,2,opt,name=pending,proto3" json:"pending,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordDeploymentReq) Descriptor deprecated

func (*RecordDeploymentReq) Descriptor() ([]byte, []int)

Deprecated: Use RecordDeploymentReq.ProtoReflect.Descriptor instead.

func (*RecordDeploymentReq) GetConfig

func (x *RecordDeploymentReq) GetConfig() *model.DeploymentConfig

func (*RecordDeploymentReq) GetPending

func (x *RecordDeploymentReq) GetPending() bool

func (*RecordDeploymentReq) ProtoMessage

func (*RecordDeploymentReq) ProtoMessage()

func (*RecordDeploymentReq) ProtoReflect

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

func (*RecordDeploymentReq) Reset

func (x *RecordDeploymentReq) Reset()

func (*RecordDeploymentReq) String

func (x *RecordDeploymentReq) String() string

func (*RecordDeploymentReq) Validate

func (m *RecordDeploymentReq) Validate() error

Validate checks the field values on RecordDeploymentReq 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 (*RecordDeploymentReq) ValidateAll

func (m *RecordDeploymentReq) ValidateAll() error

ValidateAll checks the field values on RecordDeploymentReq 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 RecordDeploymentReqMultiError, or nil if none found.

type RecordDeploymentReqMultiError

type RecordDeploymentReqMultiError []error

RecordDeploymentReqMultiError is an error wrapping multiple validation errors returned by RecordDeploymentReq.ValidateAll() if the designated constraints aren't met.

func (RecordDeploymentReqMultiError) AllErrors

func (m RecordDeploymentReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RecordDeploymentReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RecordDeploymentReqValidationError

type RecordDeploymentReqValidationError struct {
	// contains filtered or unexported fields
}

RecordDeploymentReqValidationError is the validation error returned by RecordDeploymentReq.Validate if the designated constraints aren't met.

func (RecordDeploymentReqValidationError) Cause

Cause function returns cause value.

func (RecordDeploymentReqValidationError) Error

Error satisfies the builtin error interface

func (RecordDeploymentReqValidationError) ErrorName

ErrorName returns error name.

func (RecordDeploymentReqValidationError) Field

Field function returns field value.

func (RecordDeploymentReqValidationError) Key

Key function returns key value.

func (RecordDeploymentReqValidationError) Reason

Reason function returns reason value.

type RecordDeploymentResp

type RecordDeploymentResp struct {
	Meta *object.ObjectMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordDeploymentResp) Descriptor deprecated

func (*RecordDeploymentResp) Descriptor() ([]byte, []int)

Deprecated: Use RecordDeploymentResp.ProtoReflect.Descriptor instead.

func (*RecordDeploymentResp) GetMeta

func (x *RecordDeploymentResp) GetMeta() *object.ObjectMeta

func (*RecordDeploymentResp) ProtoMessage

func (*RecordDeploymentResp) ProtoMessage()

func (*RecordDeploymentResp) ProtoReflect

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

func (*RecordDeploymentResp) Reset

func (x *RecordDeploymentResp) Reset()

func (*RecordDeploymentResp) String

func (x *RecordDeploymentResp) String() string

func (*RecordDeploymentResp) Validate

func (m *RecordDeploymentResp) Validate() error

Validate checks the field values on RecordDeploymentResp 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 (*RecordDeploymentResp) ValidateAll

func (m *RecordDeploymentResp) ValidateAll() error

ValidateAll checks the field values on RecordDeploymentResp 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 RecordDeploymentRespMultiError, or nil if none found.

type RecordDeploymentRespMultiError

type RecordDeploymentRespMultiError []error

RecordDeploymentRespMultiError is an error wrapping multiple validation errors returned by RecordDeploymentResp.ValidateAll() if the designated constraints aren't met.

func (RecordDeploymentRespMultiError) AllErrors

func (m RecordDeploymentRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RecordDeploymentRespMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RecordDeploymentRespValidationError

type RecordDeploymentRespValidationError struct {
	// contains filtered or unexported fields
}

RecordDeploymentRespValidationError is the validation error returned by RecordDeploymentResp.Validate if the designated constraints aren't met.

func (RecordDeploymentRespValidationError) Cause

Cause function returns cause value.

func (RecordDeploymentRespValidationError) Error

Error satisfies the builtin error interface

func (RecordDeploymentRespValidationError) ErrorName

ErrorName returns error name.

func (RecordDeploymentRespValidationError) Field

Field function returns field value.

func (RecordDeploymentRespValidationError) Key

Key function returns key value.

func (RecordDeploymentRespValidationError) Reason

Reason function returns reason value.

type UnimplementedDeploymentManagerServer

type UnimplementedDeploymentManagerServer struct {
}

UnimplementedDeploymentManagerServer must be embedded to have forward compatible implementations.

func (UnimplementedDeploymentManagerServer) CheckCommitInDeployment

func (UnimplementedDeploymentManagerServer) CompareDeployment

func (UnimplementedDeploymentManagerServer) GetLatestDeployments

func (UnimplementedDeploymentManagerServer) ListDeployments

func (UnimplementedDeploymentManagerServer) PreviewDeployment

func (UnimplementedDeploymentManagerServer) RecordDeployment

func (UnimplementedDeploymentManagerServer) UpdateDeploymentStatus

type UnsafeDeploymentManagerServer

type UnsafeDeploymentManagerServer interface {
	// contains filtered or unexported methods
}

UnsafeDeploymentManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeploymentManagerServer will result in compilation errors.

type UpdateDeploymentStatusReq

type UpdateDeploymentStatusReq struct {
	DeploymentId string                 `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	Status       model.DeploymentStatus `protobuf:"varint,2,opt,name=status,proto3,enum=prodvana.deployment.model.DeploymentStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDeploymentStatusReq) Descriptor deprecated

func (*UpdateDeploymentStatusReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDeploymentStatusReq.ProtoReflect.Descriptor instead.

func (*UpdateDeploymentStatusReq) GetDeploymentId

func (x *UpdateDeploymentStatusReq) GetDeploymentId() string

func (*UpdateDeploymentStatusReq) GetStatus

func (*UpdateDeploymentStatusReq) ProtoMessage

func (*UpdateDeploymentStatusReq) ProtoMessage()

func (*UpdateDeploymentStatusReq) ProtoReflect

func (*UpdateDeploymentStatusReq) Reset

func (x *UpdateDeploymentStatusReq) Reset()

func (*UpdateDeploymentStatusReq) String

func (x *UpdateDeploymentStatusReq) String() string

func (*UpdateDeploymentStatusReq) Validate

func (m *UpdateDeploymentStatusReq) Validate() error

Validate checks the field values on UpdateDeploymentStatusReq 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 (*UpdateDeploymentStatusReq) ValidateAll

func (m *UpdateDeploymentStatusReq) ValidateAll() error

ValidateAll checks the field values on UpdateDeploymentStatusReq 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 UpdateDeploymentStatusReqMultiError, or nil if none found.

type UpdateDeploymentStatusReqMultiError

type UpdateDeploymentStatusReqMultiError []error

UpdateDeploymentStatusReqMultiError is an error wrapping multiple validation errors returned by UpdateDeploymentStatusReq.ValidateAll() if the designated constraints aren't met.

func (UpdateDeploymentStatusReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateDeploymentStatusReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateDeploymentStatusReqValidationError

type UpdateDeploymentStatusReqValidationError struct {
	// contains filtered or unexported fields
}

UpdateDeploymentStatusReqValidationError is the validation error returned by UpdateDeploymentStatusReq.Validate if the designated constraints aren't met.

func (UpdateDeploymentStatusReqValidationError) Cause

Cause function returns cause value.

func (UpdateDeploymentStatusReqValidationError) Error

Error satisfies the builtin error interface

func (UpdateDeploymentStatusReqValidationError) ErrorName

ErrorName returns error name.

func (UpdateDeploymentStatusReqValidationError) Field

Field function returns field value.

func (UpdateDeploymentStatusReqValidationError) Key

Key function returns key value.

func (UpdateDeploymentStatusReqValidationError) Reason

Reason function returns reason value.

type UpdateDeploymentStatusResp

type UpdateDeploymentStatusResp struct {
	Status model.DeploymentStatus `protobuf:"varint,1,opt,name=status,proto3,enum=prodvana.deployment.model.DeploymentStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDeploymentStatusResp) Descriptor deprecated

func (*UpdateDeploymentStatusResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDeploymentStatusResp.ProtoReflect.Descriptor instead.

func (*UpdateDeploymentStatusResp) GetStatus

func (*UpdateDeploymentStatusResp) ProtoMessage

func (*UpdateDeploymentStatusResp) ProtoMessage()

func (*UpdateDeploymentStatusResp) ProtoReflect

func (*UpdateDeploymentStatusResp) Reset

func (x *UpdateDeploymentStatusResp) Reset()

func (*UpdateDeploymentStatusResp) String

func (x *UpdateDeploymentStatusResp) String() string

func (*UpdateDeploymentStatusResp) Validate

func (m *UpdateDeploymentStatusResp) Validate() error

Validate checks the field values on UpdateDeploymentStatusResp 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 (*UpdateDeploymentStatusResp) ValidateAll

func (m *UpdateDeploymentStatusResp) ValidateAll() error

ValidateAll checks the field values on UpdateDeploymentStatusResp 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 UpdateDeploymentStatusRespMultiError, or nil if none found.

type UpdateDeploymentStatusRespMultiError

type UpdateDeploymentStatusRespMultiError []error

UpdateDeploymentStatusRespMultiError is an error wrapping multiple validation errors returned by UpdateDeploymentStatusResp.ValidateAll() if the designated constraints aren't met.

func (UpdateDeploymentStatusRespMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateDeploymentStatusRespMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateDeploymentStatusRespValidationError

type UpdateDeploymentStatusRespValidationError struct {
	// contains filtered or unexported fields
}

UpdateDeploymentStatusRespValidationError is the validation error returned by UpdateDeploymentStatusResp.Validate if the designated constraints aren't met.

func (UpdateDeploymentStatusRespValidationError) Cause

Cause function returns cause value.

func (UpdateDeploymentStatusRespValidationError) Error

Error satisfies the builtin error interface

func (UpdateDeploymentStatusRespValidationError) ErrorName

ErrorName returns error name.

func (UpdateDeploymentStatusRespValidationError) Field

Field function returns field value.

func (UpdateDeploymentStatusRespValidationError) Key

Key function returns key value.

func (UpdateDeploymentStatusRespValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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