Documentation
¶
Overview ¶
Package desired_state is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterDesiredStateManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterDesiredStateManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DesiredStateManagerClient) error
- func RegisterDesiredStateManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterDesiredStateManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DesiredStateManagerServer) error
- func RegisterDesiredStateManagerServer(s grpc.ServiceRegistrar, srv DesiredStateManagerServer)
- type BypassProtectionReq
- func (*BypassProtectionReq) Descriptor() ([]byte, []int)deprecated
- func (x *BypassProtectionReq) GetDesiredStateId() string
- func (x *BypassProtectionReq) GetSource() string
- func (*BypassProtectionReq) ProtoMessage()
- func (x *BypassProtectionReq) ProtoReflect() protoreflect.Message
- func (x *BypassProtectionReq) Reset()
- func (x *BypassProtectionReq) String() string
- func (m *BypassProtectionReq) Validate() error
- func (m *BypassProtectionReq) ValidateAll() error
- type BypassProtectionReqMultiError
- type BypassProtectionReqValidationError
- func (e BypassProtectionReqValidationError) Cause() error
- func (e BypassProtectionReqValidationError) Error() string
- func (e BypassProtectionReqValidationError) ErrorName() string
- func (e BypassProtectionReqValidationError) Field() string
- func (e BypassProtectionReqValidationError) Key() bool
- func (e BypassProtectionReqValidationError) Reason() string
- type BypassProtectionResp
- func (*BypassProtectionResp) Descriptor() ([]byte, []int)deprecated
- func (*BypassProtectionResp) ProtoMessage()
- func (x *BypassProtectionResp) ProtoReflect() protoreflect.Message
- func (x *BypassProtectionResp) Reset()
- func (x *BypassProtectionResp) String() string
- func (m *BypassProtectionResp) Validate() error
- func (m *BypassProtectionResp) ValidateAll() error
- type BypassProtectionRespMultiError
- type BypassProtectionRespValidationError
- func (e BypassProtectionRespValidationError) Cause() error
- func (e BypassProtectionRespValidationError) Error() string
- func (e BypassProtectionRespValidationError) ErrorName() string
- func (e BypassProtectionRespValidationError) Field() string
- func (e BypassProtectionRespValidationError) Key() bool
- func (e BypassProtectionRespValidationError) Reason() string
- type DebugLogs
- func (*DebugLogs) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLogs) GetDebugLogs() []*model.DebugLog
- func (*DebugLogs) ProtoMessage()
- func (x *DebugLogs) ProtoReflect() protoreflect.Message
- func (x *DebugLogs) Reset()
- func (x *DebugLogs) String() string
- func (m *DebugLogs) Validate() error
- func (m *DebugLogs) ValidateAll() error
- type DebugLogsMultiError
- type DebugLogsValidationError
- type DesiredStateManagerClient
- type DesiredStateManagerServer
- type DesiredStateSummary
- func (*DesiredStateSummary) Descriptor() ([]byte, []int)deprecated
- func (x *DesiredStateSummary) GetActionExplanations() map[string]*model.ActionExplanation
- func (x *DesiredStateSummary) GetCreationTimestamp() *timestamppb.Timestamp
- func (x *DesiredStateSummary) GetDebugLogs() map[string]*DebugLogs
- func (x *DesiredStateSummary) GetDesiredState() *model.State
- func (x *DesiredStateSummary) GetEntityGraph() *model.EntityGraph
- func (x *DesiredStateSummary) GetLastAppliedTimestamps() map[string]*timestamppb.Timestamp
- func (x *DesiredStateSummary) GetLastFetchedTimestamps() map[string]*timestamppb.Timestamp
- func (x *DesiredStateSummary) GetLastSeenState() *model.State
- func (x *DesiredStateSummary) GetLastUpdateTimestamp() *timestamppb.Timestamp
- func (x *DesiredStateSummary) GetLastUpdateTimestamps() map[string]*timestamppb.Timestamp
- func (x *DesiredStateSummary) GetPreconditionStatuses() map[string]*model.ConditionState
- func (x *DesiredStateSummary) GetReplacedTimestamp() *timestamppb.Timestamp
- func (x *DesiredStateSummary) GetStartingState() *model.State
- func (x *DesiredStateSummary) GetStatusExplanations() map[string]*StatusExplanations
- func (x *DesiredStateSummary) GetStatuses() map[string]model.Status
- func (*DesiredStateSummary) ProtoMessage()
- func (x *DesiredStateSummary) ProtoReflect() protoreflect.Message
- func (x *DesiredStateSummary) Reset()
- func (x *DesiredStateSummary) String() string
- func (m *DesiredStateSummary) Validate() error
- func (m *DesiredStateSummary) ValidateAll() error
- type DesiredStateSummaryMultiError
- type DesiredStateSummaryValidationError
- func (e DesiredStateSummaryValidationError) Cause() error
- func (e DesiredStateSummaryValidationError) Error() string
- func (e DesiredStateSummaryValidationError) ErrorName() string
- func (e DesiredStateSummaryValidationError) Field() string
- func (e DesiredStateSummaryValidationError) Key() bool
- func (e DesiredStateSummaryValidationError) Reason() string
- type GetDesiredStateConvergenceReq
- func (*GetDesiredStateConvergenceReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetDesiredStateConvergenceReq) GetDesiredStateId() string
- func (*GetDesiredStateConvergenceReq) ProtoMessage()
- func (x *GetDesiredStateConvergenceReq) ProtoReflect() protoreflect.Message
- func (x *GetDesiredStateConvergenceReq) Reset()
- func (x *GetDesiredStateConvergenceReq) String() string
- func (m *GetDesiredStateConvergenceReq) Validate() error
- func (m *GetDesiredStateConvergenceReq) ValidateAll() error
- type GetDesiredStateConvergenceReqMultiError
- type GetDesiredStateConvergenceReqValidationError
- func (e GetDesiredStateConvergenceReqValidationError) Cause() error
- func (e GetDesiredStateConvergenceReqValidationError) Error() string
- func (e GetDesiredStateConvergenceReqValidationError) ErrorName() string
- func (e GetDesiredStateConvergenceReqValidationError) Field() string
- func (e GetDesiredStateConvergenceReqValidationError) Key() bool
- func (e GetDesiredStateConvergenceReqValidationError) Reason() string
- type GetDesiredStateConvergenceSummaryResp
- func (*GetDesiredStateConvergenceSummaryResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetDesiredStateConvergenceSummaryResp) GetSummary() *DesiredStateSummary
- func (*GetDesiredStateConvergenceSummaryResp) ProtoMessage()
- func (x *GetDesiredStateConvergenceSummaryResp) ProtoReflect() protoreflect.Message
- func (x *GetDesiredStateConvergenceSummaryResp) Reset()
- func (x *GetDesiredStateConvergenceSummaryResp) String() string
- func (m *GetDesiredStateConvergenceSummaryResp) Validate() error
- func (m *GetDesiredStateConvergenceSummaryResp) ValidateAll() error
- type GetDesiredStateConvergenceSummaryRespMultiError
- type GetDesiredStateConvergenceSummaryRespValidationError
- func (e GetDesiredStateConvergenceSummaryRespValidationError) Cause() error
- func (e GetDesiredStateConvergenceSummaryRespValidationError) Error() string
- func (e GetDesiredStateConvergenceSummaryRespValidationError) ErrorName() string
- func (e GetDesiredStateConvergenceSummaryRespValidationError) Field() string
- func (e GetDesiredStateConvergenceSummaryRespValidationError) Key() bool
- func (e GetDesiredStateConvergenceSummaryRespValidationError) Reason() string
- type GetDesiredStateReq
- func (*GetDesiredStateReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetDesiredStateReq) GetDesiredStateId() string
- func (*GetDesiredStateReq) ProtoMessage()
- func (x *GetDesiredStateReq) ProtoReflect() protoreflect.Message
- func (x *GetDesiredStateReq) Reset()
- func (x *GetDesiredStateReq) String() string
- func (m *GetDesiredStateReq) Validate() error
- func (m *GetDesiredStateReq) ValidateAll() error
- type GetDesiredStateReqMultiError
- type GetDesiredStateReqValidationError
- func (e GetDesiredStateReqValidationError) Cause() error
- func (e GetDesiredStateReqValidationError) Error() string
- func (e GetDesiredStateReqValidationError) ErrorName() string
- func (e GetDesiredStateReqValidationError) Field() string
- func (e GetDesiredStateReqValidationError) Key() bool
- func (e GetDesiredStateReqValidationError) Reason() string
- type GetDesiredStateResp
- func (*GetDesiredStateResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetDesiredStateResp) GetCompiledDesiredState() *model.State
- func (x *GetDesiredStateResp) GetDesiredState() *model.State
- func (*GetDesiredStateResp) ProtoMessage()
- func (x *GetDesiredStateResp) ProtoReflect() protoreflect.Message
- func (x *GetDesiredStateResp) Reset()
- func (x *GetDesiredStateResp) String() string
- func (m *GetDesiredStateResp) Validate() error
- func (m *GetDesiredStateResp) ValidateAll() error
- type GetDesiredStateRespMultiError
- type GetDesiredStateRespValidationError
- func (e GetDesiredStateRespValidationError) Cause() error
- func (e GetDesiredStateRespValidationError) Error() string
- func (e GetDesiredStateRespValidationError) ErrorName() string
- func (e GetDesiredStateRespValidationError) Field() string
- func (e GetDesiredStateRespValidationError) Key() bool
- func (e GetDesiredStateRespValidationError) Reason() string
- type GetServiceDesiredStateConvergenceSummaryReq
- func (*GetServiceDesiredStateConvergenceSummaryReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceDesiredStateConvergenceSummaryReq) GetApplication() string
- func (x *GetServiceDesiredStateConvergenceSummaryReq) GetService() string
- func (*GetServiceDesiredStateConvergenceSummaryReq) ProtoMessage()
- func (x *GetServiceDesiredStateConvergenceSummaryReq) ProtoReflect() protoreflect.Message
- func (x *GetServiceDesiredStateConvergenceSummaryReq) Reset()
- func (x *GetServiceDesiredStateConvergenceSummaryReq) String() string
- func (m *GetServiceDesiredStateConvergenceSummaryReq) Validate() error
- func (m *GetServiceDesiredStateConvergenceSummaryReq) ValidateAll() error
- type GetServiceDesiredStateConvergenceSummaryReqMultiError
- type GetServiceDesiredStateConvergenceSummaryReqValidationError
- func (e GetServiceDesiredStateConvergenceSummaryReqValidationError) Cause() error
- func (e GetServiceDesiredStateConvergenceSummaryReqValidationError) Error() string
- func (e GetServiceDesiredStateConvergenceSummaryReqValidationError) ErrorName() string
- func (e GetServiceDesiredStateConvergenceSummaryReqValidationError) Field() string
- func (e GetServiceDesiredStateConvergenceSummaryReqValidationError) Key() bool
- func (e GetServiceDesiredStateConvergenceSummaryReqValidationError) Reason() string
- type GetServiceDesiredStateConvergenceSummaryResp
- func (*GetServiceDesiredStateConvergenceSummaryResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceDesiredStateConvergenceSummaryResp) GetSummary() *DesiredStateSummary
- func (*GetServiceDesiredStateConvergenceSummaryResp) ProtoMessage()
- func (x *GetServiceDesiredStateConvergenceSummaryResp) ProtoReflect() protoreflect.Message
- func (x *GetServiceDesiredStateConvergenceSummaryResp) Reset()
- func (x *GetServiceDesiredStateConvergenceSummaryResp) String() string
- func (m *GetServiceDesiredStateConvergenceSummaryResp) Validate() error
- func (m *GetServiceDesiredStateConvergenceSummaryResp) ValidateAll() error
- type GetServiceDesiredStateConvergenceSummaryRespMultiError
- type GetServiceDesiredStateConvergenceSummaryRespValidationError
- func (e GetServiceDesiredStateConvergenceSummaryRespValidationError) Cause() error
- func (e GetServiceDesiredStateConvergenceSummaryRespValidationError) Error() string
- func (e GetServiceDesiredStateConvergenceSummaryRespValidationError) ErrorName() string
- func (e GetServiceDesiredStateConvergenceSummaryRespValidationError) Field() string
- func (e GetServiceDesiredStateConvergenceSummaryRespValidationError) Key() bool
- func (e GetServiceDesiredStateConvergenceSummaryRespValidationError) Reason() string
- type GetServiceDesiredStateHistoryReq
- func (*GetServiceDesiredStateHistoryReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceDesiredStateHistoryReq) GetApplication() string
- func (x *GetServiceDesiredStateHistoryReq) GetPageSize() int32
- func (x *GetServiceDesiredStateHistoryReq) GetPageToken() string
- func (x *GetServiceDesiredStateHistoryReq) GetService() string
- func (*GetServiceDesiredStateHistoryReq) ProtoMessage()
- func (x *GetServiceDesiredStateHistoryReq) ProtoReflect() protoreflect.Message
- func (x *GetServiceDesiredStateHistoryReq) Reset()
- func (x *GetServiceDesiredStateHistoryReq) String() string
- func (m *GetServiceDesiredStateHistoryReq) Validate() error
- func (m *GetServiceDesiredStateHistoryReq) ValidateAll() error
- type GetServiceDesiredStateHistoryReqMultiError
- type GetServiceDesiredStateHistoryReqValidationError
- func (e GetServiceDesiredStateHistoryReqValidationError) Cause() error
- func (e GetServiceDesiredStateHistoryReqValidationError) Error() string
- func (e GetServiceDesiredStateHistoryReqValidationError) ErrorName() string
- func (e GetServiceDesiredStateHistoryReqValidationError) Field() string
- func (e GetServiceDesiredStateHistoryReqValidationError) Key() bool
- func (e GetServiceDesiredStateHistoryReqValidationError) Reason() string
- type GetServiceDesiredStateHistoryResp
- func (*GetServiceDesiredStateHistoryResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceDesiredStateHistoryResp) GetDesiredStates() []*DesiredStateSummary
- func (x *GetServiceDesiredStateHistoryResp) GetNextPageToken() string
- func (*GetServiceDesiredStateHistoryResp) ProtoMessage()
- func (x *GetServiceDesiredStateHistoryResp) ProtoReflect() protoreflect.Message
- func (x *GetServiceDesiredStateHistoryResp) Reset()
- func (x *GetServiceDesiredStateHistoryResp) String() string
- func (m *GetServiceDesiredStateHistoryResp) Validate() error
- func (m *GetServiceDesiredStateHistoryResp) ValidateAll() error
- type GetServiceDesiredStateHistoryRespMultiError
- type GetServiceDesiredStateHistoryRespValidationError
- func (e GetServiceDesiredStateHistoryRespValidationError) Cause() error
- func (e GetServiceDesiredStateHistoryRespValidationError) Error() string
- func (e GetServiceDesiredStateHistoryRespValidationError) ErrorName() string
- func (e GetServiceDesiredStateHistoryRespValidationError) Field() string
- func (e GetServiceDesiredStateHistoryRespValidationError) Key() bool
- func (e GetServiceDesiredStateHistoryRespValidationError) Reason() string
- type GetServiceLastConvergedStateReq
- func (*GetServiceLastConvergedStateReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceLastConvergedStateReq) GetApplication() string
- func (x *GetServiceLastConvergedStateReq) GetService() string
- func (*GetServiceLastConvergedStateReq) ProtoMessage()
- func (x *GetServiceLastConvergedStateReq) ProtoReflect() protoreflect.Message
- func (x *GetServiceLastConvergedStateReq) Reset()
- func (x *GetServiceLastConvergedStateReq) String() string
- func (m *GetServiceLastConvergedStateReq) Validate() error
- func (m *GetServiceLastConvergedStateReq) ValidateAll() error
- type GetServiceLastConvergedStateReqMultiError
- type GetServiceLastConvergedStateReqValidationError
- func (e GetServiceLastConvergedStateReqValidationError) Cause() error
- func (e GetServiceLastConvergedStateReqValidationError) Error() string
- func (e GetServiceLastConvergedStateReqValidationError) ErrorName() string
- func (e GetServiceLastConvergedStateReqValidationError) Field() string
- func (e GetServiceLastConvergedStateReqValidationError) Key() bool
- func (e GetServiceLastConvergedStateReqValidationError) Reason() string
- type GetServiceLastConvergedStateResp
- func (*GetServiceLastConvergedStateResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceLastConvergedStateResp) GetServiceInstanceStates() []*model.ServiceInstanceState
- func (*GetServiceLastConvergedStateResp) ProtoMessage()
- func (x *GetServiceLastConvergedStateResp) ProtoReflect() protoreflect.Message
- func (x *GetServiceLastConvergedStateResp) Reset()
- func (x *GetServiceLastConvergedStateResp) String() string
- func (m *GetServiceLastConvergedStateResp) Validate() error
- func (m *GetServiceLastConvergedStateResp) ValidateAll() error
- type GetServiceLastConvergedStateRespMultiError
- type GetServiceLastConvergedStateRespValidationError
- func (e GetServiceLastConvergedStateRespValidationError) Cause() error
- func (e GetServiceLastConvergedStateRespValidationError) Error() string
- func (e GetServiceLastConvergedStateRespValidationError) ErrorName() string
- func (e GetServiceLastConvergedStateRespValidationError) Field() string
- func (e GetServiceLastConvergedStateRespValidationError) Key() bool
- func (e GetServiceLastConvergedStateRespValidationError) Reason() string
- type PreviewEntityGraphResp
- func (*PreviewEntityGraphResp) Descriptor() ([]byte, []int)deprecated
- func (x *PreviewEntityGraphResp) GetDesiredStateId() string
- func (x *PreviewEntityGraphResp) GetEntityGraph() *model.EntityGraph
- func (*PreviewEntityGraphResp) ProtoMessage()
- func (x *PreviewEntityGraphResp) ProtoReflect() protoreflect.Message
- func (x *PreviewEntityGraphResp) Reset()
- func (x *PreviewEntityGraphResp) String() string
- func (m *PreviewEntityGraphResp) Validate() error
- func (m *PreviewEntityGraphResp) ValidateAll() error
- type PreviewEntityGraphRespMultiError
- type PreviewEntityGraphRespValidationError
- func (e PreviewEntityGraphRespValidationError) Cause() error
- func (e PreviewEntityGraphRespValidationError) Error() string
- func (e PreviewEntityGraphRespValidationError) ErrorName() string
- func (e PreviewEntityGraphRespValidationError) Field() string
- func (e PreviewEntityGraphRespValidationError) Key() bool
- func (e PreviewEntityGraphRespValidationError) Reason() string
- type PromoteDeliveryReq
- func (*PromoteDeliveryReq) Descriptor() ([]byte, []int)deprecated
- func (x *PromoteDeliveryReq) GetDesiredStateId() string
- func (x *PromoteDeliveryReq) GetFull() bool
- func (x *PromoteDeliveryReq) GetSource() string
- func (x *PromoteDeliveryReq) GetStage() int64
- func (*PromoteDeliveryReq) ProtoMessage()
- func (x *PromoteDeliveryReq) ProtoReflect() protoreflect.Message
- func (x *PromoteDeliveryReq) Reset()
- func (x *PromoteDeliveryReq) String() string
- func (m *PromoteDeliveryReq) Validate() error
- func (m *PromoteDeliveryReq) ValidateAll() error
- type PromoteDeliveryReqMultiError
- type PromoteDeliveryReqValidationError
- func (e PromoteDeliveryReqValidationError) Cause() error
- func (e PromoteDeliveryReqValidationError) Error() string
- func (e PromoteDeliveryReqValidationError) ErrorName() string
- func (e PromoteDeliveryReqValidationError) Field() string
- func (e PromoteDeliveryReqValidationError) Key() bool
- func (e PromoteDeliveryReqValidationError) Reason() string
- type PromoteDeliveryResp
- func (*PromoteDeliveryResp) Descriptor() ([]byte, []int)deprecated
- func (*PromoteDeliveryResp) ProtoMessage()
- func (x *PromoteDeliveryResp) ProtoReflect() protoreflect.Message
- func (x *PromoteDeliveryResp) Reset()
- func (x *PromoteDeliveryResp) String() string
- func (m *PromoteDeliveryResp) Validate() error
- func (m *PromoteDeliveryResp) ValidateAll() error
- type PromoteDeliveryRespMultiError
- type PromoteDeliveryRespValidationError
- func (e PromoteDeliveryRespValidationError) Cause() error
- func (e PromoteDeliveryRespValidationError) Error() string
- func (e PromoteDeliveryRespValidationError) ErrorName() string
- func (e PromoteDeliveryRespValidationError) Field() string
- func (e PromoteDeliveryRespValidationError) Key() bool
- func (e PromoteDeliveryRespValidationError) Reason() string
- type SetDesiredStateReq
- func (*SetDesiredStateReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetDesiredStateReq) GetDesiredState() *model.State
- func (x *SetDesiredStateReq) GetRollback() bool
- func (*SetDesiredStateReq) ProtoMessage()
- func (x *SetDesiredStateReq) ProtoReflect() protoreflect.Message
- func (x *SetDesiredStateReq) Reset()
- func (x *SetDesiredStateReq) String() string
- func (m *SetDesiredStateReq) Validate() error
- func (m *SetDesiredStateReq) ValidateAll() error
- type SetDesiredStateReqMultiError
- type SetDesiredStateReqValidationError
- func (e SetDesiredStateReqValidationError) Cause() error
- func (e SetDesiredStateReqValidationError) Error() string
- func (e SetDesiredStateReqValidationError) ErrorName() string
- func (e SetDesiredStateReqValidationError) Field() string
- func (e SetDesiredStateReqValidationError) Key() bool
- func (e SetDesiredStateReqValidationError) Reason() string
- type SetDesiredStateResp
- func (*SetDesiredStateResp) Descriptor() ([]byte, []int)deprecated
- func (x *SetDesiredStateResp) GetDesiredStateId() string
- func (*SetDesiredStateResp) ProtoMessage()
- func (x *SetDesiredStateResp) ProtoReflect() protoreflect.Message
- func (x *SetDesiredStateResp) Reset()
- func (x *SetDesiredStateResp) String() string
- func (m *SetDesiredStateResp) Validate() error
- func (m *SetDesiredStateResp) ValidateAll() error
- type SetDesiredStateRespMultiError
- type SetDesiredStateRespValidationError
- func (e SetDesiredStateRespValidationError) Cause() error
- func (e SetDesiredStateRespValidationError) Error() string
- func (e SetDesiredStateRespValidationError) ErrorName() string
- func (e SetDesiredStateRespValidationError) Field() string
- func (e SetDesiredStateRespValidationError) Key() bool
- func (e SetDesiredStateRespValidationError) Reason() string
- type SetManualApprovalReq
- func (*SetManualApprovalReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetManualApprovalReq) GetDesiredStateId() string
- func (x *SetManualApprovalReq) GetReject() bool
- func (x *SetManualApprovalReq) GetSignalType() string
- func (x *SetManualApprovalReq) GetTopic() string
- func (*SetManualApprovalReq) ProtoMessage()
- func (x *SetManualApprovalReq) ProtoReflect() protoreflect.Message
- func (x *SetManualApprovalReq) Reset()
- func (x *SetManualApprovalReq) String() string
- func (m *SetManualApprovalReq) Validate() error
- func (m *SetManualApprovalReq) ValidateAll() error
- type SetManualApprovalReqMultiError
- type SetManualApprovalReqValidationError
- func (e SetManualApprovalReqValidationError) Cause() error
- func (e SetManualApprovalReqValidationError) Error() string
- func (e SetManualApprovalReqValidationError) ErrorName() string
- func (e SetManualApprovalReqValidationError) Field() string
- func (e SetManualApprovalReqValidationError) Key() bool
- func (e SetManualApprovalReqValidationError) Reason() string
- type SetManualApprovalResp
- func (*SetManualApprovalResp) Descriptor() ([]byte, []int)deprecated
- func (*SetManualApprovalResp) ProtoMessage()
- func (x *SetManualApprovalResp) ProtoReflect() protoreflect.Message
- func (x *SetManualApprovalResp) Reset()
- func (x *SetManualApprovalResp) String() string
- func (m *SetManualApprovalResp) Validate() error
- func (m *SetManualApprovalResp) ValidateAll() error
- type SetManualApprovalRespMultiError
- type SetManualApprovalRespValidationError
- func (e SetManualApprovalRespValidationError) Cause() error
- func (e SetManualApprovalRespValidationError) Error() string
- func (e SetManualApprovalRespValidationError) ErrorName() string
- func (e SetManualApprovalRespValidationError) Field() string
- func (e SetManualApprovalRespValidationError) Key() bool
- func (e SetManualApprovalRespValidationError) Reason() string
- type StatusExplanations
- func (*StatusExplanations) Descriptor() ([]byte, []int)deprecated
- func (x *StatusExplanations) GetStatusExplanations() []*model.StatusExplanation
- func (*StatusExplanations) ProtoMessage()
- func (x *StatusExplanations) ProtoReflect() protoreflect.Message
- func (x *StatusExplanations) Reset()
- func (x *StatusExplanations) String() string
- func (m *StatusExplanations) Validate() error
- func (m *StatusExplanations) ValidateAll() error
- type StatusExplanationsMultiError
- type StatusExplanationsValidationError
- func (e StatusExplanationsValidationError) Cause() error
- func (e StatusExplanationsValidationError) Error() string
- func (e StatusExplanationsValidationError) ErrorName() string
- func (e StatusExplanationsValidationError) Field() string
- func (e StatusExplanationsValidationError) Key() bool
- func (e StatusExplanationsValidationError) Reason() string
- type UnimplementedDesiredStateManagerServer
- func (UnimplementedDesiredStateManagerServer) BypassProtection(context.Context, *BypassProtectionReq) (*BypassProtectionResp, error)
- func (UnimplementedDesiredStateManagerServer) GetDesiredState(context.Context, *GetDesiredStateReq) (*GetDesiredStateResp, error)
- func (UnimplementedDesiredStateManagerServer) GetDesiredStateConvergenceSummary(context.Context, *GetDesiredStateConvergenceReq) (*GetDesiredStateConvergenceSummaryResp, error)
- func (UnimplementedDesiredStateManagerServer) GetServiceDesiredStateConvergenceSummary(context.Context, *GetServiceDesiredStateConvergenceSummaryReq) (*GetServiceDesiredStateConvergenceSummaryResp, error)
- func (UnimplementedDesiredStateManagerServer) GetServiceDesiredStateHistory(context.Context, *GetServiceDesiredStateHistoryReq) (*GetServiceDesiredStateHistoryResp, error)
- func (UnimplementedDesiredStateManagerServer) GetServiceLastConvergedStates(context.Context, *GetServiceLastConvergedStateReq) (*GetServiceLastConvergedStateResp, error)
- func (UnimplementedDesiredStateManagerServer) PreviewEntityGraph(context.Context, *SetDesiredStateReq) (*PreviewEntityGraphResp, error)
- func (UnimplementedDesiredStateManagerServer) PromoteDelivery(context.Context, *PromoteDeliveryReq) (*PromoteDeliveryResp, error)
- func (UnimplementedDesiredStateManagerServer) SetDesiredState(context.Context, *SetDesiredStateReq) (*SetDesiredStateResp, error)
- func (UnimplementedDesiredStateManagerServer) SetManualApproval(context.Context, *SetManualApprovalReq) (*SetManualApprovalResp, error)
- func (UnimplementedDesiredStateManagerServer) ValidateDesiredState(context.Context, *ValidateDesiredStateReq) (*ValidateDesiredStateResp, error)
- type UnsafeDesiredStateManagerServer
- type ValidateDesiredStateReq
- func (*ValidateDesiredStateReq) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateDesiredStateReq) GetDesiredState() *model.State
- func (x *ValidateDesiredStateReq) GetRollback() bool
- func (x *ValidateDesiredStateReq) GetServiceInstanceConfigs() []*service.CompiledServiceInstanceConfig
- func (*ValidateDesiredStateReq) ProtoMessage()
- func (x *ValidateDesiredStateReq) ProtoReflect() protoreflect.Message
- func (x *ValidateDesiredStateReq) Reset()
- func (x *ValidateDesiredStateReq) String() string
- func (m *ValidateDesiredStateReq) Validate() error
- func (m *ValidateDesiredStateReq) ValidateAll() error
- type ValidateDesiredStateReqMultiError
- type ValidateDesiredStateReqValidationError
- func (e ValidateDesiredStateReqValidationError) Cause() error
- func (e ValidateDesiredStateReqValidationError) Error() string
- func (e ValidateDesiredStateReqValidationError) ErrorName() string
- func (e ValidateDesiredStateReqValidationError) Field() string
- func (e ValidateDesiredStateReqValidationError) Key() bool
- func (e ValidateDesiredStateReqValidationError) Reason() string
- type ValidateDesiredStateResp
- func (*ValidateDesiredStateResp) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateDesiredStateResp) GetCompiledDesiredState() *model.State
- func (x *ValidateDesiredStateResp) GetDesiredState() *model.State
- func (*ValidateDesiredStateResp) ProtoMessage()
- func (x *ValidateDesiredStateResp) ProtoReflect() protoreflect.Message
- func (x *ValidateDesiredStateResp) Reset()
- func (x *ValidateDesiredStateResp) String() string
- func (m *ValidateDesiredStateResp) Validate() error
- func (m *ValidateDesiredStateResp) ValidateAll() error
- type ValidateDesiredStateRespMultiError
- type ValidateDesiredStateRespValidationError
- func (e ValidateDesiredStateRespValidationError) Cause() error
- func (e ValidateDesiredStateRespValidationError) Error() string
- func (e ValidateDesiredStateRespValidationError) ErrorName() string
- func (e ValidateDesiredStateRespValidationError) Field() string
- func (e ValidateDesiredStateRespValidationError) Key() bool
- func (e ValidateDesiredStateRespValidationError) Reason() string
Constants ¶
const ( DesiredStateManager_SetDesiredState_FullMethodName = "/prodvana.desired_state.DesiredStateManager/SetDesiredState" DesiredStateManager_PreviewEntityGraph_FullMethodName = "/prodvana.desired_state.DesiredStateManager/PreviewEntityGraph" DesiredStateManager_GetServiceDesiredStateConvergenceSummary_FullMethodName = "/prodvana.desired_state.DesiredStateManager/GetServiceDesiredStateConvergenceSummary" DesiredStateManager_GetServiceLastConvergedStates_FullMethodName = "/prodvana.desired_state.DesiredStateManager/GetServiceLastConvergedStates" DesiredStateManager_GetServiceDesiredStateHistory_FullMethodName = "/prodvana.desired_state.DesiredStateManager/GetServiceDesiredStateHistory" DesiredStateManager_GetDesiredState_FullMethodName = "/prodvana.desired_state.DesiredStateManager/GetDesiredState" DesiredStateManager_GetDesiredStateConvergenceSummary_FullMethodName = "/prodvana.desired_state.DesiredStateManager/GetDesiredStateConvergenceSummary" DesiredStateManager_ValidateDesiredState_FullMethodName = "/prodvana.desired_state.DesiredStateManager/ValidateDesiredState" DesiredStateManager_SetManualApproval_FullMethodName = "/prodvana.desired_state.DesiredStateManager/SetManualApproval" DesiredStateManager_PromoteDelivery_FullMethodName = "/prodvana.desired_state.DesiredStateManager/PromoteDelivery" DesiredStateManager_BypassProtection_FullMethodName = "/prodvana.desired_state.DesiredStateManager/BypassProtection" )
Variables ¶
var DesiredStateManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "prodvana.desired_state.DesiredStateManager", HandlerType: (*DesiredStateManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetDesiredState", Handler: _DesiredStateManager_SetDesiredState_Handler, }, { MethodName: "PreviewEntityGraph", Handler: _DesiredStateManager_PreviewEntityGraph_Handler, }, { MethodName: "GetServiceDesiredStateConvergenceSummary", Handler: _DesiredStateManager_GetServiceDesiredStateConvergenceSummary_Handler, }, { MethodName: "GetServiceLastConvergedStates", Handler: _DesiredStateManager_GetServiceLastConvergedStates_Handler, }, { MethodName: "GetServiceDesiredStateHistory", Handler: _DesiredStateManager_GetServiceDesiredStateHistory_Handler, }, { MethodName: "GetDesiredState", Handler: _DesiredStateManager_GetDesiredState_Handler, }, { MethodName: "GetDesiredStateConvergenceSummary", Handler: _DesiredStateManager_GetDesiredStateConvergenceSummary_Handler, }, { MethodName: "ValidateDesiredState", Handler: _DesiredStateManager_ValidateDesiredState_Handler, }, { MethodName: "SetManualApproval", Handler: _DesiredStateManager_SetManualApproval_Handler, }, { MethodName: "PromoteDelivery", Handler: _DesiredStateManager_PromoteDelivery_Handler, }, { MethodName: "BypassProtection", Handler: _DesiredStateManager_BypassProtection_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "prodvana/desired_state/manager.proto", }
DesiredStateManager_ServiceDesc is the grpc.ServiceDesc for DesiredStateManager 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_desired_state_manager_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDesiredStateManagerHandler ¶
func RegisterDesiredStateManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterDesiredStateManagerHandler registers the http handlers for service DesiredStateManager to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterDesiredStateManagerHandlerClient ¶
func RegisterDesiredStateManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DesiredStateManagerClient) error
RegisterDesiredStateManagerHandlerClient registers the http handlers for service DesiredStateManager to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DesiredStateManagerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DesiredStateManagerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DesiredStateManagerClient" to call the correct interceptors.
func RegisterDesiredStateManagerHandlerFromEndpoint ¶
func RegisterDesiredStateManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterDesiredStateManagerHandlerFromEndpoint is same as RegisterDesiredStateManagerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterDesiredStateManagerHandlerServer ¶
func RegisterDesiredStateManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DesiredStateManagerServer) error
RegisterDesiredStateManagerHandlerServer registers the http handlers for service DesiredStateManager to "mux". UnaryRPC :call DesiredStateManagerServer 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 RegisterDesiredStateManagerHandlerFromEndpoint instead.
func RegisterDesiredStateManagerServer ¶
func RegisterDesiredStateManagerServer(s grpc.ServiceRegistrar, srv DesiredStateManagerServer)
Types ¶
type BypassProtectionReq ¶
type BypassProtectionReq struct { DesiredStateId string `protobuf:"bytes,1,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*BypassProtectionReq) Descriptor
deprecated
func (*BypassProtectionReq) Descriptor() ([]byte, []int)
Deprecated: Use BypassProtectionReq.ProtoReflect.Descriptor instead.
func (*BypassProtectionReq) GetDesiredStateId ¶
func (x *BypassProtectionReq) GetDesiredStateId() string
func (*BypassProtectionReq) GetSource ¶
func (x *BypassProtectionReq) GetSource() string
func (*BypassProtectionReq) ProtoMessage ¶
func (*BypassProtectionReq) ProtoMessage()
func (*BypassProtectionReq) ProtoReflect ¶
func (x *BypassProtectionReq) ProtoReflect() protoreflect.Message
func (*BypassProtectionReq) Reset ¶
func (x *BypassProtectionReq) Reset()
func (*BypassProtectionReq) String ¶
func (x *BypassProtectionReq) String() string
func (*BypassProtectionReq) Validate ¶
func (m *BypassProtectionReq) Validate() error
Validate checks the field values on BypassProtectionReq 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 (*BypassProtectionReq) ValidateAll ¶
func (m *BypassProtectionReq) ValidateAll() error
ValidateAll checks the field values on BypassProtectionReq 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 BypassProtectionReqMultiError, or nil if none found.
type BypassProtectionReqMultiError ¶
type BypassProtectionReqMultiError []error
BypassProtectionReqMultiError is an error wrapping multiple validation errors returned by BypassProtectionReq.ValidateAll() if the designated constraints aren't met.
func (BypassProtectionReqMultiError) AllErrors ¶
func (m BypassProtectionReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BypassProtectionReqMultiError) Error ¶
func (m BypassProtectionReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BypassProtectionReqValidationError ¶
type BypassProtectionReqValidationError struct {
// contains filtered or unexported fields
}
BypassProtectionReqValidationError is the validation error returned by BypassProtectionReq.Validate if the designated constraints aren't met.
func (BypassProtectionReqValidationError) Cause ¶
func (e BypassProtectionReqValidationError) Cause() error
Cause function returns cause value.
func (BypassProtectionReqValidationError) Error ¶
func (e BypassProtectionReqValidationError) Error() string
Error satisfies the builtin error interface
func (BypassProtectionReqValidationError) ErrorName ¶
func (e BypassProtectionReqValidationError) ErrorName() string
ErrorName returns error name.
func (BypassProtectionReqValidationError) Field ¶
func (e BypassProtectionReqValidationError) Field() string
Field function returns field value.
func (BypassProtectionReqValidationError) Key ¶
func (e BypassProtectionReqValidationError) Key() bool
Key function returns key value.
func (BypassProtectionReqValidationError) Reason ¶
func (e BypassProtectionReqValidationError) Reason() string
Reason function returns reason value.
type BypassProtectionResp ¶
type BypassProtectionResp struct {
// contains filtered or unexported fields
}
func (*BypassProtectionResp) Descriptor
deprecated
func (*BypassProtectionResp) Descriptor() ([]byte, []int)
Deprecated: Use BypassProtectionResp.ProtoReflect.Descriptor instead.
func (*BypassProtectionResp) ProtoMessage ¶
func (*BypassProtectionResp) ProtoMessage()
func (*BypassProtectionResp) ProtoReflect ¶
func (x *BypassProtectionResp) ProtoReflect() protoreflect.Message
func (*BypassProtectionResp) Reset ¶
func (x *BypassProtectionResp) Reset()
func (*BypassProtectionResp) String ¶
func (x *BypassProtectionResp) String() string
func (*BypassProtectionResp) Validate ¶
func (m *BypassProtectionResp) Validate() error
Validate checks the field values on BypassProtectionResp 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 (*BypassProtectionResp) ValidateAll ¶
func (m *BypassProtectionResp) ValidateAll() error
ValidateAll checks the field values on BypassProtectionResp 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 BypassProtectionRespMultiError, or nil if none found.
type BypassProtectionRespMultiError ¶
type BypassProtectionRespMultiError []error
BypassProtectionRespMultiError is an error wrapping multiple validation errors returned by BypassProtectionResp.ValidateAll() if the designated constraints aren't met.
func (BypassProtectionRespMultiError) AllErrors ¶
func (m BypassProtectionRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BypassProtectionRespMultiError) Error ¶
func (m BypassProtectionRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BypassProtectionRespValidationError ¶
type BypassProtectionRespValidationError struct {
// contains filtered or unexported fields
}
BypassProtectionRespValidationError is the validation error returned by BypassProtectionResp.Validate if the designated constraints aren't met.
func (BypassProtectionRespValidationError) Cause ¶
func (e BypassProtectionRespValidationError) Cause() error
Cause function returns cause value.
func (BypassProtectionRespValidationError) Error ¶
func (e BypassProtectionRespValidationError) Error() string
Error satisfies the builtin error interface
func (BypassProtectionRespValidationError) ErrorName ¶
func (e BypassProtectionRespValidationError) ErrorName() string
ErrorName returns error name.
func (BypassProtectionRespValidationError) Field ¶
func (e BypassProtectionRespValidationError) Field() string
Field function returns field value.
func (BypassProtectionRespValidationError) Key ¶
func (e BypassProtectionRespValidationError) Key() bool
Key function returns key value.
func (BypassProtectionRespValidationError) Reason ¶
func (e BypassProtectionRespValidationError) Reason() string
Reason function returns reason value.
type DebugLogs ¶
type DebugLogs struct { DebugLogs []*model.DebugLog `protobuf:"bytes,1,rep,name=debug_logs,json=debugLogs,proto3" json:"debug_logs,omitempty"` // contains filtered or unexported fields }
func (*DebugLogs) Descriptor
deprecated
func (*DebugLogs) GetDebugLogs ¶
func (*DebugLogs) ProtoMessage ¶
func (*DebugLogs) ProtoMessage()
func (*DebugLogs) ProtoReflect ¶
func (x *DebugLogs) ProtoReflect() protoreflect.Message
func (*DebugLogs) Validate ¶
Validate checks the field values on DebugLogs 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 (*DebugLogs) ValidateAll ¶
ValidateAll checks the field values on DebugLogs 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 DebugLogsMultiError, or nil if none found.
type DebugLogsMultiError ¶
type DebugLogsMultiError []error
DebugLogsMultiError is an error wrapping multiple validation errors returned by DebugLogs.ValidateAll() if the designated constraints aren't met.
func (DebugLogsMultiError) AllErrors ¶
func (m DebugLogsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DebugLogsMultiError) Error ¶
func (m DebugLogsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DebugLogsValidationError ¶
type DebugLogsValidationError struct {
// contains filtered or unexported fields
}
DebugLogsValidationError is the validation error returned by DebugLogs.Validate if the designated constraints aren't met.
func (DebugLogsValidationError) Cause ¶
func (e DebugLogsValidationError) Cause() error
Cause function returns cause value.
func (DebugLogsValidationError) Error ¶
func (e DebugLogsValidationError) Error() string
Error satisfies the builtin error interface
func (DebugLogsValidationError) ErrorName ¶
func (e DebugLogsValidationError) ErrorName() string
ErrorName returns error name.
func (DebugLogsValidationError) Field ¶
func (e DebugLogsValidationError) Field() string
Field function returns field value.
func (DebugLogsValidationError) Key ¶
func (e DebugLogsValidationError) Key() bool
Key function returns key value.
func (DebugLogsValidationError) Reason ¶
func (e DebugLogsValidationError) Reason() string
Reason function returns reason value.
type DesiredStateManagerClient ¶
type DesiredStateManagerClient interface { SetDesiredState(ctx context.Context, in *SetDesiredStateReq, opts ...grpc.CallOption) (*SetDesiredStateResp, error) // validate a SetDesiredState call and return a preview entity graph // TODO(naphat) delete ValidateDesiredState and replace with this PreviewEntityGraph(ctx context.Context, in *SetDesiredStateReq, opts ...grpc.CallOption) (*PreviewEntityGraphResp, error) GetServiceDesiredStateConvergenceSummary(ctx context.Context, in *GetServiceDesiredStateConvergenceSummaryReq, opts ...grpc.CallOption) (*GetServiceDesiredStateConvergenceSummaryResp, error) GetServiceLastConvergedStates(ctx context.Context, in *GetServiceLastConvergedStateReq, opts ...grpc.CallOption) (*GetServiceLastConvergedStateResp, error) GetServiceDesiredStateHistory(ctx context.Context, in *GetServiceDesiredStateHistoryReq, opts ...grpc.CallOption) (*GetServiceDesiredStateHistoryResp, error) GetDesiredState(ctx context.Context, in *GetDesiredStateReq, opts ...grpc.CallOption) (*GetDesiredStateResp, error) GetDesiredStateConvergenceSummary(ctx context.Context, in *GetDesiredStateConvergenceReq, opts ...grpc.CallOption) (*GetDesiredStateConvergenceSummaryResp, error) ValidateDesiredState(ctx context.Context, in *ValidateDesiredStateReq, opts ...grpc.CallOption) (*ValidateDesiredStateResp, error) SetManualApproval(ctx context.Context, in *SetManualApprovalReq, opts ...grpc.CallOption) (*SetManualApprovalResp, error) PromoteDelivery(ctx context.Context, in *PromoteDeliveryReq, opts ...grpc.CallOption) (*PromoteDeliveryResp, error) BypassProtection(ctx context.Context, in *BypassProtectionReq, opts ...grpc.CallOption) (*BypassProtectionResp, error) }
DesiredStateManagerClient is the client API for DesiredStateManager 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 NewDesiredStateManagerClient ¶
func NewDesiredStateManagerClient(cc grpc.ClientConnInterface) DesiredStateManagerClient
type DesiredStateManagerServer ¶
type DesiredStateManagerServer interface { SetDesiredState(context.Context, *SetDesiredStateReq) (*SetDesiredStateResp, error) // validate a SetDesiredState call and return a preview entity graph // TODO(naphat) delete ValidateDesiredState and replace with this PreviewEntityGraph(context.Context, *SetDesiredStateReq) (*PreviewEntityGraphResp, error) GetServiceDesiredStateConvergenceSummary(context.Context, *GetServiceDesiredStateConvergenceSummaryReq) (*GetServiceDesiredStateConvergenceSummaryResp, error) GetServiceLastConvergedStates(context.Context, *GetServiceLastConvergedStateReq) (*GetServiceLastConvergedStateResp, error) GetServiceDesiredStateHistory(context.Context, *GetServiceDesiredStateHistoryReq) (*GetServiceDesiredStateHistoryResp, error) GetDesiredState(context.Context, *GetDesiredStateReq) (*GetDesiredStateResp, error) GetDesiredStateConvergenceSummary(context.Context, *GetDesiredStateConvergenceReq) (*GetDesiredStateConvergenceSummaryResp, error) ValidateDesiredState(context.Context, *ValidateDesiredStateReq) (*ValidateDesiredStateResp, error) SetManualApproval(context.Context, *SetManualApprovalReq) (*SetManualApprovalResp, error) PromoteDelivery(context.Context, *PromoteDeliveryReq) (*PromoteDeliveryResp, error) BypassProtection(context.Context, *BypassProtectionReq) (*BypassProtectionResp, error) // contains filtered or unexported methods }
DesiredStateManagerServer is the server API for DesiredStateManager service. All implementations must embed UnimplementedDesiredStateManagerServer for forward compatibility
type DesiredStateSummary ¶
type DesiredStateSummary struct { EntityGraph *model.EntityGraph `protobuf:"bytes,15,opt,name=entity_graph,json=entityGraph,proto3" json:"entity_graph,omitempty"` CreationTimestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp,omitempty"` // will only be set if desired state has been replaced ReplacedTimestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=replaced_timestamp,json=replacedTimestamp,proto3" json:"replaced_timestamp,omitempty"` // fields below are deprecated StartingState *model.State `protobuf:"bytes,1,opt,name=starting_state,json=startingState,proto3" json:"starting_state,omitempty"` LastSeenState *model.State `protobuf:"bytes,2,opt,name=last_seen_state,json=lastSeenState,proto3" json:"last_seen_state,omitempty"` DesiredState *model.State `protobuf:"bytes,3,opt,name=desired_state,json=desiredState,proto3" json:"desired_state,omitempty"` // status of the desired state, all its descendents, and the root desired state. Statuses map[string]model.Status `` /* 199-byte string literal not displayed */ LastUpdateTimestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_update_timestamp,json=lastUpdateTimestamp,proto3" json:"last_update_timestamp,omitempty"` // State of all preconditions involved in the desired state. // Key format - "{desired_state_id}-{index}", e.g., "des-0752d6c76a6943abbfcf0515634584ba-0". PreconditionStatuses map[string]*model.ConditionState `` /* 209-byte string literal not displayed */ StatusExplanations map[string]*StatusExplanations `` /* 203-byte string literal not displayed */ DebugLogs map[string]*DebugLogs `` /* 177-byte string literal not displayed */ ActionExplanations map[string]*model.ActionExplanation `` /* 204-byte string literal not displayed */ // last_update_timestamp, last_fetched_timestamp, and last_applied_timestamp are only returned for the latest desired state LastUpdateTimestamps map[string]*timestamppb.Timestamp `` /* 212-byte string literal not displayed */ LastFetchedTimestamps map[string]*timestamppb.Timestamp `` /* 215-byte string literal not displayed */ LastAppliedTimestamps map[string]*timestamppb.Timestamp `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DesiredStateSummary) Descriptor
deprecated
func (*DesiredStateSummary) Descriptor() ([]byte, []int)
Deprecated: Use DesiredStateSummary.ProtoReflect.Descriptor instead.
func (*DesiredStateSummary) GetActionExplanations ¶
func (x *DesiredStateSummary) GetActionExplanations() map[string]*model.ActionExplanation
func (*DesiredStateSummary) GetCreationTimestamp ¶
func (x *DesiredStateSummary) GetCreationTimestamp() *timestamppb.Timestamp
func (*DesiredStateSummary) GetDebugLogs ¶
func (x *DesiredStateSummary) GetDebugLogs() map[string]*DebugLogs
func (*DesiredStateSummary) GetDesiredState ¶
func (x *DesiredStateSummary) GetDesiredState() *model.State
func (*DesiredStateSummary) GetEntityGraph ¶
func (x *DesiredStateSummary) GetEntityGraph() *model.EntityGraph
func (*DesiredStateSummary) GetLastAppliedTimestamps ¶
func (x *DesiredStateSummary) GetLastAppliedTimestamps() map[string]*timestamppb.Timestamp
func (*DesiredStateSummary) GetLastFetchedTimestamps ¶
func (x *DesiredStateSummary) GetLastFetchedTimestamps() map[string]*timestamppb.Timestamp
func (*DesiredStateSummary) GetLastSeenState ¶
func (x *DesiredStateSummary) GetLastSeenState() *model.State
func (*DesiredStateSummary) GetLastUpdateTimestamp ¶
func (x *DesiredStateSummary) GetLastUpdateTimestamp() *timestamppb.Timestamp
func (*DesiredStateSummary) GetLastUpdateTimestamps ¶
func (x *DesiredStateSummary) GetLastUpdateTimestamps() map[string]*timestamppb.Timestamp
func (*DesiredStateSummary) GetPreconditionStatuses ¶
func (x *DesiredStateSummary) GetPreconditionStatuses() map[string]*model.ConditionState
func (*DesiredStateSummary) GetReplacedTimestamp ¶
func (x *DesiredStateSummary) GetReplacedTimestamp() *timestamppb.Timestamp
func (*DesiredStateSummary) GetStartingState ¶
func (x *DesiredStateSummary) GetStartingState() *model.State
func (*DesiredStateSummary) GetStatusExplanations ¶
func (x *DesiredStateSummary) GetStatusExplanations() map[string]*StatusExplanations
func (*DesiredStateSummary) GetStatuses ¶
func (x *DesiredStateSummary) GetStatuses() map[string]model.Status
func (*DesiredStateSummary) ProtoMessage ¶
func (*DesiredStateSummary) ProtoMessage()
func (*DesiredStateSummary) ProtoReflect ¶
func (x *DesiredStateSummary) ProtoReflect() protoreflect.Message
func (*DesiredStateSummary) Reset ¶
func (x *DesiredStateSummary) Reset()
func (*DesiredStateSummary) String ¶
func (x *DesiredStateSummary) String() string
func (*DesiredStateSummary) Validate ¶
func (m *DesiredStateSummary) Validate() error
Validate checks the field values on DesiredStateSummary 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 (*DesiredStateSummary) ValidateAll ¶
func (m *DesiredStateSummary) ValidateAll() error
ValidateAll checks the field values on DesiredStateSummary 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 DesiredStateSummaryMultiError, or nil if none found.
type DesiredStateSummaryMultiError ¶
type DesiredStateSummaryMultiError []error
DesiredStateSummaryMultiError is an error wrapping multiple validation errors returned by DesiredStateSummary.ValidateAll() if the designated constraints aren't met.
func (DesiredStateSummaryMultiError) AllErrors ¶
func (m DesiredStateSummaryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DesiredStateSummaryMultiError) Error ¶
func (m DesiredStateSummaryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DesiredStateSummaryValidationError ¶
type DesiredStateSummaryValidationError struct {
// contains filtered or unexported fields
}
DesiredStateSummaryValidationError is the validation error returned by DesiredStateSummary.Validate if the designated constraints aren't met.
func (DesiredStateSummaryValidationError) Cause ¶
func (e DesiredStateSummaryValidationError) Cause() error
Cause function returns cause value.
func (DesiredStateSummaryValidationError) Error ¶
func (e DesiredStateSummaryValidationError) Error() string
Error satisfies the builtin error interface
func (DesiredStateSummaryValidationError) ErrorName ¶
func (e DesiredStateSummaryValidationError) ErrorName() string
ErrorName returns error name.
func (DesiredStateSummaryValidationError) Field ¶
func (e DesiredStateSummaryValidationError) Field() string
Field function returns field value.
func (DesiredStateSummaryValidationError) Key ¶
func (e DesiredStateSummaryValidationError) Key() bool
Key function returns key value.
func (DesiredStateSummaryValidationError) Reason ¶
func (e DesiredStateSummaryValidationError) Reason() string
Reason function returns reason value.
type GetDesiredStateConvergenceReq ¶
type GetDesiredStateConvergenceReq struct { DesiredStateId string `protobuf:"bytes,1,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"` // contains filtered or unexported fields }
func (*GetDesiredStateConvergenceReq) Descriptor
deprecated
func (*GetDesiredStateConvergenceReq) Descriptor() ([]byte, []int)
Deprecated: Use GetDesiredStateConvergenceReq.ProtoReflect.Descriptor instead.
func (*GetDesiredStateConvergenceReq) GetDesiredStateId ¶
func (x *GetDesiredStateConvergenceReq) GetDesiredStateId() string
func (*GetDesiredStateConvergenceReq) ProtoMessage ¶
func (*GetDesiredStateConvergenceReq) ProtoMessage()
func (*GetDesiredStateConvergenceReq) ProtoReflect ¶
func (x *GetDesiredStateConvergenceReq) ProtoReflect() protoreflect.Message
func (*GetDesiredStateConvergenceReq) Reset ¶
func (x *GetDesiredStateConvergenceReq) Reset()
func (*GetDesiredStateConvergenceReq) String ¶
func (x *GetDesiredStateConvergenceReq) String() string
func (*GetDesiredStateConvergenceReq) Validate ¶
func (m *GetDesiredStateConvergenceReq) Validate() error
Validate checks the field values on GetDesiredStateConvergenceReq 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 (*GetDesiredStateConvergenceReq) ValidateAll ¶
func (m *GetDesiredStateConvergenceReq) ValidateAll() error
ValidateAll checks the field values on GetDesiredStateConvergenceReq 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 GetDesiredStateConvergenceReqMultiError, or nil if none found.
type GetDesiredStateConvergenceReqMultiError ¶
type GetDesiredStateConvergenceReqMultiError []error
GetDesiredStateConvergenceReqMultiError is an error wrapping multiple validation errors returned by GetDesiredStateConvergenceReq.ValidateAll() if the designated constraints aren't met.
func (GetDesiredStateConvergenceReqMultiError) AllErrors ¶
func (m GetDesiredStateConvergenceReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDesiredStateConvergenceReqMultiError) Error ¶
func (m GetDesiredStateConvergenceReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDesiredStateConvergenceReqValidationError ¶
type GetDesiredStateConvergenceReqValidationError struct {
// contains filtered or unexported fields
}
GetDesiredStateConvergenceReqValidationError is the validation error returned by GetDesiredStateConvergenceReq.Validate if the designated constraints aren't met.
func (GetDesiredStateConvergenceReqValidationError) Cause ¶
func (e GetDesiredStateConvergenceReqValidationError) Cause() error
Cause function returns cause value.
func (GetDesiredStateConvergenceReqValidationError) Error ¶
func (e GetDesiredStateConvergenceReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetDesiredStateConvergenceReqValidationError) ErrorName ¶
func (e GetDesiredStateConvergenceReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetDesiredStateConvergenceReqValidationError) Field ¶
func (e GetDesiredStateConvergenceReqValidationError) Field() string
Field function returns field value.
func (GetDesiredStateConvergenceReqValidationError) Key ¶
func (e GetDesiredStateConvergenceReqValidationError) Key() bool
Key function returns key value.
func (GetDesiredStateConvergenceReqValidationError) Reason ¶
func (e GetDesiredStateConvergenceReqValidationError) Reason() string
Reason function returns reason value.
type GetDesiredStateConvergenceSummaryResp ¶
type GetDesiredStateConvergenceSummaryResp struct { Summary *DesiredStateSummary `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // contains filtered or unexported fields }
func (*GetDesiredStateConvergenceSummaryResp) Descriptor
deprecated
func (*GetDesiredStateConvergenceSummaryResp) Descriptor() ([]byte, []int)
Deprecated: Use GetDesiredStateConvergenceSummaryResp.ProtoReflect.Descriptor instead.
func (*GetDesiredStateConvergenceSummaryResp) GetSummary ¶
func (x *GetDesiredStateConvergenceSummaryResp) GetSummary() *DesiredStateSummary
func (*GetDesiredStateConvergenceSummaryResp) ProtoMessage ¶
func (*GetDesiredStateConvergenceSummaryResp) ProtoMessage()
func (*GetDesiredStateConvergenceSummaryResp) ProtoReflect ¶
func (x *GetDesiredStateConvergenceSummaryResp) ProtoReflect() protoreflect.Message
func (*GetDesiredStateConvergenceSummaryResp) Reset ¶
func (x *GetDesiredStateConvergenceSummaryResp) Reset()
func (*GetDesiredStateConvergenceSummaryResp) String ¶
func (x *GetDesiredStateConvergenceSummaryResp) String() string
func (*GetDesiredStateConvergenceSummaryResp) Validate ¶
func (m *GetDesiredStateConvergenceSummaryResp) Validate() error
Validate checks the field values on GetDesiredStateConvergenceSummaryResp 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 (*GetDesiredStateConvergenceSummaryResp) ValidateAll ¶
func (m *GetDesiredStateConvergenceSummaryResp) ValidateAll() error
ValidateAll checks the field values on GetDesiredStateConvergenceSummaryResp 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 GetDesiredStateConvergenceSummaryRespMultiError, or nil if none found.
type GetDesiredStateConvergenceSummaryRespMultiError ¶
type GetDesiredStateConvergenceSummaryRespMultiError []error
GetDesiredStateConvergenceSummaryRespMultiError is an error wrapping multiple validation errors returned by GetDesiredStateConvergenceSummaryResp.ValidateAll() if the designated constraints aren't met.
func (GetDesiredStateConvergenceSummaryRespMultiError) AllErrors ¶
func (m GetDesiredStateConvergenceSummaryRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDesiredStateConvergenceSummaryRespMultiError) Error ¶
func (m GetDesiredStateConvergenceSummaryRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDesiredStateConvergenceSummaryRespValidationError ¶
type GetDesiredStateConvergenceSummaryRespValidationError struct {
// contains filtered or unexported fields
}
GetDesiredStateConvergenceSummaryRespValidationError is the validation error returned by GetDesiredStateConvergenceSummaryResp.Validate if the designated constraints aren't met.
func (GetDesiredStateConvergenceSummaryRespValidationError) Cause ¶
func (e GetDesiredStateConvergenceSummaryRespValidationError) Cause() error
Cause function returns cause value.
func (GetDesiredStateConvergenceSummaryRespValidationError) Error ¶
func (e GetDesiredStateConvergenceSummaryRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetDesiredStateConvergenceSummaryRespValidationError) ErrorName ¶
func (e GetDesiredStateConvergenceSummaryRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetDesiredStateConvergenceSummaryRespValidationError) Field ¶
func (e GetDesiredStateConvergenceSummaryRespValidationError) Field() string
Field function returns field value.
func (GetDesiredStateConvergenceSummaryRespValidationError) Key ¶
func (e GetDesiredStateConvergenceSummaryRespValidationError) Key() bool
Key function returns key value.
func (GetDesiredStateConvergenceSummaryRespValidationError) Reason ¶
func (e GetDesiredStateConvergenceSummaryRespValidationError) Reason() string
Reason function returns reason value.
type GetDesiredStateReq ¶
type GetDesiredStateReq struct { DesiredStateId string `protobuf:"bytes,1,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"` // contains filtered or unexported fields }
func (*GetDesiredStateReq) Descriptor
deprecated
func (*GetDesiredStateReq) Descriptor() ([]byte, []int)
Deprecated: Use GetDesiredStateReq.ProtoReflect.Descriptor instead.
func (*GetDesiredStateReq) GetDesiredStateId ¶
func (x *GetDesiredStateReq) GetDesiredStateId() string
func (*GetDesiredStateReq) ProtoMessage ¶
func (*GetDesiredStateReq) ProtoMessage()
func (*GetDesiredStateReq) ProtoReflect ¶
func (x *GetDesiredStateReq) ProtoReflect() protoreflect.Message
func (*GetDesiredStateReq) Reset ¶
func (x *GetDesiredStateReq) Reset()
func (*GetDesiredStateReq) String ¶
func (x *GetDesiredStateReq) String() string
func (*GetDesiredStateReq) Validate ¶
func (m *GetDesiredStateReq) Validate() error
Validate checks the field values on GetDesiredStateReq 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 (*GetDesiredStateReq) ValidateAll ¶
func (m *GetDesiredStateReq) ValidateAll() error
ValidateAll checks the field values on GetDesiredStateReq 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 GetDesiredStateReqMultiError, or nil if none found.
type GetDesiredStateReqMultiError ¶
type GetDesiredStateReqMultiError []error
GetDesiredStateReqMultiError is an error wrapping multiple validation errors returned by GetDesiredStateReq.ValidateAll() if the designated constraints aren't met.
func (GetDesiredStateReqMultiError) AllErrors ¶
func (m GetDesiredStateReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDesiredStateReqMultiError) Error ¶
func (m GetDesiredStateReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDesiredStateReqValidationError ¶
type GetDesiredStateReqValidationError struct {
// contains filtered or unexported fields
}
GetDesiredStateReqValidationError is the validation error returned by GetDesiredStateReq.Validate if the designated constraints aren't met.
func (GetDesiredStateReqValidationError) Cause ¶
func (e GetDesiredStateReqValidationError) Cause() error
Cause function returns cause value.
func (GetDesiredStateReqValidationError) Error ¶
func (e GetDesiredStateReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetDesiredStateReqValidationError) ErrorName ¶
func (e GetDesiredStateReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetDesiredStateReqValidationError) Field ¶
func (e GetDesiredStateReqValidationError) Field() string
Field function returns field value.
func (GetDesiredStateReqValidationError) Key ¶
func (e GetDesiredStateReqValidationError) Key() bool
Key function returns key value.
func (GetDesiredStateReqValidationError) Reason ¶
func (e GetDesiredStateReqValidationError) Reason() string
Reason function returns reason value.
type GetDesiredStateResp ¶
type GetDesiredStateResp struct { DesiredState *model.State `protobuf:"bytes,1,opt,name=desired_state,json=desiredState,proto3" json:"desired_state,omitempty"` CompiledDesiredState *model.State `protobuf:"bytes,2,opt,name=compiled_desired_state,json=compiledDesiredState,proto3" json:"compiled_desired_state,omitempty"` // contains filtered or unexported fields }
func (*GetDesiredStateResp) Descriptor
deprecated
func (*GetDesiredStateResp) Descriptor() ([]byte, []int)
Deprecated: Use GetDesiredStateResp.ProtoReflect.Descriptor instead.
func (*GetDesiredStateResp) GetCompiledDesiredState ¶
func (x *GetDesiredStateResp) GetCompiledDesiredState() *model.State
func (*GetDesiredStateResp) GetDesiredState ¶
func (x *GetDesiredStateResp) GetDesiredState() *model.State
func (*GetDesiredStateResp) ProtoMessage ¶
func (*GetDesiredStateResp) ProtoMessage()
func (*GetDesiredStateResp) ProtoReflect ¶
func (x *GetDesiredStateResp) ProtoReflect() protoreflect.Message
func (*GetDesiredStateResp) Reset ¶
func (x *GetDesiredStateResp) Reset()
func (*GetDesiredStateResp) String ¶
func (x *GetDesiredStateResp) String() string
func (*GetDesiredStateResp) Validate ¶
func (m *GetDesiredStateResp) Validate() error
Validate checks the field values on GetDesiredStateResp 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 (*GetDesiredStateResp) ValidateAll ¶
func (m *GetDesiredStateResp) ValidateAll() error
ValidateAll checks the field values on GetDesiredStateResp 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 GetDesiredStateRespMultiError, or nil if none found.
type GetDesiredStateRespMultiError ¶
type GetDesiredStateRespMultiError []error
GetDesiredStateRespMultiError is an error wrapping multiple validation errors returned by GetDesiredStateResp.ValidateAll() if the designated constraints aren't met.
func (GetDesiredStateRespMultiError) AllErrors ¶
func (m GetDesiredStateRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDesiredStateRespMultiError) Error ¶
func (m GetDesiredStateRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDesiredStateRespValidationError ¶
type GetDesiredStateRespValidationError struct {
// contains filtered or unexported fields
}
GetDesiredStateRespValidationError is the validation error returned by GetDesiredStateResp.Validate if the designated constraints aren't met.
func (GetDesiredStateRespValidationError) Cause ¶
func (e GetDesiredStateRespValidationError) Cause() error
Cause function returns cause value.
func (GetDesiredStateRespValidationError) Error ¶
func (e GetDesiredStateRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetDesiredStateRespValidationError) ErrorName ¶
func (e GetDesiredStateRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetDesiredStateRespValidationError) Field ¶
func (e GetDesiredStateRespValidationError) Field() string
Field function returns field value.
func (GetDesiredStateRespValidationError) Key ¶
func (e GetDesiredStateRespValidationError) Key() bool
Key function returns key value.
func (GetDesiredStateRespValidationError) Reason ¶
func (e GetDesiredStateRespValidationError) Reason() string
Reason function returns reason value.
type GetServiceDesiredStateConvergenceSummaryReq ¶
type GetServiceDesiredStateConvergenceSummaryReq 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"` // contains filtered or unexported fields }
func (*GetServiceDesiredStateConvergenceSummaryReq) Descriptor
deprecated
func (*GetServiceDesiredStateConvergenceSummaryReq) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceDesiredStateConvergenceSummaryReq.ProtoReflect.Descriptor instead.
func (*GetServiceDesiredStateConvergenceSummaryReq) GetApplication ¶
func (x *GetServiceDesiredStateConvergenceSummaryReq) GetApplication() string
func (*GetServiceDesiredStateConvergenceSummaryReq) GetService ¶
func (x *GetServiceDesiredStateConvergenceSummaryReq) GetService() string
func (*GetServiceDesiredStateConvergenceSummaryReq) ProtoMessage ¶
func (*GetServiceDesiredStateConvergenceSummaryReq) ProtoMessage()
func (*GetServiceDesiredStateConvergenceSummaryReq) ProtoReflect ¶
func (x *GetServiceDesiredStateConvergenceSummaryReq) ProtoReflect() protoreflect.Message
func (*GetServiceDesiredStateConvergenceSummaryReq) Reset ¶
func (x *GetServiceDesiredStateConvergenceSummaryReq) Reset()
func (*GetServiceDesiredStateConvergenceSummaryReq) String ¶
func (x *GetServiceDesiredStateConvergenceSummaryReq) String() string
func (*GetServiceDesiredStateConvergenceSummaryReq) Validate ¶
func (m *GetServiceDesiredStateConvergenceSummaryReq) Validate() error
Validate checks the field values on GetServiceDesiredStateConvergenceSummaryReq 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 (*GetServiceDesiredStateConvergenceSummaryReq) ValidateAll ¶
func (m *GetServiceDesiredStateConvergenceSummaryReq) ValidateAll() error
ValidateAll checks the field values on GetServiceDesiredStateConvergenceSummaryReq 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 GetServiceDesiredStateConvergenceSummaryReqMultiError, or nil if none found.
type GetServiceDesiredStateConvergenceSummaryReqMultiError ¶
type GetServiceDesiredStateConvergenceSummaryReqMultiError []error
GetServiceDesiredStateConvergenceSummaryReqMultiError is an error wrapping multiple validation errors returned by GetServiceDesiredStateConvergenceSummaryReq.ValidateAll() if the designated constraints aren't met.
func (GetServiceDesiredStateConvergenceSummaryReqMultiError) AllErrors ¶
func (m GetServiceDesiredStateConvergenceSummaryReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServiceDesiredStateConvergenceSummaryReqMultiError) Error ¶
func (m GetServiceDesiredStateConvergenceSummaryReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetServiceDesiredStateConvergenceSummaryReqValidationError ¶
type GetServiceDesiredStateConvergenceSummaryReqValidationError struct {
// contains filtered or unexported fields
}
GetServiceDesiredStateConvergenceSummaryReqValidationError is the validation error returned by GetServiceDesiredStateConvergenceSummaryReq.Validate if the designated constraints aren't met.
func (GetServiceDesiredStateConvergenceSummaryReqValidationError) Cause ¶
func (e GetServiceDesiredStateConvergenceSummaryReqValidationError) Cause() error
Cause function returns cause value.
func (GetServiceDesiredStateConvergenceSummaryReqValidationError) Error ¶
func (e GetServiceDesiredStateConvergenceSummaryReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetServiceDesiredStateConvergenceSummaryReqValidationError) ErrorName ¶
func (e GetServiceDesiredStateConvergenceSummaryReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetServiceDesiredStateConvergenceSummaryReqValidationError) Field ¶
func (e GetServiceDesiredStateConvergenceSummaryReqValidationError) Field() string
Field function returns field value.
func (GetServiceDesiredStateConvergenceSummaryReqValidationError) Key ¶
func (e GetServiceDesiredStateConvergenceSummaryReqValidationError) Key() bool
Key function returns key value.
func (GetServiceDesiredStateConvergenceSummaryReqValidationError) Reason ¶
func (e GetServiceDesiredStateConvergenceSummaryReqValidationError) Reason() string
Reason function returns reason value.
type GetServiceDesiredStateConvergenceSummaryResp ¶
type GetServiceDesiredStateConvergenceSummaryResp struct { Summary *DesiredStateSummary `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // contains filtered or unexported fields }
func (*GetServiceDesiredStateConvergenceSummaryResp) Descriptor
deprecated
func (*GetServiceDesiredStateConvergenceSummaryResp) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceDesiredStateConvergenceSummaryResp.ProtoReflect.Descriptor instead.
func (*GetServiceDesiredStateConvergenceSummaryResp) GetSummary ¶
func (x *GetServiceDesiredStateConvergenceSummaryResp) GetSummary() *DesiredStateSummary
func (*GetServiceDesiredStateConvergenceSummaryResp) ProtoMessage ¶
func (*GetServiceDesiredStateConvergenceSummaryResp) ProtoMessage()
func (*GetServiceDesiredStateConvergenceSummaryResp) ProtoReflect ¶
func (x *GetServiceDesiredStateConvergenceSummaryResp) ProtoReflect() protoreflect.Message
func (*GetServiceDesiredStateConvergenceSummaryResp) Reset ¶
func (x *GetServiceDesiredStateConvergenceSummaryResp) Reset()
func (*GetServiceDesiredStateConvergenceSummaryResp) String ¶
func (x *GetServiceDesiredStateConvergenceSummaryResp) String() string
func (*GetServiceDesiredStateConvergenceSummaryResp) Validate ¶
func (m *GetServiceDesiredStateConvergenceSummaryResp) Validate() error
Validate checks the field values on GetServiceDesiredStateConvergenceSummaryResp 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 (*GetServiceDesiredStateConvergenceSummaryResp) ValidateAll ¶
func (m *GetServiceDesiredStateConvergenceSummaryResp) ValidateAll() error
ValidateAll checks the field values on GetServiceDesiredStateConvergenceSummaryResp 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 GetServiceDesiredStateConvergenceSummaryRespMultiError, or nil if none found.
type GetServiceDesiredStateConvergenceSummaryRespMultiError ¶
type GetServiceDesiredStateConvergenceSummaryRespMultiError []error
GetServiceDesiredStateConvergenceSummaryRespMultiError is an error wrapping multiple validation errors returned by GetServiceDesiredStateConvergenceSummaryResp.ValidateAll() if the designated constraints aren't met.
func (GetServiceDesiredStateConvergenceSummaryRespMultiError) AllErrors ¶
func (m GetServiceDesiredStateConvergenceSummaryRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServiceDesiredStateConvergenceSummaryRespMultiError) Error ¶
func (m GetServiceDesiredStateConvergenceSummaryRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetServiceDesiredStateConvergenceSummaryRespValidationError ¶
type GetServiceDesiredStateConvergenceSummaryRespValidationError struct {
// contains filtered or unexported fields
}
GetServiceDesiredStateConvergenceSummaryRespValidationError is the validation error returned by GetServiceDesiredStateConvergenceSummaryResp.Validate if the designated constraints aren't met.
func (GetServiceDesiredStateConvergenceSummaryRespValidationError) Cause ¶
func (e GetServiceDesiredStateConvergenceSummaryRespValidationError) Cause() error
Cause function returns cause value.
func (GetServiceDesiredStateConvergenceSummaryRespValidationError) Error ¶
func (e GetServiceDesiredStateConvergenceSummaryRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetServiceDesiredStateConvergenceSummaryRespValidationError) ErrorName ¶
func (e GetServiceDesiredStateConvergenceSummaryRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetServiceDesiredStateConvergenceSummaryRespValidationError) Field ¶
func (e GetServiceDesiredStateConvergenceSummaryRespValidationError) Field() string
Field function returns field value.
func (GetServiceDesiredStateConvergenceSummaryRespValidationError) Key ¶
func (e GetServiceDesiredStateConvergenceSummaryRespValidationError) Key() bool
Key function returns key value.
func (GetServiceDesiredStateConvergenceSummaryRespValidationError) Reason ¶
func (e GetServiceDesiredStateConvergenceSummaryRespValidationError) Reason() string
Reason function returns reason value.
type GetServiceDesiredStateHistoryReq ¶
type GetServiceDesiredStateHistoryReq 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"` PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*GetServiceDesiredStateHistoryReq) Descriptor
deprecated
func (*GetServiceDesiredStateHistoryReq) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceDesiredStateHistoryReq.ProtoReflect.Descriptor instead.
func (*GetServiceDesiredStateHistoryReq) GetApplication ¶
func (x *GetServiceDesiredStateHistoryReq) GetApplication() string
func (*GetServiceDesiredStateHistoryReq) GetPageSize ¶
func (x *GetServiceDesiredStateHistoryReq) GetPageSize() int32
func (*GetServiceDesiredStateHistoryReq) GetPageToken ¶
func (x *GetServiceDesiredStateHistoryReq) GetPageToken() string
func (*GetServiceDesiredStateHistoryReq) GetService ¶
func (x *GetServiceDesiredStateHistoryReq) GetService() string
func (*GetServiceDesiredStateHistoryReq) ProtoMessage ¶
func (*GetServiceDesiredStateHistoryReq) ProtoMessage()
func (*GetServiceDesiredStateHistoryReq) ProtoReflect ¶
func (x *GetServiceDesiredStateHistoryReq) ProtoReflect() protoreflect.Message
func (*GetServiceDesiredStateHistoryReq) Reset ¶
func (x *GetServiceDesiredStateHistoryReq) Reset()
func (*GetServiceDesiredStateHistoryReq) String ¶
func (x *GetServiceDesiredStateHistoryReq) String() string
func (*GetServiceDesiredStateHistoryReq) Validate ¶
func (m *GetServiceDesiredStateHistoryReq) Validate() error
Validate checks the field values on GetServiceDesiredStateHistoryReq 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 (*GetServiceDesiredStateHistoryReq) ValidateAll ¶
func (m *GetServiceDesiredStateHistoryReq) ValidateAll() error
ValidateAll checks the field values on GetServiceDesiredStateHistoryReq 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 GetServiceDesiredStateHistoryReqMultiError, or nil if none found.
type GetServiceDesiredStateHistoryReqMultiError ¶
type GetServiceDesiredStateHistoryReqMultiError []error
GetServiceDesiredStateHistoryReqMultiError is an error wrapping multiple validation errors returned by GetServiceDesiredStateHistoryReq.ValidateAll() if the designated constraints aren't met.
func (GetServiceDesiredStateHistoryReqMultiError) AllErrors ¶
func (m GetServiceDesiredStateHistoryReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServiceDesiredStateHistoryReqMultiError) Error ¶
func (m GetServiceDesiredStateHistoryReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetServiceDesiredStateHistoryReqValidationError ¶
type GetServiceDesiredStateHistoryReqValidationError struct {
// contains filtered or unexported fields
}
GetServiceDesiredStateHistoryReqValidationError is the validation error returned by GetServiceDesiredStateHistoryReq.Validate if the designated constraints aren't met.
func (GetServiceDesiredStateHistoryReqValidationError) Cause ¶
func (e GetServiceDesiredStateHistoryReqValidationError) Cause() error
Cause function returns cause value.
func (GetServiceDesiredStateHistoryReqValidationError) Error ¶
func (e GetServiceDesiredStateHistoryReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetServiceDesiredStateHistoryReqValidationError) ErrorName ¶
func (e GetServiceDesiredStateHistoryReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetServiceDesiredStateHistoryReqValidationError) Field ¶
func (e GetServiceDesiredStateHistoryReqValidationError) Field() string
Field function returns field value.
func (GetServiceDesiredStateHistoryReqValidationError) Key ¶
func (e GetServiceDesiredStateHistoryReqValidationError) Key() bool
Key function returns key value.
func (GetServiceDesiredStateHistoryReqValidationError) Reason ¶
func (e GetServiceDesiredStateHistoryReqValidationError) Reason() string
Reason function returns reason value.
type GetServiceDesiredStateHistoryResp ¶
type GetServiceDesiredStateHistoryResp struct { DesiredStates []*DesiredStateSummary `protobuf:"bytes,1,rep,name=desired_states,json=desiredStates,proto3" json:"desired_states,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 (*GetServiceDesiredStateHistoryResp) Descriptor
deprecated
func (*GetServiceDesiredStateHistoryResp) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceDesiredStateHistoryResp.ProtoReflect.Descriptor instead.
func (*GetServiceDesiredStateHistoryResp) GetDesiredStates ¶
func (x *GetServiceDesiredStateHistoryResp) GetDesiredStates() []*DesiredStateSummary
func (*GetServiceDesiredStateHistoryResp) GetNextPageToken ¶
func (x *GetServiceDesiredStateHistoryResp) GetNextPageToken() string
func (*GetServiceDesiredStateHistoryResp) ProtoMessage ¶
func (*GetServiceDesiredStateHistoryResp) ProtoMessage()
func (*GetServiceDesiredStateHistoryResp) ProtoReflect ¶
func (x *GetServiceDesiredStateHistoryResp) ProtoReflect() protoreflect.Message
func (*GetServiceDesiredStateHistoryResp) Reset ¶
func (x *GetServiceDesiredStateHistoryResp) Reset()
func (*GetServiceDesiredStateHistoryResp) String ¶
func (x *GetServiceDesiredStateHistoryResp) String() string
func (*GetServiceDesiredStateHistoryResp) Validate ¶
func (m *GetServiceDesiredStateHistoryResp) Validate() error
Validate checks the field values on GetServiceDesiredStateHistoryResp 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 (*GetServiceDesiredStateHistoryResp) ValidateAll ¶
func (m *GetServiceDesiredStateHistoryResp) ValidateAll() error
ValidateAll checks the field values on GetServiceDesiredStateHistoryResp 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 GetServiceDesiredStateHistoryRespMultiError, or nil if none found.
type GetServiceDesiredStateHistoryRespMultiError ¶
type GetServiceDesiredStateHistoryRespMultiError []error
GetServiceDesiredStateHistoryRespMultiError is an error wrapping multiple validation errors returned by GetServiceDesiredStateHistoryResp.ValidateAll() if the designated constraints aren't met.
func (GetServiceDesiredStateHistoryRespMultiError) AllErrors ¶
func (m GetServiceDesiredStateHistoryRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServiceDesiredStateHistoryRespMultiError) Error ¶
func (m GetServiceDesiredStateHistoryRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetServiceDesiredStateHistoryRespValidationError ¶
type GetServiceDesiredStateHistoryRespValidationError struct {
// contains filtered or unexported fields
}
GetServiceDesiredStateHistoryRespValidationError is the validation error returned by GetServiceDesiredStateHistoryResp.Validate if the designated constraints aren't met.
func (GetServiceDesiredStateHistoryRespValidationError) Cause ¶
func (e GetServiceDesiredStateHistoryRespValidationError) Cause() error
Cause function returns cause value.
func (GetServiceDesiredStateHistoryRespValidationError) Error ¶
func (e GetServiceDesiredStateHistoryRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetServiceDesiredStateHistoryRespValidationError) ErrorName ¶
func (e GetServiceDesiredStateHistoryRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetServiceDesiredStateHistoryRespValidationError) Field ¶
func (e GetServiceDesiredStateHistoryRespValidationError) Field() string
Field function returns field value.
func (GetServiceDesiredStateHistoryRespValidationError) Key ¶
func (e GetServiceDesiredStateHistoryRespValidationError) Key() bool
Key function returns key value.
func (GetServiceDesiredStateHistoryRespValidationError) Reason ¶
func (e GetServiceDesiredStateHistoryRespValidationError) Reason() string
Reason function returns reason value.
type GetServiceLastConvergedStateReq ¶
type GetServiceLastConvergedStateReq 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"` // contains filtered or unexported fields }
func (*GetServiceLastConvergedStateReq) Descriptor
deprecated
func (*GetServiceLastConvergedStateReq) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceLastConvergedStateReq.ProtoReflect.Descriptor instead.
func (*GetServiceLastConvergedStateReq) GetApplication ¶
func (x *GetServiceLastConvergedStateReq) GetApplication() string
func (*GetServiceLastConvergedStateReq) GetService ¶
func (x *GetServiceLastConvergedStateReq) GetService() string
func (*GetServiceLastConvergedStateReq) ProtoMessage ¶
func (*GetServiceLastConvergedStateReq) ProtoMessage()
func (*GetServiceLastConvergedStateReq) ProtoReflect ¶
func (x *GetServiceLastConvergedStateReq) ProtoReflect() protoreflect.Message
func (*GetServiceLastConvergedStateReq) Reset ¶
func (x *GetServiceLastConvergedStateReq) Reset()
func (*GetServiceLastConvergedStateReq) String ¶
func (x *GetServiceLastConvergedStateReq) String() string
func (*GetServiceLastConvergedStateReq) Validate ¶
func (m *GetServiceLastConvergedStateReq) Validate() error
Validate checks the field values on GetServiceLastConvergedStateReq 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 (*GetServiceLastConvergedStateReq) ValidateAll ¶
func (m *GetServiceLastConvergedStateReq) ValidateAll() error
ValidateAll checks the field values on GetServiceLastConvergedStateReq 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 GetServiceLastConvergedStateReqMultiError, or nil if none found.
type GetServiceLastConvergedStateReqMultiError ¶
type GetServiceLastConvergedStateReqMultiError []error
GetServiceLastConvergedStateReqMultiError is an error wrapping multiple validation errors returned by GetServiceLastConvergedStateReq.ValidateAll() if the designated constraints aren't met.
func (GetServiceLastConvergedStateReqMultiError) AllErrors ¶
func (m GetServiceLastConvergedStateReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServiceLastConvergedStateReqMultiError) Error ¶
func (m GetServiceLastConvergedStateReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetServiceLastConvergedStateReqValidationError ¶
type GetServiceLastConvergedStateReqValidationError struct {
// contains filtered or unexported fields
}
GetServiceLastConvergedStateReqValidationError is the validation error returned by GetServiceLastConvergedStateReq.Validate if the designated constraints aren't met.
func (GetServiceLastConvergedStateReqValidationError) Cause ¶
func (e GetServiceLastConvergedStateReqValidationError) Cause() error
Cause function returns cause value.
func (GetServiceLastConvergedStateReqValidationError) Error ¶
func (e GetServiceLastConvergedStateReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetServiceLastConvergedStateReqValidationError) ErrorName ¶
func (e GetServiceLastConvergedStateReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetServiceLastConvergedStateReqValidationError) Field ¶
func (e GetServiceLastConvergedStateReqValidationError) Field() string
Field function returns field value.
func (GetServiceLastConvergedStateReqValidationError) Key ¶
func (e GetServiceLastConvergedStateReqValidationError) Key() bool
Key function returns key value.
func (GetServiceLastConvergedStateReqValidationError) Reason ¶
func (e GetServiceLastConvergedStateReqValidationError) Reason() string
Reason function returns reason value.
type GetServiceLastConvergedStateResp ¶
type GetServiceLastConvergedStateResp struct { ServiceInstanceStates []*model.ServiceInstanceState `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetServiceLastConvergedStateResp) Descriptor
deprecated
func (*GetServiceLastConvergedStateResp) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceLastConvergedStateResp.ProtoReflect.Descriptor instead.
func (*GetServiceLastConvergedStateResp) GetServiceInstanceStates ¶
func (x *GetServiceLastConvergedStateResp) GetServiceInstanceStates() []*model.ServiceInstanceState
func (*GetServiceLastConvergedStateResp) ProtoMessage ¶
func (*GetServiceLastConvergedStateResp) ProtoMessage()
func (*GetServiceLastConvergedStateResp) ProtoReflect ¶
func (x *GetServiceLastConvergedStateResp) ProtoReflect() protoreflect.Message
func (*GetServiceLastConvergedStateResp) Reset ¶
func (x *GetServiceLastConvergedStateResp) Reset()
func (*GetServiceLastConvergedStateResp) String ¶
func (x *GetServiceLastConvergedStateResp) String() string
func (*GetServiceLastConvergedStateResp) Validate ¶
func (m *GetServiceLastConvergedStateResp) Validate() error
Validate checks the field values on GetServiceLastConvergedStateResp 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 (*GetServiceLastConvergedStateResp) ValidateAll ¶
func (m *GetServiceLastConvergedStateResp) ValidateAll() error
ValidateAll checks the field values on GetServiceLastConvergedStateResp 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 GetServiceLastConvergedStateRespMultiError, or nil if none found.
type GetServiceLastConvergedStateRespMultiError ¶
type GetServiceLastConvergedStateRespMultiError []error
GetServiceLastConvergedStateRespMultiError is an error wrapping multiple validation errors returned by GetServiceLastConvergedStateResp.ValidateAll() if the designated constraints aren't met.
func (GetServiceLastConvergedStateRespMultiError) AllErrors ¶
func (m GetServiceLastConvergedStateRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServiceLastConvergedStateRespMultiError) Error ¶
func (m GetServiceLastConvergedStateRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetServiceLastConvergedStateRespValidationError ¶
type GetServiceLastConvergedStateRespValidationError struct {
// contains filtered or unexported fields
}
GetServiceLastConvergedStateRespValidationError is the validation error returned by GetServiceLastConvergedStateResp.Validate if the designated constraints aren't met.
func (GetServiceLastConvergedStateRespValidationError) Cause ¶
func (e GetServiceLastConvergedStateRespValidationError) Cause() error
Cause function returns cause value.
func (GetServiceLastConvergedStateRespValidationError) Error ¶
func (e GetServiceLastConvergedStateRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetServiceLastConvergedStateRespValidationError) ErrorName ¶
func (e GetServiceLastConvergedStateRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetServiceLastConvergedStateRespValidationError) Field ¶
func (e GetServiceLastConvergedStateRespValidationError) Field() string
Field function returns field value.
func (GetServiceLastConvergedStateRespValidationError) Key ¶
func (e GetServiceLastConvergedStateRespValidationError) Key() bool
Key function returns key value.
func (GetServiceLastConvergedStateRespValidationError) Reason ¶
func (e GetServiceLastConvergedStateRespValidationError) Reason() string
Reason function returns reason value.
type PreviewEntityGraphResp ¶ added in v0.2.3
type PreviewEntityGraphResp struct { EntityGraph *model.EntityGraph `protobuf:"bytes,1,opt,name=entity_graph,json=entityGraph,proto3" json:"entity_graph,omitempty"` DesiredStateId string `protobuf:"bytes,2,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"` // unique identifier the preview entity graph that was just created. This same ID can be used across any endpoints that inspect desired states, e.g. GetDesiredState // contains filtered or unexported fields }
func (*PreviewEntityGraphResp) Descriptor
deprecated
added in
v0.2.3
func (*PreviewEntityGraphResp) Descriptor() ([]byte, []int)
Deprecated: Use PreviewEntityGraphResp.ProtoReflect.Descriptor instead.
func (*PreviewEntityGraphResp) GetDesiredStateId ¶ added in v0.2.3
func (x *PreviewEntityGraphResp) GetDesiredStateId() string
func (*PreviewEntityGraphResp) GetEntityGraph ¶ added in v0.2.3
func (x *PreviewEntityGraphResp) GetEntityGraph() *model.EntityGraph
func (*PreviewEntityGraphResp) ProtoMessage ¶ added in v0.2.3
func (*PreviewEntityGraphResp) ProtoMessage()
func (*PreviewEntityGraphResp) ProtoReflect ¶ added in v0.2.3
func (x *PreviewEntityGraphResp) ProtoReflect() protoreflect.Message
func (*PreviewEntityGraphResp) Reset ¶ added in v0.2.3
func (x *PreviewEntityGraphResp) Reset()
func (*PreviewEntityGraphResp) String ¶ added in v0.2.3
func (x *PreviewEntityGraphResp) String() string
func (*PreviewEntityGraphResp) Validate ¶ added in v0.2.3
func (m *PreviewEntityGraphResp) Validate() error
Validate checks the field values on PreviewEntityGraphResp 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 (*PreviewEntityGraphResp) ValidateAll ¶ added in v0.2.3
func (m *PreviewEntityGraphResp) ValidateAll() error
ValidateAll checks the field values on PreviewEntityGraphResp 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 PreviewEntityGraphRespMultiError, or nil if none found.
type PreviewEntityGraphRespMultiError ¶ added in v0.2.3
type PreviewEntityGraphRespMultiError []error
PreviewEntityGraphRespMultiError is an error wrapping multiple validation errors returned by PreviewEntityGraphResp.ValidateAll() if the designated constraints aren't met.
func (PreviewEntityGraphRespMultiError) AllErrors ¶ added in v0.2.3
func (m PreviewEntityGraphRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PreviewEntityGraphRespMultiError) Error ¶ added in v0.2.3
func (m PreviewEntityGraphRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PreviewEntityGraphRespValidationError ¶ added in v0.2.3
type PreviewEntityGraphRespValidationError struct {
// contains filtered or unexported fields
}
PreviewEntityGraphRespValidationError is the validation error returned by PreviewEntityGraphResp.Validate if the designated constraints aren't met.
func (PreviewEntityGraphRespValidationError) Cause ¶ added in v0.2.3
func (e PreviewEntityGraphRespValidationError) Cause() error
Cause function returns cause value.
func (PreviewEntityGraphRespValidationError) Error ¶ added in v0.2.3
func (e PreviewEntityGraphRespValidationError) Error() string
Error satisfies the builtin error interface
func (PreviewEntityGraphRespValidationError) ErrorName ¶ added in v0.2.3
func (e PreviewEntityGraphRespValidationError) ErrorName() string
ErrorName returns error name.
func (PreviewEntityGraphRespValidationError) Field ¶ added in v0.2.3
func (e PreviewEntityGraphRespValidationError) Field() string
Field function returns field value.
func (PreviewEntityGraphRespValidationError) Key ¶ added in v0.2.3
func (e PreviewEntityGraphRespValidationError) Key() bool
Key function returns key value.
func (PreviewEntityGraphRespValidationError) Reason ¶ added in v0.2.3
func (e PreviewEntityGraphRespValidationError) Reason() string
Reason function returns reason value.
type PromoteDeliveryReq ¶
type PromoteDeliveryReq struct { DesiredStateId string `protobuf:"bytes,1,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"` Stage int64 `protobuf:"varint,2,opt,name=stage,proto3" json:"stage,omitempty"` Full bool `protobuf:"varint,3,opt,name=full,proto3" json:"full,omitempty"` Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*PromoteDeliveryReq) Descriptor
deprecated
func (*PromoteDeliveryReq) Descriptor() ([]byte, []int)
Deprecated: Use PromoteDeliveryReq.ProtoReflect.Descriptor instead.
func (*PromoteDeliveryReq) GetDesiredStateId ¶
func (x *PromoteDeliveryReq) GetDesiredStateId() string
func (*PromoteDeliveryReq) GetFull ¶
func (x *PromoteDeliveryReq) GetFull() bool
func (*PromoteDeliveryReq) GetSource ¶
func (x *PromoteDeliveryReq) GetSource() string
func (*PromoteDeliveryReq) GetStage ¶
func (x *PromoteDeliveryReq) GetStage() int64
func (*PromoteDeliveryReq) ProtoMessage ¶
func (*PromoteDeliveryReq) ProtoMessage()
func (*PromoteDeliveryReq) ProtoReflect ¶
func (x *PromoteDeliveryReq) ProtoReflect() protoreflect.Message
func (*PromoteDeliveryReq) Reset ¶
func (x *PromoteDeliveryReq) Reset()
func (*PromoteDeliveryReq) String ¶
func (x *PromoteDeliveryReq) String() string
func (*PromoteDeliveryReq) Validate ¶
func (m *PromoteDeliveryReq) Validate() error
Validate checks the field values on PromoteDeliveryReq 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 (*PromoteDeliveryReq) ValidateAll ¶
func (m *PromoteDeliveryReq) ValidateAll() error
ValidateAll checks the field values on PromoteDeliveryReq 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 PromoteDeliveryReqMultiError, or nil if none found.
type PromoteDeliveryReqMultiError ¶
type PromoteDeliveryReqMultiError []error
PromoteDeliveryReqMultiError is an error wrapping multiple validation errors returned by PromoteDeliveryReq.ValidateAll() if the designated constraints aren't met.
func (PromoteDeliveryReqMultiError) AllErrors ¶
func (m PromoteDeliveryReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PromoteDeliveryReqMultiError) Error ¶
func (m PromoteDeliveryReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PromoteDeliveryReqValidationError ¶
type PromoteDeliveryReqValidationError struct {
// contains filtered or unexported fields
}
PromoteDeliveryReqValidationError is the validation error returned by PromoteDeliveryReq.Validate if the designated constraints aren't met.
func (PromoteDeliveryReqValidationError) Cause ¶
func (e PromoteDeliveryReqValidationError) Cause() error
Cause function returns cause value.
func (PromoteDeliveryReqValidationError) Error ¶
func (e PromoteDeliveryReqValidationError) Error() string
Error satisfies the builtin error interface
func (PromoteDeliveryReqValidationError) ErrorName ¶
func (e PromoteDeliveryReqValidationError) ErrorName() string
ErrorName returns error name.
func (PromoteDeliveryReqValidationError) Field ¶
func (e PromoteDeliveryReqValidationError) Field() string
Field function returns field value.
func (PromoteDeliveryReqValidationError) Key ¶
func (e PromoteDeliveryReqValidationError) Key() bool
Key function returns key value.
func (PromoteDeliveryReqValidationError) Reason ¶
func (e PromoteDeliveryReqValidationError) Reason() string
Reason function returns reason value.
type PromoteDeliveryResp ¶
type PromoteDeliveryResp struct {
// contains filtered or unexported fields
}
func (*PromoteDeliveryResp) Descriptor
deprecated
func (*PromoteDeliveryResp) Descriptor() ([]byte, []int)
Deprecated: Use PromoteDeliveryResp.ProtoReflect.Descriptor instead.
func (*PromoteDeliveryResp) ProtoMessage ¶
func (*PromoteDeliveryResp) ProtoMessage()
func (*PromoteDeliveryResp) ProtoReflect ¶
func (x *PromoteDeliveryResp) ProtoReflect() protoreflect.Message
func (*PromoteDeliveryResp) Reset ¶
func (x *PromoteDeliveryResp) Reset()
func (*PromoteDeliveryResp) String ¶
func (x *PromoteDeliveryResp) String() string
func (*PromoteDeliveryResp) Validate ¶
func (m *PromoteDeliveryResp) Validate() error
Validate checks the field values on PromoteDeliveryResp 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 (*PromoteDeliveryResp) ValidateAll ¶
func (m *PromoteDeliveryResp) ValidateAll() error
ValidateAll checks the field values on PromoteDeliveryResp 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 PromoteDeliveryRespMultiError, or nil if none found.
type PromoteDeliveryRespMultiError ¶
type PromoteDeliveryRespMultiError []error
PromoteDeliveryRespMultiError is an error wrapping multiple validation errors returned by PromoteDeliveryResp.ValidateAll() if the designated constraints aren't met.
func (PromoteDeliveryRespMultiError) AllErrors ¶
func (m PromoteDeliveryRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PromoteDeliveryRespMultiError) Error ¶
func (m PromoteDeliveryRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PromoteDeliveryRespValidationError ¶
type PromoteDeliveryRespValidationError struct {
// contains filtered or unexported fields
}
PromoteDeliveryRespValidationError is the validation error returned by PromoteDeliveryResp.Validate if the designated constraints aren't met.
func (PromoteDeliveryRespValidationError) Cause ¶
func (e PromoteDeliveryRespValidationError) Cause() error
Cause function returns cause value.
func (PromoteDeliveryRespValidationError) Error ¶
func (e PromoteDeliveryRespValidationError) Error() string
Error satisfies the builtin error interface
func (PromoteDeliveryRespValidationError) ErrorName ¶
func (e PromoteDeliveryRespValidationError) ErrorName() string
ErrorName returns error name.
func (PromoteDeliveryRespValidationError) Field ¶
func (e PromoteDeliveryRespValidationError) Field() string
Field function returns field value.
func (PromoteDeliveryRespValidationError) Key ¶
func (e PromoteDeliveryRespValidationError) Key() bool
Key function returns key value.
func (PromoteDeliveryRespValidationError) Reason ¶
func (e PromoteDeliveryRespValidationError) Reason() string
Reason function returns reason value.
type SetDesiredStateReq ¶
type SetDesiredStateReq struct { DesiredState *model.State `protobuf:"bytes,1,opt,name=desired_state,json=desiredState,proto3" json:"desired_state,omitempty"` // set if this is a rollback, which will generate a desired state with faster preconditions Rollback bool `protobuf:"varint,2,opt,name=rollback,proto3" json:"rollback,omitempty"` // contains filtered or unexported fields }
func (*SetDesiredStateReq) Descriptor
deprecated
func (*SetDesiredStateReq) Descriptor() ([]byte, []int)
Deprecated: Use SetDesiredStateReq.ProtoReflect.Descriptor instead.
func (*SetDesiredStateReq) GetDesiredState ¶
func (x *SetDesiredStateReq) GetDesiredState() *model.State
func (*SetDesiredStateReq) GetRollback ¶
func (x *SetDesiredStateReq) GetRollback() bool
func (*SetDesiredStateReq) ProtoMessage ¶
func (*SetDesiredStateReq) ProtoMessage()
func (*SetDesiredStateReq) ProtoReflect ¶
func (x *SetDesiredStateReq) ProtoReflect() protoreflect.Message
func (*SetDesiredStateReq) Reset ¶
func (x *SetDesiredStateReq) Reset()
func (*SetDesiredStateReq) String ¶
func (x *SetDesiredStateReq) String() string
func (*SetDesiredStateReq) Validate ¶
func (m *SetDesiredStateReq) Validate() error
Validate checks the field values on SetDesiredStateReq 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 (*SetDesiredStateReq) ValidateAll ¶
func (m *SetDesiredStateReq) ValidateAll() error
ValidateAll checks the field values on SetDesiredStateReq 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 SetDesiredStateReqMultiError, or nil if none found.
type SetDesiredStateReqMultiError ¶
type SetDesiredStateReqMultiError []error
SetDesiredStateReqMultiError is an error wrapping multiple validation errors returned by SetDesiredStateReq.ValidateAll() if the designated constraints aren't met.
func (SetDesiredStateReqMultiError) AllErrors ¶
func (m SetDesiredStateReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetDesiredStateReqMultiError) Error ¶
func (m SetDesiredStateReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetDesiredStateReqValidationError ¶
type SetDesiredStateReqValidationError struct {
// contains filtered or unexported fields
}
SetDesiredStateReqValidationError is the validation error returned by SetDesiredStateReq.Validate if the designated constraints aren't met.
func (SetDesiredStateReqValidationError) Cause ¶
func (e SetDesiredStateReqValidationError) Cause() error
Cause function returns cause value.
func (SetDesiredStateReqValidationError) Error ¶
func (e SetDesiredStateReqValidationError) Error() string
Error satisfies the builtin error interface
func (SetDesiredStateReqValidationError) ErrorName ¶
func (e SetDesiredStateReqValidationError) ErrorName() string
ErrorName returns error name.
func (SetDesiredStateReqValidationError) Field ¶
func (e SetDesiredStateReqValidationError) Field() string
Field function returns field value.
func (SetDesiredStateReqValidationError) Key ¶
func (e SetDesiredStateReqValidationError) Key() bool
Key function returns key value.
func (SetDesiredStateReqValidationError) Reason ¶
func (e SetDesiredStateReqValidationError) Reason() string
Reason function returns reason value.
type SetDesiredStateResp ¶
type SetDesiredStateResp struct { DesiredStateId string `protobuf:"bytes,1,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"` // unique identifier for the desired state that was just set // contains filtered or unexported fields }
func (*SetDesiredStateResp) Descriptor
deprecated
func (*SetDesiredStateResp) Descriptor() ([]byte, []int)
Deprecated: Use SetDesiredStateResp.ProtoReflect.Descriptor instead.
func (*SetDesiredStateResp) GetDesiredStateId ¶
func (x *SetDesiredStateResp) GetDesiredStateId() string
func (*SetDesiredStateResp) ProtoMessage ¶
func (*SetDesiredStateResp) ProtoMessage()
func (*SetDesiredStateResp) ProtoReflect ¶
func (x *SetDesiredStateResp) ProtoReflect() protoreflect.Message
func (*SetDesiredStateResp) Reset ¶
func (x *SetDesiredStateResp) Reset()
func (*SetDesiredStateResp) String ¶
func (x *SetDesiredStateResp) String() string
func (*SetDesiredStateResp) Validate ¶
func (m *SetDesiredStateResp) Validate() error
Validate checks the field values on SetDesiredStateResp 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 (*SetDesiredStateResp) ValidateAll ¶
func (m *SetDesiredStateResp) ValidateAll() error
ValidateAll checks the field values on SetDesiredStateResp 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 SetDesiredStateRespMultiError, or nil if none found.
type SetDesiredStateRespMultiError ¶
type SetDesiredStateRespMultiError []error
SetDesiredStateRespMultiError is an error wrapping multiple validation errors returned by SetDesiredStateResp.ValidateAll() if the designated constraints aren't met.
func (SetDesiredStateRespMultiError) AllErrors ¶
func (m SetDesiredStateRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetDesiredStateRespMultiError) Error ¶
func (m SetDesiredStateRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetDesiredStateRespValidationError ¶
type SetDesiredStateRespValidationError struct {
// contains filtered or unexported fields
}
SetDesiredStateRespValidationError is the validation error returned by SetDesiredStateResp.Validate if the designated constraints aren't met.
func (SetDesiredStateRespValidationError) Cause ¶
func (e SetDesiredStateRespValidationError) Cause() error
Cause function returns cause value.
func (SetDesiredStateRespValidationError) Error ¶
func (e SetDesiredStateRespValidationError) Error() string
Error satisfies the builtin error interface
func (SetDesiredStateRespValidationError) ErrorName ¶
func (e SetDesiredStateRespValidationError) ErrorName() string
ErrorName returns error name.
func (SetDesiredStateRespValidationError) Field ¶
func (e SetDesiredStateRespValidationError) Field() string
Field function returns field value.
func (SetDesiredStateRespValidationError) Key ¶
func (e SetDesiredStateRespValidationError) Key() bool
Key function returns key value.
func (SetDesiredStateRespValidationError) Reason ¶
func (e SetDesiredStateRespValidationError) Reason() string
Reason function returns reason value.
type SetManualApprovalReq ¶
type SetManualApprovalReq struct { DesiredStateId string `protobuf:"bytes,1,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"` // string application = 2 [(validate.rules).string.min_len = 1]; // string service = 3 [(validate.rules).string.min_len = 1]; // string release_channel = 4 [(validate.rules).string.min_len = 1]; Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` Reject bool `protobuf:"varint,3,opt,name=reject,proto3" json:"reject,omitempty"` SignalType string `protobuf:"bytes,5,opt,name=signal_type,json=signalType,proto3" json:"signal_type,omitempty"` // contains filtered or unexported fields }
func (*SetManualApprovalReq) Descriptor
deprecated
func (*SetManualApprovalReq) Descriptor() ([]byte, []int)
Deprecated: Use SetManualApprovalReq.ProtoReflect.Descriptor instead.
func (*SetManualApprovalReq) GetDesiredStateId ¶
func (x *SetManualApprovalReq) GetDesiredStateId() string
func (*SetManualApprovalReq) GetReject ¶
func (x *SetManualApprovalReq) GetReject() bool
func (*SetManualApprovalReq) GetSignalType ¶ added in v0.2.1
func (x *SetManualApprovalReq) GetSignalType() string
func (*SetManualApprovalReq) GetTopic ¶
func (x *SetManualApprovalReq) GetTopic() string
func (*SetManualApprovalReq) ProtoMessage ¶
func (*SetManualApprovalReq) ProtoMessage()
func (*SetManualApprovalReq) ProtoReflect ¶
func (x *SetManualApprovalReq) ProtoReflect() protoreflect.Message
func (*SetManualApprovalReq) Reset ¶
func (x *SetManualApprovalReq) Reset()
func (*SetManualApprovalReq) String ¶
func (x *SetManualApprovalReq) String() string
func (*SetManualApprovalReq) Validate ¶
func (m *SetManualApprovalReq) Validate() error
Validate checks the field values on SetManualApprovalReq 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 (*SetManualApprovalReq) ValidateAll ¶
func (m *SetManualApprovalReq) ValidateAll() error
ValidateAll checks the field values on SetManualApprovalReq 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 SetManualApprovalReqMultiError, or nil if none found.
type SetManualApprovalReqMultiError ¶
type SetManualApprovalReqMultiError []error
SetManualApprovalReqMultiError is an error wrapping multiple validation errors returned by SetManualApprovalReq.ValidateAll() if the designated constraints aren't met.
func (SetManualApprovalReqMultiError) AllErrors ¶
func (m SetManualApprovalReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetManualApprovalReqMultiError) Error ¶
func (m SetManualApprovalReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetManualApprovalReqValidationError ¶
type SetManualApprovalReqValidationError struct {
// contains filtered or unexported fields
}
SetManualApprovalReqValidationError is the validation error returned by SetManualApprovalReq.Validate if the designated constraints aren't met.
func (SetManualApprovalReqValidationError) Cause ¶
func (e SetManualApprovalReqValidationError) Cause() error
Cause function returns cause value.
func (SetManualApprovalReqValidationError) Error ¶
func (e SetManualApprovalReqValidationError) Error() string
Error satisfies the builtin error interface
func (SetManualApprovalReqValidationError) ErrorName ¶
func (e SetManualApprovalReqValidationError) ErrorName() string
ErrorName returns error name.
func (SetManualApprovalReqValidationError) Field ¶
func (e SetManualApprovalReqValidationError) Field() string
Field function returns field value.
func (SetManualApprovalReqValidationError) Key ¶
func (e SetManualApprovalReqValidationError) Key() bool
Key function returns key value.
func (SetManualApprovalReqValidationError) Reason ¶
func (e SetManualApprovalReqValidationError) Reason() string
Reason function returns reason value.
type SetManualApprovalResp ¶
type SetManualApprovalResp struct {
// contains filtered or unexported fields
}
func (*SetManualApprovalResp) Descriptor
deprecated
func (*SetManualApprovalResp) Descriptor() ([]byte, []int)
Deprecated: Use SetManualApprovalResp.ProtoReflect.Descriptor instead.
func (*SetManualApprovalResp) ProtoMessage ¶
func (*SetManualApprovalResp) ProtoMessage()
func (*SetManualApprovalResp) ProtoReflect ¶
func (x *SetManualApprovalResp) ProtoReflect() protoreflect.Message
func (*SetManualApprovalResp) Reset ¶
func (x *SetManualApprovalResp) Reset()
func (*SetManualApprovalResp) String ¶
func (x *SetManualApprovalResp) String() string
func (*SetManualApprovalResp) Validate ¶
func (m *SetManualApprovalResp) Validate() error
Validate checks the field values on SetManualApprovalResp 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 (*SetManualApprovalResp) ValidateAll ¶
func (m *SetManualApprovalResp) ValidateAll() error
ValidateAll checks the field values on SetManualApprovalResp 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 SetManualApprovalRespMultiError, or nil if none found.
type SetManualApprovalRespMultiError ¶
type SetManualApprovalRespMultiError []error
SetManualApprovalRespMultiError is an error wrapping multiple validation errors returned by SetManualApprovalResp.ValidateAll() if the designated constraints aren't met.
func (SetManualApprovalRespMultiError) AllErrors ¶
func (m SetManualApprovalRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetManualApprovalRespMultiError) Error ¶
func (m SetManualApprovalRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetManualApprovalRespValidationError ¶
type SetManualApprovalRespValidationError struct {
// contains filtered or unexported fields
}
SetManualApprovalRespValidationError is the validation error returned by SetManualApprovalResp.Validate if the designated constraints aren't met.
func (SetManualApprovalRespValidationError) Cause ¶
func (e SetManualApprovalRespValidationError) Cause() error
Cause function returns cause value.
func (SetManualApprovalRespValidationError) Error ¶
func (e SetManualApprovalRespValidationError) Error() string
Error satisfies the builtin error interface
func (SetManualApprovalRespValidationError) ErrorName ¶
func (e SetManualApprovalRespValidationError) ErrorName() string
ErrorName returns error name.
func (SetManualApprovalRespValidationError) Field ¶
func (e SetManualApprovalRespValidationError) Field() string
Field function returns field value.
func (SetManualApprovalRespValidationError) Key ¶
func (e SetManualApprovalRespValidationError) Key() bool
Key function returns key value.
func (SetManualApprovalRespValidationError) Reason ¶
func (e SetManualApprovalRespValidationError) Reason() string
Reason function returns reason value.
type StatusExplanations ¶
type StatusExplanations struct { StatusExplanations []*model.StatusExplanation `protobuf:"bytes,1,rep,name=status_explanations,json=statusExplanations,proto3" json:"status_explanations,omitempty"` // contains filtered or unexported fields }
func (*StatusExplanations) Descriptor
deprecated
func (*StatusExplanations) Descriptor() ([]byte, []int)
Deprecated: Use StatusExplanations.ProtoReflect.Descriptor instead.
func (*StatusExplanations) GetStatusExplanations ¶
func (x *StatusExplanations) GetStatusExplanations() []*model.StatusExplanation
func (*StatusExplanations) ProtoMessage ¶
func (*StatusExplanations) ProtoMessage()
func (*StatusExplanations) ProtoReflect ¶
func (x *StatusExplanations) ProtoReflect() protoreflect.Message
func (*StatusExplanations) Reset ¶
func (x *StatusExplanations) Reset()
func (*StatusExplanations) String ¶
func (x *StatusExplanations) String() string
func (*StatusExplanations) Validate ¶
func (m *StatusExplanations) Validate() error
Validate checks the field values on StatusExplanations 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 (*StatusExplanations) ValidateAll ¶
func (m *StatusExplanations) ValidateAll() error
ValidateAll checks the field values on StatusExplanations 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 StatusExplanationsMultiError, or nil if none found.
type StatusExplanationsMultiError ¶
type StatusExplanationsMultiError []error
StatusExplanationsMultiError is an error wrapping multiple validation errors returned by StatusExplanations.ValidateAll() if the designated constraints aren't met.
func (StatusExplanationsMultiError) AllErrors ¶
func (m StatusExplanationsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatusExplanationsMultiError) Error ¶
func (m StatusExplanationsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatusExplanationsValidationError ¶
type StatusExplanationsValidationError struct {
// contains filtered or unexported fields
}
StatusExplanationsValidationError is the validation error returned by StatusExplanations.Validate if the designated constraints aren't met.
func (StatusExplanationsValidationError) Cause ¶
func (e StatusExplanationsValidationError) Cause() error
Cause function returns cause value.
func (StatusExplanationsValidationError) Error ¶
func (e StatusExplanationsValidationError) Error() string
Error satisfies the builtin error interface
func (StatusExplanationsValidationError) ErrorName ¶
func (e StatusExplanationsValidationError) ErrorName() string
ErrorName returns error name.
func (StatusExplanationsValidationError) Field ¶
func (e StatusExplanationsValidationError) Field() string
Field function returns field value.
func (StatusExplanationsValidationError) Key ¶
func (e StatusExplanationsValidationError) Key() bool
Key function returns key value.
func (StatusExplanationsValidationError) Reason ¶
func (e StatusExplanationsValidationError) Reason() string
Reason function returns reason value.
type UnimplementedDesiredStateManagerServer ¶
type UnimplementedDesiredStateManagerServer struct { }
UnimplementedDesiredStateManagerServer must be embedded to have forward compatible implementations.
func (UnimplementedDesiredStateManagerServer) BypassProtection ¶
func (UnimplementedDesiredStateManagerServer) BypassProtection(context.Context, *BypassProtectionReq) (*BypassProtectionResp, error)
func (UnimplementedDesiredStateManagerServer) GetDesiredState ¶
func (UnimplementedDesiredStateManagerServer) GetDesiredState(context.Context, *GetDesiredStateReq) (*GetDesiredStateResp, error)
func (UnimplementedDesiredStateManagerServer) GetDesiredStateConvergenceSummary ¶
func (UnimplementedDesiredStateManagerServer) GetDesiredStateConvergenceSummary(context.Context, *GetDesiredStateConvergenceReq) (*GetDesiredStateConvergenceSummaryResp, error)
func (UnimplementedDesiredStateManagerServer) GetServiceDesiredStateConvergenceSummary ¶
func (UnimplementedDesiredStateManagerServer) GetServiceDesiredStateConvergenceSummary(context.Context, *GetServiceDesiredStateConvergenceSummaryReq) (*GetServiceDesiredStateConvergenceSummaryResp, error)
func (UnimplementedDesiredStateManagerServer) GetServiceDesiredStateHistory ¶
func (UnimplementedDesiredStateManagerServer) GetServiceDesiredStateHistory(context.Context, *GetServiceDesiredStateHistoryReq) (*GetServiceDesiredStateHistoryResp, error)
func (UnimplementedDesiredStateManagerServer) GetServiceLastConvergedStates ¶
func (UnimplementedDesiredStateManagerServer) GetServiceLastConvergedStates(context.Context, *GetServiceLastConvergedStateReq) (*GetServiceLastConvergedStateResp, error)
func (UnimplementedDesiredStateManagerServer) PreviewEntityGraph ¶ added in v0.2.3
func (UnimplementedDesiredStateManagerServer) PreviewEntityGraph(context.Context, *SetDesiredStateReq) (*PreviewEntityGraphResp, error)
func (UnimplementedDesiredStateManagerServer) PromoteDelivery ¶
func (UnimplementedDesiredStateManagerServer) PromoteDelivery(context.Context, *PromoteDeliveryReq) (*PromoteDeliveryResp, error)
func (UnimplementedDesiredStateManagerServer) SetDesiredState ¶
func (UnimplementedDesiredStateManagerServer) SetDesiredState(context.Context, *SetDesiredStateReq) (*SetDesiredStateResp, error)
func (UnimplementedDesiredStateManagerServer) SetManualApproval ¶
func (UnimplementedDesiredStateManagerServer) SetManualApproval(context.Context, *SetManualApprovalReq) (*SetManualApprovalResp, error)
func (UnimplementedDesiredStateManagerServer) ValidateDesiredState ¶
func (UnimplementedDesiredStateManagerServer) ValidateDesiredState(context.Context, *ValidateDesiredStateReq) (*ValidateDesiredStateResp, error)
type UnsafeDesiredStateManagerServer ¶
type UnsafeDesiredStateManagerServer interface {
// contains filtered or unexported methods
}
UnsafeDesiredStateManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DesiredStateManagerServer will result in compilation errors.
type ValidateDesiredStateReq ¶
type ValidateDesiredStateReq struct { DesiredState *model.State `protobuf:"bytes,1,opt,name=desired_state,json=desiredState,proto3" json:"desired_state,omitempty"` // set if this is a rollback, which will generate a desired state with faster preconditions Rollback bool `protobuf:"varint,2,opt,name=rollback,proto3" json:"rollback,omitempty"` // optional, if set, use these service configs instead of fetching from db. can be useful when doing a ValidateApplyParameters followed by a ValidateDesiredState ServiceInstanceConfigs []*service.CompiledServiceInstanceConfig `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ValidateDesiredStateReq) Descriptor
deprecated
func (*ValidateDesiredStateReq) Descriptor() ([]byte, []int)
Deprecated: Use ValidateDesiredStateReq.ProtoReflect.Descriptor instead.
func (*ValidateDesiredStateReq) GetDesiredState ¶
func (x *ValidateDesiredStateReq) GetDesiredState() *model.State
func (*ValidateDesiredStateReq) GetRollback ¶
func (x *ValidateDesiredStateReq) GetRollback() bool
func (*ValidateDesiredStateReq) GetServiceInstanceConfigs ¶
func (x *ValidateDesiredStateReq) GetServiceInstanceConfigs() []*service.CompiledServiceInstanceConfig
func (*ValidateDesiredStateReq) ProtoMessage ¶
func (*ValidateDesiredStateReq) ProtoMessage()
func (*ValidateDesiredStateReq) ProtoReflect ¶
func (x *ValidateDesiredStateReq) ProtoReflect() protoreflect.Message
func (*ValidateDesiredStateReq) Reset ¶
func (x *ValidateDesiredStateReq) Reset()
func (*ValidateDesiredStateReq) String ¶
func (x *ValidateDesiredStateReq) String() string
func (*ValidateDesiredStateReq) Validate ¶
func (m *ValidateDesiredStateReq) Validate() error
Validate checks the field values on ValidateDesiredStateReq 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 (*ValidateDesiredStateReq) ValidateAll ¶
func (m *ValidateDesiredStateReq) ValidateAll() error
ValidateAll checks the field values on ValidateDesiredStateReq 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 ValidateDesiredStateReqMultiError, or nil if none found.
type ValidateDesiredStateReqMultiError ¶
type ValidateDesiredStateReqMultiError []error
ValidateDesiredStateReqMultiError is an error wrapping multiple validation errors returned by ValidateDesiredStateReq.ValidateAll() if the designated constraints aren't met.
func (ValidateDesiredStateReqMultiError) AllErrors ¶
func (m ValidateDesiredStateReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidateDesiredStateReqMultiError) Error ¶
func (m ValidateDesiredStateReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidateDesiredStateReqValidationError ¶
type ValidateDesiredStateReqValidationError struct {
// contains filtered or unexported fields
}
ValidateDesiredStateReqValidationError is the validation error returned by ValidateDesiredStateReq.Validate if the designated constraints aren't met.
func (ValidateDesiredStateReqValidationError) Cause ¶
func (e ValidateDesiredStateReqValidationError) Cause() error
Cause function returns cause value.
func (ValidateDesiredStateReqValidationError) Error ¶
func (e ValidateDesiredStateReqValidationError) Error() string
Error satisfies the builtin error interface
func (ValidateDesiredStateReqValidationError) ErrorName ¶
func (e ValidateDesiredStateReqValidationError) ErrorName() string
ErrorName returns error name.
func (ValidateDesiredStateReqValidationError) Field ¶
func (e ValidateDesiredStateReqValidationError) Field() string
Field function returns field value.
func (ValidateDesiredStateReqValidationError) Key ¶
func (e ValidateDesiredStateReqValidationError) Key() bool
Key function returns key value.
func (ValidateDesiredStateReqValidationError) Reason ¶
func (e ValidateDesiredStateReqValidationError) Reason() string
Reason function returns reason value.
type ValidateDesiredStateResp ¶
type ValidateDesiredStateResp struct { DesiredState *model.State `protobuf:"bytes,1,opt,name=desired_state,json=desiredState,proto3" json:"desired_state,omitempty"` CompiledDesiredState *model.State `protobuf:"bytes,2,opt,name=compiled_desired_state,json=compiledDesiredState,proto3" json:"compiled_desired_state,omitempty"` // contains filtered or unexported fields }
func (*ValidateDesiredStateResp) Descriptor
deprecated
func (*ValidateDesiredStateResp) Descriptor() ([]byte, []int)
Deprecated: Use ValidateDesiredStateResp.ProtoReflect.Descriptor instead.
func (*ValidateDesiredStateResp) GetCompiledDesiredState ¶
func (x *ValidateDesiredStateResp) GetCompiledDesiredState() *model.State
func (*ValidateDesiredStateResp) GetDesiredState ¶
func (x *ValidateDesiredStateResp) GetDesiredState() *model.State
func (*ValidateDesiredStateResp) ProtoMessage ¶
func (*ValidateDesiredStateResp) ProtoMessage()
func (*ValidateDesiredStateResp) ProtoReflect ¶
func (x *ValidateDesiredStateResp) ProtoReflect() protoreflect.Message
func (*ValidateDesiredStateResp) Reset ¶
func (x *ValidateDesiredStateResp) Reset()
func (*ValidateDesiredStateResp) String ¶
func (x *ValidateDesiredStateResp) String() string
func (*ValidateDesiredStateResp) Validate ¶
func (m *ValidateDesiredStateResp) Validate() error
Validate checks the field values on ValidateDesiredStateResp 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 (*ValidateDesiredStateResp) ValidateAll ¶
func (m *ValidateDesiredStateResp) ValidateAll() error
ValidateAll checks the field values on ValidateDesiredStateResp 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 ValidateDesiredStateRespMultiError, or nil if none found.
type ValidateDesiredStateRespMultiError ¶
type ValidateDesiredStateRespMultiError []error
ValidateDesiredStateRespMultiError is an error wrapping multiple validation errors returned by ValidateDesiredStateResp.ValidateAll() if the designated constraints aren't met.
func (ValidateDesiredStateRespMultiError) AllErrors ¶
func (m ValidateDesiredStateRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidateDesiredStateRespMultiError) Error ¶
func (m ValidateDesiredStateRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidateDesiredStateRespValidationError ¶
type ValidateDesiredStateRespValidationError struct {
// contains filtered or unexported fields
}
ValidateDesiredStateRespValidationError is the validation error returned by ValidateDesiredStateResp.Validate if the designated constraints aren't met.
func (ValidateDesiredStateRespValidationError) Cause ¶
func (e ValidateDesiredStateRespValidationError) Cause() error
Cause function returns cause value.
func (ValidateDesiredStateRespValidationError) Error ¶
func (e ValidateDesiredStateRespValidationError) Error() string
Error satisfies the builtin error interface
func (ValidateDesiredStateRespValidationError) ErrorName ¶
func (e ValidateDesiredStateRespValidationError) ErrorName() string
ErrorName returns error name.
func (ValidateDesiredStateRespValidationError) Field ¶
func (e ValidateDesiredStateRespValidationError) Field() string
Field function returns field value.
func (ValidateDesiredStateRespValidationError) Key ¶
func (e ValidateDesiredStateRespValidationError) Key() bool
Key function returns key value.
func (ValidateDesiredStateRespValidationError) Reason ¶
func (e ValidateDesiredStateRespValidationError) Reason() string
Reason function returns reason value.