Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiConnect ¶
func ApiConnect(ip string, port string) (bbsim.BBSimClient, *grpc.ClientConn)
func Connect ¶
func Connect(ip string, port string) (openolt.OpenoltClient, *grpc.ClientConn)
TODO Move in a different file
func ValidateAndClose ¶
func ValidateAndClose(olt *OltMock)
Types ¶
type MockStream ¶ added in v1.6.0
type MockStream struct {
grpc.ServerStream
}
func (*MockStream) Context ¶ added in v1.6.0
func (*MockStream) Context() context.Context
func (*MockStream) Send ¶ added in v1.6.0
func (*MockStream) Send(ind *openolt.Indication) error
Click to show internal directories.
Click to hide internal directories.