Documentation
¶
Index ¶
- Variables
- type DeviceSnapshotRef
- func (*DeviceSnapshotRef) Descriptor() ([]byte, []int)
- func (m *DeviceSnapshotRef) GetDeviceSnapshotID() github_com_onosproject_onos_config_api_types_snapshot_device.ID
- func (m *DeviceSnapshotRef) Marshal() (dAtA []byte, err error)
- func (m *DeviceSnapshotRef) MarshalTo(dAtA []byte) (int, error)
- func (m *DeviceSnapshotRef) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeviceSnapshotRef) ProtoMessage()
- func (m *DeviceSnapshotRef) Reset()
- func (m *DeviceSnapshotRef) Size() (n int)
- func (m *DeviceSnapshotRef) String() string
- func (m *DeviceSnapshotRef) Unmarshal(dAtA []byte) error
- func (m *DeviceSnapshotRef) XXX_DiscardUnknown()
- func (m *DeviceSnapshotRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeviceSnapshotRef) XXX_Merge(src proto.Message)
- func (m *DeviceSnapshotRef) XXX_Size() int
- func (m *DeviceSnapshotRef) XXX_Unmarshal(b []byte) error
- type ID
- type Index
- type NetworkSnapshot
- func (*NetworkSnapshot) Descriptor() ([]byte, []int)
- func (m *NetworkSnapshot) GetCreated() time.Time
- func (m *NetworkSnapshot) GetID() ID
- func (m *NetworkSnapshot) GetIndex() Index
- func (m *NetworkSnapshot) GetRefs() []*DeviceSnapshotRef
- func (m *NetworkSnapshot) GetRetention() snapshot.RetentionOptions
- func (m *NetworkSnapshot) GetRevision() Revision
- func (m *NetworkSnapshot) GetStatus() snapshot.Status
- func (m *NetworkSnapshot) GetUpdated() time.Time
- func (m *NetworkSnapshot) Marshal() (dAtA []byte, err error)
- func (m *NetworkSnapshot) MarshalTo(dAtA []byte) (int, error)
- func (m *NetworkSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NetworkSnapshot) ProtoMessage()
- func (m *NetworkSnapshot) Reset()
- func (m *NetworkSnapshot) Size() (n int)
- func (m *NetworkSnapshot) String() string
- func (m *NetworkSnapshot) Unmarshal(dAtA []byte) error
- func (m *NetworkSnapshot) XXX_DiscardUnknown()
- func (m *NetworkSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkSnapshot) XXX_Merge(src proto.Message)
- func (m *NetworkSnapshot) XXX_Size() int
- func (m *NetworkSnapshot) XXX_Unmarshal(b []byte) error
- type Revision
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DeviceSnapshotRef ¶
type DeviceSnapshotRef struct {
// 'device_snapshot_id' is the unique identifier of the device snapshot
DeviceSnapshotID github_com_onosproject_onos_config_api_types_snapshot_device.ID `` /* 184-byte string literal not displayed */
}
DeviceSnapshotRef is a reference to a device snapshot
func (*DeviceSnapshotRef) Descriptor ¶
func (*DeviceSnapshotRef) Descriptor() ([]byte, []int)
func (*DeviceSnapshotRef) GetDeviceSnapshotID ¶
func (m *DeviceSnapshotRef) GetDeviceSnapshotID() github_com_onosproject_onos_config_api_types_snapshot_device.ID
func (*DeviceSnapshotRef) Marshal ¶
func (m *DeviceSnapshotRef) Marshal() (dAtA []byte, err error)
func (*DeviceSnapshotRef) MarshalTo ¶
func (m *DeviceSnapshotRef) MarshalTo(dAtA []byte) (int, error)
func (*DeviceSnapshotRef) MarshalToSizedBuffer ¶
func (m *DeviceSnapshotRef) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeviceSnapshotRef) ProtoMessage ¶
func (*DeviceSnapshotRef) ProtoMessage()
func (*DeviceSnapshotRef) Reset ¶
func (m *DeviceSnapshotRef) Reset()
func (*DeviceSnapshotRef) Size ¶
func (m *DeviceSnapshotRef) Size() (n int)
func (*DeviceSnapshotRef) String ¶
func (m *DeviceSnapshotRef) String() string
func (*DeviceSnapshotRef) Unmarshal ¶
func (m *DeviceSnapshotRef) Unmarshal(dAtA []byte) error
func (*DeviceSnapshotRef) XXX_DiscardUnknown ¶
func (m *DeviceSnapshotRef) XXX_DiscardUnknown()
func (*DeviceSnapshotRef) XXX_Marshal ¶
func (m *DeviceSnapshotRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeviceSnapshotRef) XXX_Merge ¶
func (m *DeviceSnapshotRef) XXX_Merge(src proto.Message)
func (*DeviceSnapshotRef) XXX_Size ¶
func (m *DeviceSnapshotRef) XXX_Size() int
func (*DeviceSnapshotRef) XXX_Unmarshal ¶
func (m *DeviceSnapshotRef) XXX_Unmarshal(b []byte) error
type Index ¶
type Index uint64
Index is the index of a network snapshot
func (Index) GetSnapshotID ¶
GetSnapshotID returns the network snapshot ID for the index
type NetworkSnapshot ¶
type NetworkSnapshot struct {
// 'id' is the unique snapshot identifier
ID ID `protobuf:"bytes,1,opt,name=id,proto3,casttype=ID" json:"id,omitempty"`
// 'index' is a monotonically increasing, globally unique snapshot index
Index Index `protobuf:"varint,2,opt,name=index,proto3,casttype=Index" json:"index,omitempty"`
// 'revision' is the request revision number
Revision Revision `protobuf:"varint,3,opt,name=revision,proto3,casttype=Revision" json:"revision,omitempty"`
// 'status' is the snapshot status
Status snapshot.Status `protobuf:"bytes,4,opt,name=status,proto3" json:"status"`
// 'retention' specifies the duration for which to retain changes
Retention snapshot.RetentionOptions `protobuf:"bytes,6,opt,name=retention,proto3" json:"retention"`
// 'created' is the time at which the configuration was created
Created time.Time `protobuf:"bytes,8,opt,name=created,proto3,stdtime" json:"created"`
// 'updated' is the time at which the configuration was last updated
Updated time.Time `protobuf:"bytes,9,opt,name=updated,proto3,stdtime" json:"updated"`
// 'refs' is a set of references to stored device snapshots
Refs []*DeviceSnapshotRef `protobuf:"bytes,10,rep,name=refs,proto3" json:"refs,omitempty"`
}
NetworkSnapshot is a snapshot of all network changes
func (*NetworkSnapshot) Descriptor ¶
func (*NetworkSnapshot) Descriptor() ([]byte, []int)
func (*NetworkSnapshot) GetCreated ¶
func (m *NetworkSnapshot) GetCreated() time.Time
func (*NetworkSnapshot) GetID ¶
func (m *NetworkSnapshot) GetID() ID
func (*NetworkSnapshot) GetIndex ¶
func (m *NetworkSnapshot) GetIndex() Index
func (*NetworkSnapshot) GetRefs ¶
func (m *NetworkSnapshot) GetRefs() []*DeviceSnapshotRef
func (*NetworkSnapshot) GetRetention ¶
func (m *NetworkSnapshot) GetRetention() snapshot.RetentionOptions
func (*NetworkSnapshot) GetRevision ¶
func (m *NetworkSnapshot) GetRevision() Revision
func (*NetworkSnapshot) GetStatus ¶
func (m *NetworkSnapshot) GetStatus() snapshot.Status
func (*NetworkSnapshot) GetUpdated ¶
func (m *NetworkSnapshot) GetUpdated() time.Time
func (*NetworkSnapshot) Marshal ¶
func (m *NetworkSnapshot) Marshal() (dAtA []byte, err error)
func (*NetworkSnapshot) MarshalToSizedBuffer ¶
func (m *NetworkSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NetworkSnapshot) ProtoMessage ¶
func (*NetworkSnapshot) ProtoMessage()
func (*NetworkSnapshot) Reset ¶
func (m *NetworkSnapshot) Reset()
func (*NetworkSnapshot) Size ¶
func (m *NetworkSnapshot) Size() (n int)
func (*NetworkSnapshot) String ¶
func (m *NetworkSnapshot) String() string
func (*NetworkSnapshot) Unmarshal ¶
func (m *NetworkSnapshot) Unmarshal(dAtA []byte) error
func (*NetworkSnapshot) XXX_DiscardUnknown ¶
func (m *NetworkSnapshot) XXX_DiscardUnknown()
func (*NetworkSnapshot) XXX_Marshal ¶
func (m *NetworkSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkSnapshot) XXX_Merge ¶
func (m *NetworkSnapshot) XXX_Merge(src proto.Message)
func (*NetworkSnapshot) XXX_Size ¶
func (m *NetworkSnapshot) XXX_Size() int
func (*NetworkSnapshot) XXX_Unmarshal ¶
func (m *NetworkSnapshot) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.