Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockResponse ¶
type MockResponse struct {
// contains filtered or unexported fields
}
type ProtoconfAgentMock ¶
type ProtoconfAgentMock struct { protoconf_pb.UnimplementedProtoconfServiceServer Chan chan *protoconf_pb.ConfigUpdate Stub protoconf_pb.ProtoconfServiceClient // contains filtered or unexported fields }
func NewProtoconfAgentMock ¶
func NewProtoconfAgentMock(initial proto.Message, responses ...*MockResponse) *ProtoconfAgentMock
func (ProtoconfAgentMock) SendUpdate ¶
func (p ProtoconfAgentMock) SendUpdate(msg proto.Message)
func (ProtoconfAgentMock) SubscribeForConfig ¶
func (p ProtoconfAgentMock) SubscribeForConfig(request *protoconf_pb.ConfigSubscriptionRequest, srv protoconf_pb.ProtoconfService_SubscribeForConfigServer) error
Click to show internal directories.
Click to hide internal directories.