Documentation ¶
Index ¶
- Variables
- type Phase
- type Reason
- type State
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m *Status) GetIncarnation() uint64
- func (m *Status) GetMessage() string
- func (m *Status) GetPhase() Phase
- func (m *Status) GetReason() Reason
- func (m *Status) GetState() State
- func (m *Status) Marshal() (dAtA []byte, err error)
- func (m *Status) MarshalTo(dAtA []byte) (int, error)
- func (m *Status) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) Size() (n int)
- func (m *Status) String() string
- func (m *Status) Unmarshal(dAtA []byte) error
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
View Source
var Phase_name = map[int32]string{
0: "CHANGE",
1: "ROLLBACK",
}
View Source
var Phase_value = map[string]int32{
"CHANGE": 0,
"ROLLBACK": 1,
}
View Source
var Reason_name = map[int32]string{
0: "NONE",
1: "ERROR",
}
View Source
var Reason_value = map[string]int32{
"NONE": 0,
"ERROR": 1,
}
View Source
var State_name = map[int32]string{
0: "PENDING",
2: "COMPLETE",
3: "FAILED",
}
View Source
var State_value = map[string]int32{
"PENDING": 0,
"COMPLETE": 2,
"FAILED": 3,
}
Functions ¶
This section is empty.
Types ¶
type Reason ¶
type Reason int32
Reason is a reason for a FAILED state
func (Reason) EnumDescriptor ¶
type Status ¶
type Status struct { // 'phase' is the current phase of the NetworkChange Phase Phase `protobuf:"varint,1,opt,name=phase,proto3,enum=onos.config.change.Phase" json:"phase,omitempty"` // 'state' is the state of the change within a Phase State State `protobuf:"varint,2,opt,name=state,proto3,enum=onos.config.change.State" json:"state,omitempty"` // 'reason' is a failure reason Reason Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=onos.config.change.Reason" json:"reason,omitempty"` // message is a result message Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // incarnation is the status incarnation number Incarnation uint64 `protobuf:"varint,5,opt,name=incarnation,proto3" json:"incarnation,omitempty"` }
Status is the status of a NetworkChange
func (*Status) Descriptor ¶
func (*Status) GetIncarnation ¶
func (*Status) GetMessage ¶
func (*Status) MarshalToSizedBuffer ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) XXX_DiscardUnknown ¶
func (m *Status) XXX_DiscardUnknown()
func (*Status) XXX_Marshal ¶
func (*Status) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.