Documentation ¶
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAlreadyExisted() bool
- func (x *Event) GetCategory() string
- func (x *Event) GetImplMetadata() []byte
- func (x *Event) GetReady() Event_ReadyTriState
- func (x *Event) GetResourceId() string
- func (x *Event) GetRuntimeSpecificHelp() string
- func (x *Event) GetScope() string
- func (x *Event) GetWaitDetails() string
- func (x *Event) GetWaitStatus() []*Event_WaitStatus
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_ReadyTriState
- func (Event_ReadyTriState) Descriptor() protoreflect.EnumDescriptor
- func (x Event_ReadyTriState) Enum() *Event_ReadyTriState
- func (Event_ReadyTriState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Event_ReadyTriState) Number() protoreflect.EnumNumber
- func (x Event_ReadyTriState) String() string
- func (Event_ReadyTriState) Type() protoreflect.EnumType
- type Event_WaitStatus
- func (*Event_WaitStatus) Descriptor() ([]byte, []int)deprecated
- func (x *Event_WaitStatus) GetDescription() string
- func (x *Event_WaitStatus) GetOpaque() *anypb.Any
- func (*Event_WaitStatus) ProtoMessage()
- func (x *Event_WaitStatus) ProtoReflect() protoreflect.Message
- func (x *Event_WaitStatus) Reset()
- func (x *Event_WaitStatus) String() string
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) GetAlreadyExisted ¶
func (*Event) GetCategory ¶
func (*Event) GetImplMetadata ¶
func (*Event) GetReady ¶
func (x *Event) GetReady() Event_ReadyTriState
func (*Event) GetResourceId ¶
func (*Event) GetRuntimeSpecificHelp ¶
func (*Event) GetWaitDetails ¶
func (*Event) GetWaitStatus ¶
func (x *Event) GetWaitStatus() []*Event_WaitStatus
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (Event_ReadyTriState) Enum ¶
func (x Event_ReadyTriState) Enum() *Event_ReadyTriState
func (Event_ReadyTriState) EnumDescriptor
deprecated
func (Event_ReadyTriState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Event_ReadyTriState.Descriptor instead.
func (Event_ReadyTriState) Number ¶
func (x Event_ReadyTriState) Number() protoreflect.EnumNumber
func (Event_ReadyTriState) String ¶
func (x Event_ReadyTriState) String() string
func (Event_ReadyTriState) Type ¶
func (Event_ReadyTriState) Type() protoreflect.EnumType
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
Click to show internal directories.
Click to hide internal directories.