Documentation ¶
Overview ¶
Package deployment is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterDeploymentManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterDeploymentManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DeploymentManagerClient) error
- func RegisterDeploymentManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterDeploymentManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DeploymentManagerServer) error
- func RegisterDeploymentManagerServer(s grpc.ServiceRegistrar, srv DeploymentManagerServer)
- type CheckCommitInDeploymentReq
- func (*CheckCommitInDeploymentReq) Descriptor() ([]byte, []int)deprecated
- func (x *CheckCommitInDeploymentReq) GetCommit() string
- func (x *CheckCommitInDeploymentReq) GetDeploymentId() string
- func (m *CheckCommitInDeploymentReq) GetDeploymentOneof() isCheckCommitInDeploymentReq_DeploymentOneof
- func (x *CheckCommitInDeploymentReq) GetDeploymentServiceInstance() *DeploymentServiceInstance
- func (x *CheckCommitInDeploymentReq) GetRepository() string
- func (*CheckCommitInDeploymentReq) ProtoMessage()
- func (x *CheckCommitInDeploymentReq) ProtoReflect() protoreflect.Message
- func (x *CheckCommitInDeploymentReq) Reset()
- func (x *CheckCommitInDeploymentReq) String() string
- func (m *CheckCommitInDeploymentReq) Validate() error
- func (m *CheckCommitInDeploymentReq) ValidateAll() error
- type CheckCommitInDeploymentReqMultiError
- type CheckCommitInDeploymentReqValidationError
- func (e CheckCommitInDeploymentReqValidationError) Cause() error
- func (e CheckCommitInDeploymentReqValidationError) Error() string
- func (e CheckCommitInDeploymentReqValidationError) ErrorName() string
- func (e CheckCommitInDeploymentReqValidationError) Field() string
- func (e CheckCommitInDeploymentReqValidationError) Key() bool
- func (e CheckCommitInDeploymentReqValidationError) Reason() string
- type CheckCommitInDeploymentReq_DeploymentId
- type CheckCommitInDeploymentReq_DeploymentServiceInstance
- type CheckCommitInDeploymentResp
- func (*CheckCommitInDeploymentResp) Descriptor() ([]byte, []int)deprecated
- func (x *CheckCommitInDeploymentResp) GetResult() CheckCommitInDeploymentResp_Result
- func (*CheckCommitInDeploymentResp) ProtoMessage()
- func (x *CheckCommitInDeploymentResp) ProtoReflect() protoreflect.Message
- func (x *CheckCommitInDeploymentResp) Reset()
- func (x *CheckCommitInDeploymentResp) String() string
- func (m *CheckCommitInDeploymentResp) Validate() error
- func (m *CheckCommitInDeploymentResp) ValidateAll() error
- type CheckCommitInDeploymentRespMultiError
- type CheckCommitInDeploymentRespValidationError
- func (e CheckCommitInDeploymentRespValidationError) Cause() error
- func (e CheckCommitInDeploymentRespValidationError) Error() string
- func (e CheckCommitInDeploymentRespValidationError) ErrorName() string
- func (e CheckCommitInDeploymentRespValidationError) Field() string
- func (e CheckCommitInDeploymentRespValidationError) Key() bool
- func (e CheckCommitInDeploymentRespValidationError) Reason() string
- type CheckCommitInDeploymentResp_Result
- func (CheckCommitInDeploymentResp_Result) Descriptor() protoreflect.EnumDescriptor
- func (x CheckCommitInDeploymentResp_Result) Enum() *CheckCommitInDeploymentResp_Result
- func (CheckCommitInDeploymentResp_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckCommitInDeploymentResp_Result) Number() protoreflect.EnumNumber
- func (x CheckCommitInDeploymentResp_Result) String() string
- func (CheckCommitInDeploymentResp_Result) Type() protoreflect.EnumType
- type CompareDeploymentReq
- func (*CompareDeploymentReq) Descriptor() ([]byte, []int)deprecated
- func (x *CompareDeploymentReq) GetNewDeployment() *DeploymentRef
- func (x *CompareDeploymentReq) GetPrevDeployment() *DeploymentRef
- func (*CompareDeploymentReq) ProtoMessage()
- func (x *CompareDeploymentReq) ProtoReflect() protoreflect.Message
- func (x *CompareDeploymentReq) Reset()
- func (x *CompareDeploymentReq) String() string
- func (m *CompareDeploymentReq) Validate() error
- func (m *CompareDeploymentReq) ValidateAll() error
- type CompareDeploymentReqMultiError
- type CompareDeploymentReqValidationError
- func (e CompareDeploymentReqValidationError) Cause() error
- func (e CompareDeploymentReqValidationError) Error() string
- func (e CompareDeploymentReqValidationError) ErrorName() string
- func (e CompareDeploymentReqValidationError) Field() string
- func (e CompareDeploymentReqValidationError) Key() bool
- func (e CompareDeploymentReqValidationError) Reason() string
- type CompareDeploymentResp
- func (*CompareDeploymentResp) Descriptor() ([]byte, []int)deprecated
- func (x *CompareDeploymentResp) GetComparison() *model.DeploymentComparison
- func (*CompareDeploymentResp) ProtoMessage()
- func (x *CompareDeploymentResp) ProtoReflect() protoreflect.Message
- func (x *CompareDeploymentResp) Reset()
- func (x *CompareDeploymentResp) String() string
- func (m *CompareDeploymentResp) Validate() error
- func (m *CompareDeploymentResp) ValidateAll() error
- type CompareDeploymentRespMultiError
- type CompareDeploymentRespValidationError
- func (e CompareDeploymentRespValidationError) Cause() error
- func (e CompareDeploymentRespValidationError) Error() string
- func (e CompareDeploymentRespValidationError) ErrorName() string
- func (e CompareDeploymentRespValidationError) Field() string
- func (e CompareDeploymentRespValidationError) Key() bool
- func (e CompareDeploymentRespValidationError) Reason() string
- type DeploymentFilter
- func (*DeploymentFilter) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentFilter) GetApplication() string
- func (x *DeploymentFilter) GetDesiredStateId() string
- func (x *DeploymentFilter) GetReleaseChannels() []string
- func (x *DeploymentFilter) GetReleaseId() string
- func (x *DeploymentFilter) GetServices() []string
- func (*DeploymentFilter) ProtoMessage()
- func (x *DeploymentFilter) ProtoReflect() protoreflect.Message
- func (x *DeploymentFilter) Reset()
- func (x *DeploymentFilter) String() string
- func (m *DeploymentFilter) Validate() error
- func (m *DeploymentFilter) ValidateAll() error
- type DeploymentFilterMultiError
- type DeploymentFilterValidationError
- func (e DeploymentFilterValidationError) Cause() error
- func (e DeploymentFilterValidationError) Error() string
- func (e DeploymentFilterValidationError) ErrorName() string
- func (e DeploymentFilterValidationError) Field() string
- func (e DeploymentFilterValidationError) Key() bool
- func (e DeploymentFilterValidationError) Reason() string
- type DeploymentManagerClient
- type DeploymentManagerServer
- type DeploymentManager_ListDeploymentsStreamClient
- type DeploymentManager_ListDeploymentsStreamServer
- type DeploymentRef
- func (*DeploymentRef) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentRef) GetConfig() *model.DeploymentConfig
- func (x *DeploymentRef) GetDeploymentId() string
- func (m *DeploymentRef) GetRef() isDeploymentRef_Ref
- func (x *DeploymentRef) GetServiceInstanceConfig() *DeploymentRef_ServiceInstanceConfig
- func (*DeploymentRef) ProtoMessage()
- func (x *DeploymentRef) ProtoReflect() protoreflect.Message
- func (x *DeploymentRef) Reset()
- func (x *DeploymentRef) String() string
- func (m *DeploymentRef) Validate() error
- func (m *DeploymentRef) ValidateAll() error
- type DeploymentRefMultiError
- type DeploymentRefValidationError
- func (e DeploymentRefValidationError) Cause() error
- func (e DeploymentRefValidationError) Error() string
- func (e DeploymentRefValidationError) ErrorName() string
- func (e DeploymentRefValidationError) Field() string
- func (e DeploymentRefValidationError) Key() bool
- func (e DeploymentRefValidationError) Reason() string
- type DeploymentRef_Config
- type DeploymentRef_DeploymentId
- type DeploymentRef_ServiceInstanceConfig
- func (*DeploymentRef_ServiceInstanceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentRef_ServiceInstanceConfig) GetCompiledConfig() *service.CompiledServiceInstanceConfig
- func (*DeploymentRef_ServiceInstanceConfig) ProtoMessage()
- func (x *DeploymentRef_ServiceInstanceConfig) ProtoReflect() protoreflect.Message
- func (x *DeploymentRef_ServiceInstanceConfig) Reset()
- func (x *DeploymentRef_ServiceInstanceConfig) String() string
- func (m *DeploymentRef_ServiceInstanceConfig) Validate() error
- func (m *DeploymentRef_ServiceInstanceConfig) ValidateAll() error
- type DeploymentRef_ServiceInstanceConfigMultiError
- type DeploymentRef_ServiceInstanceConfigValidationError
- func (e DeploymentRef_ServiceInstanceConfigValidationError) Cause() error
- func (e DeploymentRef_ServiceInstanceConfigValidationError) Error() string
- func (e DeploymentRef_ServiceInstanceConfigValidationError) ErrorName() string
- func (e DeploymentRef_ServiceInstanceConfigValidationError) Field() string
- func (e DeploymentRef_ServiceInstanceConfigValidationError) Key() bool
- func (e DeploymentRef_ServiceInstanceConfigValidationError) Reason() string
- type DeploymentRef_ServiceInstanceConfig_
- type DeploymentServiceInstance
- func (*DeploymentServiceInstance) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentServiceInstance) GetApplication() string
- func (x *DeploymentServiceInstance) GetReleaseChannel() string
- func (x *DeploymentServiceInstance) GetService() string
- func (*DeploymentServiceInstance) ProtoMessage()
- func (x *DeploymentServiceInstance) ProtoReflect() protoreflect.Message
- func (x *DeploymentServiceInstance) Reset()
- func (x *DeploymentServiceInstance) String() string
- func (m *DeploymentServiceInstance) Validate() error
- func (m *DeploymentServiceInstance) ValidateAll() error
- type DeploymentServiceInstanceMultiError
- type DeploymentServiceInstanceValidationError
- func (e DeploymentServiceInstanceValidationError) Cause() error
- func (e DeploymentServiceInstanceValidationError) Error() string
- func (e DeploymentServiceInstanceValidationError) ErrorName() string
- func (e DeploymentServiceInstanceValidationError) Field() string
- func (e DeploymentServiceInstanceValidationError) Key() bool
- func (e DeploymentServiceInstanceValidationError) Reason() string
- type GetLatestDeploymentsReq
- func (*GetLatestDeploymentsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestDeploymentsReq) GetFilter() *DeploymentFilter
- func (x *GetLatestDeploymentsReq) GetFilters() []*DeploymentFilter
- func (x *GetLatestDeploymentsReq) GetPageSize() int32
- func (x *GetLatestDeploymentsReq) GetPageToken() string
- func (x *GetLatestDeploymentsReq) GetStatus() model.DeploymentStatus
- func (*GetLatestDeploymentsReq) ProtoMessage()
- func (x *GetLatestDeploymentsReq) ProtoReflect() protoreflect.Message
- func (x *GetLatestDeploymentsReq) Reset()
- func (x *GetLatestDeploymentsReq) String() string
- func (m *GetLatestDeploymentsReq) Validate() error
- func (m *GetLatestDeploymentsReq) ValidateAll() error
- type GetLatestDeploymentsReqMultiError
- type GetLatestDeploymentsReqValidationError
- func (e GetLatestDeploymentsReqValidationError) Cause() error
- func (e GetLatestDeploymentsReqValidationError) Error() string
- func (e GetLatestDeploymentsReqValidationError) ErrorName() string
- func (e GetLatestDeploymentsReqValidationError) Field() string
- func (e GetLatestDeploymentsReqValidationError) Key() bool
- func (e GetLatestDeploymentsReqValidationError) Reason() string
- type GetLatestDeploymentsResp
- func (*GetLatestDeploymentsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestDeploymentsResp) GetDeployments() []*model.Deployment
- func (x *GetLatestDeploymentsResp) GetNextPageToken() string
- func (*GetLatestDeploymentsResp) ProtoMessage()
- func (x *GetLatestDeploymentsResp) ProtoReflect() protoreflect.Message
- func (x *GetLatestDeploymentsResp) Reset()
- func (x *GetLatestDeploymentsResp) String() string
- func (m *GetLatestDeploymentsResp) Validate() error
- func (m *GetLatestDeploymentsResp) ValidateAll() error
- type GetLatestDeploymentsRespMultiError
- type GetLatestDeploymentsRespValidationError
- func (e GetLatestDeploymentsRespValidationError) Cause() error
- func (e GetLatestDeploymentsRespValidationError) Error() string
- func (e GetLatestDeploymentsRespValidationError) ErrorName() string
- func (e GetLatestDeploymentsRespValidationError) Field() string
- func (e GetLatestDeploymentsRespValidationError) Key() bool
- func (e GetLatestDeploymentsRespValidationError) Reason() string
- type ListDeploymentsReq
- func (*ListDeploymentsReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeploymentsReq) GetEndingDeploymentId() string
- func (x *ListDeploymentsReq) GetFilter() *DeploymentFilter
- func (x *ListDeploymentsReq) GetFilters() []*DeploymentFilter
- func (x *ListDeploymentsReq) GetPageSize() int32
- func (x *ListDeploymentsReq) GetPageToken() string
- func (x *ListDeploymentsReq) GetStartingDeploymentId() string
- func (*ListDeploymentsReq) ProtoMessage()
- func (x *ListDeploymentsReq) ProtoReflect() protoreflect.Message
- func (x *ListDeploymentsReq) Reset()
- func (x *ListDeploymentsReq) String() string
- func (m *ListDeploymentsReq) Validate() error
- func (m *ListDeploymentsReq) ValidateAll() error
- type ListDeploymentsReqMultiError
- type ListDeploymentsReqValidationError
- func (e ListDeploymentsReqValidationError) Cause() error
- func (e ListDeploymentsReqValidationError) Error() string
- func (e ListDeploymentsReqValidationError) ErrorName() string
- func (e ListDeploymentsReqValidationError) Field() string
- func (e ListDeploymentsReqValidationError) Key() bool
- func (e ListDeploymentsReqValidationError) Reason() string
- type ListDeploymentsResp
- func (*ListDeploymentsResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeploymentsResp) GetDeployments() []*model.Deployment
- func (x *ListDeploymentsResp) GetNextPageToken() string
- func (*ListDeploymentsResp) ProtoMessage()
- func (x *ListDeploymentsResp) ProtoReflect() protoreflect.Message
- func (x *ListDeploymentsResp) Reset()
- func (x *ListDeploymentsResp) String() string
- func (m *ListDeploymentsResp) Validate() error
- func (m *ListDeploymentsResp) ValidateAll() error
- type ListDeploymentsRespMultiError
- type ListDeploymentsRespValidationError
- func (e ListDeploymentsRespValidationError) Cause() error
- func (e ListDeploymentsRespValidationError) Error() string
- func (e ListDeploymentsRespValidationError) ErrorName() string
- func (e ListDeploymentsRespValidationError) Field() string
- func (e ListDeploymentsRespValidationError) Key() bool
- func (e ListDeploymentsRespValidationError) Reason() string
- type PreviewDeploymentReq
- func (*PreviewDeploymentReq) Descriptor() ([]byte, []int)deprecated
- func (x *PreviewDeploymentReq) GetConfig() *model.DeploymentConfig
- func (x *PreviewDeploymentReq) GetPrevDeployment() *DeploymentRef
- func (*PreviewDeploymentReq) ProtoMessage()
- func (x *PreviewDeploymentReq) ProtoReflect() protoreflect.Message
- func (x *PreviewDeploymentReq) Reset()
- func (x *PreviewDeploymentReq) String() string
- func (m *PreviewDeploymentReq) Validate() error
- func (m *PreviewDeploymentReq) ValidateAll() error
- type PreviewDeploymentReqMultiError
- type PreviewDeploymentReqValidationError
- func (e PreviewDeploymentReqValidationError) Cause() error
- func (e PreviewDeploymentReqValidationError) Error() string
- func (e PreviewDeploymentReqValidationError) ErrorName() string
- func (e PreviewDeploymentReqValidationError) Field() string
- func (e PreviewDeploymentReqValidationError) Key() bool
- func (e PreviewDeploymentReqValidationError) Reason() string
- type PreviewDeploymentResp
- func (*PreviewDeploymentResp) Descriptor() ([]byte, []int)deprecated
- func (x *PreviewDeploymentResp) GetDeployment() *model.Deployment
- func (*PreviewDeploymentResp) ProtoMessage()
- func (x *PreviewDeploymentResp) ProtoReflect() protoreflect.Message
- func (x *PreviewDeploymentResp) Reset()
- func (x *PreviewDeploymentResp) String() string
- func (m *PreviewDeploymentResp) Validate() error
- func (m *PreviewDeploymentResp) ValidateAll() error
- type PreviewDeploymentRespMultiError
- type PreviewDeploymentRespValidationError
- func (e PreviewDeploymentRespValidationError) Cause() error
- func (e PreviewDeploymentRespValidationError) Error() string
- func (e PreviewDeploymentRespValidationError) ErrorName() string
- func (e PreviewDeploymentRespValidationError) Field() string
- func (e PreviewDeploymentRespValidationError) Key() bool
- func (e PreviewDeploymentRespValidationError) Reason() string
- type RecordDeploymentReq
- func (*RecordDeploymentReq) Descriptor() ([]byte, []int)deprecated
- func (x *RecordDeploymentReq) GetConfig() *model.DeploymentConfig
- func (x *RecordDeploymentReq) GetPending() bool
- func (*RecordDeploymentReq) ProtoMessage()
- func (x *RecordDeploymentReq) ProtoReflect() protoreflect.Message
- func (x *RecordDeploymentReq) Reset()
- func (x *RecordDeploymentReq) String() string
- func (m *RecordDeploymentReq) Validate() error
- func (m *RecordDeploymentReq) ValidateAll() error
- type RecordDeploymentReqMultiError
- type RecordDeploymentReqValidationError
- func (e RecordDeploymentReqValidationError) Cause() error
- func (e RecordDeploymentReqValidationError) Error() string
- func (e RecordDeploymentReqValidationError) ErrorName() string
- func (e RecordDeploymentReqValidationError) Field() string
- func (e RecordDeploymentReqValidationError) Key() bool
- func (e RecordDeploymentReqValidationError) Reason() string
- type RecordDeploymentResp
- func (*RecordDeploymentResp) Descriptor() ([]byte, []int)deprecated
- func (x *RecordDeploymentResp) GetMeta() *object.ObjectMeta
- func (*RecordDeploymentResp) ProtoMessage()
- func (x *RecordDeploymentResp) ProtoReflect() protoreflect.Message
- func (x *RecordDeploymentResp) Reset()
- func (x *RecordDeploymentResp) String() string
- func (m *RecordDeploymentResp) Validate() error
- func (m *RecordDeploymentResp) ValidateAll() error
- type RecordDeploymentRespMultiError
- type RecordDeploymentRespValidationError
- func (e RecordDeploymentRespValidationError) Cause() error
- func (e RecordDeploymentRespValidationError) Error() string
- func (e RecordDeploymentRespValidationError) ErrorName() string
- func (e RecordDeploymentRespValidationError) Field() string
- func (e RecordDeploymentRespValidationError) Key() bool
- func (e RecordDeploymentRespValidationError) Reason() string
- type UnimplementedDeploymentManagerServer
- func (UnimplementedDeploymentManagerServer) CheckCommitInDeployment(context.Context, *CheckCommitInDeploymentReq) (*CheckCommitInDeploymentResp, error)
- func (UnimplementedDeploymentManagerServer) CompareDeployment(context.Context, *CompareDeploymentReq) (*CompareDeploymentResp, error)
- func (UnimplementedDeploymentManagerServer) GetLatestDeployments(context.Context, *GetLatestDeploymentsReq) (*GetLatestDeploymentsResp, error)
- func (UnimplementedDeploymentManagerServer) ListDeployments(context.Context, *ListDeploymentsReq) (*ListDeploymentsResp, error)
- func (UnimplementedDeploymentManagerServer) ListDeploymentsStream(*ListDeploymentsReq, DeploymentManager_ListDeploymentsStreamServer) error
- func (UnimplementedDeploymentManagerServer) PreviewDeployment(context.Context, *PreviewDeploymentReq) (*PreviewDeploymentResp, error)
- func (UnimplementedDeploymentManagerServer) RecordDeployment(context.Context, *RecordDeploymentReq) (*RecordDeploymentResp, error)
- func (UnimplementedDeploymentManagerServer) UpdateDeploymentStatus(context.Context, *UpdateDeploymentStatusReq) (*UpdateDeploymentStatusResp, error)
- type UnsafeDeploymentManagerServer
- type UpdateDeploymentStatusReq
- func (*UpdateDeploymentStatusReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeploymentStatusReq) GetDeploymentId() string
- func (x *UpdateDeploymentStatusReq) GetStatus() model.DeploymentStatus
- func (*UpdateDeploymentStatusReq) ProtoMessage()
- func (x *UpdateDeploymentStatusReq) ProtoReflect() protoreflect.Message
- func (x *UpdateDeploymentStatusReq) Reset()
- func (x *UpdateDeploymentStatusReq) String() string
- func (m *UpdateDeploymentStatusReq) Validate() error
- func (m *UpdateDeploymentStatusReq) ValidateAll() error
- type UpdateDeploymentStatusReqMultiError
- type UpdateDeploymentStatusReqValidationError
- func (e UpdateDeploymentStatusReqValidationError) Cause() error
- func (e UpdateDeploymentStatusReqValidationError) Error() string
- func (e UpdateDeploymentStatusReqValidationError) ErrorName() string
- func (e UpdateDeploymentStatusReqValidationError) Field() string
- func (e UpdateDeploymentStatusReqValidationError) Key() bool
- func (e UpdateDeploymentStatusReqValidationError) Reason() string
- type UpdateDeploymentStatusResp
- func (*UpdateDeploymentStatusResp) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeploymentStatusResp) GetStatus() model.DeploymentStatus
- func (*UpdateDeploymentStatusResp) ProtoMessage()
- func (x *UpdateDeploymentStatusResp) ProtoReflect() protoreflect.Message
- func (x *UpdateDeploymentStatusResp) Reset()
- func (x *UpdateDeploymentStatusResp) String() string
- func (m *UpdateDeploymentStatusResp) Validate() error
- func (m *UpdateDeploymentStatusResp) ValidateAll() error
- type UpdateDeploymentStatusRespMultiError
- type UpdateDeploymentStatusRespValidationError
- func (e UpdateDeploymentStatusRespValidationError) Cause() error
- func (e UpdateDeploymentStatusRespValidationError) Error() string
- func (e UpdateDeploymentStatusRespValidationError) ErrorName() string
- func (e UpdateDeploymentStatusRespValidationError) Field() string
- func (e UpdateDeploymentStatusRespValidationError) Key() bool
- func (e UpdateDeploymentStatusRespValidationError) Reason() string
Constants ¶
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 ¶
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.
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)
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 (x *CheckCommitInDeploymentReq) ProtoReflect() protoreflect.Message
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 ¶
func (m CheckCommitInDeploymentReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckCommitInDeploymentReqMultiError) Error ¶
func (m CheckCommitInDeploymentReqMultiError) Error() string
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 ¶
func (e CheckCommitInDeploymentReqValidationError) Cause() error
Cause function returns cause value.
func (CheckCommitInDeploymentReqValidationError) Error ¶
func (e CheckCommitInDeploymentReqValidationError) Error() string
Error satisfies the builtin error interface
func (CheckCommitInDeploymentReqValidationError) ErrorName ¶
func (e CheckCommitInDeploymentReqValidationError) ErrorName() string
ErrorName returns error name.
func (CheckCommitInDeploymentReqValidationError) Field ¶
func (e CheckCommitInDeploymentReqValidationError) Field() string
Field function returns field value.
func (CheckCommitInDeploymentReqValidationError) Key ¶
func (e CheckCommitInDeploymentReqValidationError) Key() bool
Key function returns key value.
func (CheckCommitInDeploymentReqValidationError) Reason ¶
func (e CheckCommitInDeploymentReqValidationError) Reason() string
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 (x *CheckCommitInDeploymentResp) GetResult() CheckCommitInDeploymentResp_Result
func (*CheckCommitInDeploymentResp) ProtoMessage ¶
func (*CheckCommitInDeploymentResp) ProtoMessage()
func (*CheckCommitInDeploymentResp) ProtoReflect ¶
func (x *CheckCommitInDeploymentResp) ProtoReflect() protoreflect.Message
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 ¶
func (m CheckCommitInDeploymentRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckCommitInDeploymentRespMultiError) Error ¶
func (m CheckCommitInDeploymentRespMultiError) Error() string
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 ¶
func (e CheckCommitInDeploymentRespValidationError) Cause() error
Cause function returns cause value.
func (CheckCommitInDeploymentRespValidationError) Error ¶
func (e CheckCommitInDeploymentRespValidationError) Error() string
Error satisfies the builtin error interface
func (CheckCommitInDeploymentRespValidationError) ErrorName ¶
func (e CheckCommitInDeploymentRespValidationError) ErrorName() string
ErrorName returns error name.
func (CheckCommitInDeploymentRespValidationError) Field ¶
func (e CheckCommitInDeploymentRespValidationError) Field() string
Field function returns field value.
func (CheckCommitInDeploymentRespValidationError) Key ¶
func (e CheckCommitInDeploymentRespValidationError) Key() bool
Key function returns key value.
func (CheckCommitInDeploymentRespValidationError) Reason ¶
func (e CheckCommitInDeploymentRespValidationError) Reason() string
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) Descriptor() protoreflect.EnumDescriptor
func (CheckCommitInDeploymentResp_Result) Enum ¶
func (x CheckCommitInDeploymentResp_Result) Enum() *CheckCommitInDeploymentResp_Result
func (CheckCommitInDeploymentResp_Result) EnumDescriptor
deprecated
func (CheckCommitInDeploymentResp_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckCommitInDeploymentResp_Result.Descriptor instead.
func (CheckCommitInDeploymentResp_Result) Number ¶
func (x CheckCommitInDeploymentResp_Result) Number() protoreflect.EnumNumber
func (CheckCommitInDeploymentResp_Result) String ¶
func (x CheckCommitInDeploymentResp_Result) String() string
func (CheckCommitInDeploymentResp_Result) Type ¶
func (CheckCommitInDeploymentResp_Result) Type() protoreflect.EnumType
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 ¶
func (m CompareDeploymentReqMultiError) Error() string
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 ¶
func (e CompareDeploymentReqValidationError) Cause() error
Cause function returns cause value.
func (CompareDeploymentReqValidationError) Error ¶
func (e CompareDeploymentReqValidationError) Error() string
Error satisfies the builtin error interface
func (CompareDeploymentReqValidationError) ErrorName ¶
func (e CompareDeploymentReqValidationError) ErrorName() string
ErrorName returns error name.
func (CompareDeploymentReqValidationError) Field ¶
func (e CompareDeploymentReqValidationError) Field() string
Field function returns field value.
func (CompareDeploymentReqValidationError) Key ¶
func (e CompareDeploymentReqValidationError) Key() bool
Key function returns key value.
func (CompareDeploymentReqValidationError) Reason ¶
func (e CompareDeploymentReqValidationError) Reason() string
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 ¶
func (m CompareDeploymentRespMultiError) Error() string
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 ¶
func (e CompareDeploymentRespValidationError) Cause() error
Cause function returns cause value.
func (CompareDeploymentRespValidationError) Error ¶
func (e CompareDeploymentRespValidationError) Error() string
Error satisfies the builtin error interface
func (CompareDeploymentRespValidationError) ErrorName ¶
func (e CompareDeploymentRespValidationError) ErrorName() string
ErrorName returns error name.
func (CompareDeploymentRespValidationError) Field ¶
func (e CompareDeploymentRespValidationError) Field() string
Field function returns field value.
func (CompareDeploymentRespValidationError) Key ¶
func (e CompareDeploymentRespValidationError) Key() bool
Key function returns key value.
func (CompareDeploymentRespValidationError) Reason ¶
func (e CompareDeploymentRespValidationError) Reason() string
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 ¶
func (m DeploymentFilterMultiError) Error() string
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 ¶
func (e DeploymentFilterValidationError) Cause() error
Cause function returns cause value.
func (DeploymentFilterValidationError) Error ¶
func (e DeploymentFilterValidationError) Error() string
Error satisfies the builtin error interface
func (DeploymentFilterValidationError) ErrorName ¶
func (e DeploymentFilterValidationError) ErrorName() string
ErrorName returns error name.
func (DeploymentFilterValidationError) Field ¶
func (e DeploymentFilterValidationError) Field() string
Field function returns field value.
func (DeploymentFilterValidationError) Key ¶
func (e DeploymentFilterValidationError) Key() bool
Key function returns key value.
func (DeploymentFilterValidationError) Reason ¶
func (e DeploymentFilterValidationError) Reason() string
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.
func NewDeploymentManagerClient ¶
func NewDeploymentManagerClient(cc grpc.ClientConnInterface) DeploymentManagerClient
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 ¶
func (e DeploymentRefValidationError) Cause() error
Cause function returns cause value.
func (DeploymentRefValidationError) Error ¶
func (e DeploymentRefValidationError) Error() string
Error satisfies the builtin error interface
func (DeploymentRefValidationError) ErrorName ¶
func (e DeploymentRefValidationError) ErrorName() string
ErrorName returns error name.
func (DeploymentRefValidationError) Field ¶
func (e DeploymentRefValidationError) Field() string
Field function returns field value.
func (DeploymentRefValidationError) Key ¶
func (e DeploymentRefValidationError) Key() bool
Key function returns key value.
func (DeploymentRefValidationError) Reason ¶
func (e DeploymentRefValidationError) Reason() string
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 (x *DeploymentRef_ServiceInstanceConfig) GetCompiledConfig() *service.CompiledServiceInstanceConfig
func (*DeploymentRef_ServiceInstanceConfig) ProtoMessage ¶ added in v0.3.17
func (*DeploymentRef_ServiceInstanceConfig) ProtoMessage()
func (*DeploymentRef_ServiceInstanceConfig) ProtoReflect ¶ added in v0.3.17
func (x *DeploymentRef_ServiceInstanceConfig) ProtoReflect() protoreflect.Message
func (*DeploymentRef_ServiceInstanceConfig) Reset ¶ added in v0.3.17
func (x *DeploymentRef_ServiceInstanceConfig) Reset()
func (*DeploymentRef_ServiceInstanceConfig) String ¶ added in v0.3.17
func (x *DeploymentRef_ServiceInstanceConfig) String() string
func (*DeploymentRef_ServiceInstanceConfig) Validate ¶ added in v0.3.17
func (m *DeploymentRef_ServiceInstanceConfig) Validate() error
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
func (m DeploymentRef_ServiceInstanceConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeploymentRef_ServiceInstanceConfigMultiError) Error ¶ added in v0.3.17
func (m DeploymentRef_ServiceInstanceConfigMultiError) Error() string
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
func (e DeploymentRef_ServiceInstanceConfigValidationError) Cause() error
Cause function returns cause value.
func (DeploymentRef_ServiceInstanceConfigValidationError) Error ¶ added in v0.3.17
func (e DeploymentRef_ServiceInstanceConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DeploymentRef_ServiceInstanceConfigValidationError) ErrorName ¶ added in v0.3.17
func (e DeploymentRef_ServiceInstanceConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DeploymentRef_ServiceInstanceConfigValidationError) Field ¶ added in v0.3.17
func (e DeploymentRef_ServiceInstanceConfigValidationError) Field() string
Field function returns field value.
func (DeploymentRef_ServiceInstanceConfigValidationError) Key ¶ added in v0.3.17
func (e DeploymentRef_ServiceInstanceConfigValidationError) Key() bool
Key function returns key value.
func (DeploymentRef_ServiceInstanceConfigValidationError) Reason ¶ added in v0.3.17
func (e DeploymentRef_ServiceInstanceConfigValidationError) Reason() string
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 (x *DeploymentServiceInstance) ProtoReflect() protoreflect.Message
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 ¶
func (m DeploymentServiceInstanceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeploymentServiceInstanceMultiError) Error ¶
func (m DeploymentServiceInstanceMultiError) Error() string
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 ¶
func (e DeploymentServiceInstanceValidationError) Cause() error
Cause function returns cause value.
func (DeploymentServiceInstanceValidationError) Error ¶
func (e DeploymentServiceInstanceValidationError) Error() string
Error satisfies the builtin error interface
func (DeploymentServiceInstanceValidationError) ErrorName ¶
func (e DeploymentServiceInstanceValidationError) ErrorName() string
ErrorName returns error name.
func (DeploymentServiceInstanceValidationError) Field ¶
func (e DeploymentServiceInstanceValidationError) Field() string
Field function returns field value.
func (DeploymentServiceInstanceValidationError) Key ¶
func (e DeploymentServiceInstanceValidationError) Key() bool
Key function returns key value.
func (DeploymentServiceInstanceValidationError) Reason ¶
func (e DeploymentServiceInstanceValidationError) Reason() string
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 (x *GetLatestDeploymentsReq) GetStatus() model.DeploymentStatus
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 ¶
func (m GetLatestDeploymentsReqMultiError) Error() string
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 ¶
func (e GetLatestDeploymentsReqValidationError) Cause() error
Cause function returns cause value.
func (GetLatestDeploymentsReqValidationError) Error ¶
func (e GetLatestDeploymentsReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetLatestDeploymentsReqValidationError) ErrorName ¶
func (e GetLatestDeploymentsReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetLatestDeploymentsReqValidationError) Field ¶
func (e GetLatestDeploymentsReqValidationError) Field() string
Field function returns field value.
func (GetLatestDeploymentsReqValidationError) Key ¶
func (e GetLatestDeploymentsReqValidationError) Key() bool
Key function returns key value.
func (GetLatestDeploymentsReqValidationError) Reason ¶
func (e GetLatestDeploymentsReqValidationError) Reason() string
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 ¶
func (m GetLatestDeploymentsRespMultiError) Error() string
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 ¶
func (e GetLatestDeploymentsRespValidationError) Cause() error
Cause function returns cause value.
func (GetLatestDeploymentsRespValidationError) Error ¶
func (e GetLatestDeploymentsRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetLatestDeploymentsRespValidationError) ErrorName ¶
func (e GetLatestDeploymentsRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetLatestDeploymentsRespValidationError) Field ¶
func (e GetLatestDeploymentsRespValidationError) Field() string
Field function returns field value.
func (GetLatestDeploymentsRespValidationError) Key ¶
func (e GetLatestDeploymentsRespValidationError) Key() bool
Key function returns key value.
func (GetLatestDeploymentsRespValidationError) Reason ¶
func (e GetLatestDeploymentsRespValidationError) Reason() string
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 ¶
func (m ListDeploymentsReqMultiError) Error() string
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 ¶
func (e ListDeploymentsReqValidationError) Cause() error
Cause function returns cause value.
func (ListDeploymentsReqValidationError) Error ¶
func (e ListDeploymentsReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListDeploymentsReqValidationError) ErrorName ¶
func (e ListDeploymentsReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListDeploymentsReqValidationError) Field ¶
func (e ListDeploymentsReqValidationError) Field() string
Field function returns field value.
func (ListDeploymentsReqValidationError) Key ¶
func (e ListDeploymentsReqValidationError) Key() bool
Key function returns key value.
func (ListDeploymentsReqValidationError) Reason ¶
func (e ListDeploymentsReqValidationError) Reason() string
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 ¶
func (m ListDeploymentsRespMultiError) Error() string
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 ¶
func (e ListDeploymentsRespValidationError) Cause() error
Cause function returns cause value.
func (ListDeploymentsRespValidationError) Error ¶
func (e ListDeploymentsRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListDeploymentsRespValidationError) ErrorName ¶
func (e ListDeploymentsRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListDeploymentsRespValidationError) Field ¶
func (e ListDeploymentsRespValidationError) Field() string
Field function returns field value.
func (ListDeploymentsRespValidationError) Key ¶
func (e ListDeploymentsRespValidationError) Key() bool
Key function returns key value.
func (ListDeploymentsRespValidationError) Reason ¶
func (e ListDeploymentsRespValidationError) Reason() string
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 (x *PreviewDeploymentReq) GetConfig() *model.DeploymentConfig
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 ¶
func (m PreviewDeploymentReqMultiError) Error() string
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 ¶
func (e PreviewDeploymentReqValidationError) Cause() error
Cause function returns cause value.
func (PreviewDeploymentReqValidationError) Error ¶
func (e PreviewDeploymentReqValidationError) Error() string
Error satisfies the builtin error interface
func (PreviewDeploymentReqValidationError) ErrorName ¶
func (e PreviewDeploymentReqValidationError) ErrorName() string
ErrorName returns error name.
func (PreviewDeploymentReqValidationError) Field ¶
func (e PreviewDeploymentReqValidationError) Field() string
Field function returns field value.
func (PreviewDeploymentReqValidationError) Key ¶
func (e PreviewDeploymentReqValidationError) Key() bool
Key function returns key value.
func (PreviewDeploymentReqValidationError) Reason ¶
func (e PreviewDeploymentReqValidationError) Reason() string
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 ¶
func (m PreviewDeploymentRespMultiError) Error() string
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 ¶
func (e PreviewDeploymentRespValidationError) Cause() error
Cause function returns cause value.
func (PreviewDeploymentRespValidationError) Error ¶
func (e PreviewDeploymentRespValidationError) Error() string
Error satisfies the builtin error interface
func (PreviewDeploymentRespValidationError) ErrorName ¶
func (e PreviewDeploymentRespValidationError) ErrorName() string
ErrorName returns error name.
func (PreviewDeploymentRespValidationError) Field ¶
func (e PreviewDeploymentRespValidationError) Field() string
Field function returns field value.
func (PreviewDeploymentRespValidationError) Key ¶
func (e PreviewDeploymentRespValidationError) Key() bool
Key function returns key value.
func (PreviewDeploymentRespValidationError) Reason ¶
func (e PreviewDeploymentRespValidationError) Reason() string
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 ¶
func (m RecordDeploymentReqMultiError) Error() string
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 ¶
func (e RecordDeploymentReqValidationError) Cause() error
Cause function returns cause value.
func (RecordDeploymentReqValidationError) Error ¶
func (e RecordDeploymentReqValidationError) Error() string
Error satisfies the builtin error interface
func (RecordDeploymentReqValidationError) ErrorName ¶
func (e RecordDeploymentReqValidationError) ErrorName() string
ErrorName returns error name.
func (RecordDeploymentReqValidationError) Field ¶
func (e RecordDeploymentReqValidationError) Field() string
Field function returns field value.
func (RecordDeploymentReqValidationError) Key ¶
func (e RecordDeploymentReqValidationError) Key() bool
Key function returns key value.
func (RecordDeploymentReqValidationError) Reason ¶
func (e RecordDeploymentReqValidationError) Reason() string
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 ¶
func (m RecordDeploymentRespMultiError) Error() string
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 ¶
func (e RecordDeploymentRespValidationError) Cause() error
Cause function returns cause value.
func (RecordDeploymentRespValidationError) Error ¶
func (e RecordDeploymentRespValidationError) Error() string
Error satisfies the builtin error interface
func (RecordDeploymentRespValidationError) ErrorName ¶
func (e RecordDeploymentRespValidationError) ErrorName() string
ErrorName returns error name.
func (RecordDeploymentRespValidationError) Field ¶
func (e RecordDeploymentRespValidationError) Field() string
Field function returns field value.
func (RecordDeploymentRespValidationError) Key ¶
func (e RecordDeploymentRespValidationError) Key() bool
Key function returns key value.
func (RecordDeploymentRespValidationError) Reason ¶
func (e RecordDeploymentRespValidationError) Reason() string
Reason function returns reason value.
type UnimplementedDeploymentManagerServer ¶
type UnimplementedDeploymentManagerServer struct { }
UnimplementedDeploymentManagerServer must be embedded to have forward compatible implementations.
func (UnimplementedDeploymentManagerServer) CheckCommitInDeployment ¶
func (UnimplementedDeploymentManagerServer) CheckCommitInDeployment(context.Context, *CheckCommitInDeploymentReq) (*CheckCommitInDeploymentResp, error)
func (UnimplementedDeploymentManagerServer) CompareDeployment ¶
func (UnimplementedDeploymentManagerServer) CompareDeployment(context.Context, *CompareDeploymentReq) (*CompareDeploymentResp, error)
func (UnimplementedDeploymentManagerServer) GetLatestDeployments ¶
func (UnimplementedDeploymentManagerServer) GetLatestDeployments(context.Context, *GetLatestDeploymentsReq) (*GetLatestDeploymentsResp, error)
func (UnimplementedDeploymentManagerServer) ListDeployments ¶
func (UnimplementedDeploymentManagerServer) ListDeployments(context.Context, *ListDeploymentsReq) (*ListDeploymentsResp, error)
func (UnimplementedDeploymentManagerServer) ListDeploymentsStream ¶
func (UnimplementedDeploymentManagerServer) ListDeploymentsStream(*ListDeploymentsReq, DeploymentManager_ListDeploymentsStreamServer) error
func (UnimplementedDeploymentManagerServer) PreviewDeployment ¶
func (UnimplementedDeploymentManagerServer) PreviewDeployment(context.Context, *PreviewDeploymentReq) (*PreviewDeploymentResp, error)
func (UnimplementedDeploymentManagerServer) RecordDeployment ¶
func (UnimplementedDeploymentManagerServer) RecordDeployment(context.Context, *RecordDeploymentReq) (*RecordDeploymentResp, error)
func (UnimplementedDeploymentManagerServer) UpdateDeploymentStatus ¶
func (UnimplementedDeploymentManagerServer) UpdateDeploymentStatus(context.Context, *UpdateDeploymentStatusReq) (*UpdateDeploymentStatusResp, error)
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 (x *UpdateDeploymentStatusReq) GetStatus() model.DeploymentStatus
func (*UpdateDeploymentStatusReq) ProtoMessage ¶
func (*UpdateDeploymentStatusReq) ProtoMessage()
func (*UpdateDeploymentStatusReq) ProtoReflect ¶
func (x *UpdateDeploymentStatusReq) ProtoReflect() protoreflect.Message
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 ¶
func (m UpdateDeploymentStatusReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDeploymentStatusReqMultiError) Error ¶
func (m UpdateDeploymentStatusReqMultiError) Error() string
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 ¶
func (e UpdateDeploymentStatusReqValidationError) Cause() error
Cause function returns cause value.
func (UpdateDeploymentStatusReqValidationError) Error ¶
func (e UpdateDeploymentStatusReqValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDeploymentStatusReqValidationError) ErrorName ¶
func (e UpdateDeploymentStatusReqValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDeploymentStatusReqValidationError) Field ¶
func (e UpdateDeploymentStatusReqValidationError) Field() string
Field function returns field value.
func (UpdateDeploymentStatusReqValidationError) Key ¶
func (e UpdateDeploymentStatusReqValidationError) Key() bool
Key function returns key value.
func (UpdateDeploymentStatusReqValidationError) Reason ¶
func (e UpdateDeploymentStatusReqValidationError) Reason() string
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 (x *UpdateDeploymentStatusResp) GetStatus() model.DeploymentStatus
func (*UpdateDeploymentStatusResp) ProtoMessage ¶
func (*UpdateDeploymentStatusResp) ProtoMessage()
func (*UpdateDeploymentStatusResp) ProtoReflect ¶
func (x *UpdateDeploymentStatusResp) ProtoReflect() protoreflect.Message
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 ¶
func (m UpdateDeploymentStatusRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDeploymentStatusRespMultiError) Error ¶
func (m UpdateDeploymentStatusRespMultiError) Error() string
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 ¶
func (e UpdateDeploymentStatusRespValidationError) Cause() error
Cause function returns cause value.
func (UpdateDeploymentStatusRespValidationError) Error ¶
func (e UpdateDeploymentStatusRespValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDeploymentStatusRespValidationError) ErrorName ¶
func (e UpdateDeploymentStatusRespValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDeploymentStatusRespValidationError) Field ¶
func (e UpdateDeploymentStatusRespValidationError) Field() string
Field function returns field value.
func (UpdateDeploymentStatusRespValidationError) Key ¶
func (e UpdateDeploymentStatusRespValidationError) Key() bool
Key function returns key value.
func (UpdateDeploymentStatusRespValidationError) Reason ¶
func (e UpdateDeploymentStatusRespValidationError) Reason() string
Reason function returns reason value.