desired_state

package
v0.2.18 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: MIT Imports: 34 Imported by: 5

Documentation

Overview

Package desired_state is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

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

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

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

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

Cause function returns cause value.

func (BypassProtectionReqValidationError) Error

Error satisfies the builtin error interface

func (BypassProtectionReqValidationError) ErrorName

ErrorName returns error name.

func (BypassProtectionReqValidationError) Field

Field function returns field value.

func (BypassProtectionReqValidationError) Key

Key function returns key value.

func (BypassProtectionReqValidationError) Reason

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

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

Cause function returns cause value.

func (BypassProtectionRespValidationError) Error

Error satisfies the builtin error interface

func (BypassProtectionRespValidationError) ErrorName

ErrorName returns error name.

func (BypassProtectionRespValidationError) Field

Field function returns field value.

func (BypassProtectionRespValidationError) Key

Key function returns key value.

func (BypassProtectionRespValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use DebugLogs.ProtoReflect.Descriptor instead.

func (*DebugLogs) GetDebugLogs

func (x *DebugLogs) GetDebugLogs() []*model.DebugLog

func (*DebugLogs) ProtoMessage

func (*DebugLogs) ProtoMessage()

func (*DebugLogs) ProtoReflect

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

func (*DebugLogs) Reset

func (x *DebugLogs) Reset()

func (*DebugLogs) String

func (x *DebugLogs) String() string

func (*DebugLogs) Validate

func (m *DebugLogs) Validate() error

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

func (m *DebugLogs) ValidateAll() error

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

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)
	// Get the convergence summary for a desired state id.
	// If the desired state id is pending, the returned summary will not have the entity_graph set but will have pending_set_desired_state set.
	// The status will be set to PENDING_SET_DESIRED_STATE.
	// If the desired state id was pending and failed to be set, the returned summary will not have the entity_graph set but will have pending_set_desired_state set.
	// The status will be set to FAILED.
	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.

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)
	// Get the convergence summary for a desired state id.
	// If the desired state id is pending, the returned summary will not have the entity_graph set but will have pending_set_desired_state set.
	// The status will be set to PENDING_SET_DESIRED_STATE.
	// If the desired state id was pending and failed to be set, the returned summary will not have the entity_graph set but will have pending_set_desired_state set.
	// The status will be set to FAILED.
	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"`
	LastUpdateTimestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_update_timestamp,json=lastUpdateTimestamp,proto3" json:"last_update_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"`
	// uncompiled desired state originally passed as input to SetDesiredState
	InputDesiredState *model.State `protobuf:"bytes,16,opt,name=input_desired_state,json=inputDesiredState,proto3" json:"input_desired_state,omitempty"`
	// compiled desired state
	DesiredState  *model.State `protobuf:"bytes,3,opt,name=desired_state,json=desiredState,proto3" json:"desired_state,omitempty"`
	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"`
	Status        model.Status `protobuf:"varint,19,opt,name=status,proto3,enum=prodvana.desired_state.model.Status" json:"status,omitempty"`
	// who set the desired state
	Source         version.Source          `protobuf:"varint,17,opt,name=source,proto3,enum=prodvana.version.Source" json:"source,omitempty"`
	SourceMetadata *version.SourceMetadata `protobuf:"bytes,18,opt,name=source_metadata,json=sourceMetadata,proto3" json:"source_metadata,omitempty"`
	// the latest pending or failed set desired state request
	PendingSetDesiredState *PendingSetDesiredState `` /* 132-byte string literal not displayed */
	// fields below are deprecated
	// status of the desired state, all its descendents, and the root desired state.
	Statuses map[string]model.Status `` /* 199-byte string literal not displayed */
	// 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) GetInputDesiredState added in v0.2.13

func (x *DesiredStateSummary) GetInputDesiredState() *model.State

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) GetPendingSetDesiredState added in v0.2.17

func (x *DesiredStateSummary) GetPendingSetDesiredState() *PendingSetDesiredState

func (*DesiredStateSummary) GetPreconditionStatuses

func (x *DesiredStateSummary) GetPreconditionStatuses() map[string]*model.ConditionState

func (*DesiredStateSummary) GetReplacedTimestamp

func (x *DesiredStateSummary) GetReplacedTimestamp() *timestamppb.Timestamp

func (*DesiredStateSummary) GetSource added in v0.2.14

func (x *DesiredStateSummary) GetSource() version.Source

func (*DesiredStateSummary) GetSourceMetadata added in v0.2.14

func (x *DesiredStateSummary) GetSourceMetadata() *version.SourceMetadata

func (*DesiredStateSummary) GetStartingState

func (x *DesiredStateSummary) GetStartingState() *model.State

func (*DesiredStateSummary) GetStatus added in v0.2.17

func (x *DesiredStateSummary) GetStatus() model.Status

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

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

Cause function returns cause value.

func (DesiredStateSummaryValidationError) Error

Error satisfies the builtin error interface

func (DesiredStateSummaryValidationError) ErrorName

ErrorName returns error name.

func (DesiredStateSummaryValidationError) Field

Field function returns field value.

func (DesiredStateSummaryValidationError) Key

Key function returns key value.

func (DesiredStateSummaryValidationError) Reason

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"`
	FastNoDeprecatedFields bool   `` // unused
	/* 132-byte string literal not displayed */
	// 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) GetFastNoDeprecatedFields added in v0.2.14

func (x *GetDesiredStateConvergenceReq) GetFastNoDeprecatedFields() bool

func (*GetDesiredStateConvergenceReq) ProtoMessage

func (*GetDesiredStateConvergenceReq) ProtoMessage()

func (*GetDesiredStateConvergenceReq) ProtoReflect

func (*GetDesiredStateConvergenceReq) Reset

func (x *GetDesiredStateConvergenceReq) Reset()

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

AllErrors returns a list of validation violation errors.

func (GetDesiredStateConvergenceReqMultiError) Error

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

Cause function returns cause value.

func (GetDesiredStateConvergenceReqValidationError) Error

Error satisfies the builtin error interface

func (GetDesiredStateConvergenceReqValidationError) ErrorName

ErrorName returns error name.

func (GetDesiredStateConvergenceReqValidationError) Field

Field function returns field value.

func (GetDesiredStateConvergenceReqValidationError) Key

Key function returns key value.

func (GetDesiredStateConvergenceReqValidationError) Reason

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

func (*GetDesiredStateConvergenceSummaryResp) ProtoMessage()

func (*GetDesiredStateConvergenceSummaryResp) ProtoReflect

func (*GetDesiredStateConvergenceSummaryResp) Reset

func (*GetDesiredStateConvergenceSummaryResp) String

func (*GetDesiredStateConvergenceSummaryResp) Validate

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

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

AllErrors returns a list of validation violation errors.

func (GetDesiredStateConvergenceSummaryRespMultiError) Error

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

Cause function returns cause value.

func (GetDesiredStateConvergenceSummaryRespValidationError) Error

Error satisfies the builtin error interface

func (GetDesiredStateConvergenceSummaryRespValidationError) ErrorName

ErrorName returns error name.

func (GetDesiredStateConvergenceSummaryRespValidationError) Field

Field function returns field value.

func (GetDesiredStateConvergenceSummaryRespValidationError) Key

Key function returns key value.

func (GetDesiredStateConvergenceSummaryRespValidationError) Reason

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

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

Cause function returns cause value.

func (GetDesiredStateReqValidationError) Error

Error satisfies the builtin error interface

func (GetDesiredStateReqValidationError) ErrorName

ErrorName returns error name.

func (GetDesiredStateReqValidationError) Field

Field function returns field value.

func (GetDesiredStateReqValidationError) Key

Key function returns key value.

func (GetDesiredStateReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetDesiredStateRespValidationError) Error

Error satisfies the builtin error interface

func (GetDesiredStateRespValidationError) ErrorName

ErrorName returns error name.

func (GetDesiredStateRespValidationError) Field

Field function returns field value.

func (GetDesiredStateRespValidationError) Key

Key function returns key value.

func (GetDesiredStateRespValidationError) Reason

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"`
	FastNoDeprecatedFields bool   `` // unused
	/* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetServiceDesiredStateConvergenceSummaryReq) Descriptor deprecated

Deprecated: Use GetServiceDesiredStateConvergenceSummaryReq.ProtoReflect.Descriptor instead.

func (*GetServiceDesiredStateConvergenceSummaryReq) GetApplication

func (*GetServiceDesiredStateConvergenceSummaryReq) GetFastNoDeprecatedFields added in v0.2.14

func (x *GetServiceDesiredStateConvergenceSummaryReq) GetFastNoDeprecatedFields() bool

func (*GetServiceDesiredStateConvergenceSummaryReq) GetService

func (*GetServiceDesiredStateConvergenceSummaryReq) ProtoMessage

func (*GetServiceDesiredStateConvergenceSummaryReq) ProtoReflect

func (*GetServiceDesiredStateConvergenceSummaryReq) Reset

func (*GetServiceDesiredStateConvergenceSummaryReq) String

func (*GetServiceDesiredStateConvergenceSummaryReq) Validate

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

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

AllErrors returns a list of validation violation errors.

func (GetServiceDesiredStateConvergenceSummaryReqMultiError) Error

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

Cause function returns cause value.

func (GetServiceDesiredStateConvergenceSummaryReqValidationError) Error

Error satisfies the builtin error interface

func (GetServiceDesiredStateConvergenceSummaryReqValidationError) ErrorName

ErrorName returns error name.

func (GetServiceDesiredStateConvergenceSummaryReqValidationError) Field

Field function returns field value.

func (GetServiceDesiredStateConvergenceSummaryReqValidationError) Key

Key function returns key value.

func (GetServiceDesiredStateConvergenceSummaryReqValidationError) Reason

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

Deprecated: Use GetServiceDesiredStateConvergenceSummaryResp.ProtoReflect.Descriptor instead.

func (*GetServiceDesiredStateConvergenceSummaryResp) GetSummary

func (*GetServiceDesiredStateConvergenceSummaryResp) ProtoMessage

func (*GetServiceDesiredStateConvergenceSummaryResp) ProtoReflect

func (*GetServiceDesiredStateConvergenceSummaryResp) Reset

func (*GetServiceDesiredStateConvergenceSummaryResp) String

func (*GetServiceDesiredStateConvergenceSummaryResp) Validate

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

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

AllErrors returns a list of validation violation errors.

func (GetServiceDesiredStateConvergenceSummaryRespMultiError) Error

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

Cause function returns cause value.

func (GetServiceDesiredStateConvergenceSummaryRespValidationError) Error

Error satisfies the builtin error interface

func (GetServiceDesiredStateConvergenceSummaryRespValidationError) ErrorName

ErrorName returns error name.

func (GetServiceDesiredStateConvergenceSummaryRespValidationError) Field

Field function returns field value.

func (GetServiceDesiredStateConvergenceSummaryRespValidationError) Key

Key function returns key value.

func (GetServiceDesiredStateConvergenceSummaryRespValidationError) Reason

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"`
	FastNoDeprecatedFields bool   `` // unused
	/* 132-byte string literal not displayed */
	// 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) GetFastNoDeprecatedFields added in v0.2.14

func (x *GetServiceDesiredStateHistoryReq) GetFastNoDeprecatedFields() bool

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 (*GetServiceDesiredStateHistoryReq) Reset

func (*GetServiceDesiredStateHistoryReq) String

func (*GetServiceDesiredStateHistoryReq) Validate

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

AllErrors returns a list of validation violation errors.

func (GetServiceDesiredStateHistoryReqMultiError) Error

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

Cause function returns cause value.

func (GetServiceDesiredStateHistoryReqValidationError) Error

Error satisfies the builtin error interface

func (GetServiceDesiredStateHistoryReqValidationError) ErrorName

ErrorName returns error name.

func (GetServiceDesiredStateHistoryReqValidationError) Field

Field function returns field value.

func (GetServiceDesiredStateHistoryReqValidationError) Key

Key function returns key value.

func (GetServiceDesiredStateHistoryReqValidationError) Reason

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 (*GetServiceDesiredStateHistoryResp) Reset

func (*GetServiceDesiredStateHistoryResp) String

func (*GetServiceDesiredStateHistoryResp) Validate

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

AllErrors returns a list of validation violation errors.

func (GetServiceDesiredStateHistoryRespMultiError) Error

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

Cause function returns cause value.

func (GetServiceDesiredStateHistoryRespValidationError) Error

Error satisfies the builtin error interface

func (GetServiceDesiredStateHistoryRespValidationError) ErrorName

ErrorName returns error name.

func (GetServiceDesiredStateHistoryRespValidationError) Field

Field function returns field value.

func (GetServiceDesiredStateHistoryRespValidationError) Key

Key function returns key value.

func (GetServiceDesiredStateHistoryRespValidationError) Reason

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 (*GetServiceLastConvergedStateReq) Reset

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

AllErrors returns a list of validation violation errors.

func (GetServiceLastConvergedStateReqMultiError) Error

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

Cause function returns cause value.

func (GetServiceLastConvergedStateReqValidationError) Error

Error satisfies the builtin error interface

func (GetServiceLastConvergedStateReqValidationError) ErrorName

ErrorName returns error name.

func (GetServiceLastConvergedStateReqValidationError) Field

Field function returns field value.

func (GetServiceLastConvergedStateReqValidationError) Key

Key function returns key value.

func (GetServiceLastConvergedStateReqValidationError) Reason

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 (*GetServiceLastConvergedStateResp) Reset

func (*GetServiceLastConvergedStateResp) String

func (*GetServiceLastConvergedStateResp) Validate

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

AllErrors returns a list of validation violation errors.

func (GetServiceLastConvergedStateRespMultiError) Error

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

Cause function returns cause value.

func (GetServiceLastConvergedStateRespValidationError) Error

Error satisfies the builtin error interface

func (GetServiceLastConvergedStateRespValidationError) ErrorName

ErrorName returns error name.

func (GetServiceLastConvergedStateRespValidationError) Field

Field function returns field value.

func (GetServiceLastConvergedStateRespValidationError) Key

Key function returns key value.

func (GetServiceLastConvergedStateRespValidationError) Reason

Reason function returns reason value.

type PendingSetDesiredState added in v0.2.17

type PendingSetDesiredState struct {
	DesiredStateId       string       `protobuf:"bytes,4,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"`
	CompiledDesiredState *model.State `protobuf:"bytes,1,opt,name=compiled_desired_state,json=compiledDesiredState,proto3" json:"compiled_desired_state,omitempty"`
	// will never contain SUCCESS, by definition, but may contain FAILED
	TaskStatus async_task.TaskStatus `` /* 128-byte string literal not displayed */
	// will only be set for FAILED
	TaskResult *async_task.TaskResult `protobuf:"bytes,3,opt,name=task_result,json=taskResult,proto3" json:"task_result,omitempty"` // next tag: 5
	// contains filtered or unexported fields
}

func (*PendingSetDesiredState) Descriptor deprecated added in v0.2.17

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

Deprecated: Use PendingSetDesiredState.ProtoReflect.Descriptor instead.

func (*PendingSetDesiredState) GetCompiledDesiredState added in v0.2.17

func (x *PendingSetDesiredState) GetCompiledDesiredState() *model.State

func (*PendingSetDesiredState) GetDesiredStateId added in v0.2.18

func (x *PendingSetDesiredState) GetDesiredStateId() string

func (*PendingSetDesiredState) GetTaskResult added in v0.2.17

func (x *PendingSetDesiredState) GetTaskResult() *async_task.TaskResult

func (*PendingSetDesiredState) GetTaskStatus added in v0.2.17

func (x *PendingSetDesiredState) GetTaskStatus() async_task.TaskStatus

func (*PendingSetDesiredState) ProtoMessage added in v0.2.17

func (*PendingSetDesiredState) ProtoMessage()

func (*PendingSetDesiredState) ProtoReflect added in v0.2.17

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

func (*PendingSetDesiredState) Reset added in v0.2.17

func (x *PendingSetDesiredState) Reset()

func (*PendingSetDesiredState) String added in v0.2.17

func (x *PendingSetDesiredState) String() string

func (*PendingSetDesiredState) Validate added in v0.2.17

func (m *PendingSetDesiredState) Validate() error

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

func (m *PendingSetDesiredState) ValidateAll() error

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

type PendingSetDesiredStateMultiError added in v0.2.17

type PendingSetDesiredStateMultiError []error

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

func (PendingSetDesiredStateMultiError) AllErrors added in v0.2.17

func (m PendingSetDesiredStateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PendingSetDesiredStateMultiError) Error added in v0.2.17

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

type PendingSetDesiredStateValidationError added in v0.2.17

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

PendingSetDesiredStateValidationError is the validation error returned by PendingSetDesiredState.Validate if the designated constraints aren't met.

func (PendingSetDesiredStateValidationError) Cause added in v0.2.17

Cause function returns cause value.

func (PendingSetDesiredStateValidationError) Error added in v0.2.17

Error satisfies the builtin error interface

func (PendingSetDesiredStateValidationError) ErrorName added in v0.2.17

ErrorName returns error name.

func (PendingSetDesiredStateValidationError) Field added in v0.2.17

Field function returns field value.

func (PendingSetDesiredStateValidationError) Key added in v0.2.17

Key function returns key value.

func (PendingSetDesiredStateValidationError) Reason added in v0.2.17

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

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

Cause function returns cause value.

func (PreviewEntityGraphRespValidationError) Error added in v0.2.3

Error satisfies the builtin error interface

func (PreviewEntityGraphRespValidationError) ErrorName added in v0.2.3

ErrorName returns error name.

func (PreviewEntityGraphRespValidationError) Field added in v0.2.3

Field function returns field value.

func (PreviewEntityGraphRespValidationError) Key added in v0.2.3

Key function returns key value.

func (PreviewEntityGraphRespValidationError) Reason added in v0.2.3

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

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

Cause function returns cause value.

func (PromoteDeliveryReqValidationError) Error

Error satisfies the builtin error interface

func (PromoteDeliveryReqValidationError) ErrorName

ErrorName returns error name.

func (PromoteDeliveryReqValidationError) Field

Field function returns field value.

func (PromoteDeliveryReqValidationError) Key

Key function returns key value.

func (PromoteDeliveryReqValidationError) Reason

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

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

Cause function returns cause value.

func (PromoteDeliveryRespValidationError) Error

Error satisfies the builtin error interface

func (PromoteDeliveryRespValidationError) ErrorName

ErrorName returns error name.

func (PromoteDeliveryRespValidationError) Field

Field function returns field value.

func (PromoteDeliveryRespValidationError) Key

Key function returns key value.

func (PromoteDeliveryRespValidationError) Reason

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"`
	Source         version.Source          `protobuf:"varint,3,opt,name=source,proto3,enum=prodvana.version.Source" json:"source,omitempty"`
	SourceMetadata *version.SourceMetadata `protobuf:"bytes,4,opt,name=source_metadata,json=sourceMetadata,proto3" json:"source_metadata,omitempty"`
	// internal use only
	ForceAsyncSetDesiredState bool `` /* 143-byte string literal not displayed */
	// 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) GetForceAsyncSetDesiredState added in v0.2.18

func (x *SetDesiredStateReq) GetForceAsyncSetDesiredState() bool

func (*SetDesiredStateReq) GetRollback

func (x *SetDesiredStateReq) GetRollback() bool

func (*SetDesiredStateReq) GetSource added in v0.2.14

func (x *SetDesiredStateReq) GetSource() version.Source

func (*SetDesiredStateReq) GetSourceMetadata added in v0.2.14

func (x *SetDesiredStateReq) GetSourceMetadata() *version.SourceMetadata

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

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

Cause function returns cause value.

func (SetDesiredStateReqValidationError) Error

Error satisfies the builtin error interface

func (SetDesiredStateReqValidationError) ErrorName

ErrorName returns error name.

func (SetDesiredStateReqValidationError) Field

Field function returns field value.

func (SetDesiredStateReqValidationError) Key

Key function returns key value.

func (SetDesiredStateReqValidationError) Reason

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

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

Cause function returns cause value.

func (SetDesiredStateRespValidationError) Error

Error satisfies the builtin error interface

func (SetDesiredStateRespValidationError) ErrorName

ErrorName returns error name.

func (SetDesiredStateRespValidationError) Field

Field function returns field value.

func (SetDesiredStateRespValidationError) Key

Key function returns key value.

func (SetDesiredStateRespValidationError) Reason

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

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

Cause function returns cause value.

func (SetManualApprovalReqValidationError) Error

Error satisfies the builtin error interface

func (SetManualApprovalReqValidationError) ErrorName

ErrorName returns error name.

func (SetManualApprovalReqValidationError) Field

Field function returns field value.

func (SetManualApprovalReqValidationError) Key

Key function returns key value.

func (SetManualApprovalReqValidationError) Reason

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

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

Cause function returns cause value.

func (SetManualApprovalRespValidationError) Error

Error satisfies the builtin error interface

func (SetManualApprovalRespValidationError) ErrorName

ErrorName returns error name.

func (SetManualApprovalRespValidationError) Field

Field function returns field value.

func (SetManualApprovalRespValidationError) Key

Key function returns key value.

func (SetManualApprovalRespValidationError) Reason

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

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

Cause function returns cause value.

func (StatusExplanationsValidationError) Error

Error satisfies the builtin error interface

func (StatusExplanationsValidationError) ErrorName

ErrorName returns error name.

func (StatusExplanationsValidationError) Field

Field function returns field value.

func (StatusExplanationsValidationError) Key

Key function returns key value.

func (StatusExplanationsValidationError) Reason

Reason function returns reason value.

type UnimplementedDesiredStateManagerServer

type UnimplementedDesiredStateManagerServer struct {
}

UnimplementedDesiredStateManagerServer must be embedded to have forward compatible implementations.

func (UnimplementedDesiredStateManagerServer) BypassProtection

func (UnimplementedDesiredStateManagerServer) GetDesiredState

func (UnimplementedDesiredStateManagerServer) PreviewEntityGraph added in v0.2.3

func (UnimplementedDesiredStateManagerServer) PromoteDelivery

func (UnimplementedDesiredStateManagerServer) SetDesiredState

func (UnimplementedDesiredStateManagerServer) SetManualApproval

func (UnimplementedDesiredStateManagerServer) ValidateDesiredState

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 */
	// only do label expansion instead of the full compilation, can be useful for speedup if the only desired outcome is to look at the materialized release channels
	LabelExpansionOnly bool `protobuf:"varint,4,opt,name=label_expansion_only,json=labelExpansionOnly,proto3" json:"label_expansion_only,omitempty"`
	// assume service versions in the request are invalid and do not try to fetch them.
	DisregardServiceVersions bool `` /* 136-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) GetDisregardServiceVersions added in v0.2.14

func (x *ValidateDesiredStateReq) GetDisregardServiceVersions() bool

func (*ValidateDesiredStateReq) GetLabelExpansionOnly added in v0.2.13

func (x *ValidateDesiredStateReq) GetLabelExpansionOnly() bool

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

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

Cause function returns cause value.

func (ValidateDesiredStateReqValidationError) Error

Error satisfies the builtin error interface

func (ValidateDesiredStateReqValidationError) ErrorName

ErrorName returns error name.

func (ValidateDesiredStateReqValidationError) Field

Field function returns field value.

func (ValidateDesiredStateReqValidationError) Key

Key function returns key value.

func (ValidateDesiredStateReqValidationError) Reason

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

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

Cause function returns cause value.

func (ValidateDesiredStateRespValidationError) Error

Error satisfies the builtin error interface

func (ValidateDesiredStateRespValidationError) ErrorName

ErrorName returns error name.

func (ValidateDesiredStateRespValidationError) Field

Field function returns field value.

func (ValidateDesiredStateRespValidationError) Key

Key function returns key value.

func (ValidateDesiredStateRespValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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