orchestration

package
v0.0.81 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Event_ReadyTriState_name = map[int32]string{
		0: "UNKNOWN",
		1: "NOT_READY",
		2: "READY",
	}
	Event_ReadyTriState_value = map[string]int32{
		"UNKNOWN":   0,
		"NOT_READY": 1,
		"READY":     2,
	}
)

Enum value maps for Event_ReadyTriState.

View Source
var File_schema_orchestration_event_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Event

type Event struct {

	// Opaque value that uniquely identifies the resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// A human-readable label that describes the resource.
	Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	Scope    string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
	// READY after the resource is ready.
	Ready          Event_ReadyTriState `protobuf:"varint,5,opt,name=ready,proto3,enum=foundation.schema.orchestration.Event_ReadyTriState" json:"ready,omitempty"`
	AlreadyExisted bool                `protobuf:"varint,6,opt,name=already_existed,json=alreadyExisted,proto3" json:"already_existed,omitempty"`
	// JSON-serialized implementation-specific metadata.
	ImplMetadata []byte              `protobuf:"bytes,7,opt,name=impl_metadata,json=implMetadata,proto3" json:"impl_metadata,omitempty"`
	WaitStatus   []*Event_WaitStatus `protobuf:"bytes,8,rep,name=wait_status,json=waitStatus,proto3" json:"wait_status,omitempty"`
	WaitDetails  string              `protobuf:"bytes,9,opt,name=wait_details,json=waitDetails,proto3" json:"wait_details,omitempty"`
	// Something like `kubectl -n foobar describe pod quux`
	// XXX move to a runtime/ specific type.
	RuntimeSpecificHelp string `protobuf:"bytes,10,opt,name=runtime_specific_help,json=runtimeSpecificHelp,proto3" json:"runtime_specific_help,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetAlreadyExisted

func (x *Event) GetAlreadyExisted() bool

func (*Event) GetCategory

func (x *Event) GetCategory() string

func (*Event) GetImplMetadata

func (x *Event) GetImplMetadata() []byte

func (*Event) GetReady

func (x *Event) GetReady() Event_ReadyTriState

func (*Event) GetResourceId

func (x *Event) GetResourceId() string

func (*Event) GetRuntimeSpecificHelp

func (x *Event) GetRuntimeSpecificHelp() string

func (*Event) GetScope

func (x *Event) GetScope() string

func (*Event) GetWaitDetails

func (x *Event) GetWaitDetails() string

func (*Event) GetWaitStatus

func (x *Event) GetWaitStatus() []*Event_WaitStatus

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

type Event_ReadyTriState

type Event_ReadyTriState int32
const (
	Event_UNKNOWN   Event_ReadyTriState = 0
	Event_NOT_READY Event_ReadyTriState = 1
	Event_READY     Event_ReadyTriState = 2
)

func (Event_ReadyTriState) Descriptor

func (Event_ReadyTriState) Enum

func (Event_ReadyTriState) EnumDescriptor deprecated

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

Deprecated: Use Event_ReadyTriState.Descriptor instead.

func (Event_ReadyTriState) Number

func (Event_ReadyTriState) String

func (x Event_ReadyTriState) String() string

func (Event_ReadyTriState) Type

type Event_WaitStatus

type Event_WaitStatus struct {
	Description string     `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	Opaque      *anypb.Any `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// contains filtered or unexported fields
}

func (*Event_WaitStatus) Descriptor deprecated

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

Deprecated: Use Event_WaitStatus.ProtoReflect.Descriptor instead.

func (*Event_WaitStatus) GetDescription

func (x *Event_WaitStatus) GetDescription() string

func (*Event_WaitStatus) GetOpaque

func (x *Event_WaitStatus) GetOpaque() *anypb.Any

func (*Event_WaitStatus) ProtoMessage

func (*Event_WaitStatus) ProtoMessage()

func (*Event_WaitStatus) ProtoReflect

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

func (*Event_WaitStatus) Reset

func (x *Event_WaitStatus) Reset()

func (*Event_WaitStatus) String

func (x *Event_WaitStatus) String() string

Jump to

Keyboard shortcuts

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