Documentation ¶
Index ¶
- type ConfigCallback
- type EscapeFunc
- type GNMIClient
- func (_m *GNMIClient) Capabilities(ctx context.Context, in *gnmi.CapabilityRequest, opts ...grpc.CallOption) (*gnmi.CapabilityResponse, error)
- func (_m *GNMIClient) Get(ctx context.Context, in *gnmi.GetRequest, opts ...grpc.CallOption) (*gnmi.GetResponse, error)
- func (_m *GNMIClient) Set(ctx context.Context, in *gnmi.SetRequest, opts ...grpc.CallOption) (*gnmi.SetResponse, error)
- func (_m *GNMIClient) Subscribe(ctx context.Context, opts ...grpc.CallOption) (gnmi.GNMI_SubscribeClient, error)
- type GNMIServer
- func (_m *GNMIServer) Capabilities(_a0 context.Context, _a1 *gnmi.CapabilityRequest) (*gnmi.CapabilityResponse, error)
- func (_m *GNMIServer) Get(_a0 context.Context, _a1 *gnmi.GetRequest) (*gnmi.GetResponse, error)
- func (_m *GNMIServer) Set(_a0 context.Context, _a1 *gnmi.SetRequest) (*gnmi.SetResponse, error)
- func (_m *GNMIServer) Subscribe(_a0 gnmi.GNMI_SubscribeServer) error
- type GNMI_SubscribeClient
- func (_m *GNMI_SubscribeClient) CloseSend() error
- func (_m *GNMI_SubscribeClient) Context() context.Context
- func (_m *GNMI_SubscribeClient) Header() (metadata.MD, error)
- func (_m *GNMI_SubscribeClient) Recv() (*gnmi.SubscribeResponse, error)
- func (_m *GNMI_SubscribeClient) RecvMsg(m interface{}) error
- func (_m *GNMI_SubscribeClient) Send(_a0 *gnmi.SubscribeRequest) error
- func (_m *GNMI_SubscribeClient) SendMsg(m interface{}) error
- func (_m *GNMI_SubscribeClient) Trailer() metadata.MD
- type GNMI_SubscribeServer
- func (_m *GNMI_SubscribeServer) Context() context.Context
- func (_m *GNMI_SubscribeServer) Recv() (*gnmi.SubscribeRequest, error)
- func (_m *GNMI_SubscribeServer) RecvMsg(m interface{}) error
- func (_m *GNMI_SubscribeServer) Send(_a0 *gnmi.SubscribeResponse) error
- func (_m *GNMI_SubscribeServer) SendHeader(_a0 metadata.MD) error
- func (_m *GNMI_SubscribeServer) SendMsg(m interface{}) error
- func (_m *GNMI_SubscribeServer) SetHeader(_a0 metadata.MD) error
- func (_m *GNMI_SubscribeServer) SetTrailer(_a0 metadata.MD)
- type JSONUnmarshaler
- type PrincipalNetworkDomain
- func (_m *PrincipalNetworkDomain) AddDevice(_a0 interface{}) error
- func (_m *PrincipalNetworkDomain) AddSbi(_a0 interface{}) error
- func (_m *PrincipalNetworkDomain) ContainsDevice(_a0 uuid.UUID) bool
- func (_m *PrincipalNetworkDomain) Destroy() error
- func (_m *PrincipalNetworkDomain) GetDescription() string
- func (_m *PrincipalNetworkDomain) GetName() string
- func (_m *PrincipalNetworkDomain) GetSBIs() interface{}
- func (_m *PrincipalNetworkDomain) ID() uuid.UUID
- func (_m *PrincipalNetworkDomain) MarshalDevice(_a0 uuid.UUID) (string, error)
- func (_m *PrincipalNetworkDomain) RemoveDevice(_a0 uuid.UUID) error
- func (_m *PrincipalNetworkDomain) RemoveSbi(_a0 uuid.UUID) error
- func (_m *PrincipalNetworkDomain) Request(_a0 uuid.UUID, _a1 string) error
- func (_m *PrincipalNetworkDomain) RequestAll(_a0 string) error
- type PublishFunc
- type SBIGreeter
- type SouthboundInterface
- type Storable
- type Transport
- func (_m *Transport) Get(ctx context.Context, params ...string) (interface{}, error)
- func (_m *Transport) GetOptions() interface{}
- func (_m *Transport) ProcessResponse(resp interface{}, root interface{}, models *ytypes.Schema) error
- func (_m *Transport) Set(ctx context.Context, params ...interface{}) (interface{}, error)
- func (_m *Transport) Subscribe(ctx context.Context, params ...string) error
- func (_m *Transport) Type() string
- type TransportOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigCallback ¶
ConfigCallback is an autogenerated mock type for the ConfigCallback type
func (*ConfigCallback) Execute ¶
func (_m *ConfigCallback) Execute(_a0 ygot.ValidatedGoStruct) error
Execute provides a mock function with given fields: _a0
type EscapeFunc ¶
EscapeFunc is an autogenerated mock type for the EscapeFunc type
func (*EscapeFunc) Execute ¶
func (_m *EscapeFunc) Execute(k string) string
Execute provides a mock function with given fields: k
type GNMIClient ¶
GNMIClient is an autogenerated mock type for the GNMIClient type
func (*GNMIClient) Capabilities ¶
func (_m *GNMIClient) Capabilities(ctx context.Context, in *gnmi.CapabilityRequest, opts ...grpc.CallOption) (*gnmi.CapabilityResponse, error)
Capabilities provides a mock function with given fields: ctx, in, opts
func (*GNMIClient) Get ¶
func (_m *GNMIClient) Get(ctx context.Context, in *gnmi.GetRequest, opts ...grpc.CallOption) (*gnmi.GetResponse, error)
Get provides a mock function with given fields: ctx, in, opts
func (*GNMIClient) Set ¶
func (_m *GNMIClient) Set(ctx context.Context, in *gnmi.SetRequest, opts ...grpc.CallOption) (*gnmi.SetResponse, error)
Set provides a mock function with given fields: ctx, in, opts
func (*GNMIClient) Subscribe ¶
func (_m *GNMIClient) Subscribe(ctx context.Context, opts ...grpc.CallOption) (gnmi.GNMI_SubscribeClient, error)
Subscribe provides a mock function with given fields: ctx, opts
type GNMIServer ¶
GNMIServer is an autogenerated mock type for the GNMIServer type
func (*GNMIServer) Capabilities ¶
func (_m *GNMIServer) Capabilities(_a0 context.Context, _a1 *gnmi.CapabilityRequest) (*gnmi.CapabilityResponse, error)
Capabilities provides a mock function with given fields: _a0, _a1
func (*GNMIServer) Get ¶
func (_m *GNMIServer) Get(_a0 context.Context, _a1 *gnmi.GetRequest) (*gnmi.GetResponse, error)
Get provides a mock function with given fields: _a0, _a1
func (*GNMIServer) Set ¶
func (_m *GNMIServer) Set(_a0 context.Context, _a1 *gnmi.SetRequest) (*gnmi.SetResponse, error)
Set provides a mock function with given fields: _a0, _a1
func (*GNMIServer) Subscribe ¶
func (_m *GNMIServer) Subscribe(_a0 gnmi.GNMI_SubscribeServer) error
Subscribe provides a mock function with given fields: _a0
type GNMI_SubscribeClient ¶
GNMI_SubscribeClient is an autogenerated mock type for the GNMI_SubscribeClient type
func (*GNMI_SubscribeClient) CloseSend ¶
func (_m *GNMI_SubscribeClient) CloseSend() error
CloseSend provides a mock function with given fields:
func (*GNMI_SubscribeClient) Context ¶
func (_m *GNMI_SubscribeClient) Context() context.Context
Context provides a mock function with given fields:
func (*GNMI_SubscribeClient) Header ¶
func (_m *GNMI_SubscribeClient) Header() (metadata.MD, error)
Header provides a mock function with given fields:
func (*GNMI_SubscribeClient) Recv ¶
func (_m *GNMI_SubscribeClient) Recv() (*gnmi.SubscribeResponse, error)
Recv provides a mock function with given fields:
func (*GNMI_SubscribeClient) RecvMsg ¶
func (_m *GNMI_SubscribeClient) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*GNMI_SubscribeClient) Send ¶
func (_m *GNMI_SubscribeClient) Send(_a0 *gnmi.SubscribeRequest) error
Send provides a mock function with given fields: _a0
func (*GNMI_SubscribeClient) SendMsg ¶
func (_m *GNMI_SubscribeClient) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*GNMI_SubscribeClient) Trailer ¶
func (_m *GNMI_SubscribeClient) Trailer() metadata.MD
Trailer provides a mock function with given fields:
type GNMI_SubscribeServer ¶
GNMI_SubscribeServer is an autogenerated mock type for the GNMI_SubscribeServer type
func (*GNMI_SubscribeServer) Context ¶
func (_m *GNMI_SubscribeServer) Context() context.Context
Context provides a mock function with given fields:
func (*GNMI_SubscribeServer) Recv ¶
func (_m *GNMI_SubscribeServer) Recv() (*gnmi.SubscribeRequest, error)
Recv provides a mock function with given fields:
func (*GNMI_SubscribeServer) RecvMsg ¶
func (_m *GNMI_SubscribeServer) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*GNMI_SubscribeServer) Send ¶
func (_m *GNMI_SubscribeServer) Send(_a0 *gnmi.SubscribeResponse) error
Send provides a mock function with given fields: _a0
func (*GNMI_SubscribeServer) SendHeader ¶
func (_m *GNMI_SubscribeServer) SendHeader(_a0 metadata.MD) error
SendHeader provides a mock function with given fields: _a0
func (*GNMI_SubscribeServer) SendMsg ¶
func (_m *GNMI_SubscribeServer) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*GNMI_SubscribeServer) SetHeader ¶
func (_m *GNMI_SubscribeServer) SetHeader(_a0 metadata.MD) error
SetHeader provides a mock function with given fields: _a0
func (*GNMI_SubscribeServer) SetTrailer ¶
func (_m *GNMI_SubscribeServer) SetTrailer(_a0 metadata.MD)
SetTrailer provides a mock function with given fields: _a0
type JSONUnmarshaler ¶
JSONUnmarshaler is an autogenerated mock type for the JSONUnmarshaler type
func (*JSONUnmarshaler) Execute ¶
func (_m *JSONUnmarshaler) Execute(_a0 []byte, _a1 ygot.GoStruct, _a2 ...ytypes.UnmarshalOpt) error
Execute provides a mock function with given fields: _a0, _a1, _a2
type PrincipalNetworkDomain ¶
PrincipalNetworkDomain is an autogenerated mock type for the PrincipalNetworkDomain type
func (*PrincipalNetworkDomain) AddDevice ¶
func (_m *PrincipalNetworkDomain) AddDevice(_a0 interface{}) error
AddDevice provides a mock function with given fields: _a0
func (*PrincipalNetworkDomain) AddSbi ¶
func (_m *PrincipalNetworkDomain) AddSbi(_a0 interface{}) error
AddSbi provides a mock function with given fields: _a0
func (*PrincipalNetworkDomain) ContainsDevice ¶
func (_m *PrincipalNetworkDomain) ContainsDevice(_a0 uuid.UUID) bool
ContainsDevice provides a mock function with given fields: _a0
func (*PrincipalNetworkDomain) Destroy ¶
func (_m *PrincipalNetworkDomain) Destroy() error
Destroy provides a mock function with given fields:
func (*PrincipalNetworkDomain) GetDescription ¶
func (_m *PrincipalNetworkDomain) GetDescription() string
GetDescription provides a mock function with given fields:
func (*PrincipalNetworkDomain) GetName ¶
func (_m *PrincipalNetworkDomain) GetName() string
GetName provides a mock function with given fields:
func (*PrincipalNetworkDomain) GetSBIs ¶
func (_m *PrincipalNetworkDomain) GetSBIs() interface{}
GetSBIs provides a mock function with given fields:
func (*PrincipalNetworkDomain) ID ¶
func (_m *PrincipalNetworkDomain) ID() uuid.UUID
Id provides a mock function with given fields:
func (*PrincipalNetworkDomain) MarshalDevice ¶
func (_m *PrincipalNetworkDomain) MarshalDevice(_a0 uuid.UUID) (string, error)
MarshalDevice provides a mock function with given fields: _a0
func (*PrincipalNetworkDomain) RemoveDevice ¶
func (_m *PrincipalNetworkDomain) RemoveDevice(_a0 uuid.UUID) error
RemoveDevice provides a mock function with given fields: _a0
func (*PrincipalNetworkDomain) RemoveSbi ¶
func (_m *PrincipalNetworkDomain) RemoveSbi(_a0 uuid.UUID) error
RemoveSbi provides a mock function with given fields: _a0
func (*PrincipalNetworkDomain) Request ¶
func (_m *PrincipalNetworkDomain) Request(_a0 uuid.UUID, _a1 string) error
Request provides a mock function with given fields: _a0, _a1
func (*PrincipalNetworkDomain) RequestAll ¶
func (_m *PrincipalNetworkDomain) RequestAll(_a0 string) error
RequestAll provides a mock function with given fields: _a0
type PublishFunc ¶
PublishFunc is an autogenerated mock type for the PublishFunc type
func (*PublishFunc) Execute ¶
func (_m *PublishFunc) Execute(addr string, message protoiface.MessageV1)
Execute provides a mock function with given fields: addr, message
type SBIGreeter ¶
SBIGreeter is an autogenerated mock type for the SBIGreeter type
func (*SBIGreeter) SBIHello ¶
func (_m *SBIGreeter) SBIHello()
SBIHello provides a mock function with given fields:
type SouthboundInterface ¶
SouthboundInterface is an autogenerated mock type for the SouthboundInterface type
func (*SouthboundInterface) ID ¶
func (_m *SouthboundInterface) ID() uuid.UUID
Id provides a mock function with given fields:
func (*SouthboundInterface) SbiIdentifier ¶
func (_m *SouthboundInterface) SbiIdentifier() string
SbiIdentifier provides a mock function with given fields:
func (*SouthboundInterface) Schema ¶
func (_m *SouthboundInterface) Schema() *ytypes.Schema
Schema provides a mock function with given fields:
func (*SouthboundInterface) SetNode ¶
func (_m *SouthboundInterface) SetNode() func(*yang.Entry, interface{}, *gnmi.Path, interface{}, []ytypes.SetNodeOpt) error
SetNode provides a mock function with given fields:
type Transport ¶
Transport is an autogenerated mock type for the Transport type
func (*Transport) GetOptions ¶
func (_m *Transport) GetOptions() interface{}
GetOptions provides a mock function with given fields:
func (*Transport) ProcessResponse ¶
func (_m *Transport) ProcessResponse(resp interface{}, root interface{}, models *ytypes.Schema) error
ProcessResponse provides a mock function with given fields: resp, root, models
type TransportOptions ¶
TransportOptions is an autogenerated mock type for the TransportOptions type
func (*TransportOptions) GetAddress ¶
func (_m *TransportOptions) GetAddress() string
GetAddress provides a mock function with given fields:
func (*TransportOptions) GetPassword ¶
func (_m *TransportOptions) GetPassword() string
GetPassword provides a mock function with given fields:
func (*TransportOptions) GetUsername ¶
func (_m *TransportOptions) GetUsername() string
GetUsername provides a mock function with given fields:
func (*TransportOptions) IsTransportOption ¶
func (_m *TransportOptions) IsTransportOption()
IsTransportOption provides a mock function with given fields:
Source Files ¶
- ConfigCallback.go
- EscapeFunc.go
- GNMIClient.go
- GNMIServer.go
- GNMI_SubscribeClient.go
- GNMI_SubscribeServer.go
- JSONUnmarshaler.go
- PrincipalNetworkDomain.go
- PublishFunc.go
- SBIGreeter.go
- SouthboundInterface.go
- Storable.go
- Transport.go
- TransportOptions.go
- isSubscribeRequest_Request.go
- isSubscribeResponse_Response.go
- isTypedValue_Value.go