events

package
v0.3.42 Latest Latest
Warning

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

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

Documentation

Overview

Package events is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventsManager_GetEvents_FullMethodName = "/prodvana.events.EventsManager/GetEvents"
)

Variables

View Source
var (
	EventType_name = map[int32]string{
		0:  "UNKNOWN",
		1:  "SET_DESIRED_STATE",
		2:  "SET_TARGET_STATE",
		3:  "PROGRAM_EXIT",
		4:  "APPLY_TARGET_STATE",
		6:  "MANUAL_APPROVAL",
		7:  "CUSTOM_TASK_EXECUTION",
		8:  "RUNTIME_UPDATE",
		9:  "DELIVERY_PROGRESS",
		10: "DELIVERY_MANUAL_PROMOTION",
		11: "DESIRED_STATE_STATUS_CHANGE",
		12: "KEY_DELIVERY_DECISION",
		13: "RPC_CALL",
		14: "PERMISSON_DENIED",
		15: "OBJECT_CREATED",
		16: "OBJECT_DELETED",
		17: "OBJECT_MODIFIED",
		18: "KUBECTL_CMD",
		19: "AUDIT_LOG_DEBUG",
		20: "DEPLOYMENT_CREATED",
		21: "DEPLOYMENT_UPDATED",
		22: "RELEASE_CREATED",
	}
	EventType_value = map[string]int32{
		"UNKNOWN":                     0,
		"SET_DESIRED_STATE":           1,
		"SET_TARGET_STATE":            2,
		"PROGRAM_EXIT":                3,
		"APPLY_TARGET_STATE":          4,
		"MANUAL_APPROVAL":             6,
		"CUSTOM_TASK_EXECUTION":       7,
		"RUNTIME_UPDATE":              8,
		"DELIVERY_PROGRESS":           9,
		"DELIVERY_MANUAL_PROMOTION":   10,
		"DESIRED_STATE_STATUS_CHANGE": 11,
		"KEY_DELIVERY_DECISION":       12,
		"RPC_CALL":                    13,
		"PERMISSON_DENIED":            14,
		"OBJECT_CREATED":              15,
		"OBJECT_DELETED":              16,
		"OBJECT_MODIFIED":             17,
		"KUBECTL_CMD":                 18,
		"AUDIT_LOG_DEBUG":             19,
		"DEPLOYMENT_CREATED":          20,
		"DEPLOYMENT_UPDATED":          21,
		"RELEASE_CREATED":             22,
	}
)

Enum value maps for EventType.

View Source
var (
	ApplyTargetStateEvent_ApplyResult_name = map[int32]string{
		0: "UNKNOWN",
		1: "SUCCEEDED",
		2: "FAILED",
		3: "RETRIABLE_FAILURE",
	}
	ApplyTargetStateEvent_ApplyResult_value = map[string]int32{
		"UNKNOWN":           0,
		"SUCCEEDED":         1,
		"FAILED":            2,
		"RETRIABLE_FAILURE": 3,
	}
)

Enum value maps for ApplyTargetStateEvent_ApplyResult.

View Source
var (
	RuntimeUpdateEvent_RuntimeAction_name = map[int32]string{
		0: "UNKNOWN",
		1: "CREATE_OR_UPDATE",
		2: "WAIT_HEALTHY",
	}
	RuntimeUpdateEvent_RuntimeAction_value = map[string]int32{
		"UNKNOWN":          0,
		"CREATE_OR_UPDATE": 1,
		"WAIT_HEALTHY":     2,
	}
)

Enum value maps for RuntimeUpdateEvent_RuntimeAction.

View Source
var (
	RuntimeUpdateEvent_RuntimeStatus_name = map[int32]string{
		0: "RUNTIME_STATUS_UNKNOWN",
		1: "PENDING",
		2: "SUCCESS",
		3: "FAILURE",
	}
	RuntimeUpdateEvent_RuntimeStatus_value = map[string]int32{
		"RUNTIME_STATUS_UNKNOWN": 0,
		"PENDING":                1,
		"SUCCESS":                2,
		"FAILURE":                3,
	}
)

Enum value maps for RuntimeUpdateEvent_RuntimeStatus.

View Source
var (
	RpcCallEvent_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "READ",
		2: "WRITE",
	}
	RpcCallEvent_Type_value = map[string]int32{
		"UNKNOWN": 0,
		"READ":    1,
		"WRITE":   2,
	}
)

Enum value maps for RpcCallEvent_Type.

View Source
var (
	PermissionDeniedEvent_Action_name = map[int32]string{
		0: "UNKNOWN",
		1: "READ",
		2: "WRITE",
	}
	PermissionDeniedEvent_Action_value = map[string]int32{
		"UNKNOWN": 0,
		"READ":    1,
		"WRITE":   2,
	}
)

Enum value maps for PermissionDeniedEvent_Action.

View Source
var EventsManager_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "prodvana.events.EventsManager",
	HandlerType: (*EventsManagerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetEvents",
			Handler:    _EventsManager_GetEvents_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "prodvana/events/events_manager.proto",
}

EventsManager_ServiceDesc is the grpc.ServiceDesc for EventsManager 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_events_events_manager_proto protoreflect.FileDescriptor
View Source
var File_prodvana_events_events_proto protoreflect.FileDescriptor
View Source
var File_prodvana_events_types_proto protoreflect.FileDescriptor

Functions

func RegisterEventsManagerHandler

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

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

func RegisterEventsManagerHandlerClient

func RegisterEventsManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventsManagerClient) error

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

func RegisterEventsManagerHandlerFromEndpoint

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

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

func RegisterEventsManagerHandlerServer

func RegisterEventsManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EventsManagerServer) error

RegisterEventsManagerHandlerServer registers the http handlers for service EventsManager to "mux". UnaryRPC :call EventsManagerServer 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 RegisterEventsManagerHandlerFromEndpoint instead.

func RegisterEventsManagerServer

func RegisterEventsManagerServer(s grpc.ServiceRegistrar, srv EventsManagerServer)

Types

type ApplicationHandle added in v0.2.3

type ApplicationHandle struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id   string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationHandle) Descriptor deprecated added in v0.2.3

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

Deprecated: Use ApplicationHandle.ProtoReflect.Descriptor instead.

func (*ApplicationHandle) GetId added in v0.2.3

func (x *ApplicationHandle) GetId() string

func (*ApplicationHandle) GetName added in v0.2.3

func (x *ApplicationHandle) GetName() string

func (*ApplicationHandle) ProtoMessage added in v0.2.3

func (*ApplicationHandle) ProtoMessage()

func (*ApplicationHandle) ProtoReflect added in v0.2.3

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

func (*ApplicationHandle) Reset added in v0.2.3

func (x *ApplicationHandle) Reset()

func (*ApplicationHandle) String added in v0.2.3

func (x *ApplicationHandle) String() string

func (*ApplicationHandle) Validate added in v0.2.3

func (m *ApplicationHandle) Validate() error

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

func (m *ApplicationHandle) ValidateAll() error

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

type ApplicationHandleMultiError added in v0.2.3

type ApplicationHandleMultiError []error

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

func (ApplicationHandleMultiError) AllErrors added in v0.2.3

func (m ApplicationHandleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ApplicationHandleMultiError) Error added in v0.2.3

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

type ApplicationHandleValidationError added in v0.2.3

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

ApplicationHandleValidationError is the validation error returned by ApplicationHandle.Validate if the designated constraints aren't met.

func (ApplicationHandleValidationError) Cause added in v0.2.3

Cause function returns cause value.

func (ApplicationHandleValidationError) Error added in v0.2.3

Error satisfies the builtin error interface

func (ApplicationHandleValidationError) ErrorName added in v0.2.3

ErrorName returns error name.

func (ApplicationHandleValidationError) Field added in v0.2.3

Field function returns field value.

func (ApplicationHandleValidationError) Key added in v0.2.3

Key function returns key value.

func (ApplicationHandleValidationError) Reason added in v0.2.3

Reason function returns reason value.

type ApplyTargetStateEvent

type ApplyTargetStateEvent struct {
	Id                 *model.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DesiredStateId     string            `protobuf:"bytes,6,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"`
	RootDesiredStateId string            `protobuf:"bytes,7,opt,name=root_desired_state_id,json=rootDesiredStateId,proto3" json:"root_desired_state_id,omitempty"`
	// state that prodvana runtime will immediately converge towards
	Target *model.State `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// current state for this entity before setting target state
	Current *model.State `protobuf:"bytes,3,opt,name=current,proto3" json:"current,omitempty"`
	// whether this is part of an automated rollback action
	IsAutoRollback bool                              `protobuf:"varint,4,opt,name=is_auto_rollback,json=isAutoRollback,proto3" json:"is_auto_rollback,omitempty"`
	Result         ApplyTargetStateEvent_ApplyResult `protobuf:"varint,5,opt,name=result,proto3,enum=prodvana.events.ApplyTargetStateEvent_ApplyResult" json:"result,omitempty"`
	Error          string                            `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"` // set if result = FAILED
	HasWorkReason  string                            `protobuf:"bytes,9,opt,name=has_work_reason,json=hasWorkReason,proto3" json:"has_work_reason,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyTargetStateEvent) Descriptor deprecated

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

Deprecated: Use ApplyTargetStateEvent.ProtoReflect.Descriptor instead.

func (*ApplyTargetStateEvent) GetCurrent

func (x *ApplyTargetStateEvent) GetCurrent() *model.State

func (*ApplyTargetStateEvent) GetDesiredStateId

func (x *ApplyTargetStateEvent) GetDesiredStateId() string

func (*ApplyTargetStateEvent) GetError

func (x *ApplyTargetStateEvent) GetError() string

func (*ApplyTargetStateEvent) GetHasWorkReason added in v0.3.41

func (x *ApplyTargetStateEvent) GetHasWorkReason() string

func (*ApplyTargetStateEvent) GetId

func (*ApplyTargetStateEvent) GetIsAutoRollback

func (x *ApplyTargetStateEvent) GetIsAutoRollback() bool

func (*ApplyTargetStateEvent) GetResult

func (*ApplyTargetStateEvent) GetRootDesiredStateId

func (x *ApplyTargetStateEvent) GetRootDesiredStateId() string

func (*ApplyTargetStateEvent) GetTarget

func (x *ApplyTargetStateEvent) GetTarget() *model.State

func (*ApplyTargetStateEvent) ProtoMessage

func (*ApplyTargetStateEvent) ProtoMessage()

func (*ApplyTargetStateEvent) ProtoReflect

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

func (*ApplyTargetStateEvent) Reset

func (x *ApplyTargetStateEvent) Reset()

func (*ApplyTargetStateEvent) String

func (x *ApplyTargetStateEvent) String() string

func (*ApplyTargetStateEvent) Validate

func (m *ApplyTargetStateEvent) Validate() error

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

func (m *ApplyTargetStateEvent) ValidateAll() error

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

type ApplyTargetStateEventMultiError

type ApplyTargetStateEventMultiError []error

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

func (ApplyTargetStateEventMultiError) AllErrors

func (m ApplyTargetStateEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ApplyTargetStateEventMultiError) Error

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

type ApplyTargetStateEventValidationError

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

ApplyTargetStateEventValidationError is the validation error returned by ApplyTargetStateEvent.Validate if the designated constraints aren't met.

func (ApplyTargetStateEventValidationError) Cause

Cause function returns cause value.

func (ApplyTargetStateEventValidationError) Error

Error satisfies the builtin error interface

func (ApplyTargetStateEventValidationError) ErrorName

ErrorName returns error name.

func (ApplyTargetStateEventValidationError) Field

Field function returns field value.

func (ApplyTargetStateEventValidationError) Key

Key function returns key value.

func (ApplyTargetStateEventValidationError) Reason

Reason function returns reason value.

type ApplyTargetStateEvent_ApplyResult

type ApplyTargetStateEvent_ApplyResult int32
const (
	ApplyTargetStateEvent_UNKNOWN           ApplyTargetStateEvent_ApplyResult = 0
	ApplyTargetStateEvent_SUCCEEDED         ApplyTargetStateEvent_ApplyResult = 1
	ApplyTargetStateEvent_FAILED            ApplyTargetStateEvent_ApplyResult = 2
	ApplyTargetStateEvent_RETRIABLE_FAILURE ApplyTargetStateEvent_ApplyResult = 3
)

func (ApplyTargetStateEvent_ApplyResult) Descriptor

func (ApplyTargetStateEvent_ApplyResult) Enum

func (ApplyTargetStateEvent_ApplyResult) EnumDescriptor deprecated

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

Deprecated: Use ApplyTargetStateEvent_ApplyResult.Descriptor instead.

func (ApplyTargetStateEvent_ApplyResult) Number

func (ApplyTargetStateEvent_ApplyResult) String

func (ApplyTargetStateEvent_ApplyResult) Type

type AuditLogDebugEvent added in v0.2.12

type AuditLogDebugEvent struct {
	Details map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AuditLogDebugEvent) Descriptor deprecated added in v0.2.12

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

Deprecated: Use AuditLogDebugEvent.ProtoReflect.Descriptor instead.

func (*AuditLogDebugEvent) GetDetails added in v0.2.12

func (x *AuditLogDebugEvent) GetDetails() map[string]string

func (*AuditLogDebugEvent) ProtoMessage added in v0.2.12

func (*AuditLogDebugEvent) ProtoMessage()

func (*AuditLogDebugEvent) ProtoReflect added in v0.2.12

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

func (*AuditLogDebugEvent) Reset added in v0.2.12

func (x *AuditLogDebugEvent) Reset()

func (*AuditLogDebugEvent) String added in v0.2.12

func (x *AuditLogDebugEvent) String() string

func (*AuditLogDebugEvent) Validate added in v0.2.12

func (m *AuditLogDebugEvent) Validate() error

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

func (m *AuditLogDebugEvent) ValidateAll() error

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

type AuditLogDebugEventMultiError added in v0.2.12

type AuditLogDebugEventMultiError []error

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

func (AuditLogDebugEventMultiError) AllErrors added in v0.2.12

func (m AuditLogDebugEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuditLogDebugEventMultiError) Error added in v0.2.12

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

type AuditLogDebugEventValidationError added in v0.2.12

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

AuditLogDebugEventValidationError is the validation error returned by AuditLogDebugEvent.Validate if the designated constraints aren't met.

func (AuditLogDebugEventValidationError) Cause added in v0.2.12

Cause function returns cause value.

func (AuditLogDebugEventValidationError) Error added in v0.2.12

Error satisfies the builtin error interface

func (AuditLogDebugEventValidationError) ErrorName added in v0.2.12

ErrorName returns error name.

func (AuditLogDebugEventValidationError) Field added in v0.2.12

Field function returns field value.

func (AuditLogDebugEventValidationError) Key added in v0.2.12

Key function returns key value.

func (AuditLogDebugEventValidationError) Reason added in v0.2.12

Reason function returns reason value.

type CustomTaskExecutionEvent

type CustomTaskExecutionEvent struct {
	Successful bool   `protobuf:"varint,1,opt,name=successful,proto3" json:"successful,omitempty"`
	Attempts   int32  `protobuf:"varint,2,opt,name=attempts,proto3" json:"attempts,omitempty"`
	Reason     string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` // Why did this job exit/fail?
	// contains filtered or unexported fields
}

func (*CustomTaskExecutionEvent) Descriptor deprecated

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

Deprecated: Use CustomTaskExecutionEvent.ProtoReflect.Descriptor instead.

func (*CustomTaskExecutionEvent) GetAttempts

func (x *CustomTaskExecutionEvent) GetAttempts() int32

func (*CustomTaskExecutionEvent) GetReason

func (x *CustomTaskExecutionEvent) GetReason() string

func (*CustomTaskExecutionEvent) GetSuccessful

func (x *CustomTaskExecutionEvent) GetSuccessful() bool

func (*CustomTaskExecutionEvent) ProtoMessage

func (*CustomTaskExecutionEvent) ProtoMessage()

func (*CustomTaskExecutionEvent) ProtoReflect

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

func (*CustomTaskExecutionEvent) Reset

func (x *CustomTaskExecutionEvent) Reset()

func (*CustomTaskExecutionEvent) String

func (x *CustomTaskExecutionEvent) String() string

func (*CustomTaskExecutionEvent) Validate

func (m *CustomTaskExecutionEvent) Validate() error

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

func (m *CustomTaskExecutionEvent) ValidateAll() error

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

type CustomTaskExecutionEventMultiError

type CustomTaskExecutionEventMultiError []error

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

func (CustomTaskExecutionEventMultiError) AllErrors

func (m CustomTaskExecutionEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CustomTaskExecutionEventMultiError) Error

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

type CustomTaskExecutionEventValidationError

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

CustomTaskExecutionEventValidationError is the validation error returned by CustomTaskExecutionEvent.Validate if the designated constraints aren't met.

func (CustomTaskExecutionEventValidationError) Cause

Cause function returns cause value.

func (CustomTaskExecutionEventValidationError) Error

Error satisfies the builtin error interface

func (CustomTaskExecutionEventValidationError) ErrorName

ErrorName returns error name.

func (CustomTaskExecutionEventValidationError) Field

Field function returns field value.

func (CustomTaskExecutionEventValidationError) Key

Key function returns key value.

func (CustomTaskExecutionEventValidationError) Reason

Reason function returns reason value.

type DeliveryManualPromotionEvent

type DeliveryManualPromotionEvent struct {
	State *model.DeliveryState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,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"`
	// contains filtered or unexported fields
}

func (*DeliveryManualPromotionEvent) Descriptor deprecated

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

Deprecated: Use DeliveryManualPromotionEvent.ProtoReflect.Descriptor instead.

func (*DeliveryManualPromotionEvent) GetFull

func (x *DeliveryManualPromotionEvent) GetFull() bool

func (*DeliveryManualPromotionEvent) GetStage

func (x *DeliveryManualPromotionEvent) GetStage() int64

func (*DeliveryManualPromotionEvent) GetState

func (*DeliveryManualPromotionEvent) ProtoMessage

func (*DeliveryManualPromotionEvent) ProtoMessage()

func (*DeliveryManualPromotionEvent) ProtoReflect

func (*DeliveryManualPromotionEvent) Reset

func (x *DeliveryManualPromotionEvent) Reset()

func (*DeliveryManualPromotionEvent) String

func (*DeliveryManualPromotionEvent) Validate

func (m *DeliveryManualPromotionEvent) Validate() error

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

func (m *DeliveryManualPromotionEvent) ValidateAll() error

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

type DeliveryManualPromotionEventMultiError

type DeliveryManualPromotionEventMultiError []error

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

func (DeliveryManualPromotionEventMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeliveryManualPromotionEventMultiError) Error

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

type DeliveryManualPromotionEventValidationError

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

DeliveryManualPromotionEventValidationError is the validation error returned by DeliveryManualPromotionEvent.Validate if the designated constraints aren't met.

func (DeliveryManualPromotionEventValidationError) Cause

Cause function returns cause value.

func (DeliveryManualPromotionEventValidationError) Error

Error satisfies the builtin error interface

func (DeliveryManualPromotionEventValidationError) ErrorName

ErrorName returns error name.

func (DeliveryManualPromotionEventValidationError) Field

Field function returns field value.

func (DeliveryManualPromotionEventValidationError) Key

Key function returns key value.

func (DeliveryManualPromotionEventValidationError) Reason

Reason function returns reason value.

type DeliveryProgressEvent

type DeliveryProgressEvent struct {
	State *model.DeliveryState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*DeliveryProgressEvent) Descriptor deprecated

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

Deprecated: Use DeliveryProgressEvent.ProtoReflect.Descriptor instead.

func (*DeliveryProgressEvent) GetState

func (x *DeliveryProgressEvent) GetState() *model.DeliveryState

func (*DeliveryProgressEvent) ProtoMessage

func (*DeliveryProgressEvent) ProtoMessage()

func (*DeliveryProgressEvent) ProtoReflect

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

func (*DeliveryProgressEvent) Reset

func (x *DeliveryProgressEvent) Reset()

func (*DeliveryProgressEvent) String

func (x *DeliveryProgressEvent) String() string

func (*DeliveryProgressEvent) Validate

func (m *DeliveryProgressEvent) Validate() error

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

func (m *DeliveryProgressEvent) ValidateAll() error

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

type DeliveryProgressEventMultiError

type DeliveryProgressEventMultiError []error

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

func (DeliveryProgressEventMultiError) AllErrors

func (m DeliveryProgressEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeliveryProgressEventMultiError) Error

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

type DeliveryProgressEventValidationError

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

DeliveryProgressEventValidationError is the validation error returned by DeliveryProgressEvent.Validate if the designated constraints aren't met.

func (DeliveryProgressEventValidationError) Cause

Cause function returns cause value.

func (DeliveryProgressEventValidationError) Error

Error satisfies the builtin error interface

func (DeliveryProgressEventValidationError) ErrorName

ErrorName returns error name.

func (DeliveryProgressEventValidationError) Field

Field function returns field value.

func (DeliveryProgressEventValidationError) Key

Key function returns key value.

func (DeliveryProgressEventValidationError) Reason

Reason function returns reason value.

type DeploymentCreatedEvent added in v0.3.30

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

func (*DeploymentCreatedEvent) Descriptor deprecated added in v0.3.30

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

Deprecated: Use DeploymentCreatedEvent.ProtoReflect.Descriptor instead.

func (*DeploymentCreatedEvent) GetDeployment added in v0.3.30

func (x *DeploymentCreatedEvent) GetDeployment() *model1.Deployment

func (*DeploymentCreatedEvent) ProtoMessage added in v0.3.30

func (*DeploymentCreatedEvent) ProtoMessage()

func (*DeploymentCreatedEvent) ProtoReflect added in v0.3.30

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

func (*DeploymentCreatedEvent) Reset added in v0.3.30

func (x *DeploymentCreatedEvent) Reset()

func (*DeploymentCreatedEvent) String added in v0.3.30

func (x *DeploymentCreatedEvent) String() string

func (*DeploymentCreatedEvent) Validate added in v0.3.30

func (m *DeploymentCreatedEvent) Validate() error

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

func (m *DeploymentCreatedEvent) ValidateAll() error

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

type DeploymentCreatedEventMultiError added in v0.3.30

type DeploymentCreatedEventMultiError []error

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

func (DeploymentCreatedEventMultiError) AllErrors added in v0.3.30

func (m DeploymentCreatedEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeploymentCreatedEventMultiError) Error added in v0.3.30

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

type DeploymentCreatedEventValidationError added in v0.3.30

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

DeploymentCreatedEventValidationError is the validation error returned by DeploymentCreatedEvent.Validate if the designated constraints aren't met.

func (DeploymentCreatedEventValidationError) Cause added in v0.3.30

Cause function returns cause value.

func (DeploymentCreatedEventValidationError) Error added in v0.3.30

Error satisfies the builtin error interface

func (DeploymentCreatedEventValidationError) ErrorName added in v0.3.30

ErrorName returns error name.

func (DeploymentCreatedEventValidationError) Field added in v0.3.30

Field function returns field value.

func (DeploymentCreatedEventValidationError) Key added in v0.3.30

Key function returns key value.

func (DeploymentCreatedEventValidationError) Reason added in v0.3.30

Reason function returns reason value.

type DeploymentUpdatedEvent added in v0.3.30

type DeploymentUpdatedEvent struct {
	Deployment *model1.Deployment      `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	OldStatus  model1.DeploymentStatus `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeploymentUpdatedEvent) Descriptor deprecated added in v0.3.30

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

Deprecated: Use DeploymentUpdatedEvent.ProtoReflect.Descriptor instead.

func (*DeploymentUpdatedEvent) GetDeployment added in v0.3.30

func (x *DeploymentUpdatedEvent) GetDeployment() *model1.Deployment

func (*DeploymentUpdatedEvent) GetOldStatus added in v0.3.30

func (*DeploymentUpdatedEvent) ProtoMessage added in v0.3.30

func (*DeploymentUpdatedEvent) ProtoMessage()

func (*DeploymentUpdatedEvent) ProtoReflect added in v0.3.30

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

func (*DeploymentUpdatedEvent) Reset added in v0.3.30

func (x *DeploymentUpdatedEvent) Reset()

func (*DeploymentUpdatedEvent) String added in v0.3.30

func (x *DeploymentUpdatedEvent) String() string

func (*DeploymentUpdatedEvent) Validate added in v0.3.30

func (m *DeploymentUpdatedEvent) Validate() error

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

func (m *DeploymentUpdatedEvent) ValidateAll() error

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

type DeploymentUpdatedEventMultiError added in v0.3.30

type DeploymentUpdatedEventMultiError []error

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

func (DeploymentUpdatedEventMultiError) AllErrors added in v0.3.30

func (m DeploymentUpdatedEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeploymentUpdatedEventMultiError) Error added in v0.3.30

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

type DeploymentUpdatedEventValidationError added in v0.3.30

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

DeploymentUpdatedEventValidationError is the validation error returned by DeploymentUpdatedEvent.Validate if the designated constraints aren't met.

func (DeploymentUpdatedEventValidationError) Cause added in v0.3.30

Cause function returns cause value.

func (DeploymentUpdatedEventValidationError) Error added in v0.3.30

Error satisfies the builtin error interface

func (DeploymentUpdatedEventValidationError) ErrorName added in v0.3.30

ErrorName returns error name.

func (DeploymentUpdatedEventValidationError) Field added in v0.3.30

Field function returns field value.

func (DeploymentUpdatedEventValidationError) Key added in v0.3.30

Key function returns key value.

func (DeploymentUpdatedEventValidationError) Reason added in v0.3.30

Reason function returns reason value.

type DesiredStateStatusChangeEvent

type DesiredStateStatusChangeEvent struct {
	Id                 *model.Identifier          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DesiredStateId     string                     `protobuf:"bytes,2,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"`
	RootDesiredStateId string                     `protobuf:"bytes,3,opt,name=root_desired_state_id,json=rootDesiredStateId,proto3" json:"root_desired_state_id,omitempty"`
	OldStatus          model.Status               `` /* 130-byte string literal not displayed */
	NewStatus          model.Status               `` /* 130-byte string literal not displayed */
	Desired            *model.State               `protobuf:"bytes,6,opt,name=desired,proto3" json:"desired,omitempty"`
	Target             *model.State               `protobuf:"bytes,7,opt,name=target,proto3" json:"target,omitempty"`
	OldState           *model.State               `protobuf:"bytes,8,opt,name=old_state,json=oldState,proto3" json:"old_state,omitempty"`
	NewState           *model.State               `protobuf:"bytes,9,opt,name=new_state,json=newState,proto3" json:"new_state,omitempty"`
	StatusExplanations []*model.StatusExplanation `protobuf:"bytes,10,rep,name=status_explanations,json=statusExplanations,proto3" json:"status_explanations,omitempty"`
	// contains filtered or unexported fields
}

func (*DesiredStateStatusChangeEvent) Descriptor deprecated

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

Deprecated: Use DesiredStateStatusChangeEvent.ProtoReflect.Descriptor instead.

func (*DesiredStateStatusChangeEvent) GetDesired

func (x *DesiredStateStatusChangeEvent) GetDesired() *model.State

func (*DesiredStateStatusChangeEvent) GetDesiredStateId

func (x *DesiredStateStatusChangeEvent) GetDesiredStateId() string

func (*DesiredStateStatusChangeEvent) GetId

func (*DesiredStateStatusChangeEvent) GetNewState

func (x *DesiredStateStatusChangeEvent) GetNewState() *model.State

func (*DesiredStateStatusChangeEvent) GetNewStatus

func (x *DesiredStateStatusChangeEvent) GetNewStatus() model.Status

func (*DesiredStateStatusChangeEvent) GetOldState

func (x *DesiredStateStatusChangeEvent) GetOldState() *model.State

func (*DesiredStateStatusChangeEvent) GetOldStatus

func (x *DesiredStateStatusChangeEvent) GetOldStatus() model.Status

func (*DesiredStateStatusChangeEvent) GetRootDesiredStateId

func (x *DesiredStateStatusChangeEvent) GetRootDesiredStateId() string

func (*DesiredStateStatusChangeEvent) GetStatusExplanations

func (x *DesiredStateStatusChangeEvent) GetStatusExplanations() []*model.StatusExplanation

func (*DesiredStateStatusChangeEvent) GetTarget

func (x *DesiredStateStatusChangeEvent) GetTarget() *model.State

func (*DesiredStateStatusChangeEvent) ProtoMessage

func (*DesiredStateStatusChangeEvent) ProtoMessage()

func (*DesiredStateStatusChangeEvent) ProtoReflect

func (*DesiredStateStatusChangeEvent) Reset

func (x *DesiredStateStatusChangeEvent) Reset()

func (*DesiredStateStatusChangeEvent) String

func (*DesiredStateStatusChangeEvent) Validate

func (m *DesiredStateStatusChangeEvent) Validate() error

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

func (m *DesiredStateStatusChangeEvent) ValidateAll() error

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

type DesiredStateStatusChangeEventMultiError

type DesiredStateStatusChangeEventMultiError []error

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

func (DesiredStateStatusChangeEventMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DesiredStateStatusChangeEventMultiError) Error

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

type DesiredStateStatusChangeEventValidationError

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

DesiredStateStatusChangeEventValidationError is the validation error returned by DesiredStateStatusChangeEvent.Validate if the designated constraints aren't met.

func (DesiredStateStatusChangeEventValidationError) Cause

Cause function returns cause value.

func (DesiredStateStatusChangeEventValidationError) Error

Error satisfies the builtin error interface

func (DesiredStateStatusChangeEventValidationError) ErrorName

ErrorName returns error name.

func (DesiredStateStatusChangeEventValidationError) Field

Field function returns field value.

func (DesiredStateStatusChangeEventValidationError) Key

Key function returns key value.

func (DesiredStateStatusChangeEventValidationError) Reason

Reason function returns reason value.

type Event

type Event struct {
	Id             string                  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type           EventType               `protobuf:"varint,2,opt,name=type,proto3,enum=prodvana.events.EventType" json:"type,omitempty"`
	Title          string                  `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Details        *EventDetails           `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"`
	Timestamp      *timestamppb.Timestamp  `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	RelatedObjects *RelatedObjects         `protobuf:"bytes,6,opt,name=related_objects,json=relatedObjects,proto3" json:"related_objects,omitempty"`
	Source         version.Source          `protobuf:"varint,8,opt,name=source,proto3,enum=prodvana.version.Source" json:"source,omitempty"` // source of the event if known
	SourceMetadata *version.SourceMetadata `protobuf:"bytes,9,opt,name=source_metadata,json=sourceMetadata,proto3" json:"source_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetDetails

func (x *Event) GetDetails() *EventDetails

func (*Event) GetId

func (x *Event) GetId() string

func (*Event) GetRelatedObjects

func (x *Event) GetRelatedObjects() *RelatedObjects

func (*Event) GetSource added in v0.3.30

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

func (*Event) GetSourceMetadata added in v0.3.30

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

func (*Event) GetTimestamp

func (x *Event) GetTimestamp() *timestamppb.Timestamp

func (*Event) GetTitle

func (x *Event) GetTitle() string

func (*Event) GetType

func (x *Event) GetType() EventType

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

func (*Event) Validate

func (m *Event) Validate() error

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

func (m *Event) ValidateAll() error

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

type EventDetails

type EventDetails struct {

	// Types that are assignable to Details:
	//
	//	*EventDetails_SetDesiredState
	//	*EventDetails_SetTargetState
	//	*EventDetails_ProgramExit
	//	*EventDetails_ApplyTargetState
	//	*EventDetails_ManualApproval
	//	*EventDetails_CustomTaskExecution
	//	*EventDetails_RuntimeUpdate
	//	*EventDetails_DeliveryProgress
	//	*EventDetails_DeliveryPromotion
	//	*EventDetails_DesiredStateStatusChange
	//	*EventDetails_KeyDeliveryDecision
	//	*EventDetails_RpcCall
	//	*EventDetails_PermissionDenied
	//	*EventDetails_ObjectCreated
	//	*EventDetails_ObjectDeleted
	//	*EventDetails_ObjectModified
	//	*EventDetails_KubectlCmd
	//	*EventDetails_AuditLogDebug
	//	*EventDetails_DeploymentCreated
	//	*EventDetails_DeploymentUpdated
	//	*EventDetails_ReleaseCreated
	Details isEventDetails_Details `protobuf_oneof:"details"`
	// contains filtered or unexported fields
}

func (*EventDetails) Descriptor deprecated

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

Deprecated: Use EventDetails.ProtoReflect.Descriptor instead.

func (*EventDetails) GetApplyTargetState

func (x *EventDetails) GetApplyTargetState() *ApplyTargetStateEvent

func (*EventDetails) GetAuditLogDebug added in v0.2.12

func (x *EventDetails) GetAuditLogDebug() *AuditLogDebugEvent

func (*EventDetails) GetCustomTaskExecution

func (x *EventDetails) GetCustomTaskExecution() *CustomTaskExecutionEvent

func (*EventDetails) GetDeliveryProgress

func (x *EventDetails) GetDeliveryProgress() *DeliveryProgressEvent

func (*EventDetails) GetDeliveryPromotion

func (x *EventDetails) GetDeliveryPromotion() *DeliveryManualPromotionEvent

func (*EventDetails) GetDeploymentCreated added in v0.3.30

func (x *EventDetails) GetDeploymentCreated() *DeploymentCreatedEvent

func (*EventDetails) GetDeploymentUpdated added in v0.3.30

func (x *EventDetails) GetDeploymentUpdated() *DeploymentUpdatedEvent

func (*EventDetails) GetDesiredStateStatusChange

func (x *EventDetails) GetDesiredStateStatusChange() *DesiredStateStatusChangeEvent

func (*EventDetails) GetDetails

func (m *EventDetails) GetDetails() isEventDetails_Details

func (*EventDetails) GetKeyDeliveryDecision

func (x *EventDetails) GetKeyDeliveryDecision() *KeyDeliveryDecisionEvent

func (*EventDetails) GetKubectlCmd added in v0.2.3

func (x *EventDetails) GetKubectlCmd() *KubectlCmdEvent

func (*EventDetails) GetManualApproval

func (x *EventDetails) GetManualApproval() *ManualApprovalEvent

func (*EventDetails) GetObjectCreated added in v0.2.3

func (x *EventDetails) GetObjectCreated() *ObjectCreatedEvent

func (*EventDetails) GetObjectDeleted added in v0.2.3

func (x *EventDetails) GetObjectDeleted() *ObjectDeletedEvent

func (*EventDetails) GetObjectModified added in v0.2.3

func (x *EventDetails) GetObjectModified() *ObjectModifiedEvent

func (*EventDetails) GetPermissionDenied added in v0.2.3

func (x *EventDetails) GetPermissionDenied() *PermissionDeniedEvent

func (*EventDetails) GetProgramExit

func (x *EventDetails) GetProgramExit() *ProgramExitEvent

func (*EventDetails) GetReleaseCreated added in v0.3.30

func (x *EventDetails) GetReleaseCreated() *ReleaseCreatedEvent

func (*EventDetails) GetRpcCall added in v0.2.3

func (x *EventDetails) GetRpcCall() *RpcCallEvent

func (*EventDetails) GetRuntimeUpdate

func (x *EventDetails) GetRuntimeUpdate() *RuntimeUpdateEvent

func (*EventDetails) GetSetDesiredState

func (x *EventDetails) GetSetDesiredState() *SetDesiredStateEvent

func (*EventDetails) GetSetTargetState

func (x *EventDetails) GetSetTargetState() *SetTargetStateEvent

func (*EventDetails) ProtoMessage

func (*EventDetails) ProtoMessage()

func (*EventDetails) ProtoReflect

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

func (*EventDetails) Reset

func (x *EventDetails) Reset()

func (*EventDetails) String

func (x *EventDetails) String() string

func (*EventDetails) Validate

func (m *EventDetails) Validate() error

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

func (m *EventDetails) ValidateAll() error

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

type EventDetailsMultiError

type EventDetailsMultiError []error

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

func (EventDetailsMultiError) AllErrors

func (m EventDetailsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EventDetailsMultiError) Error

func (m EventDetailsMultiError) Error() string

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

type EventDetailsValidationError

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

EventDetailsValidationError is the validation error returned by EventDetails.Validate if the designated constraints aren't met.

func (EventDetailsValidationError) Cause

Cause function returns cause value.

func (EventDetailsValidationError) Error

Error satisfies the builtin error interface

func (EventDetailsValidationError) ErrorName

func (e EventDetailsValidationError) ErrorName() string

ErrorName returns error name.

func (EventDetailsValidationError) Field

Field function returns field value.

func (EventDetailsValidationError) Key

Key function returns key value.

func (EventDetailsValidationError) Reason

Reason function returns reason value.

type EventDetails_ApplyTargetState

type EventDetails_ApplyTargetState struct {
	ApplyTargetState *ApplyTargetStateEvent `protobuf:"bytes,4,opt,name=apply_target_state,json=applyTargetState,proto3,oneof"`
}

type EventDetails_AuditLogDebug added in v0.2.12

type EventDetails_AuditLogDebug struct {
	AuditLogDebug *AuditLogDebugEvent `protobuf:"bytes,19,opt,name=audit_log_debug,json=auditLogDebug,proto3,oneof"`
}

type EventDetails_CustomTaskExecution

type EventDetails_CustomTaskExecution struct {
	CustomTaskExecution *CustomTaskExecutionEvent `protobuf:"bytes,7,opt,name=custom_task_execution,json=customTaskExecution,proto3,oneof"`
}

type EventDetails_DeliveryProgress

type EventDetails_DeliveryProgress struct {
	DeliveryProgress *DeliveryProgressEvent `protobuf:"bytes,9,opt,name=delivery_progress,json=deliveryProgress,proto3,oneof"`
}

type EventDetails_DeliveryPromotion

type EventDetails_DeliveryPromotion struct {
	DeliveryPromotion *DeliveryManualPromotionEvent `protobuf:"bytes,10,opt,name=delivery_promotion,json=deliveryPromotion,proto3,oneof"`
}

type EventDetails_DeploymentCreated added in v0.3.30

type EventDetails_DeploymentCreated struct {
	DeploymentCreated *DeploymentCreatedEvent `protobuf:"bytes,20,opt,name=deployment_created,json=deploymentCreated,proto3,oneof"`
}

type EventDetails_DeploymentUpdated added in v0.3.30

type EventDetails_DeploymentUpdated struct {
	DeploymentUpdated *DeploymentUpdatedEvent `protobuf:"bytes,21,opt,name=deployment_updated,json=deploymentUpdated,proto3,oneof"`
}

type EventDetails_DesiredStateStatusChange

type EventDetails_DesiredStateStatusChange struct {
	DesiredStateStatusChange *DesiredStateStatusChangeEvent `protobuf:"bytes,11,opt,name=desired_state_status_change,json=desiredStateStatusChange,proto3,oneof"`
}

type EventDetails_KeyDeliveryDecision

type EventDetails_KeyDeliveryDecision struct {
	KeyDeliveryDecision *KeyDeliveryDecisionEvent `protobuf:"bytes,12,opt,name=key_delivery_decision,json=keyDeliveryDecision,proto3,oneof"`
}

type EventDetails_KubectlCmd added in v0.2.3

type EventDetails_KubectlCmd struct {
	KubectlCmd *KubectlCmdEvent `protobuf:"bytes,18,opt,name=kubectl_cmd,json=kubectlCmd,proto3,oneof"`
}

type EventDetails_ManualApproval

type EventDetails_ManualApproval struct {
	ManualApproval *ManualApprovalEvent `protobuf:"bytes,6,opt,name=manual_approval,json=manualApproval,proto3,oneof"`
}

type EventDetails_ObjectCreated added in v0.2.3

type EventDetails_ObjectCreated struct {
	ObjectCreated *ObjectCreatedEvent `protobuf:"bytes,15,opt,name=object_created,json=objectCreated,proto3,oneof"`
}

type EventDetails_ObjectDeleted added in v0.2.3

type EventDetails_ObjectDeleted struct {
	ObjectDeleted *ObjectDeletedEvent `protobuf:"bytes,16,opt,name=object_deleted,json=objectDeleted,proto3,oneof"`
}

type EventDetails_ObjectModified added in v0.2.3

type EventDetails_ObjectModified struct {
	ObjectModified *ObjectModifiedEvent `protobuf:"bytes,17,opt,name=object_modified,json=objectModified,proto3,oneof"`
}

type EventDetails_PermissionDenied added in v0.2.3

type EventDetails_PermissionDenied struct {
	PermissionDenied *PermissionDeniedEvent `protobuf:"bytes,14,opt,name=permission_denied,json=permissionDenied,proto3,oneof"`
}

type EventDetails_ProgramExit

type EventDetails_ProgramExit struct {
	ProgramExit *ProgramExitEvent `protobuf:"bytes,3,opt,name=program_exit,json=programExit,proto3,oneof"`
}

type EventDetails_ReleaseCreated added in v0.3.30

type EventDetails_ReleaseCreated struct {
	ReleaseCreated *ReleaseCreatedEvent `protobuf:"bytes,22,opt,name=release_created,json=releaseCreated,proto3,oneof"`
}

type EventDetails_RpcCall added in v0.2.3

type EventDetails_RpcCall struct {
	RpcCall *RpcCallEvent `protobuf:"bytes,13,opt,name=rpc_call,json=rpcCall,proto3,oneof"`
}

type EventDetails_RuntimeUpdate

type EventDetails_RuntimeUpdate struct {
	RuntimeUpdate *RuntimeUpdateEvent `protobuf:"bytes,8,opt,name=runtime_update,json=runtimeUpdate,proto3,oneof"`
}

type EventDetails_SetDesiredState

type EventDetails_SetDesiredState struct {
	SetDesiredState *SetDesiredStateEvent `protobuf:"bytes,1,opt,name=set_desired_state,json=setDesiredState,proto3,oneof"`
}

type EventDetails_SetTargetState

type EventDetails_SetTargetState struct {
	SetTargetState *SetTargetStateEvent `protobuf:"bytes,2,opt,name=set_target_state,json=setTargetState,proto3,oneof"`
}

type EventMultiError

type EventMultiError []error

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

func (EventMultiError) AllErrors

func (m EventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EventMultiError) Error

func (m EventMultiError) Error() string

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

type EventType

type EventType int32
const (
	EventType_UNKNOWN EventType = 0
	// when a user sets a new desired state
	EventType_SET_DESIRED_STATE EventType = 1
	// when dyanmic delivery sets a new target state as part of convergence. A desired state convergence
	// involves a series of SET_TARGET_STATE event, one per each entity managed as part of convergence.
	EventType_SET_TARGET_STATE EventType = 2
	EventType_PROGRAM_EXIT     EventType = 3
	// When dynamic delivery materializes a target state to physical infrastructure as part of convergence.
	// Each SET_TARGET_STATE is followed by one or more APPLY_TARGET_STATE, unless convergence is aborted.
	EventType_APPLY_TARGET_STATE    EventType = 4
	EventType_MANUAL_APPROVAL       EventType = 6
	EventType_CUSTOM_TASK_EXECUTION EventType = 7
	// generic runtime events when more specific event types are not available.
	EventType_RUNTIME_UPDATE              EventType = 8
	EventType_DELIVERY_PROGRESS           EventType = 9
	EventType_DELIVERY_MANUAL_PROMOTION   EventType = 10
	EventType_DESIRED_STATE_STATUS_CHANGE EventType = 11
	EventType_KEY_DELIVERY_DECISION       EventType = 12
	EventType_RPC_CALL                    EventType = 13
	EventType_PERMISSON_DENIED            EventType = 14
	EventType_OBJECT_CREATED              EventType = 15
	EventType_OBJECT_DELETED              EventType = 16
	EventType_OBJECT_MODIFIED             EventType = 17
	EventType_KUBECTL_CMD                 EventType = 18
	// a generic event type for submitting an audit log only event
	// without creating an explicit event type for it.
	// This should only be used for short lived logs. If the log will
	// be around for a long time, it should be elevated to a proper event type.
	EventType_AUDIT_LOG_DEBUG    EventType = 19
	EventType_DEPLOYMENT_CREATED EventType = 20
	EventType_DEPLOYMENT_UPDATED EventType = 21
	EventType_RELEASE_CREATED    EventType = 22
)

func (EventType) Descriptor

func (EventType) Descriptor() protoreflect.EnumDescriptor

func (EventType) Enum

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated

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

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String

func (x EventType) String() string

func (EventType) Type

type EventValidationError

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

EventValidationError is the validation error returned by Event.Validate if the designated constraints aren't met.

func (EventValidationError) Cause

func (e EventValidationError) Cause() error

Cause function returns cause value.

func (EventValidationError) Error

func (e EventValidationError) Error() string

Error satisfies the builtin error interface

func (EventValidationError) ErrorName

func (e EventValidationError) ErrorName() string

ErrorName returns error name.

func (EventValidationError) Field

func (e EventValidationError) Field() string

Field function returns field value.

func (EventValidationError) Key

func (e EventValidationError) Key() bool

Key function returns key value.

func (EventValidationError) Reason

func (e EventValidationError) Reason() string

Reason function returns reason value.

type EventsManagerClient

type EventsManagerClient interface {
	GetEvents(ctx context.Context, in *GetEventsReq, opts ...grpc.CallOption) (*GetEventsResp, error)
}

EventsManagerClient is the client API for EventsManager 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 EventsManagerServer

type EventsManagerServer interface {
	GetEvents(context.Context, *GetEventsReq) (*GetEventsResp, error)
	// contains filtered or unexported methods
}

EventsManagerServer is the server API for EventsManager service. All implementations must embed UnimplementedEventsManagerServer for forward compatibility

type GetEventsReq

type GetEventsReq struct {
	Lookups []*Lookup `protobuf:"bytes,1,rep,name=lookups,proto3" json:"lookups,omitempty"`
	// empty means to include all types
	Types               []EventType            `protobuf:"varint,2,rep,packed,name=types,proto3,enum=prodvana.events.EventType" json:"types,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"`
	OrderByAscTimestamp bool                   `protobuf:"varint,6,opt,name=order_by_asc_timestamp,json=orderByAscTimestamp,proto3" json:"order_by_asc_timestamp,omitempty"`
	UseOr               bool                   `protobuf:"varint,7,opt,name=useOr,proto3" json:"useOr,omitempty"`
	BeforeTimestamp     *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=before_timestamp,json=beforeTimestamp,proto3" json:"before_timestamp,omitempty"`
	AfterTimestamp      *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=after_timestamp,json=afterTimestamp,proto3" json:"after_timestamp,omitempty"`
	ExpandForRelease    bool                   `protobuf:"varint,10,opt,name=expand_for_release,json=expandForRelease,proto3" json:"expand_for_release,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventsReq) Descriptor deprecated

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

Deprecated: Use GetEventsReq.ProtoReflect.Descriptor instead.

func (*GetEventsReq) GetAfterTimestamp added in v0.2.24

func (x *GetEventsReq) GetAfterTimestamp() *timestamppb.Timestamp

func (*GetEventsReq) GetBeforeTimestamp added in v0.2.24

func (x *GetEventsReq) GetBeforeTimestamp() *timestamppb.Timestamp

func (*GetEventsReq) GetExpandForRelease added in v0.3.17

func (x *GetEventsReq) GetExpandForRelease() bool

func (*GetEventsReq) GetLookups

func (x *GetEventsReq) GetLookups() []*Lookup

func (*GetEventsReq) GetOrderByAscTimestamp

func (x *GetEventsReq) GetOrderByAscTimestamp() bool

func (*GetEventsReq) GetPageSize

func (x *GetEventsReq) GetPageSize() int32

func (*GetEventsReq) GetPageToken

func (x *GetEventsReq) GetPageToken() string

func (*GetEventsReq) GetTypes

func (x *GetEventsReq) GetTypes() []EventType

func (*GetEventsReq) GetUseOr

func (x *GetEventsReq) GetUseOr() bool

func (*GetEventsReq) ProtoMessage

func (*GetEventsReq) ProtoMessage()

func (*GetEventsReq) ProtoReflect

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

func (*GetEventsReq) Reset

func (x *GetEventsReq) Reset()

func (*GetEventsReq) String

func (x *GetEventsReq) String() string

func (*GetEventsReq) Validate

func (m *GetEventsReq) Validate() error

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

func (m *GetEventsReq) ValidateAll() error

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

type GetEventsReqMultiError

type GetEventsReqMultiError []error

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

func (GetEventsReqMultiError) AllErrors

func (m GetEventsReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetEventsReqMultiError) Error

func (m GetEventsReqMultiError) Error() string

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

type GetEventsReqValidationError

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

GetEventsReqValidationError is the validation error returned by GetEventsReq.Validate if the designated constraints aren't met.

func (GetEventsReqValidationError) Cause

Cause function returns cause value.

func (GetEventsReqValidationError) Error

Error satisfies the builtin error interface

func (GetEventsReqValidationError) ErrorName

func (e GetEventsReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetEventsReqValidationError) Field

Field function returns field value.

func (GetEventsReqValidationError) Key

Key function returns key value.

func (GetEventsReqValidationError) Reason

Reason function returns reason value.

type GetEventsResp

type GetEventsResp struct {
	Events        []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,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 (*GetEventsResp) Descriptor deprecated

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

Deprecated: Use GetEventsResp.ProtoReflect.Descriptor instead.

func (*GetEventsResp) GetEvents

func (x *GetEventsResp) GetEvents() []*Event

func (*GetEventsResp) GetNextPageToken

func (x *GetEventsResp) GetNextPageToken() string

func (*GetEventsResp) ProtoMessage

func (*GetEventsResp) ProtoMessage()

func (*GetEventsResp) ProtoReflect

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

func (*GetEventsResp) Reset

func (x *GetEventsResp) Reset()

func (*GetEventsResp) String

func (x *GetEventsResp) String() string

func (*GetEventsResp) Validate

func (m *GetEventsResp) Validate() error

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

func (m *GetEventsResp) ValidateAll() error

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

type GetEventsRespMultiError

type GetEventsRespMultiError []error

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

func (GetEventsRespMultiError) AllErrors

func (m GetEventsRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetEventsRespMultiError) Error

func (m GetEventsRespMultiError) Error() string

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

type GetEventsRespValidationError

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

GetEventsRespValidationError is the validation error returned by GetEventsResp.Validate if the designated constraints aren't met.

func (GetEventsRespValidationError) Cause

Cause function returns cause value.

func (GetEventsRespValidationError) Error

Error satisfies the builtin error interface

func (GetEventsRespValidationError) ErrorName

func (e GetEventsRespValidationError) ErrorName() string

ErrorName returns error name.

func (GetEventsRespValidationError) Field

Field function returns field value.

func (GetEventsRespValidationError) Key

Key function returns key value.

func (GetEventsRespValidationError) Reason

Reason function returns reason value.

type KeyDeliveryDecisionEvent

type KeyDeliveryDecisionEvent struct {
	Id                        *model.Identifier                           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DesiredStateId            string                                      `protobuf:"bytes,2,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"`
	RootDesiredStateId        string                                      `protobuf:"bytes,3,opt,name=root_desired_state_id,json=rootDesiredStateId,proto3" json:"root_desired_state_id,omitempty"`
	Decision                  model.KeyDeliveryDecision_Decision          ``                                                                            /* 133-byte string literal not displayed */
	Explanation               string                                      `protobuf:"bytes,5,opt,name=explanation,proto3" json:"explanation,omitempty"` // optional, may not always be set. when not set, the context should be obvious from status_explanations
	Status                    model.Status                                `protobuf:"varint,6,opt,name=status,proto3,enum=prodvana.desired_state.model.Status" json:"status,omitempty"`
	Desired                   *model.State                                `protobuf:"bytes,7,opt,name=desired,proto3" json:"desired,omitempty"`
	Target                    *model.State                                `protobuf:"bytes,8,opt,name=target,proto3" json:"target,omitempty"`
	Current                   *model.State                                `protobuf:"bytes,9,opt,name=current,proto3" json:"current,omitempty"`
	StatusExplanations        []*model.StatusExplanation                  `protobuf:"bytes,10,rep,name=status_explanations,json=statusExplanations,proto3" json:"status_explanations,omitempty"`
	StatusExplanationEntities []*model.KeyDeliveryDecision_EntitySnapshot `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*KeyDeliveryDecisionEvent) Descriptor deprecated

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

Deprecated: Use KeyDeliveryDecisionEvent.ProtoReflect.Descriptor instead.

func (*KeyDeliveryDecisionEvent) GetCurrent

func (x *KeyDeliveryDecisionEvent) GetCurrent() *model.State

func (*KeyDeliveryDecisionEvent) GetDecision

func (*KeyDeliveryDecisionEvent) GetDesired

func (x *KeyDeliveryDecisionEvent) GetDesired() *model.State

func (*KeyDeliveryDecisionEvent) GetDesiredStateId

func (x *KeyDeliveryDecisionEvent) GetDesiredStateId() string

func (*KeyDeliveryDecisionEvent) GetExplanation

func (x *KeyDeliveryDecisionEvent) GetExplanation() string

func (*KeyDeliveryDecisionEvent) GetId

func (*KeyDeliveryDecisionEvent) GetRootDesiredStateId

func (x *KeyDeliveryDecisionEvent) GetRootDesiredStateId() string

func (*KeyDeliveryDecisionEvent) GetStatus

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

func (*KeyDeliveryDecisionEvent) GetStatusExplanationEntities added in v0.3.41

func (x *KeyDeliveryDecisionEvent) GetStatusExplanationEntities() []*model.KeyDeliveryDecision_EntitySnapshot

func (*KeyDeliveryDecisionEvent) GetStatusExplanations

func (x *KeyDeliveryDecisionEvent) GetStatusExplanations() []*model.StatusExplanation

func (*KeyDeliveryDecisionEvent) GetTarget

func (x *KeyDeliveryDecisionEvent) GetTarget() *model.State

func (*KeyDeliveryDecisionEvent) ProtoMessage

func (*KeyDeliveryDecisionEvent) ProtoMessage()

func (*KeyDeliveryDecisionEvent) ProtoReflect

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

func (*KeyDeliveryDecisionEvent) Reset

func (x *KeyDeliveryDecisionEvent) Reset()

func (*KeyDeliveryDecisionEvent) String

func (x *KeyDeliveryDecisionEvent) String() string

func (*KeyDeliveryDecisionEvent) Validate

func (m *KeyDeliveryDecisionEvent) Validate() error

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

func (m *KeyDeliveryDecisionEvent) ValidateAll() error

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

type KeyDeliveryDecisionEventMultiError

type KeyDeliveryDecisionEventMultiError []error

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

func (KeyDeliveryDecisionEventMultiError) AllErrors

func (m KeyDeliveryDecisionEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KeyDeliveryDecisionEventMultiError) Error

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

type KeyDeliveryDecisionEventValidationError

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

KeyDeliveryDecisionEventValidationError is the validation error returned by KeyDeliveryDecisionEvent.Validate if the designated constraints aren't met.

func (KeyDeliveryDecisionEventValidationError) Cause

Cause function returns cause value.

func (KeyDeliveryDecisionEventValidationError) Error

Error satisfies the builtin error interface

func (KeyDeliveryDecisionEventValidationError) ErrorName

ErrorName returns error name.

func (KeyDeliveryDecisionEventValidationError) Field

Field function returns field value.

func (KeyDeliveryDecisionEventValidationError) Key

Key function returns key value.

func (KeyDeliveryDecisionEventValidationError) Reason

Reason function returns reason value.

type KubectlCmdEvent added in v0.2.3

type KubectlCmdEvent struct {
	Runtime  string   `protobuf:"bytes,1,opt,name=runtime,proto3" json:"runtime,omitempty"`
	Args     []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	ExitCode int32    `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	// contains filtered or unexported fields
}

func (*KubectlCmdEvent) Descriptor deprecated added in v0.2.3

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

Deprecated: Use KubectlCmdEvent.ProtoReflect.Descriptor instead.

func (*KubectlCmdEvent) GetArgs added in v0.2.3

func (x *KubectlCmdEvent) GetArgs() []string

func (*KubectlCmdEvent) GetExitCode added in v0.2.3

func (x *KubectlCmdEvent) GetExitCode() int32

func (*KubectlCmdEvent) GetRuntime added in v0.2.3

func (x *KubectlCmdEvent) GetRuntime() string

func (*KubectlCmdEvent) ProtoMessage added in v0.2.3

func (*KubectlCmdEvent) ProtoMessage()

func (*KubectlCmdEvent) ProtoReflect added in v0.2.3

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

func (*KubectlCmdEvent) Reset added in v0.2.3

func (x *KubectlCmdEvent) Reset()

func (*KubectlCmdEvent) String added in v0.2.3

func (x *KubectlCmdEvent) String() string

func (*KubectlCmdEvent) Validate added in v0.2.3

func (m *KubectlCmdEvent) Validate() error

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

func (m *KubectlCmdEvent) ValidateAll() error

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

type KubectlCmdEventMultiError added in v0.2.3

type KubectlCmdEventMultiError []error

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

func (KubectlCmdEventMultiError) AllErrors added in v0.2.3

func (m KubectlCmdEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KubectlCmdEventMultiError) Error added in v0.2.3

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

type KubectlCmdEventValidationError added in v0.2.3

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

KubectlCmdEventValidationError is the validation error returned by KubectlCmdEvent.Validate if the designated constraints aren't met.

func (KubectlCmdEventValidationError) Cause added in v0.2.3

Cause function returns cause value.

func (KubectlCmdEventValidationError) Error added in v0.2.3

Error satisfies the builtin error interface

func (KubectlCmdEventValidationError) ErrorName added in v0.2.3

func (e KubectlCmdEventValidationError) ErrorName() string

ErrorName returns error name.

func (KubectlCmdEventValidationError) Field added in v0.2.3

Field function returns field value.

func (KubectlCmdEventValidationError) Key added in v0.2.3

Key function returns key value.

func (KubectlCmdEventValidationError) Reason added in v0.2.3

Reason function returns reason value.

type Lookup

type Lookup struct {

	// Types that are assignable to LookupOneof:
	//
	//	*Lookup_RootDesiredStateId
	//	*Lookup_DesiredStateId
	//	*Lookup_Service
	//	*Lookup_ReleaseChannel
	//	*Lookup_ReleaseId
	LookupOneof isLookup_LookupOneof `protobuf_oneof:"lookup_oneof"`
	// contains filtered or unexported fields
}

func (*Lookup) Descriptor deprecated

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

Deprecated: Use Lookup.ProtoReflect.Descriptor instead.

func (*Lookup) GetDesiredStateId

func (x *Lookup) GetDesiredStateId() string

func (*Lookup) GetLookupOneof

func (m *Lookup) GetLookupOneof() isLookup_LookupOneof

func (*Lookup) GetReleaseChannel

func (x *Lookup) GetReleaseChannel() *ReleaseChannelLookup

func (*Lookup) GetReleaseId added in v0.3.12

func (x *Lookup) GetReleaseId() string

func (*Lookup) GetRootDesiredStateId

func (x *Lookup) GetRootDesiredStateId() string

func (*Lookup) GetService

func (x *Lookup) GetService() *ServiceLookup

func (*Lookup) ProtoMessage

func (*Lookup) ProtoMessage()

func (*Lookup) ProtoReflect

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

func (*Lookup) Reset

func (x *Lookup) Reset()

func (*Lookup) String

func (x *Lookup) String() string

func (*Lookup) Validate

func (m *Lookup) Validate() error

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

func (m *Lookup) ValidateAll() error

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

type LookupMultiError

type LookupMultiError []error

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

func (LookupMultiError) AllErrors

func (m LookupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LookupMultiError) Error

func (m LookupMultiError) Error() string

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

type LookupValidationError

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

LookupValidationError is the validation error returned by Lookup.Validate if the designated constraints aren't met.

func (LookupValidationError) Cause

func (e LookupValidationError) Cause() error

Cause function returns cause value.

func (LookupValidationError) Error

func (e LookupValidationError) Error() string

Error satisfies the builtin error interface

func (LookupValidationError) ErrorName

func (e LookupValidationError) ErrorName() string

ErrorName returns error name.

func (LookupValidationError) Field

func (e LookupValidationError) Field() string

Field function returns field value.

func (LookupValidationError) Key

func (e LookupValidationError) Key() bool

Key function returns key value.

func (LookupValidationError) Reason

func (e LookupValidationError) Reason() string

Reason function returns reason value.

type Lookup_DesiredStateId

type Lookup_DesiredStateId struct {
	DesiredStateId string `protobuf:"bytes,3,opt,name=desired_state_id,json=desiredStateId,proto3,oneof"`
}

type Lookup_ReleaseChannel

type Lookup_ReleaseChannel struct {
	ReleaseChannel *ReleaseChannelLookup `protobuf:"bytes,5,opt,name=release_channel,json=releaseChannel,proto3,oneof"`
}

type Lookup_ReleaseId added in v0.3.12

type Lookup_ReleaseId struct {
	ReleaseId string `protobuf:"bytes,6,opt,name=release_id,json=releaseId,proto3,oneof"`
}

type Lookup_RootDesiredStateId

type Lookup_RootDesiredStateId struct {
	RootDesiredStateId string `protobuf:"bytes,1,opt,name=root_desired_state_id,json=rootDesiredStateId,proto3,oneof"`
}

type Lookup_Service

type Lookup_Service struct {
	Service *ServiceLookup `protobuf:"bytes,4,opt,name=service,proto3,oneof"`
}

type ManualApprovalEvent

type ManualApprovalEvent struct {

	// Approved/rejected?
	Status model.ManualApprovalStatus `protobuf:"varint,1,opt,name=status,proto3,enum=prodvana.desired_state.model.ManualApprovalStatus" json:"status,omitempty"`
	Topic  string                     `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` // Actor etc ...
	// contains filtered or unexported fields
}

func (*ManualApprovalEvent) Descriptor deprecated

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

Deprecated: Use ManualApprovalEvent.ProtoReflect.Descriptor instead.

func (*ManualApprovalEvent) GetStatus

func (*ManualApprovalEvent) GetTopic

func (x *ManualApprovalEvent) GetTopic() string

func (*ManualApprovalEvent) ProtoMessage

func (*ManualApprovalEvent) ProtoMessage()

func (*ManualApprovalEvent) ProtoReflect

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

func (*ManualApprovalEvent) Reset

func (x *ManualApprovalEvent) Reset()

func (*ManualApprovalEvent) String

func (x *ManualApprovalEvent) String() string

func (*ManualApprovalEvent) Validate

func (m *ManualApprovalEvent) Validate() error

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

func (m *ManualApprovalEvent) ValidateAll() error

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

type ManualApprovalEventMultiError

type ManualApprovalEventMultiError []error

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

func (ManualApprovalEventMultiError) AllErrors

func (m ManualApprovalEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ManualApprovalEventMultiError) Error

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

type ManualApprovalEventValidationError

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

ManualApprovalEventValidationError is the validation error returned by ManualApprovalEvent.Validate if the designated constraints aren't met.

func (ManualApprovalEventValidationError) Cause

Cause function returns cause value.

func (ManualApprovalEventValidationError) Error

Error satisfies the builtin error interface

func (ManualApprovalEventValidationError) ErrorName

ErrorName returns error name.

func (ManualApprovalEventValidationError) Field

Field function returns field value.

func (ManualApprovalEventValidationError) Key

Key function returns key value.

func (ManualApprovalEventValidationError) Reason

Reason function returns reason value.

type ObjectCreatedEvent added in v0.2.3

type ObjectCreatedEvent struct {
	ConfigVersion string `protobuf:"bytes,1,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
	// Types that are assignable to Target:
	//
	//	*ObjectCreatedEvent_Application
	//	*ObjectCreatedEvent_ReleaseChannel
	//	*ObjectCreatedEvent_Service
	//	*ObjectCreatedEvent_Runtime
	//	*ObjectCreatedEvent_Protection
	Target isObjectCreatedEvent_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

func (*ObjectCreatedEvent) Descriptor deprecated added in v0.2.3

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

Deprecated: Use ObjectCreatedEvent.ProtoReflect.Descriptor instead.

func (*ObjectCreatedEvent) GetApplication added in v0.2.3

func (x *ObjectCreatedEvent) GetApplication() *ApplicationHandle

func (*ObjectCreatedEvent) GetConfigVersion added in v0.2.3

func (x *ObjectCreatedEvent) GetConfigVersion() string

func (*ObjectCreatedEvent) GetProtection added in v0.2.3

func (x *ObjectCreatedEvent) GetProtection() *ProtectionHandle

func (*ObjectCreatedEvent) GetReleaseChannel added in v0.2.3

func (x *ObjectCreatedEvent) GetReleaseChannel() *ReleaseChannelHandle

func (*ObjectCreatedEvent) GetRuntime added in v0.2.3

func (x *ObjectCreatedEvent) GetRuntime() *RuntimeHandle

func (*ObjectCreatedEvent) GetService added in v0.2.3

func (x *ObjectCreatedEvent) GetService() *ServiceHandle

func (*ObjectCreatedEvent) GetTarget added in v0.2.3

func (m *ObjectCreatedEvent) GetTarget() isObjectCreatedEvent_Target

func (*ObjectCreatedEvent) ProtoMessage added in v0.2.3

func (*ObjectCreatedEvent) ProtoMessage()

func (*ObjectCreatedEvent) ProtoReflect added in v0.2.3

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

func (*ObjectCreatedEvent) Reset added in v0.2.3

func (x *ObjectCreatedEvent) Reset()

func (*ObjectCreatedEvent) String added in v0.2.3

func (x *ObjectCreatedEvent) String() string

func (*ObjectCreatedEvent) Validate added in v0.2.3

func (m *ObjectCreatedEvent) Validate() error

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

func (m *ObjectCreatedEvent) ValidateAll() error

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

type ObjectCreatedEventMultiError added in v0.2.3

type ObjectCreatedEventMultiError []error

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

func (ObjectCreatedEventMultiError) AllErrors added in v0.2.3

func (m ObjectCreatedEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ObjectCreatedEventMultiError) Error added in v0.2.3

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

type ObjectCreatedEventValidationError added in v0.2.3

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

ObjectCreatedEventValidationError is the validation error returned by ObjectCreatedEvent.Validate if the designated constraints aren't met.

func (ObjectCreatedEventValidationError) Cause added in v0.2.3

Cause function returns cause value.

func (ObjectCreatedEventValidationError) Error added in v0.2.3

Error satisfies the builtin error interface

func (ObjectCreatedEventValidationError) ErrorName added in v0.2.3

ErrorName returns error name.

func (ObjectCreatedEventValidationError) Field added in v0.2.3

Field function returns field value.

func (ObjectCreatedEventValidationError) Key added in v0.2.3

Key function returns key value.

func (ObjectCreatedEventValidationError) Reason added in v0.2.3

Reason function returns reason value.

type ObjectCreatedEvent_Application added in v0.2.3

type ObjectCreatedEvent_Application struct {
	Application *ApplicationHandle `protobuf:"bytes,2,opt,name=application,proto3,oneof"`
}

type ObjectCreatedEvent_Protection added in v0.2.3

type ObjectCreatedEvent_Protection struct {
	Protection *ProtectionHandle `protobuf:"bytes,6,opt,name=protection,proto3,oneof"`
}

type ObjectCreatedEvent_ReleaseChannel added in v0.2.3

type ObjectCreatedEvent_ReleaseChannel struct {
	ReleaseChannel *ReleaseChannelHandle `protobuf:"bytes,3,opt,name=release_channel,json=releaseChannel,proto3,oneof"`
}

type ObjectCreatedEvent_Runtime added in v0.2.3

type ObjectCreatedEvent_Runtime struct {
	Runtime *RuntimeHandle `protobuf:"bytes,5,opt,name=runtime,proto3,oneof"`
}

type ObjectCreatedEvent_Service added in v0.2.3

type ObjectCreatedEvent_Service struct {
	Service *ServiceHandle `protobuf:"bytes,4,opt,name=service,proto3,oneof"`
}

type ObjectDeletedEvent added in v0.2.3

type ObjectDeletedEvent struct {
	ConfigVersion string `protobuf:"bytes,1,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
	// Types that are assignable to Target:
	//
	//	*ObjectDeletedEvent_Application
	//	*ObjectDeletedEvent_ReleaseChannel
	//	*ObjectDeletedEvent_Service
	//	*ObjectDeletedEvent_Runtime
	//	*ObjectDeletedEvent_Protection
	Target isObjectDeletedEvent_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

func (*ObjectDeletedEvent) Descriptor deprecated added in v0.2.3

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

Deprecated: Use ObjectDeletedEvent.ProtoReflect.Descriptor instead.

func (*ObjectDeletedEvent) GetApplication added in v0.2.3

func (x *ObjectDeletedEvent) GetApplication() *ApplicationHandle

func (*ObjectDeletedEvent) GetConfigVersion added in v0.2.3

func (x *ObjectDeletedEvent) GetConfigVersion() string

func (*ObjectDeletedEvent) GetProtection added in v0.2.3

func (x *ObjectDeletedEvent) GetProtection() *ProtectionHandle

func (*ObjectDeletedEvent) GetReleaseChannel added in v0.2.3

func (x *ObjectDeletedEvent) GetReleaseChannel() *ReleaseChannelHandle

func (*ObjectDeletedEvent) GetRuntime added in v0.2.3

func (x *ObjectDeletedEvent) GetRuntime() *RuntimeHandle

func (*ObjectDeletedEvent) GetService added in v0.2.3

func (x *ObjectDeletedEvent) GetService() *ServiceHandle

func (*ObjectDeletedEvent) GetTarget added in v0.2.3

func (m *ObjectDeletedEvent) GetTarget() isObjectDeletedEvent_Target

func (*ObjectDeletedEvent) ProtoMessage added in v0.2.3

func (*ObjectDeletedEvent) ProtoMessage()

func (*ObjectDeletedEvent) ProtoReflect added in v0.2.3

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

func (*ObjectDeletedEvent) Reset added in v0.2.3

func (x *ObjectDeletedEvent) Reset()

func (*ObjectDeletedEvent) String added in v0.2.3

func (x *ObjectDeletedEvent) String() string

func (*ObjectDeletedEvent) Validate added in v0.2.3

func (m *ObjectDeletedEvent) Validate() error

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

func (m *ObjectDeletedEvent) ValidateAll() error

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

type ObjectDeletedEventMultiError added in v0.2.3

type ObjectDeletedEventMultiError []error

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

func (ObjectDeletedEventMultiError) AllErrors added in v0.2.3

func (m ObjectDeletedEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ObjectDeletedEventMultiError) Error added in v0.2.3

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

type ObjectDeletedEventValidationError added in v0.2.3

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

ObjectDeletedEventValidationError is the validation error returned by ObjectDeletedEvent.Validate if the designated constraints aren't met.

func (ObjectDeletedEventValidationError) Cause added in v0.2.3

Cause function returns cause value.

func (ObjectDeletedEventValidationError) Error added in v0.2.3

Error satisfies the builtin error interface

func (ObjectDeletedEventValidationError) ErrorName added in v0.2.3

ErrorName returns error name.

func (ObjectDeletedEventValidationError) Field added in v0.2.3

Field function returns field value.

func (ObjectDeletedEventValidationError) Key added in v0.2.3

Key function returns key value.

func (ObjectDeletedEventValidationError) Reason added in v0.2.3

Reason function returns reason value.

type ObjectDeletedEvent_Application added in v0.2.3

type ObjectDeletedEvent_Application struct {
	Application *ApplicationHandle `protobuf:"bytes,2,opt,name=application,proto3,oneof"`
}

type ObjectDeletedEvent_Protection added in v0.2.3

type ObjectDeletedEvent_Protection struct {
	Protection *ProtectionHandle `protobuf:"bytes,6,opt,name=protection,proto3,oneof"`
}

type ObjectDeletedEvent_ReleaseChannel added in v0.2.3

type ObjectDeletedEvent_ReleaseChannel struct {
	ReleaseChannel *ReleaseChannelHandle `protobuf:"bytes,3,opt,name=release_channel,json=releaseChannel,proto3,oneof"`
}

type ObjectDeletedEvent_Runtime added in v0.2.3

type ObjectDeletedEvent_Runtime struct {
	Runtime *RuntimeHandle `protobuf:"bytes,5,opt,name=runtime,proto3,oneof"`
}

type ObjectDeletedEvent_Service added in v0.2.3

type ObjectDeletedEvent_Service struct {
	Service *ServiceHandle `protobuf:"bytes,4,opt,name=service,proto3,oneof"`
}

type ObjectModifiedEvent added in v0.2.3

type ObjectModifiedEvent struct {
	OldConfigVersion string `protobuf:"bytes,1,opt,name=old_config_version,json=oldConfigVersion,proto3" json:"old_config_version,omitempty"`
	NewConfigVersion string `protobuf:"bytes,2,opt,name=new_config_version,json=newConfigVersion,proto3" json:"new_config_version,omitempty"`
	// Types that are assignable to Target:
	//
	//	*ObjectModifiedEvent_Application
	//	*ObjectModifiedEvent_ReleaseChannel
	//	*ObjectModifiedEvent_Service
	//	*ObjectModifiedEvent_Runtime
	//	*ObjectModifiedEvent_Protection
	Target isObjectModifiedEvent_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

func (*ObjectModifiedEvent) Descriptor deprecated added in v0.2.3

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

Deprecated: Use ObjectModifiedEvent.ProtoReflect.Descriptor instead.

func (*ObjectModifiedEvent) GetApplication added in v0.2.3

func (x *ObjectModifiedEvent) GetApplication() *ApplicationHandle

func (*ObjectModifiedEvent) GetNewConfigVersion added in v0.2.3

func (x *ObjectModifiedEvent) GetNewConfigVersion() string

func (*ObjectModifiedEvent) GetOldConfigVersion added in v0.2.3

func (x *ObjectModifiedEvent) GetOldConfigVersion() string

func (*ObjectModifiedEvent) GetProtection added in v0.2.3

func (x *ObjectModifiedEvent) GetProtection() *ProtectionHandle

func (*ObjectModifiedEvent) GetReleaseChannel added in v0.2.3

func (x *ObjectModifiedEvent) GetReleaseChannel() *ReleaseChannelHandle

func (*ObjectModifiedEvent) GetRuntime added in v0.2.3

func (x *ObjectModifiedEvent) GetRuntime() *RuntimeHandle

func (*ObjectModifiedEvent) GetService added in v0.2.3

func (x *ObjectModifiedEvent) GetService() *ServiceHandle

func (*ObjectModifiedEvent) GetTarget added in v0.2.3

func (m *ObjectModifiedEvent) GetTarget() isObjectModifiedEvent_Target

func (*ObjectModifiedEvent) ProtoMessage added in v0.2.3

func (*ObjectModifiedEvent) ProtoMessage()

func (*ObjectModifiedEvent) ProtoReflect added in v0.2.3

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

func (*ObjectModifiedEvent) Reset added in v0.2.3

func (x *ObjectModifiedEvent) Reset()

func (*ObjectModifiedEvent) String added in v0.2.3

func (x *ObjectModifiedEvent) String() string

func (*ObjectModifiedEvent) Validate added in v0.2.3

func (m *ObjectModifiedEvent) Validate() error

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

func (m *ObjectModifiedEvent) ValidateAll() error

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

type ObjectModifiedEventMultiError added in v0.2.3

type ObjectModifiedEventMultiError []error

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

func (ObjectModifiedEventMultiError) AllErrors added in v0.2.3

func (m ObjectModifiedEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ObjectModifiedEventMultiError) Error added in v0.2.3

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

type ObjectModifiedEventValidationError added in v0.2.3

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

ObjectModifiedEventValidationError is the validation error returned by ObjectModifiedEvent.Validate if the designated constraints aren't met.

func (ObjectModifiedEventValidationError) Cause added in v0.2.3

Cause function returns cause value.

func (ObjectModifiedEventValidationError) Error added in v0.2.3

Error satisfies the builtin error interface

func (ObjectModifiedEventValidationError) ErrorName added in v0.2.3

ErrorName returns error name.

func (ObjectModifiedEventValidationError) Field added in v0.2.3

Field function returns field value.

func (ObjectModifiedEventValidationError) Key added in v0.2.3

Key function returns key value.

func (ObjectModifiedEventValidationError) Reason added in v0.2.3

Reason function returns reason value.

type ObjectModifiedEvent_Application added in v0.2.3

type ObjectModifiedEvent_Application struct {
	Application *ApplicationHandle `protobuf:"bytes,3,opt,name=application,proto3,oneof"`
}

type ObjectModifiedEvent_Protection added in v0.2.3

type ObjectModifiedEvent_Protection struct {
	Protection *ProtectionHandle `protobuf:"bytes,7,opt,name=protection,proto3,oneof"`
}

type ObjectModifiedEvent_ReleaseChannel added in v0.2.3

type ObjectModifiedEvent_ReleaseChannel struct {
	ReleaseChannel *ReleaseChannelHandle `protobuf:"bytes,4,opt,name=release_channel,json=releaseChannel,proto3,oneof"`
}

type ObjectModifiedEvent_Runtime added in v0.2.3

type ObjectModifiedEvent_Runtime struct {
	Runtime *RuntimeHandle `protobuf:"bytes,6,opt,name=runtime,proto3,oneof"`
}

type ObjectModifiedEvent_Service added in v0.2.3

type ObjectModifiedEvent_Service struct {
	Service *ServiceHandle `protobuf:"bytes,5,opt,name=service,proto3,oneof"`
}

type PermissionDeniedEvent added in v0.2.3

type PermissionDeniedEvent struct {
	Action PermissionDeniedEvent_Action `protobuf:"varint,1,opt,name=action,proto3,enum=prodvana.events.PermissionDeniedEvent_Action" json:"action,omitempty"`
	// Types that are assignable to Target:
	//
	//	*PermissionDeniedEvent_Application
	//	*PermissionDeniedEvent_ReleaseChannel
	//	*PermissionDeniedEvent_Service
	//	*PermissionDeniedEvent_Runtime
	//	*PermissionDeniedEvent_Protection
	Target isPermissionDeniedEvent_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

func (*PermissionDeniedEvent) Descriptor deprecated added in v0.2.3

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

Deprecated: Use PermissionDeniedEvent.ProtoReflect.Descriptor instead.

func (*PermissionDeniedEvent) GetAction added in v0.2.3

func (*PermissionDeniedEvent) GetApplication added in v0.2.3

func (x *PermissionDeniedEvent) GetApplication() *ApplicationHandle

func (*PermissionDeniedEvent) GetProtection added in v0.2.3

func (x *PermissionDeniedEvent) GetProtection() *ProtectionHandle

func (*PermissionDeniedEvent) GetReleaseChannel added in v0.2.3

func (x *PermissionDeniedEvent) GetReleaseChannel() *ReleaseChannelHandle

func (*PermissionDeniedEvent) GetRuntime added in v0.2.3

func (x *PermissionDeniedEvent) GetRuntime() *RuntimeHandle

func (*PermissionDeniedEvent) GetService added in v0.2.3

func (x *PermissionDeniedEvent) GetService() *ServiceHandle

func (*PermissionDeniedEvent) GetTarget added in v0.2.3

func (m *PermissionDeniedEvent) GetTarget() isPermissionDeniedEvent_Target

func (*PermissionDeniedEvent) ProtoMessage added in v0.2.3

func (*PermissionDeniedEvent) ProtoMessage()

func (*PermissionDeniedEvent) ProtoReflect added in v0.2.3

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

func (*PermissionDeniedEvent) Reset added in v0.2.3

func (x *PermissionDeniedEvent) Reset()

func (*PermissionDeniedEvent) String added in v0.2.3

func (x *PermissionDeniedEvent) String() string

func (*PermissionDeniedEvent) Validate added in v0.2.3

func (m *PermissionDeniedEvent) Validate() error

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

func (m *PermissionDeniedEvent) ValidateAll() error

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

type PermissionDeniedEventMultiError added in v0.2.3

type PermissionDeniedEventMultiError []error

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

func (PermissionDeniedEventMultiError) AllErrors added in v0.2.3

func (m PermissionDeniedEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PermissionDeniedEventMultiError) Error added in v0.2.3

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

type PermissionDeniedEventValidationError added in v0.2.3

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

PermissionDeniedEventValidationError is the validation error returned by PermissionDeniedEvent.Validate if the designated constraints aren't met.

func (PermissionDeniedEventValidationError) Cause added in v0.2.3

Cause function returns cause value.

func (PermissionDeniedEventValidationError) Error added in v0.2.3

Error satisfies the builtin error interface

func (PermissionDeniedEventValidationError) ErrorName added in v0.2.3

ErrorName returns error name.

func (PermissionDeniedEventValidationError) Field added in v0.2.3

Field function returns field value.

func (PermissionDeniedEventValidationError) Key added in v0.2.3

Key function returns key value.

func (PermissionDeniedEventValidationError) Reason added in v0.2.3

Reason function returns reason value.

type PermissionDeniedEvent_Action added in v0.2.3

type PermissionDeniedEvent_Action int32
const (
	PermissionDeniedEvent_UNKNOWN PermissionDeniedEvent_Action = 0
	PermissionDeniedEvent_READ    PermissionDeniedEvent_Action = 1
	PermissionDeniedEvent_WRITE   PermissionDeniedEvent_Action = 2
)

func (PermissionDeniedEvent_Action) Descriptor added in v0.2.3

func (PermissionDeniedEvent_Action) Enum added in v0.2.3

func (PermissionDeniedEvent_Action) EnumDescriptor deprecated added in v0.2.3

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

Deprecated: Use PermissionDeniedEvent_Action.Descriptor instead.

func (PermissionDeniedEvent_Action) Number added in v0.2.3

func (PermissionDeniedEvent_Action) String added in v0.2.3

func (PermissionDeniedEvent_Action) Type added in v0.2.3

type PermissionDeniedEvent_Application added in v0.2.3

type PermissionDeniedEvent_Application struct {
	Application *ApplicationHandle `protobuf:"bytes,2,opt,name=application,proto3,oneof"`
}

type PermissionDeniedEvent_Protection added in v0.2.3

type PermissionDeniedEvent_Protection struct {
	Protection *ProtectionHandle `protobuf:"bytes,6,opt,name=protection,proto3,oneof"`
}

type PermissionDeniedEvent_ReleaseChannel added in v0.2.3

type PermissionDeniedEvent_ReleaseChannel struct {
	ReleaseChannel *ReleaseChannelHandle `protobuf:"bytes,3,opt,name=release_channel,json=releaseChannel,proto3,oneof"`
}

type PermissionDeniedEvent_Runtime added in v0.2.3

type PermissionDeniedEvent_Runtime struct {
	Runtime *RuntimeHandle `protobuf:"bytes,5,opt,name=runtime,proto3,oneof"`
}

type PermissionDeniedEvent_Service added in v0.2.3

type PermissionDeniedEvent_Service struct {
	Service *ServiceHandle `protobuf:"bytes,4,opt,name=service,proto3,oneof"`
}

type ProgramExitEvent

type ProgramExitEvent struct {
	Namespace        string              `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Pod              string              `protobuf:"bytes,2,opt,name=pod,proto3" json:"pod,omitempty"`
	Program          string              `protobuf:"bytes,3,opt,name=program,proto3" json:"program,omitempty"` // in k8s, this is container name
	RestartCount     int32               `protobuf:"varint,4,opt,name=restart_count,json=restartCount,proto3" json:"restart_count,omitempty"`
	Reason           string              `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`                                              // reason why process exited
	KilledReason     string              `protobuf:"bytes,9,opt,name=killed_reason,json=killedReason,proto3" json:"killed_reason,omitempty"`              // if killed, this is the reason why it was killed (best effort)
	ExitCode         int32               `protobuf:"varint,6,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`                         // if 0, this is a successful exit.
	Signal           int32               `protobuf:"varint,7,opt,name=signal,proto3" json:"signal,omitempty"`                                             // signal used to terminate this process, if any
	StructuredOutput *pvn_wrapper.Output `protobuf:"bytes,10,opt,name=structured_output,json=structuredOutput,proto3" json:"structured_output,omitempty"` // optional structured output, if the process exited with a schema compatible with pvn_wrapper's structured output
	// contains filtered or unexported fields
}

func (*ProgramExitEvent) Descriptor deprecated

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

Deprecated: Use ProgramExitEvent.ProtoReflect.Descriptor instead.

func (*ProgramExitEvent) GetExitCode

func (x *ProgramExitEvent) GetExitCode() int32

func (*ProgramExitEvent) GetKilledReason

func (x *ProgramExitEvent) GetKilledReason() string

func (*ProgramExitEvent) GetNamespace

func (x *ProgramExitEvent) GetNamespace() string

func (*ProgramExitEvent) GetPod

func (x *ProgramExitEvent) GetPod() string

func (*ProgramExitEvent) GetProgram

func (x *ProgramExitEvent) GetProgram() string

func (*ProgramExitEvent) GetReason

func (x *ProgramExitEvent) GetReason() string

func (*ProgramExitEvent) GetRestartCount

func (x *ProgramExitEvent) GetRestartCount() int32

func (*ProgramExitEvent) GetSignal

func (x *ProgramExitEvent) GetSignal() int32

func (*ProgramExitEvent) GetStructuredOutput added in v0.2.8

func (x *ProgramExitEvent) GetStructuredOutput() *pvn_wrapper.Output

func (*ProgramExitEvent) ProtoMessage

func (*ProgramExitEvent) ProtoMessage()

func (*ProgramExitEvent) ProtoReflect

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

func (*ProgramExitEvent) Reset

func (x *ProgramExitEvent) Reset()

func (*ProgramExitEvent) String

func (x *ProgramExitEvent) String() string

func (*ProgramExitEvent) Validate

func (m *ProgramExitEvent) Validate() error

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

func (m *ProgramExitEvent) ValidateAll() error

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

type ProgramExitEventMultiError

type ProgramExitEventMultiError []error

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

func (ProgramExitEventMultiError) AllErrors

func (m ProgramExitEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProgramExitEventMultiError) Error

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

type ProgramExitEventValidationError

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

ProgramExitEventValidationError is the validation error returned by ProgramExitEvent.Validate if the designated constraints aren't met.

func (ProgramExitEventValidationError) Cause

Cause function returns cause value.

func (ProgramExitEventValidationError) Error

Error satisfies the builtin error interface

func (ProgramExitEventValidationError) ErrorName

ErrorName returns error name.

func (ProgramExitEventValidationError) Field

Field function returns field value.

func (ProgramExitEventValidationError) Key

Key function returns key value.

func (ProgramExitEventValidationError) Reason

Reason function returns reason value.

type ProtectionHandle added in v0.2.3

type ProtectionHandle struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id   string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtectionHandle) Descriptor deprecated added in v0.2.3

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

Deprecated: Use ProtectionHandle.ProtoReflect.Descriptor instead.

func (*ProtectionHandle) GetId added in v0.2.3

func (x *ProtectionHandle) GetId() string

func (*ProtectionHandle) GetName added in v0.2.3

func (x *ProtectionHandle) GetName() string

func (*ProtectionHandle) ProtoMessage added in v0.2.3

func (*ProtectionHandle) ProtoMessage()

func (*ProtectionHandle) ProtoReflect added in v0.2.3

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

func (*ProtectionHandle) Reset added in v0.2.3

func (x *ProtectionHandle) Reset()

func (*ProtectionHandle) String added in v0.2.3

func (x *ProtectionHandle) String() string

func (*ProtectionHandle) Validate added in v0.2.3

func (m *ProtectionHandle) Validate() error

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

func (m *ProtectionHandle) ValidateAll() error

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

type ProtectionHandleMultiError added in v0.2.3

type ProtectionHandleMultiError []error

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

func (ProtectionHandleMultiError) AllErrors added in v0.2.3

func (m ProtectionHandleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProtectionHandleMultiError) Error added in v0.2.3

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

type ProtectionHandleValidationError added in v0.2.3

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

ProtectionHandleValidationError is the validation error returned by ProtectionHandle.Validate if the designated constraints aren't met.

func (ProtectionHandleValidationError) Cause added in v0.2.3

Cause function returns cause value.

func (ProtectionHandleValidationError) Error added in v0.2.3

Error satisfies the builtin error interface

func (ProtectionHandleValidationError) ErrorName added in v0.2.3

ErrorName returns error name.

func (ProtectionHandleValidationError) Field added in v0.2.3

Field function returns field value.

func (ProtectionHandleValidationError) Key added in v0.2.3

Key function returns key value.

func (ProtectionHandleValidationError) Reason added in v0.2.3

Reason function returns reason value.

type RelatedObjects

type RelatedObjects struct {
	ApplicationId      string            `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	ServiceId          string            `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	ReleaseChannelId   string            `protobuf:"bytes,3,opt,name=release_channel_id,json=releaseChannelId,proto3" json:"release_channel_id,omitempty"`
	DesiredStateId     string            `protobuf:"bytes,4,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"`
	RootDesiredStateId string            `protobuf:"bytes,5,opt,name=root_desired_state_id,json=rootDesiredStateId,proto3" json:"root_desired_state_id,omitempty"`
	ReleaseId          string            `protobuf:"bytes,8,opt,name=release_id,json=releaseId,proto3" json:"release_id,omitempty"`
	RuntimeId          string            `protobuf:"bytes,6,opt,name=runtime_id,json=runtimeId,proto3" json:"runtime_id,omitempty"`
	ExternalLogs       map[string]string `` // next tag: 9
	/* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RelatedObjects) Descriptor deprecated

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

Deprecated: Use RelatedObjects.ProtoReflect.Descriptor instead.

func (*RelatedObjects) GetApplicationId

func (x *RelatedObjects) GetApplicationId() string

func (*RelatedObjects) GetDesiredStateId

func (x *RelatedObjects) GetDesiredStateId() string

func (*RelatedObjects) GetExternalLogs

func (x *RelatedObjects) GetExternalLogs() map[string]string

func (*RelatedObjects) GetReleaseChannelId

func (x *RelatedObjects) GetReleaseChannelId() string

func (*RelatedObjects) GetReleaseId added in v0.3.12

func (x *RelatedObjects) GetReleaseId() string

func (*RelatedObjects) GetRootDesiredStateId

func (x *RelatedObjects) GetRootDesiredStateId() string

func (*RelatedObjects) GetRuntimeId

func (x *RelatedObjects) GetRuntimeId() string

func (*RelatedObjects) GetServiceId

func (x *RelatedObjects) GetServiceId() string

func (*RelatedObjects) ProtoMessage

func (*RelatedObjects) ProtoMessage()

func (*RelatedObjects) ProtoReflect

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

func (*RelatedObjects) Reset

func (x *RelatedObjects) Reset()

func (*RelatedObjects) String

func (x *RelatedObjects) String() string

func (*RelatedObjects) Validate

func (m *RelatedObjects) Validate() error

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

func (m *RelatedObjects) ValidateAll() error

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

type RelatedObjectsMultiError

type RelatedObjectsMultiError []error

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

func (RelatedObjectsMultiError) AllErrors

func (m RelatedObjectsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RelatedObjectsMultiError) Error

func (m RelatedObjectsMultiError) Error() string

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

type RelatedObjectsValidationError

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

RelatedObjectsValidationError is the validation error returned by RelatedObjects.Validate if the designated constraints aren't met.

func (RelatedObjectsValidationError) Cause

Cause function returns cause value.

func (RelatedObjectsValidationError) Error

Error satisfies the builtin error interface

func (RelatedObjectsValidationError) ErrorName

func (e RelatedObjectsValidationError) ErrorName() string

ErrorName returns error name.

func (RelatedObjectsValidationError) Field

Field function returns field value.

func (RelatedObjectsValidationError) Key

Key function returns key value.

func (RelatedObjectsValidationError) Reason

Reason function returns reason value.

type ReleaseChannelHandle added in v0.2.3

type ReleaseChannelHandle struct {
	Application *ApplicationHandle `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
	Name        string             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Id          string             `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseChannelHandle) Descriptor deprecated added in v0.2.3

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

Deprecated: Use ReleaseChannelHandle.ProtoReflect.Descriptor instead.

func (*ReleaseChannelHandle) GetApplication added in v0.2.3

func (x *ReleaseChannelHandle) GetApplication() *ApplicationHandle

func (*ReleaseChannelHandle) GetId added in v0.2.3

func (x *ReleaseChannelHandle) GetId() string

func (*ReleaseChannelHandle) GetName added in v0.2.3

func (x *ReleaseChannelHandle) GetName() string

func (*ReleaseChannelHandle) ProtoMessage added in v0.2.3

func (*ReleaseChannelHandle) ProtoMessage()

func (*ReleaseChannelHandle) ProtoReflect added in v0.2.3

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

func (*ReleaseChannelHandle) Reset added in v0.2.3

func (x *ReleaseChannelHandle) Reset()

func (*ReleaseChannelHandle) String added in v0.2.3

func (x *ReleaseChannelHandle) String() string

func (*ReleaseChannelHandle) Validate added in v0.2.3

func (m *ReleaseChannelHandle) Validate() error

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

func (m *ReleaseChannelHandle) ValidateAll() error

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

type ReleaseChannelHandleMultiError added in v0.2.3

type ReleaseChannelHandleMultiError []error

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

func (ReleaseChannelHandleMultiError) AllErrors added in v0.2.3

func (m ReleaseChannelHandleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReleaseChannelHandleMultiError) Error added in v0.2.3

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

type ReleaseChannelHandleValidationError added in v0.2.3

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

ReleaseChannelHandleValidationError is the validation error returned by ReleaseChannelHandle.Validate if the designated constraints aren't met.

func (ReleaseChannelHandleValidationError) Cause added in v0.2.3

Cause function returns cause value.

func (ReleaseChannelHandleValidationError) Error added in v0.2.3

Error satisfies the builtin error interface

func (ReleaseChannelHandleValidationError) ErrorName added in v0.2.3

ErrorName returns error name.

func (ReleaseChannelHandleValidationError) Field added in v0.2.3

Field function returns field value.

func (ReleaseChannelHandleValidationError) Key added in v0.2.3

Key function returns key value.

func (ReleaseChannelHandleValidationError) Reason added in v0.2.3

Reason function returns reason value.

type ReleaseChannelLookup

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

func (*ReleaseChannelLookup) Descriptor deprecated

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

Deprecated: Use ReleaseChannelLookup.ProtoReflect.Descriptor instead.

func (*ReleaseChannelLookup) GetApplication

func (x *ReleaseChannelLookup) GetApplication() string

func (*ReleaseChannelLookup) GetReleaseChannel

func (x *ReleaseChannelLookup) GetReleaseChannel() string

func (*ReleaseChannelLookup) ProtoMessage

func (*ReleaseChannelLookup) ProtoMessage()

func (*ReleaseChannelLookup) ProtoReflect

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

func (*ReleaseChannelLookup) Reset

func (x *ReleaseChannelLookup) Reset()

func (*ReleaseChannelLookup) String

func (x *ReleaseChannelLookup) String() string

func (*ReleaseChannelLookup) Validate

func (m *ReleaseChannelLookup) Validate() error

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

func (m *ReleaseChannelLookup) ValidateAll() error

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

type ReleaseChannelLookupMultiError

type ReleaseChannelLookupMultiError []error

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

func (ReleaseChannelLookupMultiError) AllErrors

func (m ReleaseChannelLookupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReleaseChannelLookupMultiError) Error

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

type ReleaseChannelLookupValidationError

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

ReleaseChannelLookupValidationError is the validation error returned by ReleaseChannelLookup.Validate if the designated constraints aren't met.

func (ReleaseChannelLookupValidationError) Cause

Cause function returns cause value.

func (ReleaseChannelLookupValidationError) Error

Error satisfies the builtin error interface

func (ReleaseChannelLookupValidationError) ErrorName

ErrorName returns error name.

func (ReleaseChannelLookupValidationError) Field

Field function returns field value.

func (ReleaseChannelLookupValidationError) Key

Key function returns key value.

func (ReleaseChannelLookupValidationError) Reason

Reason function returns reason value.

type ReleaseCreatedEvent added in v0.3.30

type ReleaseCreatedEvent struct {
	Id         *model.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ReleaseId  string            `protobuf:"bytes,2,opt,name=release_id,json=releaseId,proto3" json:"release_id,omitempty"`
	Desired    *model.State      `protobuf:"bytes,3,opt,name=desired,proto3" json:"desired,omitempty"`
	IsRollback bool              `protobuf:"varint,4,opt,name=is_rollback,json=isRollback,proto3" json:"is_rollback,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseCreatedEvent) Descriptor deprecated added in v0.3.30

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

Deprecated: Use ReleaseCreatedEvent.ProtoReflect.Descriptor instead.

func (*ReleaseCreatedEvent) GetDesired added in v0.3.30

func (x *ReleaseCreatedEvent) GetDesired() *model.State

func (*ReleaseCreatedEvent) GetId added in v0.3.30

func (x *ReleaseCreatedEvent) GetId() *model.Identifier

func (*ReleaseCreatedEvent) GetIsRollback added in v0.3.30

func (x *ReleaseCreatedEvent) GetIsRollback() bool

func (*ReleaseCreatedEvent) GetReleaseId added in v0.3.30

func (x *ReleaseCreatedEvent) GetReleaseId() string

func (*ReleaseCreatedEvent) ProtoMessage added in v0.3.30

func (*ReleaseCreatedEvent) ProtoMessage()

func (*ReleaseCreatedEvent) ProtoReflect added in v0.3.30

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

func (*ReleaseCreatedEvent) Reset added in v0.3.30

func (x *ReleaseCreatedEvent) Reset()

func (*ReleaseCreatedEvent) String added in v0.3.30

func (x *ReleaseCreatedEvent) String() string

func (*ReleaseCreatedEvent) Validate added in v0.3.30

func (m *ReleaseCreatedEvent) Validate() error

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

func (m *ReleaseCreatedEvent) ValidateAll() error

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

type ReleaseCreatedEventMultiError added in v0.3.30

type ReleaseCreatedEventMultiError []error

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

func (ReleaseCreatedEventMultiError) AllErrors added in v0.3.30

func (m ReleaseCreatedEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReleaseCreatedEventMultiError) Error added in v0.3.30

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

type ReleaseCreatedEventValidationError added in v0.3.30

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

ReleaseCreatedEventValidationError is the validation error returned by ReleaseCreatedEvent.Validate if the designated constraints aren't met.

func (ReleaseCreatedEventValidationError) Cause added in v0.3.30

Cause function returns cause value.

func (ReleaseCreatedEventValidationError) Error added in v0.3.30

Error satisfies the builtin error interface

func (ReleaseCreatedEventValidationError) ErrorName added in v0.3.30

ErrorName returns error name.

func (ReleaseCreatedEventValidationError) Field added in v0.3.30

Field function returns field value.

func (ReleaseCreatedEventValidationError) Key added in v0.3.30

Key function returns key value.

func (ReleaseCreatedEventValidationError) Reason added in v0.3.30

Reason function returns reason value.

type RpcCallEvent added in v0.2.3

type RpcCallEvent struct {
	Type       RpcCallEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=prodvana.events.RpcCallEvent_Type" json:"type,omitempty"`
	RpcService string            `protobuf:"bytes,2,opt,name=rpc_service,json=rpcService,proto3" json:"rpc_service,omitempty"`
	RpcMethod  string            `protobuf:"bytes,3,opt,name=rpc_method,json=rpcMethod,proto3" json:"rpc_method,omitempty"`
	Request    *anypb.Any        `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
	Response   *anypb.Any        `protobuf:"bytes,5,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*RpcCallEvent) Descriptor deprecated added in v0.2.3

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

Deprecated: Use RpcCallEvent.ProtoReflect.Descriptor instead.

func (*RpcCallEvent) GetRequest added in v0.2.3

func (x *RpcCallEvent) GetRequest() *anypb.Any

func (*RpcCallEvent) GetResponse added in v0.2.3

func (x *RpcCallEvent) GetResponse() *anypb.Any

func (*RpcCallEvent) GetRpcMethod added in v0.2.3

func (x *RpcCallEvent) GetRpcMethod() string

func (*RpcCallEvent) GetRpcService added in v0.2.3

func (x *RpcCallEvent) GetRpcService() string

func (*RpcCallEvent) GetType added in v0.2.3

func (x *RpcCallEvent) GetType() RpcCallEvent_Type

func (*RpcCallEvent) ProtoMessage added in v0.2.3

func (*RpcCallEvent) ProtoMessage()

func (*RpcCallEvent) ProtoReflect added in v0.2.3

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

func (*RpcCallEvent) Reset added in v0.2.3

func (x *RpcCallEvent) Reset()

func (*RpcCallEvent) String added in v0.2.3

func (x *RpcCallEvent) String() string

func (*RpcCallEvent) Validate added in v0.2.3

func (m *RpcCallEvent) Validate() error

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

func (m *RpcCallEvent) ValidateAll() error

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

type RpcCallEventMultiError added in v0.2.3

type RpcCallEventMultiError []error

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

func (RpcCallEventMultiError) AllErrors added in v0.2.3

func (m RpcCallEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RpcCallEventMultiError) Error added in v0.2.3

func (m RpcCallEventMultiError) Error() string

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

type RpcCallEventValidationError added in v0.2.3

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

RpcCallEventValidationError is the validation error returned by RpcCallEvent.Validate if the designated constraints aren't met.

func (RpcCallEventValidationError) Cause added in v0.2.3

Cause function returns cause value.

func (RpcCallEventValidationError) Error added in v0.2.3

Error satisfies the builtin error interface

func (RpcCallEventValidationError) ErrorName added in v0.2.3

func (e RpcCallEventValidationError) ErrorName() string

ErrorName returns error name.

func (RpcCallEventValidationError) Field added in v0.2.3

Field function returns field value.

func (RpcCallEventValidationError) Key added in v0.2.3

Key function returns key value.

func (RpcCallEventValidationError) Reason added in v0.2.3

Reason function returns reason value.

type RpcCallEvent_Type added in v0.2.3

type RpcCallEvent_Type int32
const (
	RpcCallEvent_UNKNOWN RpcCallEvent_Type = 0
	RpcCallEvent_READ    RpcCallEvent_Type = 1
	RpcCallEvent_WRITE   RpcCallEvent_Type = 2
)

func (RpcCallEvent_Type) Descriptor added in v0.2.3

func (RpcCallEvent_Type) Enum added in v0.2.3

func (RpcCallEvent_Type) EnumDescriptor deprecated added in v0.2.3

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

Deprecated: Use RpcCallEvent_Type.Descriptor instead.

func (RpcCallEvent_Type) Number added in v0.2.3

func (RpcCallEvent_Type) String added in v0.2.3

func (x RpcCallEvent_Type) String() string

func (RpcCallEvent_Type) Type added in v0.2.3

type RuntimeHandle added in v0.2.3

type RuntimeHandle struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id   string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RuntimeHandle) Descriptor deprecated added in v0.2.3

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

Deprecated: Use RuntimeHandle.ProtoReflect.Descriptor instead.

func (*RuntimeHandle) GetId added in v0.2.3

func (x *RuntimeHandle) GetId() string

func (*RuntimeHandle) GetName added in v0.2.3

func (x *RuntimeHandle) GetName() string

func (*RuntimeHandle) ProtoMessage added in v0.2.3

func (*RuntimeHandle) ProtoMessage()

func (*RuntimeHandle) ProtoReflect added in v0.2.3

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

func (*RuntimeHandle) Reset added in v0.2.3

func (x *RuntimeHandle) Reset()

func (*RuntimeHandle) String added in v0.2.3

func (x *RuntimeHandle) String() string

func (*RuntimeHandle) Validate added in v0.2.3

func (m *RuntimeHandle) Validate() error

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

func (m *RuntimeHandle) ValidateAll() error

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

type RuntimeHandleMultiError added in v0.2.3

type RuntimeHandleMultiError []error

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

func (RuntimeHandleMultiError) AllErrors added in v0.2.3

func (m RuntimeHandleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RuntimeHandleMultiError) Error added in v0.2.3

func (m RuntimeHandleMultiError) Error() string

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

type RuntimeHandleValidationError added in v0.2.3

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

RuntimeHandleValidationError is the validation error returned by RuntimeHandle.Validate if the designated constraints aren't met.

func (RuntimeHandleValidationError) Cause added in v0.2.3

Cause function returns cause value.

func (RuntimeHandleValidationError) Error added in v0.2.3

Error satisfies the builtin error interface

func (RuntimeHandleValidationError) ErrorName added in v0.2.3

func (e RuntimeHandleValidationError) ErrorName() string

ErrorName returns error name.

func (RuntimeHandleValidationError) Field added in v0.2.3

Field function returns field value.

func (RuntimeHandleValidationError) Key added in v0.2.3

Key function returns key value.

func (RuntimeHandleValidationError) Reason added in v0.2.3

Reason function returns reason value.

type RuntimeObject

type RuntimeObject struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // name of object as it appears in the runtime layer
	Kind      string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` // optional, depends on if runtime has support for it
	Url       string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`             // optional, depends on if there is a unique URL to view this object.
	// contains filtered or unexported fields
}

func (*RuntimeObject) Descriptor deprecated

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

Deprecated: Use RuntimeObject.ProtoReflect.Descriptor instead.

func (*RuntimeObject) GetKind

func (x *RuntimeObject) GetKind() string

func (*RuntimeObject) GetName

func (x *RuntimeObject) GetName() string

func (*RuntimeObject) GetNamespace

func (x *RuntimeObject) GetNamespace() string

func (*RuntimeObject) GetUrl

func (x *RuntimeObject) GetUrl() string

func (*RuntimeObject) ProtoMessage

func (*RuntimeObject) ProtoMessage()

func (*RuntimeObject) ProtoReflect

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

func (*RuntimeObject) Reset

func (x *RuntimeObject) Reset()

func (*RuntimeObject) String

func (x *RuntimeObject) String() string

func (*RuntimeObject) Validate

func (m *RuntimeObject) Validate() error

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

func (m *RuntimeObject) ValidateAll() error

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

type RuntimeObjectMultiError

type RuntimeObjectMultiError []error

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

func (RuntimeObjectMultiError) AllErrors

func (m RuntimeObjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RuntimeObjectMultiError) Error

func (m RuntimeObjectMultiError) Error() string

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

type RuntimeObjectValidationError

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

RuntimeObjectValidationError is the validation error returned by RuntimeObject.Validate if the designated constraints aren't met.

func (RuntimeObjectValidationError) Cause

Cause function returns cause value.

func (RuntimeObjectValidationError) Error

Error satisfies the builtin error interface

func (RuntimeObjectValidationError) ErrorName

func (e RuntimeObjectValidationError) ErrorName() string

ErrorName returns error name.

func (RuntimeObjectValidationError) Field

Field function returns field value.

func (RuntimeObjectValidationError) Key

Key function returns key value.

func (RuntimeObjectValidationError) Reason

Reason function returns reason value.

type RuntimeUpdateEvent

type RuntimeUpdateEvent struct {
	Action RuntimeUpdateEvent_RuntimeAction `protobuf:"varint,1,opt,name=action,proto3,enum=prodvana.events.RuntimeUpdateEvent_RuntimeAction" json:"action,omitempty"`
	Object *RuntimeObject                   `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	Status RuntimeUpdateEvent_RuntimeStatus `protobuf:"varint,3,opt,name=status,proto3,enum=prodvana.events.RuntimeUpdateEvent_RuntimeStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*RuntimeUpdateEvent) Descriptor deprecated

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

Deprecated: Use RuntimeUpdateEvent.ProtoReflect.Descriptor instead.

func (*RuntimeUpdateEvent) GetAction

func (*RuntimeUpdateEvent) GetObject

func (x *RuntimeUpdateEvent) GetObject() *RuntimeObject

func (*RuntimeUpdateEvent) GetStatus

func (*RuntimeUpdateEvent) ProtoMessage

func (*RuntimeUpdateEvent) ProtoMessage()

func (*RuntimeUpdateEvent) ProtoReflect

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

func (*RuntimeUpdateEvent) Reset

func (x *RuntimeUpdateEvent) Reset()

func (*RuntimeUpdateEvent) String

func (x *RuntimeUpdateEvent) String() string

func (*RuntimeUpdateEvent) Validate

func (m *RuntimeUpdateEvent) Validate() error

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

func (m *RuntimeUpdateEvent) ValidateAll() error

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

type RuntimeUpdateEventMultiError

type RuntimeUpdateEventMultiError []error

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

func (RuntimeUpdateEventMultiError) AllErrors

func (m RuntimeUpdateEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RuntimeUpdateEventMultiError) Error

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

type RuntimeUpdateEventValidationError

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

RuntimeUpdateEventValidationError is the validation error returned by RuntimeUpdateEvent.Validate if the designated constraints aren't met.

func (RuntimeUpdateEventValidationError) Cause

Cause function returns cause value.

func (RuntimeUpdateEventValidationError) Error

Error satisfies the builtin error interface

func (RuntimeUpdateEventValidationError) ErrorName

ErrorName returns error name.

func (RuntimeUpdateEventValidationError) Field

Field function returns field value.

func (RuntimeUpdateEventValidationError) Key

Key function returns key value.

func (RuntimeUpdateEventValidationError) Reason

Reason function returns reason value.

type RuntimeUpdateEvent_RuntimeAction

type RuntimeUpdateEvent_RuntimeAction int32
const (
	RuntimeUpdateEvent_UNKNOWN          RuntimeUpdateEvent_RuntimeAction = 0
	RuntimeUpdateEvent_CREATE_OR_UPDATE RuntimeUpdateEvent_RuntimeAction = 1
	RuntimeUpdateEvent_WAIT_HEALTHY     RuntimeUpdateEvent_RuntimeAction = 2
)

func (RuntimeUpdateEvent_RuntimeAction) Descriptor

func (RuntimeUpdateEvent_RuntimeAction) Enum

func (RuntimeUpdateEvent_RuntimeAction) EnumDescriptor deprecated

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

Deprecated: Use RuntimeUpdateEvent_RuntimeAction.Descriptor instead.

func (RuntimeUpdateEvent_RuntimeAction) Number

func (RuntimeUpdateEvent_RuntimeAction) String

func (RuntimeUpdateEvent_RuntimeAction) Type

type RuntimeUpdateEvent_RuntimeStatus

type RuntimeUpdateEvent_RuntimeStatus int32
const (
	RuntimeUpdateEvent_RUNTIME_STATUS_UNKNOWN RuntimeUpdateEvent_RuntimeStatus = 0
	RuntimeUpdateEvent_PENDING                RuntimeUpdateEvent_RuntimeStatus = 1
	RuntimeUpdateEvent_SUCCESS                RuntimeUpdateEvent_RuntimeStatus = 2
	RuntimeUpdateEvent_FAILURE                RuntimeUpdateEvent_RuntimeStatus = 3
)

func (RuntimeUpdateEvent_RuntimeStatus) Descriptor

func (RuntimeUpdateEvent_RuntimeStatus) Enum

func (RuntimeUpdateEvent_RuntimeStatus) EnumDescriptor deprecated

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

Deprecated: Use RuntimeUpdateEvent_RuntimeStatus.Descriptor instead.

func (RuntimeUpdateEvent_RuntimeStatus) Number

func (RuntimeUpdateEvent_RuntimeStatus) String

func (RuntimeUpdateEvent_RuntimeStatus) Type

type ServiceHandle added in v0.2.3

type ServiceHandle struct {
	Application    *ApplicationHandle    `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
	ReleaseChannel *ReleaseChannelHandle `protobuf:"bytes,2,opt,name=release_channel,json=releaseChannel,proto3" json:"release_channel,omitempty"`
	Name           string                `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Id             string                `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceHandle) Descriptor deprecated added in v0.2.3

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

Deprecated: Use ServiceHandle.ProtoReflect.Descriptor instead.

func (*ServiceHandle) GetApplication added in v0.2.3

func (x *ServiceHandle) GetApplication() *ApplicationHandle

func (*ServiceHandle) GetId added in v0.2.3

func (x *ServiceHandle) GetId() string

func (*ServiceHandle) GetName added in v0.2.3

func (x *ServiceHandle) GetName() string

func (*ServiceHandle) GetReleaseChannel added in v0.2.3

func (x *ServiceHandle) GetReleaseChannel() *ReleaseChannelHandle

func (*ServiceHandle) ProtoMessage added in v0.2.3

func (*ServiceHandle) ProtoMessage()

func (*ServiceHandle) ProtoReflect added in v0.2.3

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

func (*ServiceHandle) Reset added in v0.2.3

func (x *ServiceHandle) Reset()

func (*ServiceHandle) String added in v0.2.3

func (x *ServiceHandle) String() string

func (*ServiceHandle) Validate added in v0.2.3

func (m *ServiceHandle) Validate() error

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

func (m *ServiceHandle) ValidateAll() error

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

type ServiceHandleMultiError added in v0.2.3

type ServiceHandleMultiError []error

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

func (ServiceHandleMultiError) AllErrors added in v0.2.3

func (m ServiceHandleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceHandleMultiError) Error added in v0.2.3

func (m ServiceHandleMultiError) Error() string

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

type ServiceHandleValidationError added in v0.2.3

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

ServiceHandleValidationError is the validation error returned by ServiceHandle.Validate if the designated constraints aren't met.

func (ServiceHandleValidationError) Cause added in v0.2.3

Cause function returns cause value.

func (ServiceHandleValidationError) Error added in v0.2.3

Error satisfies the builtin error interface

func (ServiceHandleValidationError) ErrorName added in v0.2.3

func (e ServiceHandleValidationError) ErrorName() string

ErrorName returns error name.

func (ServiceHandleValidationError) Field added in v0.2.3

Field function returns field value.

func (ServiceHandleValidationError) Key added in v0.2.3

Key function returns key value.

func (ServiceHandleValidationError) Reason added in v0.2.3

Reason function returns reason value.

type ServiceLookup

type ServiceLookup 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 (*ServiceLookup) Descriptor deprecated

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

Deprecated: Use ServiceLookup.ProtoReflect.Descriptor instead.

func (*ServiceLookup) GetApplication

func (x *ServiceLookup) GetApplication() string

func (*ServiceLookup) GetService

func (x *ServiceLookup) GetService() string

func (*ServiceLookup) ProtoMessage

func (*ServiceLookup) ProtoMessage()

func (*ServiceLookup) ProtoReflect

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

func (*ServiceLookup) Reset

func (x *ServiceLookup) Reset()

func (*ServiceLookup) String

func (x *ServiceLookup) String() string

func (*ServiceLookup) Validate

func (m *ServiceLookup) Validate() error

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

func (m *ServiceLookup) ValidateAll() error

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

type ServiceLookupMultiError

type ServiceLookupMultiError []error

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

func (ServiceLookupMultiError) AllErrors

func (m ServiceLookupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceLookupMultiError) Error

func (m ServiceLookupMultiError) Error() string

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

type ServiceLookupValidationError

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

ServiceLookupValidationError is the validation error returned by ServiceLookup.Validate if the designated constraints aren't met.

func (ServiceLookupValidationError) Cause

Cause function returns cause value.

func (ServiceLookupValidationError) Error

Error satisfies the builtin error interface

func (ServiceLookupValidationError) ErrorName

func (e ServiceLookupValidationError) ErrorName() string

ErrorName returns error name.

func (ServiceLookupValidationError) Field

Field function returns field value.

func (ServiceLookupValidationError) Key

Key function returns key value.

func (ServiceLookupValidationError) Reason

Reason function returns reason value.

type SetDesiredStateEvent

type SetDesiredStateEvent struct {
	Id                 *model.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DesiredStateId     string            `protobuf:"bytes,3,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"`
	RootDesiredStateId string            `protobuf:"bytes,4,opt,name=root_desired_state_id,json=rootDesiredStateId,proto3" json:"root_desired_state_id,omitempty"`
	Desired            *model.State      `protobuf:"bytes,2,opt,name=desired,proto3" json:"desired,omitempty"`
	IsRollback         bool              `protobuf:"varint,5,opt,name=is_rollback,json=isRollback,proto3" json:"is_rollback,omitempty"`
	// contains filtered or unexported fields
}

func (*SetDesiredStateEvent) Descriptor deprecated

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

Deprecated: Use SetDesiredStateEvent.ProtoReflect.Descriptor instead.

func (*SetDesiredStateEvent) GetDesired

func (x *SetDesiredStateEvent) GetDesired() *model.State

func (*SetDesiredStateEvent) GetDesiredStateId

func (x *SetDesiredStateEvent) GetDesiredStateId() string

func (*SetDesiredStateEvent) GetId

func (*SetDesiredStateEvent) GetIsRollback

func (x *SetDesiredStateEvent) GetIsRollback() bool

func (*SetDesiredStateEvent) GetRootDesiredStateId

func (x *SetDesiredStateEvent) GetRootDesiredStateId() string

func (*SetDesiredStateEvent) ProtoMessage

func (*SetDesiredStateEvent) ProtoMessage()

func (*SetDesiredStateEvent) ProtoReflect

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

func (*SetDesiredStateEvent) Reset

func (x *SetDesiredStateEvent) Reset()

func (*SetDesiredStateEvent) String

func (x *SetDesiredStateEvent) String() string

func (*SetDesiredStateEvent) Validate

func (m *SetDesiredStateEvent) Validate() error

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

func (m *SetDesiredStateEvent) ValidateAll() error

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

type SetDesiredStateEventMultiError

type SetDesiredStateEventMultiError []error

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

func (SetDesiredStateEventMultiError) AllErrors

func (m SetDesiredStateEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetDesiredStateEventMultiError) Error

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

type SetDesiredStateEventValidationError

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

SetDesiredStateEventValidationError is the validation error returned by SetDesiredStateEvent.Validate if the designated constraints aren't met.

func (SetDesiredStateEventValidationError) Cause

Cause function returns cause value.

func (SetDesiredStateEventValidationError) Error

Error satisfies the builtin error interface

func (SetDesiredStateEventValidationError) ErrorName

ErrorName returns error name.

func (SetDesiredStateEventValidationError) Field

Field function returns field value.

func (SetDesiredStateEventValidationError) Key

Key function returns key value.

func (SetDesiredStateEventValidationError) Reason

Reason function returns reason value.

type SetTargetStateEvent

type SetTargetStateEvent struct {
	Id                 *model.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DesiredStateId     string            `protobuf:"bytes,8,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"`
	RootDesiredStateId string            `protobuf:"bytes,9,opt,name=root_desired_state_id,json=rootDesiredStateId,proto3" json:"root_desired_state_id,omitempty"`
	// state that prodvana runtime will immediately converge towards
	Target *model.State `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// final desired state that this entity should eventually get to
	Desired *model.State `protobuf:"bytes,3,opt,name=desired,proto3" json:"desired,omitempty"`
	// current state for this entity before setting target state
	Current *model.State `protobuf:"bytes,4,opt,name=current,proto3" json:"current,omitempty"`
	// whether this is part of an automated rollback action
	IsAutoRollback bool `protobuf:"varint,5,opt,name=is_auto_rollback,json=isAutoRollback,proto3" json:"is_auto_rollback,omitempty"`
	// status and explanations at the time of SetTargetState
	Status             model.Status               `protobuf:"varint,6,opt,name=status,proto3,enum=prodvana.desired_state.model.Status" json:"status,omitempty"`
	StatusExplanations []*model.StatusExplanation `protobuf:"bytes,7,rep,name=status_explanations,json=statusExplanations,proto3" json:"status_explanations,omitempty"`
	// contains filtered or unexported fields
}

func (*SetTargetStateEvent) Descriptor deprecated

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

Deprecated: Use SetTargetStateEvent.ProtoReflect.Descriptor instead.

func (*SetTargetStateEvent) GetCurrent

func (x *SetTargetStateEvent) GetCurrent() *model.State

func (*SetTargetStateEvent) GetDesired

func (x *SetTargetStateEvent) GetDesired() *model.State

func (*SetTargetStateEvent) GetDesiredStateId

func (x *SetTargetStateEvent) GetDesiredStateId() string

func (*SetTargetStateEvent) GetId

func (x *SetTargetStateEvent) GetId() *model.Identifier

func (*SetTargetStateEvent) GetIsAutoRollback

func (x *SetTargetStateEvent) GetIsAutoRollback() bool

func (*SetTargetStateEvent) GetRootDesiredStateId

func (x *SetTargetStateEvent) GetRootDesiredStateId() string

func (*SetTargetStateEvent) GetStatus

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

func (*SetTargetStateEvent) GetStatusExplanations

func (x *SetTargetStateEvent) GetStatusExplanations() []*model.StatusExplanation

func (*SetTargetStateEvent) GetTarget

func (x *SetTargetStateEvent) GetTarget() *model.State

func (*SetTargetStateEvent) ProtoMessage

func (*SetTargetStateEvent) ProtoMessage()

func (*SetTargetStateEvent) ProtoReflect

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

func (*SetTargetStateEvent) Reset

func (x *SetTargetStateEvent) Reset()

func (*SetTargetStateEvent) String

func (x *SetTargetStateEvent) String() string

func (*SetTargetStateEvent) Validate

func (m *SetTargetStateEvent) Validate() error

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

func (m *SetTargetStateEvent) ValidateAll() error

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

type SetTargetStateEventMultiError

type SetTargetStateEventMultiError []error

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

func (SetTargetStateEventMultiError) AllErrors

func (m SetTargetStateEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetTargetStateEventMultiError) Error

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

type SetTargetStateEventValidationError

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

SetTargetStateEventValidationError is the validation error returned by SetTargetStateEvent.Validate if the designated constraints aren't met.

func (SetTargetStateEventValidationError) Cause

Cause function returns cause value.

func (SetTargetStateEventValidationError) Error

Error satisfies the builtin error interface

func (SetTargetStateEventValidationError) ErrorName

ErrorName returns error name.

func (SetTargetStateEventValidationError) Field

Field function returns field value.

func (SetTargetStateEventValidationError) Key

Key function returns key value.

func (SetTargetStateEventValidationError) Reason

Reason function returns reason value.

type UnimplementedEventsManagerServer

type UnimplementedEventsManagerServer struct {
}

UnimplementedEventsManagerServer must be embedded to have forward compatible implementations.

func (UnimplementedEventsManagerServer) GetEvents

type UnsafeEventsManagerServer

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

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

Jump to

Keyboard shortcuts

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