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) GetResourceLabel() string
- func (x *Event) GetRuntimeSpecificHelp() string
- func (x *Event) GetStage() Event_Stage
- func (x *Event) GetTimestamp() *timestamppb.Timestamp
- 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_Stage
- func (Event_Stage) Descriptor() protoreflect.EnumDescriptor
- func (x Event_Stage) Enum() *Event_Stage
- func (Event_Stage) EnumDescriptor() ([]byte, []int)deprecated
- func (x Event_Stage) Number() protoreflect.EnumNumber
- func (x Event_Stage) String() string
- func (Event_Stage) 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_READY_TRI_STATE",
1: "NOT_READY",
2: "READY",
}
Event_ReadyTriState_value = map[string]int32{
"UNKNOWN_READY_TRI_STATE": 0,
"NOT_READY": 1,
"READY": 2,
}
)
Enum value maps for Event_ReadyTriState.
View Source
var (
Event_Stage_name = map[int32]string{
0: "UNKNOWN_STAGE",
1: "PLANNED",
2: "COMMITTED",
3: "WAITING",
5: "RUNNING",
4: "DONE",
}
Event_Stage_value = map[string]int32{
"UNKNOWN_STAGE": 0,
"PLANNED": 1,
"COMMITTED": 2,
"WAITING": 3,
"RUNNING": 5,
"DONE": 4,
}
)
Enum value maps for Event_Stage.
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"`
// If set, the actual original timestamp of the event. If unset, assume now.
Timestamp *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// A human-readable label that describes the resource.
Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
// A human-readable description of the resource that is being modified. Only needs to
// be set on the first event observed.
ResourceLabel string `protobuf:"bytes,13,opt,name=resource_label,json=resourceLabel,proto3" json:"resource_label,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"`
Stage Event_Stage `protobuf:"varint,11,opt,name=stage,proto3,enum=foundation.schema.orchestration.Event_Stage" json:"stage,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
}
Next ID: 14
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) GetResourceId ¶
func (x *Event) GetResourceId() string
func (*Event) GetResourceLabel ¶ added in v0.0.112
func (x *Event) GetResourceLabel() string
func (*Event) GetRuntimeSpecificHelp ¶
func (x *Event) GetRuntimeSpecificHelp() string
func (*Event) GetTimestamp ¶ added in v0.0.84
func (x *Event) GetTimestamp() *timestamppb.Timestamp
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
type Event_ReadyTriState ¶
type Event_ReadyTriState int32
const (
Event_UNKNOWN_READY_TRI_STATE 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) EnumDescriptor
deprecated
func (Event_ReadyTriState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Event_ReadyTriState.Descriptor instead.
type Event_Stage ¶ added in v0.0.84
type Event_Stage int32
const (
Event_UNKNOWN_STAGE Event_Stage = 0
Event_PLANNED Event_Stage = 1
Event_COMMITTED Event_Stage = 2
Event_WAITING Event_Stage = 3
Event_RUNNING Event_Stage = 5
Event_DONE Event_Stage = 4
)
func (Event_Stage) Descriptor ¶ added in v0.0.84
func (Event_Stage) Descriptor() protoreflect.EnumDescriptor
func (Event_Stage) EnumDescriptor
deprecated
added in
v0.0.84
func (Event_Stage) EnumDescriptor() ([]byte, []int)
Deprecated: Use Event_Stage.Descriptor instead.
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) ProtoMessage ¶
func (*Event_WaitStatus) ProtoMessage()
func (*Event_WaitStatus) ProtoReflect ¶
func (x *Event_WaitStatus) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.