Documentation ¶
Index ¶
- Variables
- type NoCloudState
- func (NoCloudState) Descriptor() protoreflect.EnumDescriptor
- func (x NoCloudState) Enum() *NoCloudState
- func (NoCloudState) EnumDescriptor() ([]byte, []int)deprecated
- func (x NoCloudState) Number() protoreflect.EnumNumber
- func (x NoCloudState) String() string
- func (NoCloudState) Type() protoreflect.EnumType
- type ObjectState
- type State
- func (*State) Descriptor() ([]byte, []int)deprecated
- func (x *State) GetMeta() map[string]*structpb.Value
- func (x *State) GetState() NoCloudState
- func (x *State) GetTs() int64
- func (*State) ProtoMessage()
- func (x *State) ProtoReflect() protoreflect.Message
- func (x *State) Reset()
- func (x *State) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NoCloudState_name = map[int32]string{ 0: "INIT", 1: "UNKNOWN", 2: "STOPPED", 3: "RUNNING", 4: "FAILURE", 5: "DELETED", 6: "SUSPENDED", 7: "OPERATION", } NoCloudState_value = map[string]int32{ "INIT": 0, "UNKNOWN": 1, "STOPPED": 2, "RUNNING": 3, "FAILURE": 4, "DELETED": 5, "SUSPENDED": 6, "OPERATION": 7, } )
Enum value maps for NoCloudState.
View Source
var File_pkg_states_proto_states_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type NoCloudState ¶
type NoCloudState int32
const ( NoCloudState_INIT NoCloudState = 0 NoCloudState_UNKNOWN NoCloudState = 1 NoCloudState_STOPPED NoCloudState = 2 NoCloudState_RUNNING NoCloudState = 3 NoCloudState_FAILURE NoCloudState = 4 NoCloudState_DELETED NoCloudState = 5 NoCloudState_SUSPENDED NoCloudState = 6 NoCloudState_OPERATION NoCloudState = 7 )
func (NoCloudState) Descriptor ¶
func (NoCloudState) Descriptor() protoreflect.EnumDescriptor
func (NoCloudState) Enum ¶
func (x NoCloudState) Enum() *NoCloudState
func (NoCloudState) EnumDescriptor
deprecated
func (NoCloudState) EnumDescriptor() ([]byte, []int)
Deprecated: Use NoCloudState.Descriptor instead.
func (NoCloudState) Number ¶
func (x NoCloudState) Number() protoreflect.EnumNumber
func (NoCloudState) String ¶
func (x NoCloudState) String() string
func (NoCloudState) Type ¶
func (NoCloudState) Type() protoreflect.EnumType
type ObjectState ¶
type ObjectState struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` State *State `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*ObjectState) Descriptor
deprecated
func (*ObjectState) Descriptor() ([]byte, []int)
Deprecated: Use ObjectState.ProtoReflect.Descriptor instead.
func (*ObjectState) GetState ¶
func (x *ObjectState) GetState() *State
func (*ObjectState) GetUuid ¶
func (x *ObjectState) GetUuid() string
func (*ObjectState) ProtoMessage ¶
func (*ObjectState) ProtoMessage()
func (*ObjectState) ProtoReflect ¶
func (x *ObjectState) ProtoReflect() protoreflect.Message
func (*ObjectState) Reset ¶
func (x *ObjectState) Reset()
func (*ObjectState) String ¶
func (x *ObjectState) String() string
type State ¶
type State struct { State NoCloudState `protobuf:"varint,1,opt,name=state,proto3,enum=nocloud.states.NoCloudState" json:"state,omitempty"` // NoCloud Instance State Meta map[string]*structpb.Value `` // Driver(Provider/Hypervisor) State data /* 149-byte string literal not displayed */ Ts *int64 `protobuf:"varint,3,opt,name=ts,proto3,oneof" json:"ts,omitempty"` // contains filtered or unexported fields }
func (*State) Descriptor
deprecated
func (*State) GetState ¶
func (x *State) GetState() NoCloudState
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) ProtoReflect ¶
func (x *State) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.