Versions in this module Expand all Collapse all v0 v0.6.6 Jul 3, 2020 Changes in this version + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var ValueType_name = map[int32]string + var ValueType_value = map[string]int32 + func IsPathValid(path string) error + type Change struct + DeviceID github_com_onosproject_onos_config_api_types_device.ID + DeviceType github_com_onosproject_onos_config_api_types_device.Type + DeviceVersion github_com_onosproject_onos_config_api_types_device.Version + Values []*ChangeValue + func (*Change) Descriptor() ([]byte, []int) + func (*Change) ProtoMessage() + func (c *Change) GetVersionedDeviceID() device.VersionedID + func (m *Change) GetDeviceID() github_com_onosproject_onos_config_api_types_device.ID + func (m *Change) GetDeviceType() github_com_onosproject_onos_config_api_types_device.Type + func (m *Change) GetDeviceVersion() github_com_onosproject_onos_config_api_types_device.Version + func (m *Change) GetValues() []*ChangeValue + func (m *Change) Marshal() (dAtA []byte, err error) + func (m *Change) MarshalTo(dAtA []byte) (int, error) + func (m *Change) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Change) Reset() + func (m *Change) Size() (n int) + func (m *Change) String() string + func (m *Change) Unmarshal(dAtA []byte) error + func (m *Change) XXX_DiscardUnknown() + func (m *Change) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Change) XXX_Merge(src proto.Message) + func (m *Change) XXX_Size() int + func (m *Change) XXX_Unmarshal(b []byte) error + type ChangeValue struct + Path string + Removed bool + Value *TypedValue + func NewChangeValue(path string, value *TypedValue, isRemove bool) (*ChangeValue, error) + func (*ChangeValue) Descriptor() ([]byte, []int) + func (*ChangeValue) ProtoMessage() + func (m *ChangeValue) GetPath() string + func (m *ChangeValue) GetRemoved() bool + func (m *ChangeValue) GetValue() *TypedValue + func (m *ChangeValue) Marshal() (dAtA []byte, err error) + func (m *ChangeValue) MarshalTo(dAtA []byte) (int, error) + func (m *ChangeValue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ChangeValue) Reset() + func (m *ChangeValue) Size() (n int) + func (m *ChangeValue) String() string + func (m *ChangeValue) Unmarshal(dAtA []byte) error + func (m *ChangeValue) XXX_DiscardUnknown() + func (m *ChangeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ChangeValue) XXX_Merge(src proto.Message) + func (m *ChangeValue) XXX_Size() int + func (m *ChangeValue) XXX_Unmarshal(b []byte) error + type DeviceChange struct + Change *Change + Created time.Time + ID ID + Index Index + NetworkChange NetworkChangeRef + Revision Revision + Status change.Status + Updated time.Time + func (*DeviceChange) Descriptor() ([]byte, []int) + func (*DeviceChange) ProtoMessage() + func (m *DeviceChange) GetChange() *Change + func (m *DeviceChange) GetCreated() time.Time + func (m *DeviceChange) GetID() ID + func (m *DeviceChange) GetIndex() Index + func (m *DeviceChange) GetNetworkChange() NetworkChangeRef + func (m *DeviceChange) GetRevision() Revision + func (m *DeviceChange) GetStatus() change.Status + func (m *DeviceChange) GetUpdated() time.Time + func (m *DeviceChange) Marshal() (dAtA []byte, err error) + func (m *DeviceChange) MarshalTo(dAtA []byte) (int, error) + func (m *DeviceChange) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DeviceChange) Reset() + func (m *DeviceChange) Size() (n int) + func (m *DeviceChange) String() string + func (m *DeviceChange) Unmarshal(dAtA []byte) error + func (m *DeviceChange) XXX_DiscardUnknown() + func (m *DeviceChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DeviceChange) XXX_Merge(src proto.Message) + func (m *DeviceChange) XXX_Size() int + func (m *DeviceChange) XXX_Unmarshal(b []byte) error + type ID types.ID + func NewID(netChangeID types.ID, deviceID device.ID, deviceVersion device.Version) ID + func (i ID) GetDeviceID() device.ID + func (i ID) GetDeviceVersion() device.Version + func (i ID) GetDeviceVersionedID() device.VersionedID + func (i ID) GetNetworkChangeID() types.ID + type Index uint64 + type NetworkChangeRef struct + ID github_com_onosproject_onos_config_api_types.ID + Index github_com_onosproject_onos_config_api_types.Index + func (*NetworkChangeRef) Descriptor() ([]byte, []int) + func (*NetworkChangeRef) ProtoMessage() + func (m *NetworkChangeRef) GetID() github_com_onosproject_onos_config_api_types.ID + func (m *NetworkChangeRef) GetIndex() github_com_onosproject_onos_config_api_types.Index + func (m *NetworkChangeRef) Marshal() (dAtA []byte, err error) + func (m *NetworkChangeRef) MarshalTo(dAtA []byte) (int, error) + func (m *NetworkChangeRef) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *NetworkChangeRef) Reset() + func (m *NetworkChangeRef) Size() (n int) + func (m *NetworkChangeRef) String() string + func (m *NetworkChangeRef) Unmarshal(dAtA []byte) error + func (m *NetworkChangeRef) XXX_DiscardUnknown() + func (m *NetworkChangeRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *NetworkChangeRef) XXX_Merge(src proto.Message) + func (m *NetworkChangeRef) XXX_Size() int + func (m *NetworkChangeRef) XXX_Unmarshal(b []byte) error + type PathValue struct + Path string + Value *TypedValue + func (*PathValue) Descriptor() ([]byte, []int) + func (*PathValue) ProtoMessage() + func (m *PathValue) GetPath() string + func (m *PathValue) GetValue() *TypedValue + func (m *PathValue) Marshal() (dAtA []byte, err error) + func (m *PathValue) MarshalTo(dAtA []byte) (int, error) + func (m *PathValue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PathValue) Reset() + func (m *PathValue) Size() (n int) + func (m *PathValue) String() string + func (m *PathValue) Unmarshal(dAtA []byte) error + func (m *PathValue) XXX_DiscardUnknown() + func (m *PathValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PathValue) XXX_Merge(src proto.Message) + func (m *PathValue) XXX_Size() int + func (m *PathValue) XXX_Unmarshal(b []byte) error + type Revision types.Revision + type TypedBool TypedValue + func NewBool(value bool) *TypedBool + func (tv *TypedBool) Bool() bool + func (tv *TypedBool) String() string + func (tv *TypedBool) ValueType() ValueType + type TypedBytes TypedValue + func NewBytes(value []byte) *TypedBytes + func (tv *TypedBytes) ByteArray() []byte + func (tv *TypedBytes) String() string + func (tv *TypedBytes) ValueType() ValueType + type TypedDecimal64 TypedValue + func NewDecimal64(digits int64, precision uint32) *TypedDecimal64 + func (tv *TypedDecimal64) Decimal64() (int64, uint32) + func (tv *TypedDecimal64) Float() float64 + func (tv *TypedDecimal64) String() string + func (tv *TypedDecimal64) ValueType() ValueType + type TypedEmpty TypedValue + func NewEmpty() *TypedEmpty + func (tv *TypedEmpty) String() string + func (tv *TypedEmpty) ValueType() ValueType + type TypedFloat TypedValue + func NewFloat(value float32) *TypedFloat + func (tv *TypedFloat) Float32() float32 + func (tv *TypedFloat) String() string + func (tv *TypedFloat) ValueType() ValueType + type TypedInt64 TypedValue + func NewInt64(value int) *TypedInt64 + func (tv *TypedInt64) Int() int + func (tv *TypedInt64) String() string + func (tv *TypedInt64) ValueType() ValueType + type TypedLeafListBool TypedValue + func NewLeafListBool(values []bool) *TypedLeafListBool + func (tv *TypedLeafListBool) List() []bool + func (tv *TypedLeafListBool) String() string + func (tv *TypedLeafListBool) ValueType() ValueType + type TypedLeafListBytes TypedValue + func NewLeafListBytes(values [][]byte) *TypedLeafListBytes + func (tv *TypedLeafListBytes) List() [][]byte + func (tv *TypedLeafListBytes) String() string + func (tv *TypedLeafListBytes) ValueType() ValueType + type TypedLeafListDecimal TypedValue + func NewLeafListDecimal64(digits []int64, precision uint32) *TypedLeafListDecimal + func (tv *TypedLeafListDecimal) List() ([]int64, uint32) + func (tv *TypedLeafListDecimal) ListFloat() []float32 + func (tv *TypedLeafListDecimal) String() string + func (tv *TypedLeafListDecimal) ValueType() ValueType + type TypedLeafListFloat TypedValue + func NewLeafListFloat32(values []float32) *TypedLeafListFloat + func (tv *TypedLeafListFloat) List() []float32 + func (tv *TypedLeafListFloat) String() string + func (tv *TypedLeafListFloat) ValueType() ValueType + type TypedLeafListInt64 TypedValue + func NewLeafListInt64(values []int) *TypedLeafListInt64 + func (tv *TypedLeafListInt64) List() []int + func (tv *TypedLeafListInt64) String() string + func (tv *TypedLeafListInt64) ValueType() ValueType + type TypedLeafListString TypedValue + func NewLeafListString(values []string) *TypedLeafListString + func (tv *TypedLeafListString) List() []string + func (tv *TypedLeafListString) String() string + func (tv *TypedLeafListString) ValueType() ValueType + type TypedLeafListUint TypedValue + func NewLeafListUint64(values []uint) *TypedLeafListUint + func (tv *TypedLeafListUint) List() []uint + func (tv *TypedLeafListUint) String() string + func (tv *TypedLeafListUint) ValueType() ValueType + type TypedString TypedValue + func NewString(value string) *TypedString + func (tv *TypedString) String() string + func (tv *TypedString) ValueType() ValueType + type TypedUint64 TypedValue + func NewUint64(value uint) *TypedUint64 + func (tv *TypedUint64) String() string + func (tv *TypedUint64) Uint() uint + func (tv *TypedUint64) ValueType() ValueType + type TypedValue struct + Bytes []byte + Type ValueType + TypeOpts []int32 + func NewLeafListBoolTv(values []bool) *TypedValue + func NewLeafListBytesTv(values [][]byte) *TypedValue + func NewLeafListDecimal64Tv(digits []int64, precision uint32) *TypedValue + func NewLeafListFloat32Tv(values []float32) *TypedValue + func NewLeafListInt64Tv(values []int) *TypedValue + func NewLeafListStringTv(values []string) *TypedValue + func NewLeafListUint64Tv(values []uint) *TypedValue + func NewTypedValue(bytes []byte, valueType ValueType, typeOpts []int32) (*TypedValue, error) + func NewTypedValueBool(value bool) *TypedValue + func NewTypedValueBytes(value []byte) *TypedValue + func NewTypedValueDecimal64(digits int64, precision uint32) *TypedValue + func NewTypedValueEmpty() *TypedValue + func NewTypedValueFloat(value float32) *TypedValue + func NewTypedValueInt64(value int) *TypedValue + func NewTypedValueString(value string) *TypedValue + func NewTypedValueUint64(value uint) *TypedValue + func (*TypedValue) Descriptor() ([]byte, []int) + func (*TypedValue) ProtoMessage() + func (m *TypedValue) GetBytes() []byte + func (m *TypedValue) GetType() ValueType + func (m *TypedValue) GetTypeOpts() []int32 + func (m *TypedValue) Marshal() (dAtA []byte, err error) + func (m *TypedValue) MarshalTo(dAtA []byte) (int, error) + func (m *TypedValue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TypedValue) Reset() + func (m *TypedValue) Size() (n int) + func (m *TypedValue) String() string + func (m *TypedValue) Unmarshal(dAtA []byte) error + func (m *TypedValue) XXX_DiscardUnknown() + func (m *TypedValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TypedValue) XXX_Merge(src proto.Message) + func (m *TypedValue) XXX_Size() int + func (m *TypedValue) XXX_Unmarshal(b []byte) error + func (tv *TypedValue) ValueToString() string + type TypedValueMap map[string]*TypedValue + type ValueType int32 + const ValueType_BOOL + const ValueType_BYTES + const ValueType_DECIMAL + const ValueType_EMPTY + const ValueType_FLOAT + const ValueType_INT + const ValueType_LEAFLIST_BOOL + const ValueType_LEAFLIST_BYTES + const ValueType_LEAFLIST_DECIMAL + const ValueType_LEAFLIST_FLOAT + const ValueType_LEAFLIST_INT + const ValueType_LEAFLIST_STRING + const ValueType_LEAFLIST_UINT + const ValueType_STRING + const ValueType_UINT + func (ValueType) EnumDescriptor() ([]byte, []int) + func (x ValueType) String() string