Documentation ¶
Overview ¶
Package topo is a generated GoMock package.
Index ¶
- Constants
- Variables
- func RegisterTopoServer(s *grpc.Server, srv TopoServer)
- type AdHoc
- func (*AdHoc) Descriptor() ([]byte, []int)
- func (m *AdHoc) GetProperties() map[string]string
- func (m *AdHoc) Marshal() (dAtA []byte, err error)
- func (m *AdHoc) MarshalTo(dAtA []byte) (int, error)
- func (m *AdHoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AdHoc) ProtoMessage()
- func (m *AdHoc) Reset()
- func (m *AdHoc) Size() (n int)
- func (m *AdHoc) String() string
- func (m *AdHoc) Unmarshal(dAtA []byte) error
- func (m *AdHoc) XXX_DiscardUnknown()
- func (m *AdHoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AdHoc) XXX_Merge(src proto.Message)
- func (m *AdHoc) XXX_Size() int
- func (m *AdHoc) XXX_Unmarshal(b []byte) error
- type Asset
- func (*Asset) Descriptor() ([]byte, []int)
- func (m *Asset) GetAsset() string
- func (m *Asset) GetManufacturer() string
- func (m *Asset) GetModel() string
- func (m *Asset) GetName() string
- func (m *Asset) GetRole() string
- func (m *Asset) GetSerial() string
- func (m *Asset) GetSwVersion() string
- func (m *Asset) Marshal() (dAtA []byte, err error)
- func (m *Asset) MarshalTo(dAtA []byte) (int, error)
- func (m *Asset) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Asset) ProtoMessage()
- func (m *Asset) Reset()
- func (m *Asset) Size() (n int)
- func (m *Asset) String() string
- func (m *Asset) Unmarshal(dAtA []byte) error
- func (m *Asset) XXX_DiscardUnknown()
- func (m *Asset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Asset) XXX_Merge(src proto.Message)
- func (m *Asset) XXX_Size() int
- func (m *Asset) XXX_Unmarshal(b []byte) error
- type ChannelState
- type Configurable
- func (*Configurable) Descriptor() ([]byte, []int)
- func (m *Configurable) GetAddress() string
- func (m *Configurable) GetTarget() string
- func (m *Configurable) GetTimeout() uint64
- func (m *Configurable) GetType() string
- func (m *Configurable) GetVersion() string
- func (m *Configurable) Marshal() (dAtA []byte, err error)
- func (m *Configurable) MarshalTo(dAtA []byte) (int, error)
- func (m *Configurable) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Configurable) ProtoMessage()
- func (m *Configurable) Reset()
- func (m *Configurable) Size() (n int)
- func (m *Configurable) String() string
- func (m *Configurable) Unmarshal(dAtA []byte) error
- func (m *Configurable) XXX_DiscardUnknown()
- func (m *Configurable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Configurable) XXX_Merge(src proto.Message)
- func (m *Configurable) XXX_Size() int
- func (m *Configurable) XXX_Unmarshal(b []byte) error
- type ConnectivityState
- type Coverage
- func (*Coverage) Descriptor() ([]byte, []int)
- func (m *Coverage) GetArcWidth() int32
- func (m *Coverage) GetAzimuth() int32
- func (m *Coverage) GetHeight() int32
- func (m *Coverage) GetTilt() int32
- func (m *Coverage) Marshal() (dAtA []byte, err error)
- func (m *Coverage) MarshalTo(dAtA []byte) (int, error)
- func (m *Coverage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Coverage) ProtoMessage()
- func (m *Coverage) Reset()
- func (m *Coverage) Size() (n int)
- func (m *Coverage) String() string
- func (m *Coverage) Unmarshal(dAtA []byte) error
- func (m *Coverage) XXX_DiscardUnknown()
- func (m *Coverage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Coverage) XXX_Merge(src proto.Message)
- func (m *Coverage) XXX_Size() int
- func (m *Coverage) XXX_Unmarshal(b []byte) error
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)
- func (m *CreateRequest) GetObject() *Object
- func (m *CreateRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateRequest) ProtoMessage()
- func (m *CreateRequest) Reset()
- func (m *CreateRequest) Size() (n int)
- func (m *CreateRequest) String() string
- func (m *CreateRequest) Unmarshal(dAtA []byte) error
- func (m *CreateRequest) XXX_DiscardUnknown()
- func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateRequest) XXX_Merge(src proto.Message)
- func (m *CreateRequest) XXX_Size() int
- func (m *CreateRequest) XXX_Unmarshal(b []byte) error
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)
- func (m *CreateResponse) GetObject() *Object
- func (m *CreateResponse) Marshal() (dAtA []byte, err error)
- func (m *CreateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateResponse) ProtoMessage()
- func (m *CreateResponse) Reset()
- func (m *CreateResponse) Size() (n int)
- func (m *CreateResponse) String() string
- func (m *CreateResponse) Unmarshal(dAtA []byte) error
- func (m *CreateResponse) XXX_DiscardUnknown()
- func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateResponse) XXX_Merge(src proto.Message)
- func (m *CreateResponse) XXX_Size() int
- func (m *CreateResponse) XXX_Unmarshal(b []byte) error
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)
- func (m *DeleteRequest) GetID() ID
- func (m *DeleteRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteRequest) ProtoMessage()
- func (m *DeleteRequest) Reset()
- func (m *DeleteRequest) Size() (n int)
- func (m *DeleteRequest) String() string
- func (m *DeleteRequest) Unmarshal(dAtA []byte) error
- func (m *DeleteRequest) XXX_DiscardUnknown()
- func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteRequest) XXX_Merge(src proto.Message)
- func (m *DeleteRequest) XXX_Size() int
- func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)
- func (m *DeleteResponse) Marshal() (dAtA []byte, err error)
- func (m *DeleteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteResponse) ProtoMessage()
- func (m *DeleteResponse) Reset()
- func (m *DeleteResponse) Size() (n int)
- func (m *DeleteResponse) String() string
- func (m *DeleteResponse) Unmarshal(dAtA []byte) error
- func (m *DeleteResponse) XXX_DiscardUnknown()
- func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteResponse) XXX_Merge(src proto.Message)
- func (m *DeleteResponse) XXX_Size() int
- func (m *DeleteResponse) XXX_Unmarshal(b []byte) error
- type E2Cell
- func (*E2Cell) Descriptor() ([]byte, []int)
- func (m *E2Cell) GetAntennaCount() uint32
- func (m *E2Cell) GetCID() string
- func (m *E2Cell) GetCellType() string
- func (m *E2Cell) GetEARFCN() uint32
- func (m *E2Cell) Marshal() (dAtA []byte, err error)
- func (m *E2Cell) MarshalTo(dAtA []byte) (int, error)
- func (m *E2Cell) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*E2Cell) ProtoMessage()
- func (m *E2Cell) Reset()
- func (m *E2Cell) Size() (n int)
- func (m *E2Cell) String() string
- func (m *E2Cell) Unmarshal(dAtA []byte) error
- func (m *E2Cell) XXX_DiscardUnknown()
- func (m *E2Cell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *E2Cell) XXX_Merge(src proto.Message)
- func (m *E2Cell) XXX_Size() int
- func (m *E2Cell) XXX_Unmarshal(b []byte) error
- type E2Node
- func (*E2Node) Descriptor() ([]byte, []int)
- func (m *E2Node) GetServiceModels() map[string]*ServiceModelInfo
- func (m *E2Node) Marshal() (dAtA []byte, err error)
- func (m *E2Node) MarshalTo(dAtA []byte) (int, error)
- func (m *E2Node) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*E2Node) ProtoMessage()
- func (m *E2Node) Reset()
- func (m *E2Node) Size() (n int)
- func (m *E2Node) String() string
- func (m *E2Node) Unmarshal(dAtA []byte) error
- func (m *E2Node) XXX_DiscardUnknown()
- func (m *E2Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *E2Node) XXX_Merge(src proto.Message)
- func (m *E2Node) XXX_Size() int
- func (m *E2Node) XXX_Unmarshal(b []byte) error
- type Entity
- func (*Entity) Descriptor() ([]byte, []int)
- func (m *Entity) GetKindID() ID
- func (m *Entity) Marshal() (dAtA []byte, err error)
- func (m *Entity) MarshalTo(dAtA []byte) (int, error)
- func (m *Entity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Entity) ProtoMessage()
- func (m *Entity) Reset()
- func (m *Entity) Size() (n int)
- func (m *Entity) String() string
- func (m *Entity) Unmarshal(dAtA []byte) error
- func (m *Entity) XXX_DiscardUnknown()
- func (m *Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Entity) XXX_Merge(src proto.Message)
- func (m *Entity) XXX_Size() int
- func (m *Entity) XXX_Unmarshal(b []byte) error
- type EqualFilter
- func (*EqualFilter) Descriptor() ([]byte, []int)
- func (m *EqualFilter) GetValue() string
- func (m *EqualFilter) Marshal() (dAtA []byte, err error)
- func (m *EqualFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *EqualFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EqualFilter) ProtoMessage()
- func (m *EqualFilter) Reset()
- func (m *EqualFilter) Size() (n int)
- func (m *EqualFilter) String() string
- func (m *EqualFilter) Unmarshal(dAtA []byte) error
- func (m *EqualFilter) XXX_DiscardUnknown()
- func (m *EqualFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EqualFilter) XXX_Merge(src proto.Message)
- func (m *EqualFilter) XXX_Size() int
- func (m *EqualFilter) XXX_Unmarshal(b []byte) error
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetObject() Object
- func (m *Event) GetType() EventType
- func (m *Event) Marshal() (dAtA []byte, err error)
- func (m *Event) MarshalTo(dAtA []byte) (int, error)
- func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) Size() (n int)
- func (m *Event) String() string
- func (m *Event) Unmarshal(dAtA []byte) error
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type EventType
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)
- func (m *Filter) GetEqual_() *EqualFilter
- func (m *Filter) GetFilter() isFilter_Filter
- func (m *Filter) GetIn() *InFilter
- func (m *Filter) GetKey() string
- func (m *Filter) GetNot() *NotFilter
- func (m *Filter) Marshal() (dAtA []byte, err error)
- func (m *Filter) MarshalTo(dAtA []byte) (int, error)
- func (m *Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Filter) ProtoMessage()
- func (m *Filter) Reset()
- func (m *Filter) Size() (n int)
- func (m *Filter) String() string
- func (m *Filter) Unmarshal(dAtA []byte) error
- func (m *Filter) XXX_DiscardUnknown()
- func (m *Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Filter) XXX_Merge(src proto.Message)
- func (*Filter) XXX_OneofWrappers() []interface{}
- func (m *Filter) XXX_Size() int
- func (m *Filter) XXX_Unmarshal(b []byte) error
- type Filter_Equal_
- type Filter_In
- type Filter_Not
- type Filters
- func (*Filters) Descriptor() ([]byte, []int)
- func (m *Filters) GetKindFilters() []*Filter
- func (m *Filters) GetLabelFilters() []*Filter
- func (m *Filters) Marshal() (dAtA []byte, err error)
- func (m *Filters) MarshalTo(dAtA []byte) (int, error)
- func (m *Filters) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Filters) ProtoMessage()
- func (m *Filters) Reset()
- func (m *Filters) Size() (n int)
- func (m *Filters) String() string
- func (m *Filters) Unmarshal(dAtA []byte) error
- func (m *Filters) XXX_DiscardUnknown()
- func (m *Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Filters) XXX_Merge(src proto.Message)
- func (m *Filters) XXX_Size() int
- func (m *Filters) XXX_Unmarshal(b []byte) error
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) GetID() ID
- func (m *GetRequest) Marshal() (dAtA []byte, err error)
- func (m *GetRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) Size() (n int)
- func (m *GetRequest) String() string
- func (m *GetRequest) Unmarshal(dAtA []byte) error
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)
- func (m *GetResponse) GetObject() *Object
- func (m *GetResponse) Marshal() (dAtA []byte, err error)
- func (m *GetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetResponse) ProtoMessage()
- func (m *GetResponse) Reset()
- func (m *GetResponse) Size() (n int)
- func (m *GetResponse) String() string
- func (m *GetResponse) Unmarshal(dAtA []byte) error
- func (m *GetResponse) XXX_DiscardUnknown()
- func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResponse) XXX_Merge(src proto.Message)
- func (m *GetResponse) XXX_Size() int
- func (m *GetResponse) XXX_Unmarshal(b []byte) error
- type ID
- type InFilter
- func (*InFilter) Descriptor() ([]byte, []int)
- func (m *InFilter) GetValues() []string
- func (m *InFilter) Marshal() (dAtA []byte, err error)
- func (m *InFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *InFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InFilter) ProtoMessage()
- func (m *InFilter) Reset()
- func (m *InFilter) Size() (n int)
- func (m *InFilter) String() string
- func (m *InFilter) Unmarshal(dAtA []byte) error
- func (m *InFilter) XXX_DiscardUnknown()
- func (m *InFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InFilter) XXX_Merge(src proto.Message)
- func (m *InFilter) XXX_Size() int
- func (m *InFilter) XXX_Unmarshal(b []byte) error
- type KPMMeasurement
- func (*KPMMeasurement) Descriptor() ([]byte, []int)
- func (m *KPMMeasurement) GetID() string
- func (m *KPMMeasurement) GetName() string
- func (m *KPMMeasurement) Marshal() (dAtA []byte, err error)
- func (m *KPMMeasurement) MarshalTo(dAtA []byte) (int, error)
- func (m *KPMMeasurement) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KPMMeasurement) ProtoMessage()
- func (m *KPMMeasurement) Reset()
- func (m *KPMMeasurement) Size() (n int)
- func (m *KPMMeasurement) String() string
- func (m *KPMMeasurement) Unmarshal(dAtA []byte) error
- func (m *KPMMeasurement) XXX_DiscardUnknown()
- func (m *KPMMeasurement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KPMMeasurement) XXX_Merge(src proto.Message)
- func (m *KPMMeasurement) XXX_Size() int
- func (m *KPMMeasurement) XXX_Unmarshal(b []byte) error
- type KPMRanFunction
- func (*KPMRanFunction) Descriptor() ([]byte, []int)
- func (m *KPMRanFunction) GetID() string
- func (m *KPMRanFunction) GetMeasurements() []*KPMMeasurement
- func (m *KPMRanFunction) Marshal() (dAtA []byte, err error)
- func (m *KPMRanFunction) MarshalTo(dAtA []byte) (int, error)
- func (m *KPMRanFunction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KPMRanFunction) ProtoMessage()
- func (m *KPMRanFunction) Reset()
- func (m *KPMRanFunction) Size() (n int)
- func (m *KPMRanFunction) String() string
- func (m *KPMRanFunction) Unmarshal(dAtA []byte) error
- func (m *KPMRanFunction) XXX_DiscardUnknown()
- func (m *KPMRanFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KPMRanFunction) XXX_Merge(src proto.Message)
- func (m *KPMRanFunction) XXX_Size() int
- func (m *KPMRanFunction) XXX_Unmarshal(b []byte) error
- type Kind
- func (*Kind) Descriptor() ([]byte, []int)
- func (m *Kind) GetName() string
- func (m *Kind) Marshal() (dAtA []byte, err error)
- func (m *Kind) MarshalTo(dAtA []byte) (int, error)
- func (m *Kind) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Kind) ProtoMessage()
- func (m *Kind) Reset()
- func (m *Kind) Size() (n int)
- func (m *Kind) String() string
- func (m *Kind) Unmarshal(dAtA []byte) error
- func (m *Kind) XXX_DiscardUnknown()
- func (m *Kind) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Kind) XXX_Merge(src proto.Message)
- func (m *Kind) XXX_Size() int
- func (m *Kind) XXX_Unmarshal(b []byte) error
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)
- func (m *ListRequest) GetFilters() *Filters
- func (m *ListRequest) Marshal() (dAtA []byte, err error)
- func (m *ListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListRequest) ProtoMessage()
- func (m *ListRequest) Reset()
- func (m *ListRequest) Size() (n int)
- func (m *ListRequest) String() string
- func (m *ListRequest) Unmarshal(dAtA []byte) error
- func (m *ListRequest) XXX_DiscardUnknown()
- func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListRequest) XXX_Merge(src proto.Message)
- func (m *ListRequest) XXX_Size() int
- func (m *ListRequest) XXX_Unmarshal(b []byte) error
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)
- func (m *ListResponse) GetObjects() []Object
- func (m *ListResponse) Marshal() (dAtA []byte, err error)
- func (m *ListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListResponse) ProtoMessage()
- func (m *ListResponse) Reset()
- func (m *ListResponse) Size() (n int)
- func (m *ListResponse) String() string
- func (m *ListResponse) Unmarshal(dAtA []byte) error
- func (m *ListResponse) XXX_DiscardUnknown()
- func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListResponse) XXX_Merge(src proto.Message)
- func (m *ListResponse) XXX_Size() int
- func (m *ListResponse) XXX_Unmarshal(b []byte) error
- type Location
- func (*Location) Descriptor() ([]byte, []int)
- func (m *Location) GetLat() float64
- func (m *Location) GetLng() float64
- func (m *Location) Marshal() (dAtA []byte, err error)
- func (m *Location) MarshalTo(dAtA []byte) (int, error)
- func (m *Location) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Location) ProtoMessage()
- func (m *Location) Reset()
- func (m *Location) Size() (n int)
- func (m *Location) String() string
- func (m *Location) Unmarshal(dAtA []byte) error
- func (m *Location) XXX_DiscardUnknown()
- func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Location) XXX_Merge(src proto.Message)
- func (m *Location) XXX_Size() int
- func (m *Location) XXX_Unmarshal(b []byte) error
- type MastershipState
- func (*MastershipState) Descriptor() ([]byte, []int)
- func (m *MastershipState) GetNodeId() string
- func (m *MastershipState) GetTerm() uint64
- func (m *MastershipState) Marshal() (dAtA []byte, err error)
- func (m *MastershipState) MarshalTo(dAtA []byte) (int, error)
- func (m *MastershipState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MastershipState) ProtoMessage()
- func (m *MastershipState) Reset()
- func (m *MastershipState) Size() (n int)
- func (m *MastershipState) String() string
- func (m *MastershipState) Unmarshal(dAtA []byte) error
- func (m *MastershipState) XXX_DiscardUnknown()
- func (m *MastershipState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MastershipState) XXX_Merge(src proto.Message)
- func (m *MastershipState) XXX_Size() int
- func (m *MastershipState) XXX_Unmarshal(b []byte) error
- type MockTopoClient
- func (m *MockTopoClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
- func (m *MockTopoClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
- func (m *MockTopoClient) EXPECT() *MockTopoClientMockRecorder
- func (m *MockTopoClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
- func (m *MockTopoClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
- func (m *MockTopoClient) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
- func (m *MockTopoClient) Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (Topo_WatchClient, error)
- type MockTopoClientMockRecorder
- func (mr *MockTopoClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTopoClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTopoClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTopoClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTopoClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTopoClientMockRecorder) Watch(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockTopoServer
- func (m *MockTopoServer) Create(arg0 context.Context, arg1 *CreateRequest) (*CreateResponse, error)
- func (m *MockTopoServer) Delete(arg0 context.Context, arg1 *DeleteRequest) (*DeleteResponse, error)
- func (m *MockTopoServer) EXPECT() *MockTopoServerMockRecorder
- func (m *MockTopoServer) Get(arg0 context.Context, arg1 *GetRequest) (*GetResponse, error)
- func (m *MockTopoServer) List(arg0 context.Context, arg1 *ListRequest) (*ListResponse, error)
- func (m *MockTopoServer) Update(arg0 context.Context, arg1 *UpdateRequest) (*UpdateResponse, error)
- func (m *MockTopoServer) Watch(arg0 *WatchRequest, arg1 Topo_WatchServer) error
- type MockTopoServerMockRecorder
- func (mr *MockTopoServerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopoServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopoServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopoServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopoServerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopoServerMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
- type MockTopo_WatchClient
- func (m *MockTopo_WatchClient) CloseSend() error
- func (m *MockTopo_WatchClient) Context() context.Context
- func (m *MockTopo_WatchClient) EXPECT() *MockTopo_WatchClientMockRecorder
- func (m *MockTopo_WatchClient) Header() (metadata.MD, error)
- func (m *MockTopo_WatchClient) Recv() (*WatchResponse, error)
- func (m_2 *MockTopo_WatchClient) RecvMsg(m interface{}) error
- func (m_2 *MockTopo_WatchClient) SendMsg(m interface{}) error
- func (m *MockTopo_WatchClient) Trailer() metadata.MD
- type MockTopo_WatchClientMockRecorder
- func (mr *MockTopo_WatchClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockTopo_WatchClientMockRecorder) Context() *gomock.Call
- func (mr *MockTopo_WatchClientMockRecorder) Header() *gomock.Call
- func (mr *MockTopo_WatchClientMockRecorder) Recv() *gomock.Call
- func (mr *MockTopo_WatchClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockTopo_WatchClientMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockTopo_WatchClientMockRecorder) Trailer() *gomock.Call
- type MockTopo_WatchServer
- func (m *MockTopo_WatchServer) Context() context.Context
- func (m *MockTopo_WatchServer) EXPECT() *MockTopo_WatchServerMockRecorder
- func (m_2 *MockTopo_WatchServer) RecvMsg(m interface{}) error
- func (m *MockTopo_WatchServer) Send(arg0 *WatchResponse) error
- func (m *MockTopo_WatchServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockTopo_WatchServer) SendMsg(m interface{}) error
- func (m *MockTopo_WatchServer) SetHeader(arg0 metadata.MD) error
- func (m *MockTopo_WatchServer) SetTrailer(arg0 metadata.MD)
- type MockTopo_WatchServerMockRecorder
- func (mr *MockTopo_WatchServerMockRecorder) Context() *gomock.Call
- func (mr *MockTopo_WatchServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockTopo_WatchServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockTopo_WatchServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockTopo_WatchServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockTopo_WatchServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockTopo_WatchServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type MockisObject_Obj
- type MockisObject_ObjMockRecorder
- type NotFilter
- func (*NotFilter) Descriptor() ([]byte, []int)
- func (m *NotFilter) GetInner() *Filter
- func (m *NotFilter) Marshal() (dAtA []byte, err error)
- func (m *NotFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *NotFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NotFilter) ProtoMessage()
- func (m *NotFilter) Reset()
- func (m *NotFilter) Size() (n int)
- func (m *NotFilter) String() string
- func (m *NotFilter) Unmarshal(dAtA []byte) error
- func (m *NotFilter) XXX_DiscardUnknown()
- func (m *NotFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NotFilter) XXX_Merge(src proto.Message)
- func (m *NotFilter) XXX_Size() int
- func (m *NotFilter) XXX_Unmarshal(b []byte) error
- type Object
- func (*Object) Descriptor() ([]byte, []int)
- func (obj *Object) GetAspect(destValue proto.Message) proto.Message
- func (obj *Object) GetAspectBytes(aspectType string) ([]byte, error)
- func (obj *Object) GetAspectSafe(destValue proto.Message) (proto.Message, error)
- func (m *Object) GetAspects() map[string]*types.Any
- func (m *Object) GetEntity() *Entity
- func (m *Object) GetID() ID
- func (m *Object) GetKind() *Kind
- func (m *Object) GetLabels() map[string]string
- func (m *Object) GetObj() isObject_Obj
- func (m *Object) GetRelation() *Relation
- func (m *Object) GetRevision() Revision
- func (m *Object) GetType() Object_Type
- func (m *Object) Marshal() (dAtA []byte, err error)
- func (m *Object) MarshalTo(dAtA []byte) (int, error)
- func (m *Object) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Object) ProtoMessage()
- func (m *Object) Reset()
- func (obj *Object) SetAspect(value proto.Message) error
- func (obj *Object) SetAspectBytes(aspectType string, jsonValue []byte) error
- func (m *Object) Size() (n int)
- func (m *Object) String() string
- func (m *Object) Unmarshal(dAtA []byte) error
- func (m *Object) XXX_DiscardUnknown()
- func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Object) XXX_Merge(src proto.Message)
- func (*Object) XXX_OneofWrappers() []interface{}
- func (m *Object) XXX_Size() int
- func (m *Object) XXX_Unmarshal(b []byte) error
- type Object_Entity
- type Object_Kind
- type Object_Relation
- type Object_Type
- type Protocol
- type ProtocolState
- func (*ProtocolState) Descriptor() ([]byte, []int)
- func (m *ProtocolState) GetChannelState() ChannelState
- func (m *ProtocolState) GetConnectivityState() ConnectivityState
- func (m *ProtocolState) GetProtocol() Protocol
- func (m *ProtocolState) GetServiceState() ServiceState
- func (m *ProtocolState) Marshal() (dAtA []byte, err error)
- func (m *ProtocolState) MarshalTo(dAtA []byte) (int, error)
- func (m *ProtocolState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProtocolState) ProtoMessage()
- func (m *ProtocolState) Reset()
- func (m *ProtocolState) Size() (n int)
- func (m *ProtocolState) String() string
- func (m *ProtocolState) Unmarshal(dAtA []byte) error
- func (m *ProtocolState) XXX_DiscardUnknown()
- func (m *ProtocolState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProtocolState) XXX_Merge(src proto.Message)
- func (m *ProtocolState) XXX_Size() int
- func (m *ProtocolState) XXX_Unmarshal(b []byte) error
- type Protocols
- func (*Protocols) Descriptor() ([]byte, []int)
- func (m *Protocols) GetState() []*ProtocolState
- func (m *Protocols) Marshal() (dAtA []byte, err error)
- func (m *Protocols) MarshalTo(dAtA []byte) (int, error)
- func (m *Protocols) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Protocols) ProtoMessage()
- func (m *Protocols) Reset()
- func (m *Protocols) Size() (n int)
- func (m *Protocols) String() string
- func (m *Protocols) Unmarshal(dAtA []byte) error
- func (m *Protocols) XXX_DiscardUnknown()
- func (m *Protocols) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Protocols) XXX_Merge(src proto.Message)
- func (m *Protocols) XXX_Size() int
- func (m *Protocols) XXX_Unmarshal(b []byte) error
- type RANEntityKinds
- type RANRelationKinds
- type RCRanFunction
- func (*RCRanFunction) Descriptor() ([]byte, []int)
- func (m *RCRanFunction) GetID() string
- func (m *RCRanFunction) Marshal() (dAtA []byte, err error)
- func (m *RCRanFunction) MarshalTo(dAtA []byte) (int, error)
- func (m *RCRanFunction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RCRanFunction) ProtoMessage()
- func (m *RCRanFunction) Reset()
- func (m *RCRanFunction) Size() (n int)
- func (m *RCRanFunction) String() string
- func (m *RCRanFunction) Unmarshal(dAtA []byte) error
- func (m *RCRanFunction) XXX_DiscardUnknown()
- func (m *RCRanFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RCRanFunction) XXX_Merge(src proto.Message)
- func (m *RCRanFunction) XXX_Size() int
- func (m *RCRanFunction) XXX_Unmarshal(b []byte) error
- type Relation
- func (*Relation) Descriptor() ([]byte, []int)
- func (m *Relation) GetKindID() ID
- func (m *Relation) GetSrcEntityID() ID
- func (m *Relation) GetTgtEntityID() ID
- func (m *Relation) Marshal() (dAtA []byte, err error)
- func (m *Relation) MarshalTo(dAtA []byte) (int, error)
- func (m *Relation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Relation) ProtoMessage()
- func (m *Relation) Reset()
- func (m *Relation) Size() (n int)
- func (m *Relation) String() string
- func (m *Relation) Unmarshal(dAtA []byte) error
- func (m *Relation) XXX_DiscardUnknown()
- func (m *Relation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Relation) XXX_Merge(src proto.Message)
- func (m *Relation) XXX_Size() int
- func (m *Relation) XXX_Unmarshal(b []byte) error
- type Revision
- type ServiceModelInfo
- func (*ServiceModelInfo) Descriptor() ([]byte, []int)
- func (m *ServiceModelInfo) GetName() string
- func (m *ServiceModelInfo) GetOID() string
- func (m *ServiceModelInfo) GetRanFunctions() []*types.Any
- func (m *ServiceModelInfo) Marshal() (dAtA []byte, err error)
- func (m *ServiceModelInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceModelInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceModelInfo) ProtoMessage()
- func (m *ServiceModelInfo) Reset()
- func (m *ServiceModelInfo) Size() (n int)
- func (m *ServiceModelInfo) String() string
- func (m *ServiceModelInfo) Unmarshal(dAtA []byte) error
- func (m *ServiceModelInfo) XXX_DiscardUnknown()
- func (m *ServiceModelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceModelInfo) XXX_Merge(src proto.Message)
- func (m *ServiceModelInfo) XXX_Size() int
- func (m *ServiceModelInfo) XXX_Unmarshal(b []byte) error
- type ServiceState
- type TLSOptions
- func (*TLSOptions) Descriptor() ([]byte, []int)
- func (m *TLSOptions) GetCaCert() string
- func (m *TLSOptions) GetCert() string
- func (m *TLSOptions) GetInsecure() bool
- func (m *TLSOptions) GetKey() string
- func (m *TLSOptions) GetPlain() bool
- func (m *TLSOptions) Marshal() (dAtA []byte, err error)
- func (m *TLSOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *TLSOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLSOptions) ProtoMessage()
- func (m *TLSOptions) Reset()
- func (m *TLSOptions) Size() (n int)
- func (m *TLSOptions) String() string
- func (m *TLSOptions) Unmarshal(dAtA []byte) error
- func (m *TLSOptions) XXX_DiscardUnknown()
- func (m *TLSOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLSOptions) XXX_Merge(src proto.Message)
- func (m *TLSOptions) XXX_Size() int
- func (m *TLSOptions) XXX_Unmarshal(b []byte) error
- type TopoClient
- type TopoServer
- type Topo_WatchClient
- type Topo_WatchServer
- type UnimplementedTopoServer
- func (*UnimplementedTopoServer) Create(ctx context.Context, req *CreateRequest) (*CreateResponse, error)
- func (*UnimplementedTopoServer) Delete(ctx context.Context, req *DeleteRequest) (*DeleteResponse, error)
- func (*UnimplementedTopoServer) Get(ctx context.Context, req *GetRequest) (*GetResponse, error)
- func (*UnimplementedTopoServer) List(ctx context.Context, req *ListRequest) (*ListResponse, error)
- func (*UnimplementedTopoServer) Update(ctx context.Context, req *UpdateRequest) (*UpdateResponse, error)
- func (*UnimplementedTopoServer) Watch(req *WatchRequest, srv Topo_WatchServer) error
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)
- func (m *UpdateRequest) GetObject() *Object
- func (m *UpdateRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateRequest) ProtoMessage()
- func (m *UpdateRequest) Reset()
- func (m *UpdateRequest) Size() (n int)
- func (m *UpdateRequest) String() string
- func (m *UpdateRequest) Unmarshal(dAtA []byte) error
- func (m *UpdateRequest) XXX_DiscardUnknown()
- func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateRequest) XXX_Merge(src proto.Message)
- func (m *UpdateRequest) XXX_Size() int
- func (m *UpdateRequest) XXX_Unmarshal(b []byte) error
- type UpdateResponse
- func (*UpdateResponse) Descriptor() ([]byte, []int)
- func (m *UpdateResponse) GetObject() *Object
- func (m *UpdateResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateResponse) ProtoMessage()
- func (m *UpdateResponse) Reset()
- func (m *UpdateResponse) Size() (n int)
- func (m *UpdateResponse) String() string
- func (m *UpdateResponse) Unmarshal(dAtA []byte) error
- func (m *UpdateResponse) XXX_DiscardUnknown()
- func (m *UpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateResponse) XXX_Merge(src proto.Message)
- func (m *UpdateResponse) XXX_Size() int
- func (m *UpdateResponse) XXX_Unmarshal(b []byte) error
- type WatchRequest
- func (*WatchRequest) Descriptor() ([]byte, []int)
- func (m *WatchRequest) GetFilters() *Filters
- func (m *WatchRequest) GetNoreplay() bool
- func (m *WatchRequest) Marshal() (dAtA []byte, err error)
- func (m *WatchRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *WatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WatchRequest) ProtoMessage()
- func (m *WatchRequest) Reset()
- func (m *WatchRequest) Size() (n int)
- func (m *WatchRequest) String() string
- func (m *WatchRequest) Unmarshal(dAtA []byte) error
- func (m *WatchRequest) XXX_DiscardUnknown()
- func (m *WatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WatchRequest) XXX_Merge(src proto.Message)
- func (m *WatchRequest) XXX_Size() int
- func (m *WatchRequest) XXX_Unmarshal(b []byte) error
- type WatchResponse
- func (*WatchResponse) Descriptor() ([]byte, []int)
- func (m *WatchResponse) GetEvent() Event
- func (m *WatchResponse) Marshal() (dAtA []byte, err error)
- func (m *WatchResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *WatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WatchResponse) ProtoMessage()
- func (m *WatchResponse) Reset()
- func (m *WatchResponse) Size() (n int)
- func (m *WatchResponse) String() string
- func (m *WatchResponse) Unmarshal(dAtA []byte) error
- func (m *WatchResponse) XXX_DiscardUnknown()
- func (m *WatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WatchResponse) XXX_Merge(src proto.Message)
- func (m *WatchResponse) XXX_Size() int
- func (m *WatchResponse) XXX_Unmarshal(b []byte) error
Constants ¶
const ( Address = "address" Target = "target" Type = "type" Version = "version" Timeout = "timeout" Role = "role" )
Attribute keys
const NullID = ""
NullID ...
Variables ¶
var ( ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowConfig = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupConfig = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthRan = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRan = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupRan = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTopo = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTopo = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTopo = fmt.Errorf("proto: unexpected end of group") )
var ChannelState_name = map[int32]string{
0: "UNKNOWN_CHANNEL_STATE",
1: "CONNECTED",
2: "DISCONNECTED",
}
var ChannelState_value = map[string]int32{
"UNKNOWN_CHANNEL_STATE": 0,
"CONNECTED": 1,
"DISCONNECTED": 2,
}
var ConnectivityState_name = map[int32]string{
0: "UNKNOWN_CONNECTIVITY_STATE",
1: "REACHABLE",
2: "UNREACHABLE",
}
var ConnectivityState_value = map[string]int32{
"UNKNOWN_CONNECTIVITY_STATE": 0,
"REACHABLE": 1,
"UNREACHABLE": 2,
}
var EventType_name = map[int32]string{
0: "NONE",
1: "ADDED",
2: "UPDATED",
3: "REMOVED",
}
var EventType_value = map[string]int32{
"NONE": 0,
"ADDED": 1,
"UPDATED": 2,
"REMOVED": 3,
}
var Object_Type_name = map[int32]string{
0: "UNSPECIFIED",
1: "ENTITY",
2: "RELATION",
3: "KIND",
}
var Object_Type_value = map[string]int32{
"UNSPECIFIED": 0,
"ENTITY": 1,
"RELATION": 2,
"KIND": 3,
}
var Protocol_name = map[int32]string{
0: "UNKNOWN_PROTOCOL",
1: "GNMI",
2: "P4RUNTIME",
3: "GNOI",
4: "E2AP",
}
var Protocol_value = map[string]int32{
"UNKNOWN_PROTOCOL": 0,
"GNMI": 1,
"P4RUNTIME": 2,
"GNOI": 3,
"E2AP": 4,
}
var RANEntityKinds_name = map[int32]string{
0: "E2NODE",
1: "E2CELL",
}
var RANEntityKinds_value = map[string]int32{
"E2NODE": 0,
"E2CELL": 1,
}
var RANRelationKinds_name = map[int32]string{
0: "CONTROLS",
1: "CONTAINS",
2: "NEIGHBORS",
}
var RANRelationKinds_value = map[string]int32{
"CONTROLS": 0,
"CONTAINS": 1,
"NEIGHBORS": 2,
}
var ServiceState_name = map[int32]string{
0: "UNKNOWN_SERVICE_STATE",
1: "AVAILABLE",
2: "UNAVAILABLE",
3: "CONNECTING",
}
var ServiceState_value = map[string]int32{
"UNKNOWN_SERVICE_STATE": 0,
"AVAILABLE": 1,
"UNAVAILABLE": 2,
"CONNECTING": 3,
}
var TopoClientFactory = func(cc *grpc.ClientConn) TopoClient { return NewTopoClient(cc) }
TopoClientFactory : Default EntityServiceClient creation.
Functions ¶
func RegisterTopoServer ¶
func RegisterTopoServer(s *grpc.Server, srv TopoServer)
Types ¶
type AdHoc ¶ added in v0.7.34
Aspect for ad-hoc properties
func (*AdHoc) Descriptor ¶ added in v0.7.34
func (*AdHoc) GetProperties ¶ added in v0.7.34
func (*AdHoc) MarshalToSizedBuffer ¶ added in v0.7.34
func (*AdHoc) ProtoMessage ¶ added in v0.7.34
func (*AdHoc) ProtoMessage()
func (*AdHoc) XXX_DiscardUnknown ¶ added in v0.7.34
func (m *AdHoc) XXX_DiscardUnknown()
func (*AdHoc) XXX_Marshal ¶ added in v0.7.34
func (*AdHoc) XXX_Unmarshal ¶ added in v0.7.34
type Asset ¶ added in v0.7.37
type Asset struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Manufacturer string `protobuf:"bytes,2,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` Serial string `protobuf:"bytes,4,opt,name=serial,proto3" json:"serial,omitempty"` Asset string `protobuf:"bytes,5,opt,name=asset,proto3" json:"asset,omitempty"` SwVersion string `protobuf:"bytes,6,opt,name=sw_version,json=swVersion,proto3" json:"sw_version,omitempty"` Role string `protobuf:"bytes,8,opt,name=role,proto3" json:"role,omitempty"` }
Basic asset information
func (*Asset) Descriptor ¶ added in v0.7.37
func (*Asset) GetManufacturer ¶ added in v0.7.37
func (*Asset) GetSwVersion ¶ added in v0.7.37
func (*Asset) MarshalToSizedBuffer ¶ added in v0.7.37
func (*Asset) ProtoMessage ¶ added in v0.7.37
func (*Asset) ProtoMessage()
func (*Asset) XXX_DiscardUnknown ¶ added in v0.7.37
func (m *Asset) XXX_DiscardUnknown()
func (*Asset) XXX_Marshal ¶ added in v0.7.37
func (*Asset) XXX_Unmarshal ¶ added in v0.7.37
type ChannelState ¶
type ChannelState int32
ConnectivityState represents the state of a gRPC channel to the device from the service container
const ( //UNKNOWN_CHANNEL_STATE constant needed to go around proto3 nullifying the 0 values ChannelState_UNKNOWN_CHANNEL_STATE ChannelState = 0 // CONNECTED indicates the corresponding grpc channel is connected on this device ChannelState_CONNECTED ChannelState = 1 // DISCONNECTED indicates the corresponding grpc channel is not connected on this device ChannelState_DISCONNECTED ChannelState = 2 )
func (ChannelState) EnumDescriptor ¶
func (ChannelState) EnumDescriptor() ([]byte, []int)
func (ChannelState) String ¶
func (x ChannelState) String() string
type Configurable ¶ added in v0.7.34
type Configurable struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Timeout uint64 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"` }
Configurable device aspect
func (*Configurable) Descriptor ¶ added in v0.7.34
func (*Configurable) Descriptor() ([]byte, []int)
func (*Configurable) GetAddress ¶ added in v0.7.34
func (m *Configurable) GetAddress() string
func (*Configurable) GetTarget ¶ added in v0.7.34
func (m *Configurable) GetTarget() string
func (*Configurable) GetTimeout ¶ added in v0.7.34
func (m *Configurable) GetTimeout() uint64
func (*Configurable) GetType ¶ added in v0.7.34
func (m *Configurable) GetType() string
func (*Configurable) GetVersion ¶ added in v0.7.34
func (m *Configurable) GetVersion() string
func (*Configurable) Marshal ¶ added in v0.7.34
func (m *Configurable) Marshal() (dAtA []byte, err error)
func (*Configurable) MarshalTo ¶ added in v0.7.34
func (m *Configurable) MarshalTo(dAtA []byte) (int, error)
func (*Configurable) MarshalToSizedBuffer ¶ added in v0.7.34
func (m *Configurable) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Configurable) ProtoMessage ¶ added in v0.7.34
func (*Configurable) ProtoMessage()
func (*Configurable) Reset ¶ added in v0.7.34
func (m *Configurable) Reset()
func (*Configurable) Size ¶ added in v0.7.34
func (m *Configurable) Size() (n int)
func (*Configurable) String ¶ added in v0.7.34
func (m *Configurable) String() string
func (*Configurable) Unmarshal ¶ added in v0.7.34
func (m *Configurable) Unmarshal(dAtA []byte) error
func (*Configurable) XXX_DiscardUnknown ¶ added in v0.7.34
func (m *Configurable) XXX_DiscardUnknown()
func (*Configurable) XXX_Marshal ¶ added in v0.7.34
func (m *Configurable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Configurable) XXX_Merge ¶ added in v0.7.34
func (m *Configurable) XXX_Merge(src proto.Message)
func (*Configurable) XXX_Size ¶ added in v0.7.34
func (m *Configurable) XXX_Size() int
func (*Configurable) XXX_Unmarshal ¶ added in v0.7.34
func (m *Configurable) XXX_Unmarshal(b []byte) error
type ConnectivityState ¶
type ConnectivityState int32
ConnectivityState represents the L3 reachability of a device from the service container (e.g. enos-config), independently of gRPC or the service itself (e.g. gNMI)
const ( //UNKNOWN_CONNECTIVITY_STATE constant needed to go around proto3 nullifying the 0 values ConnectivityState_UNKNOWN_CONNECTIVITY_STATE ConnectivityState = 0 // REACHABLE indicates the the service can reach the device at L3 ConnectivityState_REACHABLE ConnectivityState = 1 // UNREACHABLE indicates the the service can't reach the device at L3 ConnectivityState_UNREACHABLE ConnectivityState = 2 )
func (ConnectivityState) EnumDescriptor ¶
func (ConnectivityState) EnumDescriptor() ([]byte, []int)
func (ConnectivityState) String ¶
func (x ConnectivityState) String() string
type Coverage ¶ added in v0.7.34
type Coverage struct { Height int32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` ArcWidth int32 `protobuf:"varint,2,opt,name=arc_width,json=arcWidth,proto3" json:"arc_width,omitempty"` Azimuth int32 `protobuf:"varint,3,opt,name=azimuth,proto3" json:"azimuth,omitempty"` Tilt int32 `protobuf:"varint,4,opt,name=tilt,proto3" json:"tilt,omitempty"` }
Area of coverage; expected value type of "coverage" aspect
func (*Coverage) Descriptor ¶ added in v0.7.34
func (*Coverage) GetArcWidth ¶ added in v0.7.34
func (*Coverage) GetAzimuth ¶ added in v0.7.34
func (*Coverage) MarshalToSizedBuffer ¶ added in v0.7.34
func (*Coverage) ProtoMessage ¶ added in v0.7.34
func (*Coverage) ProtoMessage()
func (*Coverage) XXX_DiscardUnknown ¶ added in v0.7.34
func (m *Coverage) XXX_DiscardUnknown()
func (*Coverage) XXX_Marshal ¶ added in v0.7.34
func (*Coverage) XXX_Unmarshal ¶ added in v0.7.34
type CreateRequest ¶
type CreateRequest struct {
Object *Object `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
}
func (*CreateRequest) Descriptor ¶
func (*CreateRequest) Descriptor() ([]byte, []int)
func (*CreateRequest) GetObject ¶
func (m *CreateRequest) GetObject() *Object
func (*CreateRequest) Marshal ¶
func (m *CreateRequest) Marshal() (dAtA []byte, err error)
func (*CreateRequest) MarshalToSizedBuffer ¶
func (m *CreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) Reset ¶
func (m *CreateRequest) Reset()
func (*CreateRequest) Size ¶
func (m *CreateRequest) Size() (n int)
func (*CreateRequest) String ¶
func (m *CreateRequest) String() string
func (*CreateRequest) Unmarshal ¶
func (m *CreateRequest) Unmarshal(dAtA []byte) error
func (*CreateRequest) XXX_DiscardUnknown ¶
func (m *CreateRequest) XXX_DiscardUnknown()
func (*CreateRequest) XXX_Marshal ¶
func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateRequest) XXX_Merge ¶
func (m *CreateRequest) XXX_Merge(src proto.Message)
func (*CreateRequest) XXX_Size ¶
func (m *CreateRequest) XXX_Size() int
func (*CreateRequest) XXX_Unmarshal ¶
func (m *CreateRequest) XXX_Unmarshal(b []byte) error
type CreateResponse ¶
type CreateResponse struct {
Object *Object `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
}
func (*CreateResponse) Descriptor ¶
func (*CreateResponse) Descriptor() ([]byte, []int)
func (*CreateResponse) GetObject ¶
func (m *CreateResponse) GetObject() *Object
func (*CreateResponse) Marshal ¶
func (m *CreateResponse) Marshal() (dAtA []byte, err error)
func (*CreateResponse) MarshalToSizedBuffer ¶
func (m *CreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) Reset ¶
func (m *CreateResponse) Reset()
func (*CreateResponse) Size ¶
func (m *CreateResponse) Size() (n int)
func (*CreateResponse) String ¶
func (m *CreateResponse) String() string
func (*CreateResponse) Unmarshal ¶
func (m *CreateResponse) Unmarshal(dAtA []byte) error
func (*CreateResponse) XXX_DiscardUnknown ¶
func (m *CreateResponse) XXX_DiscardUnknown()
func (*CreateResponse) XXX_Marshal ¶
func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateResponse) XXX_Merge ¶
func (m *CreateResponse) XXX_Merge(src proto.Message)
func (*CreateResponse) XXX_Size ¶
func (m *CreateResponse) XXX_Size() int
func (*CreateResponse) XXX_Unmarshal ¶
func (m *CreateResponse) XXX_Unmarshal(b []byte) error
type DeleteRequest ¶
type DeleteRequest struct {
ID ID `protobuf:"bytes,1,opt,name=id,proto3,casttype=ID" json:"id,omitempty"`
}
func (*DeleteRequest) Descriptor ¶
func (*DeleteRequest) Descriptor() ([]byte, []int)
func (*DeleteRequest) GetID ¶
func (m *DeleteRequest) GetID() ID
func (*DeleteRequest) Marshal ¶
func (m *DeleteRequest) Marshal() (dAtA []byte, err error)
func (*DeleteRequest) MarshalToSizedBuffer ¶
func (m *DeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) Reset ¶
func (m *DeleteRequest) Reset()
func (*DeleteRequest) Size ¶
func (m *DeleteRequest) Size() (n int)
func (*DeleteRequest) String ¶
func (m *DeleteRequest) String() string
func (*DeleteRequest) Unmarshal ¶
func (m *DeleteRequest) Unmarshal(dAtA []byte) error
func (*DeleteRequest) XXX_DiscardUnknown ¶
func (m *DeleteRequest) XXX_DiscardUnknown()
func (*DeleteRequest) XXX_Marshal ¶
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRequest) XXX_Merge ¶
func (m *DeleteRequest) XXX_Merge(src proto.Message)
func (*DeleteRequest) XXX_Size ¶
func (m *DeleteRequest) XXX_Size() int
func (*DeleteRequest) XXX_Unmarshal ¶
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
type DeleteResponse ¶
type DeleteResponse struct { }
func (*DeleteResponse) Descriptor ¶
func (*DeleteResponse) Descriptor() ([]byte, []int)
func (*DeleteResponse) Marshal ¶
func (m *DeleteResponse) Marshal() (dAtA []byte, err error)
func (*DeleteResponse) MarshalToSizedBuffer ¶
func (m *DeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) Reset ¶
func (m *DeleteResponse) Reset()
func (*DeleteResponse) Size ¶
func (m *DeleteResponse) Size() (n int)
func (*DeleteResponse) String ¶
func (m *DeleteResponse) String() string
func (*DeleteResponse) Unmarshal ¶
func (m *DeleteResponse) Unmarshal(dAtA []byte) error
func (*DeleteResponse) XXX_DiscardUnknown ¶
func (m *DeleteResponse) XXX_DiscardUnknown()
func (*DeleteResponse) XXX_Marshal ¶
func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteResponse) XXX_Merge ¶
func (m *DeleteResponse) XXX_Merge(src proto.Message)
func (*DeleteResponse) XXX_Size ¶
func (m *DeleteResponse) XXX_Size() int
func (*DeleteResponse) XXX_Unmarshal ¶
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error
type E2Cell ¶ added in v0.7.34
type E2Cell struct { CID string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` AntennaCount uint32 `protobuf:"varint,2,opt,name=antenna_count,json=antennaCount,proto3" json:"antenna_count,omitempty"` EARFCN uint32 `protobuf:"varint,3,opt,name=earfcn,proto3" json:"earfcn,omitempty"` CellType string `protobuf:"bytes,4,opt,name=cell_type,json=cellType,proto3" json:"cell_type,omitempty"` }
E2Cell aspect; expected value type of "E2CELL" aspect and expected on entities of "E2CELL" kind
func (*E2Cell) Descriptor ¶ added in v0.7.34
func (*E2Cell) GetAntennaCount ¶ added in v0.7.34
func (*E2Cell) GetCellType ¶ added in v0.7.34
func (*E2Cell) MarshalToSizedBuffer ¶ added in v0.7.34
func (*E2Cell) ProtoMessage ¶ added in v0.7.34
func (*E2Cell) ProtoMessage()
func (*E2Cell) XXX_DiscardUnknown ¶ added in v0.7.34
func (m *E2Cell) XXX_DiscardUnknown()
func (*E2Cell) XXX_Marshal ¶ added in v0.7.34
func (*E2Cell) XXX_Unmarshal ¶ added in v0.7.34
type E2Node ¶ added in v0.7.34
type E2Node struct {
ServiceModels map[string]*ServiceModelInfo `` /* 188-byte string literal not displayed */
}
E2Node aspect; expected value type of "E2NODE" aspect and expected on entities of "E2NODE" kind
func (*E2Node) Descriptor ¶ added in v0.7.34
func (*E2Node) GetServiceModels ¶ added in v0.7.34
func (m *E2Node) GetServiceModels() map[string]*ServiceModelInfo
func (*E2Node) MarshalToSizedBuffer ¶ added in v0.7.34
func (*E2Node) ProtoMessage ¶ added in v0.7.34
func (*E2Node) ProtoMessage()
func (*E2Node) XXX_DiscardUnknown ¶ added in v0.7.34
func (m *E2Node) XXX_DiscardUnknown()
func (*E2Node) XXX_Marshal ¶ added in v0.7.34
func (*E2Node) XXX_Unmarshal ¶ added in v0.7.34
type Entity ¶
type Entity struct { // user-defined entity kind KindID ID `protobuf:"bytes,1,opt,name=kind_id,json=kindId,proto3,casttype=ID" json:"kind_id,omitempty"` }
Entity represents any "thing" that is represented in the topology
func (*Entity) Descriptor ¶
func (*Entity) MarshalToSizedBuffer ¶
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
func (*Entity) XXX_DiscardUnknown ¶
func (m *Entity) XXX_DiscardUnknown()
func (*Entity) XXX_Marshal ¶
func (*Entity) XXX_Unmarshal ¶
type EqualFilter ¶ added in v0.7.42
type EqualFilter struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*EqualFilter) Descriptor ¶ added in v0.7.42
func (*EqualFilter) Descriptor() ([]byte, []int)
func (*EqualFilter) GetValue ¶ added in v0.7.42
func (m *EqualFilter) GetValue() string
func (*EqualFilter) Marshal ¶ added in v0.7.42
func (m *EqualFilter) Marshal() (dAtA []byte, err error)
func (*EqualFilter) MarshalTo ¶ added in v0.7.42
func (m *EqualFilter) MarshalTo(dAtA []byte) (int, error)
func (*EqualFilter) MarshalToSizedBuffer ¶ added in v0.7.42
func (m *EqualFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EqualFilter) ProtoMessage ¶ added in v0.7.42
func (*EqualFilter) ProtoMessage()
func (*EqualFilter) Reset ¶ added in v0.7.42
func (m *EqualFilter) Reset()
func (*EqualFilter) Size ¶ added in v0.7.42
func (m *EqualFilter) Size() (n int)
func (*EqualFilter) String ¶ added in v0.7.42
func (m *EqualFilter) String() string
func (*EqualFilter) Unmarshal ¶ added in v0.7.42
func (m *EqualFilter) Unmarshal(dAtA []byte) error
func (*EqualFilter) XXX_DiscardUnknown ¶ added in v0.7.42
func (m *EqualFilter) XXX_DiscardUnknown()
func (*EqualFilter) XXX_Marshal ¶ added in v0.7.42
func (m *EqualFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EqualFilter) XXX_Merge ¶ added in v0.7.42
func (m *EqualFilter) XXX_Merge(src proto.Message)
func (*EqualFilter) XXX_Size ¶ added in v0.7.42
func (m *EqualFilter) XXX_Size() int
func (*EqualFilter) XXX_Unmarshal ¶ added in v0.7.42
func (m *EqualFilter) XXX_Unmarshal(b []byte) error
type Event ¶
type Event struct { Type EventType `protobuf:"varint,1,opt,name=type,proto3,enum=onos.topo.EventType" json:"type,omitempty"` Object Object `protobuf:"bytes,2,opt,name=object,proto3" json:"object"` }
Event is a topo operation event
func (*Event) Descriptor ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type EventType ¶
type EventType int32
EventType is a topo operation event type
func (EventType) EnumDescriptor ¶
type Filter ¶ added in v0.7.42
type Filter struct { // Types that are valid to be assigned to Filter: // *Filter_Equal_ // *Filter_Not // *Filter_In Filter isFilter_Filter `protobuf_oneof:"filter"` Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` }
func (*Filter) Descriptor ¶ added in v0.7.42
func (*Filter) GetEqual_ ¶ added in v0.7.42
func (m *Filter) GetEqual_() *EqualFilter
func (*Filter) MarshalToSizedBuffer ¶ added in v0.7.42
func (*Filter) ProtoMessage ¶ added in v0.7.42
func (*Filter) ProtoMessage()
func (*Filter) XXX_DiscardUnknown ¶ added in v0.7.42
func (m *Filter) XXX_DiscardUnknown()
func (*Filter) XXX_Marshal ¶ added in v0.7.42
func (*Filter) XXX_OneofWrappers ¶ added in v0.7.42
func (*Filter) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Filter) XXX_Unmarshal ¶ added in v0.7.42
type Filter_Equal_ ¶ added in v0.7.42
type Filter_Equal_ struct {
Equal_ *EqualFilter `protobuf:"bytes,1,opt,name=equal,proto3,oneof" json:"equal,omitempty"`
}
func (*Filter_Equal_) MarshalTo ¶ added in v0.7.42
func (m *Filter_Equal_) MarshalTo(dAtA []byte) (int, error)
func (*Filter_Equal_) MarshalToSizedBuffer ¶ added in v0.7.42
func (m *Filter_Equal_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Filter_Equal_) Size ¶ added in v0.7.42
func (m *Filter_Equal_) Size() (n int)
type Filter_In ¶ added in v0.7.42
type Filter_In struct {
In *InFilter `protobuf:"bytes,3,opt,name=in,proto3,oneof" json:"in,omitempty"`
}
func (*Filter_In) MarshalToSizedBuffer ¶ added in v0.7.42
type Filter_Not ¶ added in v0.7.42
type Filter_Not struct {
Not *NotFilter `protobuf:"bytes,2,opt,name=not,proto3,oneof" json:"not,omitempty"`
}
func (*Filter_Not) MarshalTo ¶ added in v0.7.42
func (m *Filter_Not) MarshalTo(dAtA []byte) (int, error)
func (*Filter_Not) MarshalToSizedBuffer ¶ added in v0.7.42
func (m *Filter_Not) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Filter_Not) Size ¶ added in v0.7.42
func (m *Filter_Not) Size() (n int)
type Filters ¶ added in v0.7.42
type Filters struct { KindFilters []*Filter `protobuf:"bytes,1,rep,name=kind_filters,json=kindFilters,proto3" json:"kind_filters,omitempty"` LabelFilters []*Filter `protobuf:"bytes,2,rep,name=label_filters,json=labelFilters,proto3" json:"label_filters,omitempty"` }
func (*Filters) Descriptor ¶ added in v0.7.42
func (*Filters) GetKindFilters ¶ added in v0.7.42
func (*Filters) GetLabelFilters ¶ added in v0.7.42
func (*Filters) MarshalToSizedBuffer ¶ added in v0.7.42
func (*Filters) ProtoMessage ¶ added in v0.7.42
func (*Filters) ProtoMessage()
func (*Filters) XXX_DiscardUnknown ¶ added in v0.7.42
func (m *Filters) XXX_DiscardUnknown()
func (*Filters) XXX_Marshal ¶ added in v0.7.42
func (*Filters) XXX_Unmarshal ¶ added in v0.7.42
type GetRequest ¶
type GetRequest struct {
ID ID `protobuf:"bytes,1,opt,name=id,proto3,casttype=ID" json:"id,omitempty"`
}
func (*GetRequest) Descriptor ¶
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) GetID ¶
func (m *GetRequest) GetID() ID
func (*GetRequest) Marshal ¶
func (m *GetRequest) Marshal() (dAtA []byte, err error)
func (*GetRequest) MarshalToSizedBuffer ¶
func (m *GetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶
func (m *GetRequest) Reset()
func (*GetRequest) Size ¶
func (m *GetRequest) Size() (n int)
func (*GetRequest) String ¶
func (m *GetRequest) String() string
func (*GetRequest) Unmarshal ¶
func (m *GetRequest) Unmarshal(dAtA []byte) error
func (*GetRequest) XXX_DiscardUnknown ¶
func (m *GetRequest) XXX_DiscardUnknown()
func (*GetRequest) XXX_Marshal ¶
func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRequest) XXX_Merge ¶
func (m *GetRequest) XXX_Merge(src proto.Message)
func (*GetRequest) XXX_Size ¶
func (m *GetRequest) XXX_Size() int
func (*GetRequest) XXX_Unmarshal ¶
func (m *GetRequest) XXX_Unmarshal(b []byte) error
type GetResponse ¶
type GetResponse struct {
Object *Object `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
}
func (*GetResponse) Descriptor ¶
func (*GetResponse) Descriptor() ([]byte, []int)
func (*GetResponse) GetObject ¶
func (m *GetResponse) GetObject() *Object
func (*GetResponse) Marshal ¶
func (m *GetResponse) Marshal() (dAtA []byte, err error)
func (*GetResponse) MarshalToSizedBuffer ¶
func (m *GetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) Reset ¶
func (m *GetResponse) Reset()
func (*GetResponse) Size ¶
func (m *GetResponse) Size() (n int)
func (*GetResponse) String ¶
func (m *GetResponse) String() string
func (*GetResponse) Unmarshal ¶
func (m *GetResponse) Unmarshal(dAtA []byte) error
func (*GetResponse) XXX_DiscardUnknown ¶
func (m *GetResponse) XXX_DiscardUnknown()
func (*GetResponse) XXX_Marshal ¶
func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetResponse) XXX_Merge ¶
func (m *GetResponse) XXX_Merge(src proto.Message)
func (*GetResponse) XXX_Size ¶
func (m *GetResponse) XXX_Size() int
func (*GetResponse) XXX_Unmarshal ¶
func (m *GetResponse) XXX_Unmarshal(b []byte) error
type InFilter ¶ added in v0.7.42
type InFilter struct {
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
}
func (*InFilter) Descriptor ¶ added in v0.7.42
func (*InFilter) MarshalToSizedBuffer ¶ added in v0.7.42
func (*InFilter) ProtoMessage ¶ added in v0.7.42
func (*InFilter) ProtoMessage()
func (*InFilter) XXX_DiscardUnknown ¶ added in v0.7.42
func (m *InFilter) XXX_DiscardUnknown()
func (*InFilter) XXX_Marshal ¶ added in v0.7.42
func (*InFilter) XXX_Unmarshal ¶ added in v0.7.42
type KPMMeasurement ¶ added in v0.7.34
type KPMMeasurement struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` }
func (*KPMMeasurement) Descriptor ¶ added in v0.7.34
func (*KPMMeasurement) Descriptor() ([]byte, []int)
func (*KPMMeasurement) GetID ¶ added in v0.7.34
func (m *KPMMeasurement) GetID() string
func (*KPMMeasurement) GetName ¶ added in v0.7.34
func (m *KPMMeasurement) GetName() string
func (*KPMMeasurement) Marshal ¶ added in v0.7.34
func (m *KPMMeasurement) Marshal() (dAtA []byte, err error)
func (*KPMMeasurement) MarshalTo ¶ added in v0.7.34
func (m *KPMMeasurement) MarshalTo(dAtA []byte) (int, error)
func (*KPMMeasurement) MarshalToSizedBuffer ¶ added in v0.7.34
func (m *KPMMeasurement) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*KPMMeasurement) ProtoMessage ¶ added in v0.7.34
func (*KPMMeasurement) ProtoMessage()
func (*KPMMeasurement) Reset ¶ added in v0.7.34
func (m *KPMMeasurement) Reset()
func (*KPMMeasurement) Size ¶ added in v0.7.34
func (m *KPMMeasurement) Size() (n int)
func (*KPMMeasurement) String ¶ added in v0.7.34
func (m *KPMMeasurement) String() string
func (*KPMMeasurement) Unmarshal ¶ added in v0.7.34
func (m *KPMMeasurement) Unmarshal(dAtA []byte) error
func (*KPMMeasurement) XXX_DiscardUnknown ¶ added in v0.7.34
func (m *KPMMeasurement) XXX_DiscardUnknown()
func (*KPMMeasurement) XXX_Marshal ¶ added in v0.7.34
func (m *KPMMeasurement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KPMMeasurement) XXX_Merge ¶ added in v0.7.34
func (m *KPMMeasurement) XXX_Merge(src proto.Message)
func (*KPMMeasurement) XXX_Size ¶ added in v0.7.34
func (m *KPMMeasurement) XXX_Size() int
func (*KPMMeasurement) XXX_Unmarshal ¶ added in v0.7.34
func (m *KPMMeasurement) XXX_Unmarshal(b []byte) error
type KPMRanFunction ¶ added in v0.7.34
type KPMRanFunction struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Measurements []*KPMMeasurement `protobuf:"bytes,2,rep,name=measurements,proto3" json:"measurements,omitempty"` }
func (*KPMRanFunction) Descriptor ¶ added in v0.7.34
func (*KPMRanFunction) Descriptor() ([]byte, []int)
func (*KPMRanFunction) GetID ¶ added in v0.7.34
func (m *KPMRanFunction) GetID() string
func (*KPMRanFunction) GetMeasurements ¶ added in v0.7.34
func (m *KPMRanFunction) GetMeasurements() []*KPMMeasurement
func (*KPMRanFunction) Marshal ¶ added in v0.7.34
func (m *KPMRanFunction) Marshal() (dAtA []byte, err error)
func (*KPMRanFunction) MarshalTo ¶ added in v0.7.34
func (m *KPMRanFunction) MarshalTo(dAtA []byte) (int, error)
func (*KPMRanFunction) MarshalToSizedBuffer ¶ added in v0.7.34
func (m *KPMRanFunction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*KPMRanFunction) ProtoMessage ¶ added in v0.7.34
func (*KPMRanFunction) ProtoMessage()
func (*KPMRanFunction) Reset ¶ added in v0.7.34
func (m *KPMRanFunction) Reset()
func (*KPMRanFunction) Size ¶ added in v0.7.34
func (m *KPMRanFunction) Size() (n int)
func (*KPMRanFunction) String ¶ added in v0.7.34
func (m *KPMRanFunction) String() string
func (*KPMRanFunction) Unmarshal ¶ added in v0.7.34
func (m *KPMRanFunction) Unmarshal(dAtA []byte) error
func (*KPMRanFunction) XXX_DiscardUnknown ¶ added in v0.7.34
func (m *KPMRanFunction) XXX_DiscardUnknown()
func (*KPMRanFunction) XXX_Marshal ¶ added in v0.7.34
func (m *KPMRanFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KPMRanFunction) XXX_Merge ¶ added in v0.7.34
func (m *KPMRanFunction) XXX_Merge(src proto.Message)
func (*KPMRanFunction) XXX_Size ¶ added in v0.7.34
func (m *KPMRanFunction) XXX_Size() int
func (*KPMRanFunction) XXX_Unmarshal ¶ added in v0.7.34
func (m *KPMRanFunction) XXX_Unmarshal(b []byte) error
type Kind ¶
type Kind struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
Kind represents an archetype of an object, i.e. entity or relation
func (*Kind) Descriptor ¶
func (*Kind) ProtoMessage ¶
func (*Kind) ProtoMessage()
func (*Kind) XXX_DiscardUnknown ¶
func (m *Kind) XXX_DiscardUnknown()
func (*Kind) XXX_Unmarshal ¶
type ListRequest ¶
type ListRequest struct {
Filters *Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"`
}
func (*ListRequest) Descriptor ¶
func (*ListRequest) Descriptor() ([]byte, []int)
func (*ListRequest) GetFilters ¶ added in v0.7.42
func (m *ListRequest) GetFilters() *Filters
func (*ListRequest) Marshal ¶
func (m *ListRequest) Marshal() (dAtA []byte, err error)
func (*ListRequest) MarshalToSizedBuffer ¶
func (m *ListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) Reset ¶
func (m *ListRequest) Reset()
func (*ListRequest) Size ¶
func (m *ListRequest) Size() (n int)
func (*ListRequest) String ¶
func (m *ListRequest) String() string
func (*ListRequest) Unmarshal ¶
func (m *ListRequest) Unmarshal(dAtA []byte) error
func (*ListRequest) XXX_DiscardUnknown ¶
func (m *ListRequest) XXX_DiscardUnknown()
func (*ListRequest) XXX_Marshal ¶
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRequest) XXX_Merge ¶
func (m *ListRequest) XXX_Merge(src proto.Message)
func (*ListRequest) XXX_Size ¶
func (m *ListRequest) XXX_Size() int
func (*ListRequest) XXX_Unmarshal ¶
func (m *ListRequest) XXX_Unmarshal(b []byte) error
type ListResponse ¶
type ListResponse struct {
Objects []Object `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects"`
}
func (*ListResponse) Descriptor ¶
func (*ListResponse) Descriptor() ([]byte, []int)
func (*ListResponse) GetObjects ¶
func (m *ListResponse) GetObjects() []Object
func (*ListResponse) Marshal ¶
func (m *ListResponse) Marshal() (dAtA []byte, err error)
func (*ListResponse) MarshalToSizedBuffer ¶
func (m *ListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) Reset ¶
func (m *ListResponse) Reset()
func (*ListResponse) Size ¶
func (m *ListResponse) Size() (n int)
func (*ListResponse) String ¶
func (m *ListResponse) String() string
func (*ListResponse) Unmarshal ¶
func (m *ListResponse) Unmarshal(dAtA []byte) error
func (*ListResponse) XXX_DiscardUnknown ¶
func (m *ListResponse) XXX_DiscardUnknown()
func (*ListResponse) XXX_Marshal ¶
func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListResponse) XXX_Merge ¶
func (m *ListResponse) XXX_Merge(src proto.Message)
func (*ListResponse) XXX_Size ¶
func (m *ListResponse) XXX_Size() int
func (*ListResponse) XXX_Unmarshal ¶
func (m *ListResponse) XXX_Unmarshal(b []byte) error
type Location ¶ added in v0.7.34
type Location struct { Lat float64 `protobuf:"fixed64,1,opt,name=lat,proto3" json:"lat,omitempty"` Lng float64 `protobuf:"fixed64,2,opt,name=lng,proto3" json:"lng,omitempty"` }
Geographical location; expected value type of "location" aspect
func (*Location) Descriptor ¶ added in v0.7.34
func (*Location) MarshalToSizedBuffer ¶ added in v0.7.34
func (*Location) ProtoMessage ¶ added in v0.7.34
func (*Location) ProtoMessage()
func (*Location) XXX_DiscardUnknown ¶ added in v0.7.34
func (m *Location) XXX_DiscardUnknown()
func (*Location) XXX_Marshal ¶ added in v0.7.34
func (*Location) XXX_Unmarshal ¶ added in v0.7.34
type MastershipState ¶ added in v0.7.34
type MastershipState struct { Term uint64 `protobuf:"varint,1,opt,name=term,proto3" json:"term,omitempty"` NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` }
Aspect for tracking device mastership
func (*MastershipState) Descriptor ¶ added in v0.7.34
func (*MastershipState) Descriptor() ([]byte, []int)
func (*MastershipState) GetNodeId ¶ added in v0.7.34
func (m *MastershipState) GetNodeId() string
func (*MastershipState) GetTerm ¶ added in v0.7.34
func (m *MastershipState) GetTerm() uint64
func (*MastershipState) Marshal ¶ added in v0.7.34
func (m *MastershipState) Marshal() (dAtA []byte, err error)
func (*MastershipState) MarshalTo ¶ added in v0.7.34
func (m *MastershipState) MarshalTo(dAtA []byte) (int, error)
func (*MastershipState) MarshalToSizedBuffer ¶ added in v0.7.34
func (m *MastershipState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MastershipState) ProtoMessage ¶ added in v0.7.34
func (*MastershipState) ProtoMessage()
func (*MastershipState) Reset ¶ added in v0.7.34
func (m *MastershipState) Reset()
func (*MastershipState) Size ¶ added in v0.7.34
func (m *MastershipState) Size() (n int)
func (*MastershipState) String ¶ added in v0.7.34
func (m *MastershipState) String() string
func (*MastershipState) Unmarshal ¶ added in v0.7.34
func (m *MastershipState) Unmarshal(dAtA []byte) error
func (*MastershipState) XXX_DiscardUnknown ¶ added in v0.7.34
func (m *MastershipState) XXX_DiscardUnknown()
func (*MastershipState) XXX_Marshal ¶ added in v0.7.34
func (m *MastershipState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MastershipState) XXX_Merge ¶ added in v0.7.34
func (m *MastershipState) XXX_Merge(src proto.Message)
func (*MastershipState) XXX_Size ¶ added in v0.7.34
func (m *MastershipState) XXX_Size() int
func (*MastershipState) XXX_Unmarshal ¶ added in v0.7.34
func (m *MastershipState) XXX_Unmarshal(b []byte) error
type MockTopoClient ¶ added in v0.6.11
type MockTopoClient struct {
// contains filtered or unexported fields
}
MockTopoClient is a mock of TopoClient interface
func NewMockTopoClient ¶ added in v0.6.11
func NewMockTopoClient(ctrl *gomock.Controller) *MockTopoClient
NewMockTopoClient creates a new mock instance
func (*MockTopoClient) Create ¶ added in v0.6.11
func (m *MockTopoClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
Create mocks base method
func (*MockTopoClient) Delete ¶ added in v0.6.11
func (m *MockTopoClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
Delete mocks base method
func (*MockTopoClient) EXPECT ¶ added in v0.6.11
func (m *MockTopoClient) EXPECT() *MockTopoClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTopoClient) Get ¶ added in v0.6.11
func (m *MockTopoClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
Get mocks base method
func (*MockTopoClient) List ¶ added in v0.6.11
func (m *MockTopoClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
List mocks base method
func (*MockTopoClient) Update ¶ added in v0.6.11
func (m *MockTopoClient) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
Update mocks base method
func (*MockTopoClient) Watch ¶ added in v0.6.11
func (m *MockTopoClient) Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (Topo_WatchClient, error)
Watch mocks base method
type MockTopoClientMockRecorder ¶ added in v0.6.11
type MockTopoClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTopoClientMockRecorder is the mock recorder for MockTopoClient
func (*MockTopoClientMockRecorder) Create ¶ added in v0.6.11
func (mr *MockTopoClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockTopoClientMockRecorder) Delete ¶ added in v0.6.11
func (mr *MockTopoClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTopoClientMockRecorder) Get ¶ added in v0.6.11
func (mr *MockTopoClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockTopoClientMockRecorder) List ¶ added in v0.6.11
func (mr *MockTopoClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call
List indicates an expected call of List
func (*MockTopoClientMockRecorder) Update ¶ added in v0.6.11
func (mr *MockTopoClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockTopoClientMockRecorder) Watch ¶ added in v0.6.11
func (mr *MockTopoClientMockRecorder) Watch(ctx, in interface{}, opts ...interface{}) *gomock.Call
Watch indicates an expected call of Watch
type MockTopoServer ¶ added in v0.6.11
type MockTopoServer struct {
// contains filtered or unexported fields
}
MockTopoServer is a mock of TopoServer interface
func NewMockTopoServer ¶ added in v0.6.11
func NewMockTopoServer(ctrl *gomock.Controller) *MockTopoServer
NewMockTopoServer creates a new mock instance
func (*MockTopoServer) Create ¶ added in v0.6.11
func (m *MockTopoServer) Create(arg0 context.Context, arg1 *CreateRequest) (*CreateResponse, error)
Create mocks base method
func (*MockTopoServer) Delete ¶ added in v0.6.11
func (m *MockTopoServer) Delete(arg0 context.Context, arg1 *DeleteRequest) (*DeleteResponse, error)
Delete mocks base method
func (*MockTopoServer) EXPECT ¶ added in v0.6.11
func (m *MockTopoServer) EXPECT() *MockTopoServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTopoServer) Get ¶ added in v0.6.11
func (m *MockTopoServer) Get(arg0 context.Context, arg1 *GetRequest) (*GetResponse, error)
Get mocks base method
func (*MockTopoServer) List ¶ added in v0.6.11
func (m *MockTopoServer) List(arg0 context.Context, arg1 *ListRequest) (*ListResponse, error)
List mocks base method
func (*MockTopoServer) Update ¶ added in v0.6.11
func (m *MockTopoServer) Update(arg0 context.Context, arg1 *UpdateRequest) (*UpdateResponse, error)
Update mocks base method
func (*MockTopoServer) Watch ¶ added in v0.6.11
func (m *MockTopoServer) Watch(arg0 *WatchRequest, arg1 Topo_WatchServer) error
Watch mocks base method
type MockTopoServerMockRecorder ¶ added in v0.6.11
type MockTopoServerMockRecorder struct {
// contains filtered or unexported fields
}
MockTopoServerMockRecorder is the mock recorder for MockTopoServer
func (*MockTopoServerMockRecorder) Create ¶ added in v0.6.11
func (mr *MockTopoServerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockTopoServerMockRecorder) Delete ¶ added in v0.6.11
func (mr *MockTopoServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTopoServerMockRecorder) Get ¶ added in v0.6.11
func (mr *MockTopoServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockTopoServerMockRecorder) List ¶ added in v0.6.11
func (mr *MockTopoServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockTopoServerMockRecorder) Update ¶ added in v0.6.11
func (mr *MockTopoServerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockTopoServerMockRecorder) Watch ¶ added in v0.6.11
func (mr *MockTopoServerMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Watch indicates an expected call of Watch
type MockTopo_WatchClient ¶ added in v0.6.11
type MockTopo_WatchClient struct {
// contains filtered or unexported fields
}
MockTopo_WatchClient is a mock of Topo_WatchClient interface
func NewMockTopo_WatchClient ¶ added in v0.6.11
func NewMockTopo_WatchClient(ctrl *gomock.Controller) *MockTopo_WatchClient
NewMockTopo_WatchClient creates a new mock instance
func (*MockTopo_WatchClient) CloseSend ¶ added in v0.6.11
func (m *MockTopo_WatchClient) CloseSend() error
CloseSend mocks base method
func (*MockTopo_WatchClient) Context ¶ added in v0.6.11
func (m *MockTopo_WatchClient) Context() context.Context
Context mocks base method
func (*MockTopo_WatchClient) EXPECT ¶ added in v0.6.11
func (m *MockTopo_WatchClient) EXPECT() *MockTopo_WatchClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTopo_WatchClient) Header ¶ added in v0.6.11
func (m *MockTopo_WatchClient) Header() (metadata.MD, error)
Header mocks base method
func (*MockTopo_WatchClient) Recv ¶ added in v0.6.11
func (m *MockTopo_WatchClient) Recv() (*WatchResponse, error)
Recv mocks base method
func (*MockTopo_WatchClient) RecvMsg ¶ added in v0.6.11
func (m_2 *MockTopo_WatchClient) RecvMsg(m interface{}) error
RecvMsg mocks base method
func (*MockTopo_WatchClient) SendMsg ¶ added in v0.6.11
func (m_2 *MockTopo_WatchClient) SendMsg(m interface{}) error
SendMsg mocks base method
func (*MockTopo_WatchClient) Trailer ¶ added in v0.6.11
func (m *MockTopo_WatchClient) Trailer() metadata.MD
Trailer mocks base method
type MockTopo_WatchClientMockRecorder ¶ added in v0.6.11
type MockTopo_WatchClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTopo_WatchClientMockRecorder is the mock recorder for MockTopo_WatchClient
func (*MockTopo_WatchClientMockRecorder) CloseSend ¶ added in v0.6.11
func (mr *MockTopo_WatchClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend
func (*MockTopo_WatchClientMockRecorder) Context ¶ added in v0.6.11
func (mr *MockTopo_WatchClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockTopo_WatchClientMockRecorder) Header ¶ added in v0.6.11
func (mr *MockTopo_WatchClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockTopo_WatchClientMockRecorder) Recv ¶ added in v0.6.11
func (mr *MockTopo_WatchClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv
func (*MockTopo_WatchClientMockRecorder) RecvMsg ¶ added in v0.6.11
func (mr *MockTopo_WatchClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockTopo_WatchClientMockRecorder) SendMsg ¶ added in v0.6.11
func (mr *MockTopo_WatchClientMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockTopo_WatchClientMockRecorder) Trailer ¶ added in v0.6.11
func (mr *MockTopo_WatchClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer
type MockTopo_WatchServer ¶ added in v0.6.11
type MockTopo_WatchServer struct {
// contains filtered or unexported fields
}
MockTopo_WatchServer is a mock of Topo_WatchServer interface
func NewMockTopo_WatchServer ¶ added in v0.6.11
func NewMockTopo_WatchServer(ctrl *gomock.Controller) *MockTopo_WatchServer
NewMockTopo_WatchServer creates a new mock instance
func (*MockTopo_WatchServer) Context ¶ added in v0.6.11
func (m *MockTopo_WatchServer) Context() context.Context
Context mocks base method
func (*MockTopo_WatchServer) EXPECT ¶ added in v0.6.11
func (m *MockTopo_WatchServer) EXPECT() *MockTopo_WatchServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTopo_WatchServer) RecvMsg ¶ added in v0.6.11
func (m_2 *MockTopo_WatchServer) RecvMsg(m interface{}) error
RecvMsg mocks base method
func (*MockTopo_WatchServer) Send ¶ added in v0.6.11
func (m *MockTopo_WatchServer) Send(arg0 *WatchResponse) error
Send mocks base method
func (*MockTopo_WatchServer) SendHeader ¶ added in v0.6.11
func (m *MockTopo_WatchServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method
func (*MockTopo_WatchServer) SendMsg ¶ added in v0.6.11
func (m_2 *MockTopo_WatchServer) SendMsg(m interface{}) error
SendMsg mocks base method
func (*MockTopo_WatchServer) SetHeader ¶ added in v0.6.11
func (m *MockTopo_WatchServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method
func (*MockTopo_WatchServer) SetTrailer ¶ added in v0.6.11
func (m *MockTopo_WatchServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method
type MockTopo_WatchServerMockRecorder ¶ added in v0.6.11
type MockTopo_WatchServerMockRecorder struct {
// contains filtered or unexported fields
}
MockTopo_WatchServerMockRecorder is the mock recorder for MockTopo_WatchServer
func (*MockTopo_WatchServerMockRecorder) Context ¶ added in v0.6.11
func (mr *MockTopo_WatchServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockTopo_WatchServerMockRecorder) RecvMsg ¶ added in v0.6.11
func (mr *MockTopo_WatchServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockTopo_WatchServerMockRecorder) Send ¶ added in v0.6.11
func (mr *MockTopo_WatchServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send
func (*MockTopo_WatchServerMockRecorder) SendHeader ¶ added in v0.6.11
func (mr *MockTopo_WatchServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader
func (*MockTopo_WatchServerMockRecorder) SendMsg ¶ added in v0.6.11
func (mr *MockTopo_WatchServerMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockTopo_WatchServerMockRecorder) SetHeader ¶ added in v0.6.11
func (mr *MockTopo_WatchServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader
func (*MockTopo_WatchServerMockRecorder) SetTrailer ¶ added in v0.6.11
func (mr *MockTopo_WatchServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer
type MockisObject_Obj ¶ added in v0.6.11
type MockisObject_Obj struct {
// contains filtered or unexported fields
}
MockisObject_Obj is a mock of isObject_Obj interface
func NewMockisObject_Obj ¶ added in v0.6.11
func NewMockisObject_Obj(ctrl *gomock.Controller) *MockisObject_Obj
NewMockisObject_Obj creates a new mock instance
func (*MockisObject_Obj) EXPECT ¶ added in v0.6.11
func (m *MockisObject_Obj) EXPECT() *MockisObject_ObjMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockisObject_Obj) MarshalTo ¶ added in v0.6.11
func (m *MockisObject_Obj) MarshalTo(arg0 []byte) (int, error)
MarshalTo mocks base method
func (*MockisObject_Obj) Size ¶ added in v0.6.11
func (m *MockisObject_Obj) Size() int
Size mocks base method
type MockisObject_ObjMockRecorder ¶ added in v0.6.11
type MockisObject_ObjMockRecorder struct {
// contains filtered or unexported fields
}
MockisObject_ObjMockRecorder is the mock recorder for MockisObject_Obj
func (*MockisObject_ObjMockRecorder) MarshalTo ¶ added in v0.6.11
func (mr *MockisObject_ObjMockRecorder) MarshalTo(arg0 interface{}) *gomock.Call
MarshalTo indicates an expected call of MarshalTo
func (*MockisObject_ObjMockRecorder) Size ¶ added in v0.6.11
func (mr *MockisObject_ObjMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size
type NotFilter ¶ added in v0.7.42
type NotFilter struct {
Inner *Filter `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"`
}
func (*NotFilter) Descriptor ¶ added in v0.7.42
func (*NotFilter) MarshalToSizedBuffer ¶ added in v0.7.42
func (*NotFilter) ProtoMessage ¶ added in v0.7.42
func (*NotFilter) ProtoMessage()
func (*NotFilter) XXX_DiscardUnknown ¶ added in v0.7.42
func (m *NotFilter) XXX_DiscardUnknown()
func (*NotFilter) XXX_Marshal ¶ added in v0.7.42
func (*NotFilter) XXX_Unmarshal ¶ added in v0.7.42
type Object ¶
type Object struct { ID ID `protobuf:"bytes,1,opt,name=id,proto3,casttype=ID" json:"id,omitempty"` Revision Revision `protobuf:"varint,2,opt,name=revision,proto3,casttype=Revision" json:"revision,omitempty"` Type Object_Type `protobuf:"varint,3,opt,name=type,proto3,enum=onos.topo.Object_Type" json:"type,omitempty"` // Types that are valid to be assigned to Obj: // *Object_Entity // *Object_Relation // *Object_Kind Obj isObject_Obj `protobuf_oneof:"obj"` // Map of aspects as typed values; for kind, these represent expected aspects and their default values Aspects map[string]*types.Any `` /* 155-byte string literal not displayed */ // Arbitrary labels for classification/search Labels map[string]string `` /* 153-byte string literal not displayed */ }
Object is an one of the following: a kind (archetype of entity or relation), an entity, a relation
func (*Object) Descriptor ¶
func (*Object) GetAspect ¶ added in v0.7.37
GetAspect retrieves the specified aspect value from the given object.
func (*Object) GetAspectBytes ¶ added in v0.7.38
GetAspectBytes applies the specified aspect as raw JSON bytes to the given object.
func (*Object) GetAspectSafe ¶ added in v0.7.37
GetAspectSafe retrieves the specified aspect value from the given object.
func (*Object) GetRelation ¶
func (*Object) GetRevision ¶
func (*Object) GetType ¶
func (m *Object) GetType() Object_Type
func (*Object) MarshalToSizedBuffer ¶
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) SetAspect ¶ added in v0.7.37
SetAspect applies the specified aspect value to the given object.
func (*Object) SetAspectBytes ¶ added in v0.7.38
SetAspectBytes applies the specified aspect as raw JSON bytes to the given object.
func (*Object) XXX_DiscardUnknown ¶
func (m *Object) XXX_DiscardUnknown()
func (*Object) XXX_Marshal ¶
func (*Object) XXX_OneofWrappers ¶
func (*Object) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Object) XXX_Unmarshal ¶
type Object_Entity ¶
type Object_Entity struct {
Entity *Entity `protobuf:"bytes,4,opt,name=entity,proto3,oneof" json:"entity,omitempty"`
}
func (*Object_Entity) MarshalToSizedBuffer ¶
func (m *Object_Entity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Object_Entity) Size ¶
func (m *Object_Entity) Size() (n int)
type Object_Kind ¶
type Object_Kind struct {
Kind *Kind `protobuf:"bytes,6,opt,name=kind,proto3,oneof" json:"kind,omitempty"`
}
func (*Object_Kind) MarshalToSizedBuffer ¶
func (m *Object_Kind) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Object_Kind) Size ¶
func (m *Object_Kind) Size() (n int)
type Object_Relation ¶
type Object_Relation struct {
Relation *Relation `protobuf:"bytes,5,opt,name=relation,proto3,oneof" json:"relation,omitempty"`
}
func (*Object_Relation) MarshalToSizedBuffer ¶
func (m *Object_Relation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Object_Relation) Size ¶
func (m *Object_Relation) Size() (n int)
type Object_Type ¶
type Object_Type int32
const ( Object_UNSPECIFIED Object_Type = 0 Object_ENTITY Object_Type = 1 Object_RELATION Object_Type = 2 Object_KIND Object_Type = 3 )
func (Object_Type) EnumDescriptor ¶
func (Object_Type) EnumDescriptor() ([]byte, []int)
func (Object_Type) String ¶
func (x Object_Type) String() string
type Protocol ¶
type Protocol int32
Protocol to interact with a device
const ( //UNKNOWN_PROTOCOL constant needed to go around proto3 nullifying the 0 values Protocol_UNKNOWN_PROTOCOL Protocol = 0 // GNMI protocol reference Protocol_GNMI Protocol = 1 // P4RUNTIME protocol reference Protocol_P4RUNTIME Protocol = 2 // GNOI protocol reference Protocol_GNOI Protocol = 3 // E2 Control Plane Protocol Protocol_E2AP Protocol = 4 )
func (Protocol) EnumDescriptor ¶
type ProtocolState ¶
type ProtocolState struct { //The protocol to which state relates Protocol Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=onos.topo.Protocol" json:"protocol,omitempty"` //ConnectivityState contains the L3 connectivity information ConnectivityState ConnectivityState `protobuf:"varint,2,opt,name=connectivityState,proto3,enum=onos.topo.ConnectivityState" json:"connectivityState,omitempty"` //ChannelState relates to the availability of the gRPC channel ChannelState ChannelState `protobuf:"varint,3,opt,name=channelState,proto3,enum=onos.topo.ChannelState" json:"channelState,omitempty"` //ServiceState indicates the availability of the gRPC servic on top of the channel ServiceState ServiceState `protobuf:"varint,4,opt,name=serviceState,proto3,enum=onos.topo.ServiceState" json:"serviceState,omitempty"` }
ProtocolState contains information related to service and connectivity to a device
func (*ProtocolState) Descriptor ¶
func (*ProtocolState) Descriptor() ([]byte, []int)
func (*ProtocolState) GetChannelState ¶
func (m *ProtocolState) GetChannelState() ChannelState
func (*ProtocolState) GetConnectivityState ¶
func (m *ProtocolState) GetConnectivityState() ConnectivityState
func (*ProtocolState) GetProtocol ¶
func (m *ProtocolState) GetProtocol() Protocol
func (*ProtocolState) GetServiceState ¶
func (m *ProtocolState) GetServiceState() ServiceState
func (*ProtocolState) Marshal ¶
func (m *ProtocolState) Marshal() (dAtA []byte, err error)
func (*ProtocolState) MarshalToSizedBuffer ¶
func (m *ProtocolState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProtocolState) ProtoMessage ¶
func (*ProtocolState) ProtoMessage()
func (*ProtocolState) Reset ¶
func (m *ProtocolState) Reset()
func (*ProtocolState) Size ¶
func (m *ProtocolState) Size() (n int)
func (*ProtocolState) String ¶
func (m *ProtocolState) String() string
func (*ProtocolState) Unmarshal ¶
func (m *ProtocolState) Unmarshal(dAtA []byte) error
func (*ProtocolState) XXX_DiscardUnknown ¶
func (m *ProtocolState) XXX_DiscardUnknown()
func (*ProtocolState) XXX_Marshal ¶
func (m *ProtocolState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtocolState) XXX_Merge ¶
func (m *ProtocolState) XXX_Merge(src proto.Message)
func (*ProtocolState) XXX_Size ¶
func (m *ProtocolState) XXX_Size() int
func (*ProtocolState) XXX_Unmarshal ¶
func (m *ProtocolState) XXX_Unmarshal(b []byte) error
type Protocols ¶ added in v0.7.43
type Protocols struct {
State []*ProtocolState `protobuf:"bytes,1,rep,name=state,proto3" json:"state,omitempty"`
}
Protocols
func (*Protocols) Descriptor ¶ added in v0.7.43
func (*Protocols) GetState ¶ added in v0.7.43
func (m *Protocols) GetState() []*ProtocolState
func (*Protocols) MarshalToSizedBuffer ¶ added in v0.7.43
func (*Protocols) ProtoMessage ¶ added in v0.7.43
func (*Protocols) ProtoMessage()
func (*Protocols) XXX_DiscardUnknown ¶ added in v0.7.43
func (m *Protocols) XXX_DiscardUnknown()
func (*Protocols) XXX_Marshal ¶ added in v0.7.43
func (*Protocols) XXX_Unmarshal ¶ added in v0.7.43
type RANEntityKinds ¶ added in v0.7.34
type RANEntityKinds int32
Kinds of RAN entities
const ( RANEntityKinds_E2NODE RANEntityKinds = 0 RANEntityKinds_E2CELL RANEntityKinds = 1 )
func (RANEntityKinds) EnumDescriptor ¶ added in v0.7.34
func (RANEntityKinds) EnumDescriptor() ([]byte, []int)
func (RANEntityKinds) String ¶ added in v0.7.34
func (x RANEntityKinds) String() string
type RANRelationKinds ¶ added in v0.7.34
type RANRelationKinds int32
Kinds of RAN relations
const ( RANRelationKinds_CONTROLS RANRelationKinds = 0 RANRelationKinds_CONTAINS RANRelationKinds = 1 RANRelationKinds_NEIGHBORS RANRelationKinds = 2 )
func (RANRelationKinds) EnumDescriptor ¶ added in v0.7.34
func (RANRelationKinds) EnumDescriptor() ([]byte, []int)
func (RANRelationKinds) String ¶ added in v0.7.34
func (x RANRelationKinds) String() string
type RCRanFunction ¶ added in v0.7.34
type RCRanFunction struct {
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*RCRanFunction) Descriptor ¶ added in v0.7.34
func (*RCRanFunction) Descriptor() ([]byte, []int)
func (*RCRanFunction) GetID ¶ added in v0.7.34
func (m *RCRanFunction) GetID() string
func (*RCRanFunction) Marshal ¶ added in v0.7.34
func (m *RCRanFunction) Marshal() (dAtA []byte, err error)
func (*RCRanFunction) MarshalTo ¶ added in v0.7.34
func (m *RCRanFunction) MarshalTo(dAtA []byte) (int, error)
func (*RCRanFunction) MarshalToSizedBuffer ¶ added in v0.7.34
func (m *RCRanFunction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RCRanFunction) ProtoMessage ¶ added in v0.7.34
func (*RCRanFunction) ProtoMessage()
func (*RCRanFunction) Reset ¶ added in v0.7.34
func (m *RCRanFunction) Reset()
func (*RCRanFunction) Size ¶ added in v0.7.34
func (m *RCRanFunction) Size() (n int)
func (*RCRanFunction) String ¶ added in v0.7.34
func (m *RCRanFunction) String() string
func (*RCRanFunction) Unmarshal ¶ added in v0.7.34
func (m *RCRanFunction) Unmarshal(dAtA []byte) error
func (*RCRanFunction) XXX_DiscardUnknown ¶ added in v0.7.34
func (m *RCRanFunction) XXX_DiscardUnknown()
func (*RCRanFunction) XXX_Marshal ¶ added in v0.7.34
func (m *RCRanFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RCRanFunction) XXX_Merge ¶ added in v0.7.34
func (m *RCRanFunction) XXX_Merge(src proto.Message)
func (*RCRanFunction) XXX_Size ¶ added in v0.7.34
func (m *RCRanFunction) XXX_Size() int
func (*RCRanFunction) XXX_Unmarshal ¶ added in v0.7.34
func (m *RCRanFunction) XXX_Unmarshal(b []byte) error
type Relation ¶
type Relation struct { // user defined relation kind KindID ID `protobuf:"bytes,1,opt,name=kind_id,json=kindId,proto3,casttype=ID" json:"kind_id,omitempty"` SrcEntityID ID `protobuf:"bytes,2,opt,name=src_entity_id,json=srcEntityId,proto3,casttype=ID" json:"src_entity_id,omitempty"` TgtEntityID ID `protobuf:"bytes,3,opt,name=tgt_entity_id,json=tgtEntityId,proto3,casttype=ID" json:"tgt_entity_id,omitempty"` }
Relation represents any "relation" between two entitites in the topology.
func (*Relation) Descriptor ¶
func (*Relation) GetSrcEntityID ¶
func (*Relation) GetTgtEntityID ¶
func (*Relation) MarshalToSizedBuffer ¶
func (*Relation) ProtoMessage ¶
func (*Relation) ProtoMessage()
func (*Relation) XXX_DiscardUnknown ¶
func (m *Relation) XXX_DiscardUnknown()
func (*Relation) XXX_Marshal ¶
func (*Relation) XXX_Unmarshal ¶
type ServiceModelInfo ¶ added in v0.7.34
type ServiceModelInfo struct { OID string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` RanFunctions []*types.Any `protobuf:"bytes,3,rep,name=ran_functions,json=ranFunctions,proto3" json:"ran_functions,omitempty"` }
func (*ServiceModelInfo) Descriptor ¶ added in v0.7.34
func (*ServiceModelInfo) Descriptor() ([]byte, []int)
func (*ServiceModelInfo) GetName ¶ added in v0.7.34
func (m *ServiceModelInfo) GetName() string
func (*ServiceModelInfo) GetOID ¶ added in v0.7.34
func (m *ServiceModelInfo) GetOID() string
func (*ServiceModelInfo) GetRanFunctions ¶ added in v0.7.34
func (m *ServiceModelInfo) GetRanFunctions() []*types.Any
func (*ServiceModelInfo) Marshal ¶ added in v0.7.34
func (m *ServiceModelInfo) Marshal() (dAtA []byte, err error)
func (*ServiceModelInfo) MarshalTo ¶ added in v0.7.34
func (m *ServiceModelInfo) MarshalTo(dAtA []byte) (int, error)
func (*ServiceModelInfo) MarshalToSizedBuffer ¶ added in v0.7.34
func (m *ServiceModelInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServiceModelInfo) ProtoMessage ¶ added in v0.7.34
func (*ServiceModelInfo) ProtoMessage()
func (*ServiceModelInfo) Reset ¶ added in v0.7.34
func (m *ServiceModelInfo) Reset()
func (*ServiceModelInfo) Size ¶ added in v0.7.34
func (m *ServiceModelInfo) Size() (n int)
func (*ServiceModelInfo) String ¶ added in v0.7.34
func (m *ServiceModelInfo) String() string
func (*ServiceModelInfo) Unmarshal ¶ added in v0.7.34
func (m *ServiceModelInfo) Unmarshal(dAtA []byte) error
func (*ServiceModelInfo) XXX_DiscardUnknown ¶ added in v0.7.34
func (m *ServiceModelInfo) XXX_DiscardUnknown()
func (*ServiceModelInfo) XXX_Marshal ¶ added in v0.7.34
func (m *ServiceModelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceModelInfo) XXX_Merge ¶ added in v0.7.34
func (m *ServiceModelInfo) XXX_Merge(src proto.Message)
func (*ServiceModelInfo) XXX_Size ¶ added in v0.7.34
func (m *ServiceModelInfo) XXX_Size() int
func (*ServiceModelInfo) XXX_Unmarshal ¶ added in v0.7.34
func (m *ServiceModelInfo) XXX_Unmarshal(b []byte) error
type ServiceState ¶
type ServiceState int32
ServiceState represents the state of the gRPC service (e.g. gNMI) to the device from the service container
const ( //UNKNOWN_SERVICE_STATE constant needed to go around proto3 nullifying the 0 values ServiceState_UNKNOWN_SERVICE_STATE ServiceState = 0 // AVAILABLE indicates the corresponding grpc service is available ServiceState_AVAILABLE ServiceState = 1 // UNAVAILABLE indicates the corresponding grpc service is not available ServiceState_UNAVAILABLE ServiceState = 2 // CONNECTING indicates the corresponding protocol is in the connecting phase on this device ServiceState_CONNECTING ServiceState = 3 )
func (ServiceState) EnumDescriptor ¶
func (ServiceState) EnumDescriptor() ([]byte, []int)
func (ServiceState) String ¶
func (x ServiceState) String() string
type TLSOptions ¶ added in v0.7.34
type TLSOptions struct { Insecure bool `protobuf:"varint,1,opt,name=insecure,proto3" json:"insecure,omitempty"` Plain bool `protobuf:"varint,2,opt,name=plain,proto3" json:"plain,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` CaCert string `protobuf:"bytes,4,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"` Cert string `protobuf:"bytes,5,opt,name=cert,proto3" json:"cert,omitempty"` }
TLS connectivity aspect
func (*TLSOptions) Descriptor ¶ added in v0.7.34
func (*TLSOptions) Descriptor() ([]byte, []int)
func (*TLSOptions) GetCaCert ¶ added in v0.7.34
func (m *TLSOptions) GetCaCert() string
func (*TLSOptions) GetCert ¶ added in v0.7.34
func (m *TLSOptions) GetCert() string
func (*TLSOptions) GetInsecure ¶ added in v0.7.34
func (m *TLSOptions) GetInsecure() bool
func (*TLSOptions) GetKey ¶ added in v0.7.34
func (m *TLSOptions) GetKey() string
func (*TLSOptions) GetPlain ¶ added in v0.7.34
func (m *TLSOptions) GetPlain() bool
func (*TLSOptions) Marshal ¶ added in v0.7.34
func (m *TLSOptions) Marshal() (dAtA []byte, err error)
func (*TLSOptions) MarshalTo ¶ added in v0.7.34
func (m *TLSOptions) MarshalTo(dAtA []byte) (int, error)
func (*TLSOptions) MarshalToSizedBuffer ¶ added in v0.7.34
func (m *TLSOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLSOptions) ProtoMessage ¶ added in v0.7.34
func (*TLSOptions) ProtoMessage()
func (*TLSOptions) Reset ¶ added in v0.7.34
func (m *TLSOptions) Reset()
func (*TLSOptions) Size ¶ added in v0.7.34
func (m *TLSOptions) Size() (n int)
func (*TLSOptions) String ¶ added in v0.7.34
func (m *TLSOptions) String() string
func (*TLSOptions) Unmarshal ¶ added in v0.7.34
func (m *TLSOptions) Unmarshal(dAtA []byte) error
func (*TLSOptions) XXX_DiscardUnknown ¶ added in v0.7.34
func (m *TLSOptions) XXX_DiscardUnknown()
func (*TLSOptions) XXX_Marshal ¶ added in v0.7.34
func (m *TLSOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLSOptions) XXX_Merge ¶ added in v0.7.34
func (m *TLSOptions) XXX_Merge(src proto.Message)
func (*TLSOptions) XXX_Size ¶ added in v0.7.34
func (m *TLSOptions) XXX_Size() int
func (*TLSOptions) XXX_Unmarshal ¶ added in v0.7.34
func (m *TLSOptions) XXX_Unmarshal(b []byte) error
type TopoClient ¶
type TopoClient interface { // Create a new topology object Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) // Get an object from topology Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) // Update an existing topology object Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) // Delete an object from topology Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) // List gets a stream of requested objects List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) // Watch returns a stream of topo change notifications Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (Topo_WatchClient, error) }
TopoClient is the client API for Topo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func CreateTopoClient ¶
func CreateTopoClient(cc *grpc.ClientConn) TopoClient
CreateTopoClient creates and returns a new topo device client
func NewTopoClient ¶
func NewTopoClient(cc *grpc.ClientConn) TopoClient
type TopoServer ¶
type TopoServer interface { // Create a new topology object Create(context.Context, *CreateRequest) (*CreateResponse, error) // Get an object from topology Get(context.Context, *GetRequest) (*GetResponse, error) // Update an existing topology object Update(context.Context, *UpdateRequest) (*UpdateResponse, error) // Delete an object from topology Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) // List gets a stream of requested objects List(context.Context, *ListRequest) (*ListResponse, error) // Watch returns a stream of topo change notifications Watch(*WatchRequest, Topo_WatchServer) error }
TopoServer is the server API for Topo service.
type Topo_WatchClient ¶
type Topo_WatchClient interface { Recv() (*WatchResponse, error) grpc.ClientStream }
type Topo_WatchServer ¶
type Topo_WatchServer interface { Send(*WatchResponse) error grpc.ServerStream }
type UnimplementedTopoServer ¶
type UnimplementedTopoServer struct { }
UnimplementedTopoServer can be embedded to have forward compatible implementations.
func (*UnimplementedTopoServer) Create ¶
func (*UnimplementedTopoServer) Create(ctx context.Context, req *CreateRequest) (*CreateResponse, error)
func (*UnimplementedTopoServer) Delete ¶
func (*UnimplementedTopoServer) Delete(ctx context.Context, req *DeleteRequest) (*DeleteResponse, error)
func (*UnimplementedTopoServer) Get ¶
func (*UnimplementedTopoServer) Get(ctx context.Context, req *GetRequest) (*GetResponse, error)
func (*UnimplementedTopoServer) List ¶
func (*UnimplementedTopoServer) List(ctx context.Context, req *ListRequest) (*ListResponse, error)
func (*UnimplementedTopoServer) Update ¶
func (*UnimplementedTopoServer) Update(ctx context.Context, req *UpdateRequest) (*UpdateResponse, error)
func (*UnimplementedTopoServer) Watch ¶
func (*UnimplementedTopoServer) Watch(req *WatchRequest, srv Topo_WatchServer) error
type UpdateRequest ¶
type UpdateRequest struct {
Object *Object `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
}
func (*UpdateRequest) Descriptor ¶
func (*UpdateRequest) Descriptor() ([]byte, []int)
func (*UpdateRequest) GetObject ¶
func (m *UpdateRequest) GetObject() *Object
func (*UpdateRequest) Marshal ¶
func (m *UpdateRequest) Marshal() (dAtA []byte, err error)
func (*UpdateRequest) MarshalToSizedBuffer ¶
func (m *UpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) Reset ¶
func (m *UpdateRequest) Reset()
func (*UpdateRequest) Size ¶
func (m *UpdateRequest) Size() (n int)
func (*UpdateRequest) String ¶
func (m *UpdateRequest) String() string
func (*UpdateRequest) Unmarshal ¶
func (m *UpdateRequest) Unmarshal(dAtA []byte) error
func (*UpdateRequest) XXX_DiscardUnknown ¶
func (m *UpdateRequest) XXX_DiscardUnknown()
func (*UpdateRequest) XXX_Marshal ¶
func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateRequest) XXX_Merge ¶
func (m *UpdateRequest) XXX_Merge(src proto.Message)
func (*UpdateRequest) XXX_Size ¶
func (m *UpdateRequest) XXX_Size() int
func (*UpdateRequest) XXX_Unmarshal ¶
func (m *UpdateRequest) XXX_Unmarshal(b []byte) error
type UpdateResponse ¶
type UpdateResponse struct {
Object *Object `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
}
func (*UpdateResponse) Descriptor ¶
func (*UpdateResponse) Descriptor() ([]byte, []int)
func (*UpdateResponse) GetObject ¶
func (m *UpdateResponse) GetObject() *Object
func (*UpdateResponse) Marshal ¶
func (m *UpdateResponse) Marshal() (dAtA []byte, err error)
func (*UpdateResponse) MarshalToSizedBuffer ¶
func (m *UpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) Reset ¶
func (m *UpdateResponse) Reset()
func (*UpdateResponse) Size ¶
func (m *UpdateResponse) Size() (n int)
func (*UpdateResponse) String ¶
func (m *UpdateResponse) String() string
func (*UpdateResponse) Unmarshal ¶
func (m *UpdateResponse) Unmarshal(dAtA []byte) error
func (*UpdateResponse) XXX_DiscardUnknown ¶
func (m *UpdateResponse) XXX_DiscardUnknown()
func (*UpdateResponse) XXX_Marshal ¶
func (m *UpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateResponse) XXX_Merge ¶
func (m *UpdateResponse) XXX_Merge(src proto.Message)
func (*UpdateResponse) XXX_Size ¶
func (m *UpdateResponse) XXX_Size() int
func (*UpdateResponse) XXX_Unmarshal ¶
func (m *UpdateResponse) XXX_Unmarshal(b []byte) error
type WatchRequest ¶
type WatchRequest struct { Filters *Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` Noreplay bool `protobuf:"varint,2,opt,name=noreplay,proto3" json:"noreplay,omitempty"` }
func (*WatchRequest) Descriptor ¶
func (*WatchRequest) Descriptor() ([]byte, []int)
func (*WatchRequest) GetFilters ¶ added in v0.7.42
func (m *WatchRequest) GetFilters() *Filters
func (*WatchRequest) GetNoreplay ¶
func (m *WatchRequest) GetNoreplay() bool
func (*WatchRequest) Marshal ¶
func (m *WatchRequest) Marshal() (dAtA []byte, err error)
func (*WatchRequest) MarshalToSizedBuffer ¶
func (m *WatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WatchRequest) ProtoMessage ¶
func (*WatchRequest) ProtoMessage()
func (*WatchRequest) Reset ¶
func (m *WatchRequest) Reset()
func (*WatchRequest) Size ¶
func (m *WatchRequest) Size() (n int)
func (*WatchRequest) String ¶
func (m *WatchRequest) String() string
func (*WatchRequest) Unmarshal ¶
func (m *WatchRequest) Unmarshal(dAtA []byte) error
func (*WatchRequest) XXX_DiscardUnknown ¶
func (m *WatchRequest) XXX_DiscardUnknown()
func (*WatchRequest) XXX_Marshal ¶
func (m *WatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WatchRequest) XXX_Merge ¶
func (m *WatchRequest) XXX_Merge(src proto.Message)
func (*WatchRequest) XXX_Size ¶
func (m *WatchRequest) XXX_Size() int
func (*WatchRequest) XXX_Unmarshal ¶
func (m *WatchRequest) XXX_Unmarshal(b []byte) error
type WatchResponse ¶
type WatchResponse struct {
Event Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event"`
}
func (*WatchResponse) Descriptor ¶
func (*WatchResponse) Descriptor() ([]byte, []int)
func (*WatchResponse) GetEvent ¶
func (m *WatchResponse) GetEvent() Event
func (*WatchResponse) Marshal ¶
func (m *WatchResponse) Marshal() (dAtA []byte, err error)
func (*WatchResponse) MarshalToSizedBuffer ¶
func (m *WatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WatchResponse) ProtoMessage ¶
func (*WatchResponse) ProtoMessage()
func (*WatchResponse) Reset ¶
func (m *WatchResponse) Reset()
func (*WatchResponse) Size ¶
func (m *WatchResponse) Size() (n int)
func (*WatchResponse) String ¶
func (m *WatchResponse) String() string
func (*WatchResponse) Unmarshal ¶
func (m *WatchResponse) Unmarshal(dAtA []byte) error
func (*WatchResponse) XXX_DiscardUnknown ¶
func (m *WatchResponse) XXX_DiscardUnknown()
func (*WatchResponse) XXX_Marshal ¶
func (m *WatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WatchResponse) XXX_Merge ¶
func (m *WatchResponse) XXX_Merge(src proto.Message)
func (*WatchResponse) XXX_Size ¶
func (m *WatchResponse) XXX_Size() int
func (*WatchResponse) XXX_Unmarshal ¶
func (m *WatchResponse) XXX_Unmarshal(b []byte) error