Documentation ¶
Overview ¶
Package service is a generated GoMock package.
Index ¶
- func RegisterCfgMgmtServer(s *grpc.Server, srv CfgMgmtServer)
- type CfgMgmtClient
- type CfgMgmtServer
- type CfgMgmt_NodeExportClient
- type CfgMgmt_NodeExportServer
- type MockCfgMgmtClient
- func (m *MockCfgMgmtClient) EXPECT() *MockCfgMgmtClientMockRecorder
- func (m *MockCfgMgmtClient) GetAttributes(ctx context.Context, in *request.Node, opts ...grpc.CallOption) (*response.NodeAttribute, error)
- func (m *MockCfgMgmtClient) GetEventFeed(ctx context.Context, in *request.EventFilter, opts ...grpc.CallOption) (*response.Events, error)
- func (m *MockCfgMgmtClient) GetEventStringBuckets(ctx context.Context, in *request.EventStrings, opts ...grpc.CallOption) (*response.EventStrings, error)
- func (m *MockCfgMgmtClient) GetEventTaskCounts(ctx context.Context, in *request.EventCountsFilter, opts ...grpc.CallOption) (*response.EventCounts, error)
- func (m *MockCfgMgmtClient) GetEventTypeCounts(ctx context.Context, in *request.EventCountsFilter, opts ...grpc.CallOption) (*response.EventCounts, error)
- func (m *MockCfgMgmtClient) GetHealth(ctx context.Context, in *request.Health, opts ...grpc.CallOption) (*response.Health, error)
- func (m *MockCfgMgmtClient) GetInventoryNodes(ctx context.Context, in *request.InventoryNodes, opts ...grpc.CallOption) (*response.InventoryNodes, error)
- func (m *MockCfgMgmtClient) GetNodeRun(ctx context.Context, in *request.NodeRun, opts ...grpc.CallOption) (*response.Run, error)
- func (m *MockCfgMgmtClient) GetNodes(ctx context.Context, in *request.Nodes, opts ...grpc.CallOption) (*struct0.ListValue, error)
- func (m *MockCfgMgmtClient) GetNodesCounts(ctx context.Context, in *request.NodesCounts, opts ...grpc.CallOption) (*response.NodesCounts, error)
- func (m *MockCfgMgmtClient) GetOrganizations(ctx context.Context, in *request.Organizations, opts ...grpc.CallOption) (*struct0.ListValue, error)
- func (m *MockCfgMgmtClient) GetPolicyCookbooks(ctx context.Context, in *request.PolicyRevision, opts ...grpc.CallOption) (*response.PolicyCookbooks, error)
- func (m *MockCfgMgmtClient) GetRuns(ctx context.Context, in *request.Runs, opts ...grpc.CallOption) (*struct0.ListValue, error)
- func (m *MockCfgMgmtClient) GetRunsCounts(ctx context.Context, in *request.RunsCounts, opts ...grpc.CallOption) (*response.RunsCounts, error)
- func (m *MockCfgMgmtClient) GetSourceFqdns(ctx context.Context, in *request.SourceFQDNS, opts ...grpc.CallOption) (*struct0.ListValue, error)
- func (m *MockCfgMgmtClient) GetSuggestions(ctx context.Context, in *request.Suggestion, opts ...grpc.CallOption) (*struct0.ListValue, error)
- func (m *MockCfgMgmtClient) GetVersion(ctx context.Context, in *request.VersionInfo, opts ...grpc.CallOption) (*response.VersionInfo, error)
- func (m *MockCfgMgmtClient) NodeExport(ctx context.Context, in *request.NodeExport, opts ...grpc.CallOption) (CfgMgmt_NodeExportClient, error)
- type MockCfgMgmtClientMockRecorder
- func (mr *MockCfgMgmtClientMockRecorder) GetAttributes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetEventFeed(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetEventStringBuckets(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetEventTaskCounts(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetEventTypeCounts(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetHealth(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetInventoryNodes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetNodeRun(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetNodes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetNodesCounts(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetOrganizations(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetPolicyCookbooks(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetRuns(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetRunsCounts(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetSourceFqdns(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetSuggestions(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) GetVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCfgMgmtClientMockRecorder) NodeExport(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockCfgMgmtServer
- func (m *MockCfgMgmtServer) EXPECT() *MockCfgMgmtServerMockRecorder
- func (m *MockCfgMgmtServer) GetAttributes(arg0 context.Context, arg1 *request.Node) (*response.NodeAttribute, error)
- func (m *MockCfgMgmtServer) GetEventFeed(arg0 context.Context, arg1 *request.EventFilter) (*response.Events, error)
- func (m *MockCfgMgmtServer) GetEventStringBuckets(arg0 context.Context, arg1 *request.EventStrings) (*response.EventStrings, error)
- func (m *MockCfgMgmtServer) GetEventTaskCounts(arg0 context.Context, arg1 *request.EventCountsFilter) (*response.EventCounts, error)
- func (m *MockCfgMgmtServer) GetEventTypeCounts(arg0 context.Context, arg1 *request.EventCountsFilter) (*response.EventCounts, error)
- func (m *MockCfgMgmtServer) GetHealth(arg0 context.Context, arg1 *request.Health) (*response.Health, error)
- func (m *MockCfgMgmtServer) GetInventoryNodes(arg0 context.Context, arg1 *request.InventoryNodes) (*response.InventoryNodes, error)
- func (m *MockCfgMgmtServer) GetNodeRun(arg0 context.Context, arg1 *request.NodeRun) (*response.Run, error)
- func (m *MockCfgMgmtServer) GetNodes(arg0 context.Context, arg1 *request.Nodes) (*struct0.ListValue, error)
- func (m *MockCfgMgmtServer) GetNodesCounts(arg0 context.Context, arg1 *request.NodesCounts) (*response.NodesCounts, error)
- func (m *MockCfgMgmtServer) GetOrganizations(arg0 context.Context, arg1 *request.Organizations) (*struct0.ListValue, error)
- func (m *MockCfgMgmtServer) GetPolicyCookbooks(arg0 context.Context, arg1 *request.PolicyRevision) (*response.PolicyCookbooks, error)
- func (m *MockCfgMgmtServer) GetRuns(arg0 context.Context, arg1 *request.Runs) (*struct0.ListValue, error)
- func (m *MockCfgMgmtServer) GetRunsCounts(arg0 context.Context, arg1 *request.RunsCounts) (*response.RunsCounts, error)
- func (m *MockCfgMgmtServer) GetSourceFqdns(arg0 context.Context, arg1 *request.SourceFQDNS) (*struct0.ListValue, error)
- func (m *MockCfgMgmtServer) GetSuggestions(arg0 context.Context, arg1 *request.Suggestion) (*struct0.ListValue, error)
- func (m *MockCfgMgmtServer) GetVersion(arg0 context.Context, arg1 *request.VersionInfo) (*response.VersionInfo, error)
- func (m *MockCfgMgmtServer) NodeExport(arg0 *request.NodeExport, arg1 CfgMgmt_NodeExportServer) error
- type MockCfgMgmtServerMockRecorder
- func (mr *MockCfgMgmtServerMockRecorder) GetAttributes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetEventFeed(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetEventStringBuckets(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetEventTaskCounts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetEventTypeCounts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetHealth(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetInventoryNodes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetNodeRun(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetNodes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetNodesCounts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetOrganizations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetPolicyCookbooks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetRuns(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetRunsCounts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetSourceFqdns(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetSuggestions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) GetVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCfgMgmtServerMockRecorder) NodeExport(arg0, arg1 interface{}) *gomock.Call
- type MockCfgMgmt_NodeExportClient
- func (m *MockCfgMgmt_NodeExportClient) CloseSend() error
- func (m *MockCfgMgmt_NodeExportClient) Context() context.Context
- func (m *MockCfgMgmt_NodeExportClient) EXPECT() *MockCfgMgmt_NodeExportClientMockRecorder
- func (m *MockCfgMgmt_NodeExportClient) Header() (metadata.MD, error)
- func (m *MockCfgMgmt_NodeExportClient) Recv() (*response.ExportData, error)
- func (m_2 *MockCfgMgmt_NodeExportClient) RecvMsg(m interface{}) error
- func (m_2 *MockCfgMgmt_NodeExportClient) SendMsg(m interface{}) error
- func (m *MockCfgMgmt_NodeExportClient) Trailer() metadata.MD
- type MockCfgMgmt_NodeExportClientMockRecorder
- func (mr *MockCfgMgmt_NodeExportClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockCfgMgmt_NodeExportClientMockRecorder) Context() *gomock.Call
- func (mr *MockCfgMgmt_NodeExportClientMockRecorder) Header() *gomock.Call
- func (mr *MockCfgMgmt_NodeExportClientMockRecorder) Recv() *gomock.Call
- func (mr *MockCfgMgmt_NodeExportClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockCfgMgmt_NodeExportClientMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockCfgMgmt_NodeExportClientMockRecorder) Trailer() *gomock.Call
- type MockCfgMgmt_NodeExportServer
- func (m *MockCfgMgmt_NodeExportServer) Context() context.Context
- func (m *MockCfgMgmt_NodeExportServer) EXPECT() *MockCfgMgmt_NodeExportServerMockRecorder
- func (m_2 *MockCfgMgmt_NodeExportServer) RecvMsg(m interface{}) error
- func (m *MockCfgMgmt_NodeExportServer) Send(arg0 *response.ExportData) error
- func (m *MockCfgMgmt_NodeExportServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockCfgMgmt_NodeExportServer) SendMsg(m interface{}) error
- func (m *MockCfgMgmt_NodeExportServer) SetHeader(arg0 metadata.MD) error
- func (m *MockCfgMgmt_NodeExportServer) SetTrailer(arg0 metadata.MD)
- type MockCfgMgmt_NodeExportServerMockRecorder
- func (mr *MockCfgMgmt_NodeExportServerMockRecorder) Context() *gomock.Call
- func (mr *MockCfgMgmt_NodeExportServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockCfgMgmt_NodeExportServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockCfgMgmt_NodeExportServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockCfgMgmt_NodeExportServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockCfgMgmt_NodeExportServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockCfgMgmt_NodeExportServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCfgMgmtServer ¶
func RegisterCfgMgmtServer(s *grpc.Server, srv CfgMgmtServer)
Types ¶
type CfgMgmtClient ¶
type CfgMgmtClient interface { GetVersion(ctx context.Context, in *request.VersionInfo, opts ...grpc.CallOption) (*response.VersionInfo, error) GetHealth(ctx context.Context, in *request.Health, opts ...grpc.CallOption) (*response.Health, error) GetNodesCounts(ctx context.Context, in *request.NodesCounts, opts ...grpc.CallOption) (*response.NodesCounts, error) GetRunsCounts(ctx context.Context, in *request.RunsCounts, opts ...grpc.CallOption) (*response.RunsCounts, error) GetNodeRun(ctx context.Context, in *request.NodeRun, opts ...grpc.CallOption) (*response.Run, error) GetNodes(ctx context.Context, in *request.Nodes, opts ...grpc.CallOption) (*_struct.ListValue, error) GetRuns(ctx context.Context, in *request.Runs, opts ...grpc.CallOption) (*_struct.ListValue, error) GetSuggestions(ctx context.Context, in *request.Suggestion, opts ...grpc.CallOption) (*_struct.ListValue, error) GetOrganizations(ctx context.Context, in *request.Organizations, opts ...grpc.CallOption) (*_struct.ListValue, error) GetSourceFqdns(ctx context.Context, in *request.SourceFQDNS, opts ...grpc.CallOption) (*_struct.ListValue, error) GetAttributes(ctx context.Context, in *request.Node, opts ...grpc.CallOption) (*response.NodeAttribute, error) GetPolicyCookbooks(ctx context.Context, in *request.PolicyRevision, opts ...grpc.CallOption) (*response.PolicyCookbooks, error) GetEventFeed(ctx context.Context, in *request.EventFilter, opts ...grpc.CallOption) (*response.Events, error) GetEventTypeCounts(ctx context.Context, in *request.EventCountsFilter, opts ...grpc.CallOption) (*response.EventCounts, error) GetEventTaskCounts(ctx context.Context, in *request.EventCountsFilter, opts ...grpc.CallOption) (*response.EventCounts, error) GetEventStringBuckets(ctx context.Context, in *request.EventStrings, opts ...grpc.CallOption) (*response.EventStrings, error) GetInventoryNodes(ctx context.Context, in *request.InventoryNodes, opts ...grpc.CallOption) (*response.InventoryNodes, error) NodeExport(ctx context.Context, in *request.NodeExport, opts ...grpc.CallOption) (CfgMgmt_NodeExportClient, error) }
CfgMgmtClient is the client API for CfgMgmt service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCfgMgmtClient ¶
func NewCfgMgmtClient(cc *grpc.ClientConn) CfgMgmtClient
type CfgMgmtServer ¶
type CfgMgmtServer interface { GetVersion(context.Context, *request.VersionInfo) (*response.VersionInfo, error) GetHealth(context.Context, *request.Health) (*response.Health, error) GetNodesCounts(context.Context, *request.NodesCounts) (*response.NodesCounts, error) GetRunsCounts(context.Context, *request.RunsCounts) (*response.RunsCounts, error) GetNodeRun(context.Context, *request.NodeRun) (*response.Run, error) GetNodes(context.Context, *request.Nodes) (*_struct.ListValue, error) GetRuns(context.Context, *request.Runs) (*_struct.ListValue, error) GetSuggestions(context.Context, *request.Suggestion) (*_struct.ListValue, error) GetOrganizations(context.Context, *request.Organizations) (*_struct.ListValue, error) GetSourceFqdns(context.Context, *request.SourceFQDNS) (*_struct.ListValue, error) GetAttributes(context.Context, *request.Node) (*response.NodeAttribute, error) GetPolicyCookbooks(context.Context, *request.PolicyRevision) (*response.PolicyCookbooks, error) GetEventFeed(context.Context, *request.EventFilter) (*response.Events, error) GetEventTypeCounts(context.Context, *request.EventCountsFilter) (*response.EventCounts, error) GetEventTaskCounts(context.Context, *request.EventCountsFilter) (*response.EventCounts, error) GetEventStringBuckets(context.Context, *request.EventStrings) (*response.EventStrings, error) GetInventoryNodes(context.Context, *request.InventoryNodes) (*response.InventoryNodes, error) NodeExport(*request.NodeExport, CfgMgmt_NodeExportServer) error }
CfgMgmtServer is the server API for CfgMgmt service.
type CfgMgmt_NodeExportClient ¶
type CfgMgmt_NodeExportClient interface { Recv() (*response.ExportData, error) grpc.ClientStream }
type CfgMgmt_NodeExportServer ¶
type CfgMgmt_NodeExportServer interface { Send(*response.ExportData) error grpc.ServerStream }
type MockCfgMgmtClient ¶
type MockCfgMgmtClient struct {
// contains filtered or unexported fields
}
MockCfgMgmtClient is a mock of CfgMgmtClient interface
func NewMockCfgMgmtClient ¶
func NewMockCfgMgmtClient(ctrl *gomock.Controller) *MockCfgMgmtClient
NewMockCfgMgmtClient creates a new mock instance
func (*MockCfgMgmtClient) EXPECT ¶
func (m *MockCfgMgmtClient) EXPECT() *MockCfgMgmtClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCfgMgmtClient) GetAttributes ¶
func (m *MockCfgMgmtClient) GetAttributes(ctx context.Context, in *request.Node, opts ...grpc.CallOption) (*response.NodeAttribute, error)
GetAttributes mocks base method
func (*MockCfgMgmtClient) GetEventFeed ¶
func (m *MockCfgMgmtClient) GetEventFeed(ctx context.Context, in *request.EventFilter, opts ...grpc.CallOption) (*response.Events, error)
GetEventFeed mocks base method
func (*MockCfgMgmtClient) GetEventStringBuckets ¶
func (m *MockCfgMgmtClient) GetEventStringBuckets(ctx context.Context, in *request.EventStrings, opts ...grpc.CallOption) (*response.EventStrings, error)
GetEventStringBuckets mocks base method
func (*MockCfgMgmtClient) GetEventTaskCounts ¶
func (m *MockCfgMgmtClient) GetEventTaskCounts(ctx context.Context, in *request.EventCountsFilter, opts ...grpc.CallOption) (*response.EventCounts, error)
GetEventTaskCounts mocks base method
func (*MockCfgMgmtClient) GetEventTypeCounts ¶
func (m *MockCfgMgmtClient) GetEventTypeCounts(ctx context.Context, in *request.EventCountsFilter, opts ...grpc.CallOption) (*response.EventCounts, error)
GetEventTypeCounts mocks base method
func (*MockCfgMgmtClient) GetHealth ¶
func (m *MockCfgMgmtClient) GetHealth(ctx context.Context, in *request.Health, opts ...grpc.CallOption) (*response.Health, error)
GetHealth mocks base method
func (*MockCfgMgmtClient) GetInventoryNodes ¶
func (m *MockCfgMgmtClient) GetInventoryNodes(ctx context.Context, in *request.InventoryNodes, opts ...grpc.CallOption) (*response.InventoryNodes, error)
GetInventoryNodes mocks base method
func (*MockCfgMgmtClient) GetNodeRun ¶
func (m *MockCfgMgmtClient) GetNodeRun(ctx context.Context, in *request.NodeRun, opts ...grpc.CallOption) (*response.Run, error)
GetNodeRun mocks base method
func (*MockCfgMgmtClient) GetNodes ¶
func (m *MockCfgMgmtClient) GetNodes(ctx context.Context, in *request.Nodes, opts ...grpc.CallOption) (*struct0.ListValue, error)
GetNodes mocks base method
func (*MockCfgMgmtClient) GetNodesCounts ¶
func (m *MockCfgMgmtClient) GetNodesCounts(ctx context.Context, in *request.NodesCounts, opts ...grpc.CallOption) (*response.NodesCounts, error)
GetNodesCounts mocks base method
func (*MockCfgMgmtClient) GetOrganizations ¶
func (m *MockCfgMgmtClient) GetOrganizations(ctx context.Context, in *request.Organizations, opts ...grpc.CallOption) (*struct0.ListValue, error)
GetOrganizations mocks base method
func (*MockCfgMgmtClient) GetPolicyCookbooks ¶
func (m *MockCfgMgmtClient) GetPolicyCookbooks(ctx context.Context, in *request.PolicyRevision, opts ...grpc.CallOption) (*response.PolicyCookbooks, error)
GetPolicyCookbooks mocks base method
func (*MockCfgMgmtClient) GetRuns ¶
func (m *MockCfgMgmtClient) GetRuns(ctx context.Context, in *request.Runs, opts ...grpc.CallOption) (*struct0.ListValue, error)
GetRuns mocks base method
func (*MockCfgMgmtClient) GetRunsCounts ¶
func (m *MockCfgMgmtClient) GetRunsCounts(ctx context.Context, in *request.RunsCounts, opts ...grpc.CallOption) (*response.RunsCounts, error)
GetRunsCounts mocks base method
func (*MockCfgMgmtClient) GetSourceFqdns ¶
func (m *MockCfgMgmtClient) GetSourceFqdns(ctx context.Context, in *request.SourceFQDNS, opts ...grpc.CallOption) (*struct0.ListValue, error)
GetSourceFqdns mocks base method
func (*MockCfgMgmtClient) GetSuggestions ¶
func (m *MockCfgMgmtClient) GetSuggestions(ctx context.Context, in *request.Suggestion, opts ...grpc.CallOption) (*struct0.ListValue, error)
GetSuggestions mocks base method
func (*MockCfgMgmtClient) GetVersion ¶
func (m *MockCfgMgmtClient) GetVersion(ctx context.Context, in *request.VersionInfo, opts ...grpc.CallOption) (*response.VersionInfo, error)
GetVersion mocks base method
func (*MockCfgMgmtClient) NodeExport ¶
func (m *MockCfgMgmtClient) NodeExport(ctx context.Context, in *request.NodeExport, opts ...grpc.CallOption) (CfgMgmt_NodeExportClient, error)
NodeExport mocks base method
type MockCfgMgmtClientMockRecorder ¶
type MockCfgMgmtClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCfgMgmtClientMockRecorder is the mock recorder for MockCfgMgmtClient
func (*MockCfgMgmtClientMockRecorder) GetAttributes ¶
func (mr *MockCfgMgmtClientMockRecorder) GetAttributes(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAttributes indicates an expected call of GetAttributes
func (*MockCfgMgmtClientMockRecorder) GetEventFeed ¶
func (mr *MockCfgMgmtClientMockRecorder) GetEventFeed(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetEventFeed indicates an expected call of GetEventFeed
func (*MockCfgMgmtClientMockRecorder) GetEventStringBuckets ¶
func (mr *MockCfgMgmtClientMockRecorder) GetEventStringBuckets(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetEventStringBuckets indicates an expected call of GetEventStringBuckets
func (*MockCfgMgmtClientMockRecorder) GetEventTaskCounts ¶
func (mr *MockCfgMgmtClientMockRecorder) GetEventTaskCounts(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetEventTaskCounts indicates an expected call of GetEventTaskCounts
func (*MockCfgMgmtClientMockRecorder) GetEventTypeCounts ¶
func (mr *MockCfgMgmtClientMockRecorder) GetEventTypeCounts(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetEventTypeCounts indicates an expected call of GetEventTypeCounts
func (*MockCfgMgmtClientMockRecorder) GetHealth ¶
func (mr *MockCfgMgmtClientMockRecorder) GetHealth(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetHealth indicates an expected call of GetHealth
func (*MockCfgMgmtClientMockRecorder) GetInventoryNodes ¶
func (mr *MockCfgMgmtClientMockRecorder) GetInventoryNodes(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetInventoryNodes indicates an expected call of GetInventoryNodes
func (*MockCfgMgmtClientMockRecorder) GetNodeRun ¶
func (mr *MockCfgMgmtClientMockRecorder) GetNodeRun(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetNodeRun indicates an expected call of GetNodeRun
func (*MockCfgMgmtClientMockRecorder) GetNodes ¶
func (mr *MockCfgMgmtClientMockRecorder) GetNodes(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetNodes indicates an expected call of GetNodes
func (*MockCfgMgmtClientMockRecorder) GetNodesCounts ¶
func (mr *MockCfgMgmtClientMockRecorder) GetNodesCounts(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetNodesCounts indicates an expected call of GetNodesCounts
func (*MockCfgMgmtClientMockRecorder) GetOrganizations ¶
func (mr *MockCfgMgmtClientMockRecorder) GetOrganizations(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetOrganizations indicates an expected call of GetOrganizations
func (*MockCfgMgmtClientMockRecorder) GetPolicyCookbooks ¶
func (mr *MockCfgMgmtClientMockRecorder) GetPolicyCookbooks(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetPolicyCookbooks indicates an expected call of GetPolicyCookbooks
func (*MockCfgMgmtClientMockRecorder) GetRuns ¶
func (mr *MockCfgMgmtClientMockRecorder) GetRuns(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRuns indicates an expected call of GetRuns
func (*MockCfgMgmtClientMockRecorder) GetRunsCounts ¶
func (mr *MockCfgMgmtClientMockRecorder) GetRunsCounts(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRunsCounts indicates an expected call of GetRunsCounts
func (*MockCfgMgmtClientMockRecorder) GetSourceFqdns ¶
func (mr *MockCfgMgmtClientMockRecorder) GetSourceFqdns(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetSourceFqdns indicates an expected call of GetSourceFqdns
func (*MockCfgMgmtClientMockRecorder) GetSuggestions ¶
func (mr *MockCfgMgmtClientMockRecorder) GetSuggestions(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetSuggestions indicates an expected call of GetSuggestions
func (*MockCfgMgmtClientMockRecorder) GetVersion ¶
func (mr *MockCfgMgmtClientMockRecorder) GetVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetVersion indicates an expected call of GetVersion
func (*MockCfgMgmtClientMockRecorder) NodeExport ¶
func (mr *MockCfgMgmtClientMockRecorder) NodeExport(ctx, in interface{}, opts ...interface{}) *gomock.Call
NodeExport indicates an expected call of NodeExport
type MockCfgMgmtServer ¶
type MockCfgMgmtServer struct {
// contains filtered or unexported fields
}
MockCfgMgmtServer is a mock of CfgMgmtServer interface
func NewMockCfgMgmtServer ¶
func NewMockCfgMgmtServer(ctrl *gomock.Controller) *MockCfgMgmtServer
NewMockCfgMgmtServer creates a new mock instance
func (*MockCfgMgmtServer) EXPECT ¶
func (m *MockCfgMgmtServer) EXPECT() *MockCfgMgmtServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCfgMgmtServer) GetAttributes ¶
func (m *MockCfgMgmtServer) GetAttributes(arg0 context.Context, arg1 *request.Node) (*response.NodeAttribute, error)
GetAttributes mocks base method
func (*MockCfgMgmtServer) GetEventFeed ¶
func (m *MockCfgMgmtServer) GetEventFeed(arg0 context.Context, arg1 *request.EventFilter) (*response.Events, error)
GetEventFeed mocks base method
func (*MockCfgMgmtServer) GetEventStringBuckets ¶
func (m *MockCfgMgmtServer) GetEventStringBuckets(arg0 context.Context, arg1 *request.EventStrings) (*response.EventStrings, error)
GetEventStringBuckets mocks base method
func (*MockCfgMgmtServer) GetEventTaskCounts ¶
func (m *MockCfgMgmtServer) GetEventTaskCounts(arg0 context.Context, arg1 *request.EventCountsFilter) (*response.EventCounts, error)
GetEventTaskCounts mocks base method
func (*MockCfgMgmtServer) GetEventTypeCounts ¶
func (m *MockCfgMgmtServer) GetEventTypeCounts(arg0 context.Context, arg1 *request.EventCountsFilter) (*response.EventCounts, error)
GetEventTypeCounts mocks base method
func (*MockCfgMgmtServer) GetHealth ¶
func (m *MockCfgMgmtServer) GetHealth(arg0 context.Context, arg1 *request.Health) (*response.Health, error)
GetHealth mocks base method
func (*MockCfgMgmtServer) GetInventoryNodes ¶
func (m *MockCfgMgmtServer) GetInventoryNodes(arg0 context.Context, arg1 *request.InventoryNodes) (*response.InventoryNodes, error)
GetInventoryNodes mocks base method
func (*MockCfgMgmtServer) GetNodeRun ¶
func (m *MockCfgMgmtServer) GetNodeRun(arg0 context.Context, arg1 *request.NodeRun) (*response.Run, error)
GetNodeRun mocks base method
func (*MockCfgMgmtServer) GetNodes ¶
func (m *MockCfgMgmtServer) GetNodes(arg0 context.Context, arg1 *request.Nodes) (*struct0.ListValue, error)
GetNodes mocks base method
func (*MockCfgMgmtServer) GetNodesCounts ¶
func (m *MockCfgMgmtServer) GetNodesCounts(arg0 context.Context, arg1 *request.NodesCounts) (*response.NodesCounts, error)
GetNodesCounts mocks base method
func (*MockCfgMgmtServer) GetOrganizations ¶
func (m *MockCfgMgmtServer) GetOrganizations(arg0 context.Context, arg1 *request.Organizations) (*struct0.ListValue, error)
GetOrganizations mocks base method
func (*MockCfgMgmtServer) GetPolicyCookbooks ¶
func (m *MockCfgMgmtServer) GetPolicyCookbooks(arg0 context.Context, arg1 *request.PolicyRevision) (*response.PolicyCookbooks, error)
GetPolicyCookbooks mocks base method
func (*MockCfgMgmtServer) GetRuns ¶
func (m *MockCfgMgmtServer) GetRuns(arg0 context.Context, arg1 *request.Runs) (*struct0.ListValue, error)
GetRuns mocks base method
func (*MockCfgMgmtServer) GetRunsCounts ¶
func (m *MockCfgMgmtServer) GetRunsCounts(arg0 context.Context, arg1 *request.RunsCounts) (*response.RunsCounts, error)
GetRunsCounts mocks base method
func (*MockCfgMgmtServer) GetSourceFqdns ¶
func (m *MockCfgMgmtServer) GetSourceFqdns(arg0 context.Context, arg1 *request.SourceFQDNS) (*struct0.ListValue, error)
GetSourceFqdns mocks base method
func (*MockCfgMgmtServer) GetSuggestions ¶
func (m *MockCfgMgmtServer) GetSuggestions(arg0 context.Context, arg1 *request.Suggestion) (*struct0.ListValue, error)
GetSuggestions mocks base method
func (*MockCfgMgmtServer) GetVersion ¶
func (m *MockCfgMgmtServer) GetVersion(arg0 context.Context, arg1 *request.VersionInfo) (*response.VersionInfo, error)
GetVersion mocks base method
func (*MockCfgMgmtServer) NodeExport ¶
func (m *MockCfgMgmtServer) NodeExport(arg0 *request.NodeExport, arg1 CfgMgmt_NodeExportServer) error
NodeExport mocks base method
type MockCfgMgmtServerMockRecorder ¶
type MockCfgMgmtServerMockRecorder struct {
// contains filtered or unexported fields
}
MockCfgMgmtServerMockRecorder is the mock recorder for MockCfgMgmtServer
func (*MockCfgMgmtServerMockRecorder) GetAttributes ¶
func (mr *MockCfgMgmtServerMockRecorder) GetAttributes(arg0, arg1 interface{}) *gomock.Call
GetAttributes indicates an expected call of GetAttributes
func (*MockCfgMgmtServerMockRecorder) GetEventFeed ¶
func (mr *MockCfgMgmtServerMockRecorder) GetEventFeed(arg0, arg1 interface{}) *gomock.Call
GetEventFeed indicates an expected call of GetEventFeed
func (*MockCfgMgmtServerMockRecorder) GetEventStringBuckets ¶
func (mr *MockCfgMgmtServerMockRecorder) GetEventStringBuckets(arg0, arg1 interface{}) *gomock.Call
GetEventStringBuckets indicates an expected call of GetEventStringBuckets
func (*MockCfgMgmtServerMockRecorder) GetEventTaskCounts ¶
func (mr *MockCfgMgmtServerMockRecorder) GetEventTaskCounts(arg0, arg1 interface{}) *gomock.Call
GetEventTaskCounts indicates an expected call of GetEventTaskCounts
func (*MockCfgMgmtServerMockRecorder) GetEventTypeCounts ¶
func (mr *MockCfgMgmtServerMockRecorder) GetEventTypeCounts(arg0, arg1 interface{}) *gomock.Call
GetEventTypeCounts indicates an expected call of GetEventTypeCounts
func (*MockCfgMgmtServerMockRecorder) GetHealth ¶
func (mr *MockCfgMgmtServerMockRecorder) GetHealth(arg0, arg1 interface{}) *gomock.Call
GetHealth indicates an expected call of GetHealth
func (*MockCfgMgmtServerMockRecorder) GetInventoryNodes ¶
func (mr *MockCfgMgmtServerMockRecorder) GetInventoryNodes(arg0, arg1 interface{}) *gomock.Call
GetInventoryNodes indicates an expected call of GetInventoryNodes
func (*MockCfgMgmtServerMockRecorder) GetNodeRun ¶
func (mr *MockCfgMgmtServerMockRecorder) GetNodeRun(arg0, arg1 interface{}) *gomock.Call
GetNodeRun indicates an expected call of GetNodeRun
func (*MockCfgMgmtServerMockRecorder) GetNodes ¶
func (mr *MockCfgMgmtServerMockRecorder) GetNodes(arg0, arg1 interface{}) *gomock.Call
GetNodes indicates an expected call of GetNodes
func (*MockCfgMgmtServerMockRecorder) GetNodesCounts ¶
func (mr *MockCfgMgmtServerMockRecorder) GetNodesCounts(arg0, arg1 interface{}) *gomock.Call
GetNodesCounts indicates an expected call of GetNodesCounts
func (*MockCfgMgmtServerMockRecorder) GetOrganizations ¶
func (mr *MockCfgMgmtServerMockRecorder) GetOrganizations(arg0, arg1 interface{}) *gomock.Call
GetOrganizations indicates an expected call of GetOrganizations
func (*MockCfgMgmtServerMockRecorder) GetPolicyCookbooks ¶
func (mr *MockCfgMgmtServerMockRecorder) GetPolicyCookbooks(arg0, arg1 interface{}) *gomock.Call
GetPolicyCookbooks indicates an expected call of GetPolicyCookbooks
func (*MockCfgMgmtServerMockRecorder) GetRuns ¶
func (mr *MockCfgMgmtServerMockRecorder) GetRuns(arg0, arg1 interface{}) *gomock.Call
GetRuns indicates an expected call of GetRuns
func (*MockCfgMgmtServerMockRecorder) GetRunsCounts ¶
func (mr *MockCfgMgmtServerMockRecorder) GetRunsCounts(arg0, arg1 interface{}) *gomock.Call
GetRunsCounts indicates an expected call of GetRunsCounts
func (*MockCfgMgmtServerMockRecorder) GetSourceFqdns ¶
func (mr *MockCfgMgmtServerMockRecorder) GetSourceFqdns(arg0, arg1 interface{}) *gomock.Call
GetSourceFqdns indicates an expected call of GetSourceFqdns
func (*MockCfgMgmtServerMockRecorder) GetSuggestions ¶
func (mr *MockCfgMgmtServerMockRecorder) GetSuggestions(arg0, arg1 interface{}) *gomock.Call
GetSuggestions indicates an expected call of GetSuggestions
func (*MockCfgMgmtServerMockRecorder) GetVersion ¶
func (mr *MockCfgMgmtServerMockRecorder) GetVersion(arg0, arg1 interface{}) *gomock.Call
GetVersion indicates an expected call of GetVersion
func (*MockCfgMgmtServerMockRecorder) NodeExport ¶
func (mr *MockCfgMgmtServerMockRecorder) NodeExport(arg0, arg1 interface{}) *gomock.Call
NodeExport indicates an expected call of NodeExport
type MockCfgMgmt_NodeExportClient ¶
type MockCfgMgmt_NodeExportClient struct {
// contains filtered or unexported fields
}
MockCfgMgmt_NodeExportClient is a mock of CfgMgmt_NodeExportClient interface
func NewMockCfgMgmt_NodeExportClient ¶
func NewMockCfgMgmt_NodeExportClient(ctrl *gomock.Controller) *MockCfgMgmt_NodeExportClient
NewMockCfgMgmt_NodeExportClient creates a new mock instance
func (*MockCfgMgmt_NodeExportClient) CloseSend ¶
func (m *MockCfgMgmt_NodeExportClient) CloseSend() error
CloseSend mocks base method
func (*MockCfgMgmt_NodeExportClient) Context ¶
func (m *MockCfgMgmt_NodeExportClient) Context() context.Context
Context mocks base method
func (*MockCfgMgmt_NodeExportClient) EXPECT ¶
func (m *MockCfgMgmt_NodeExportClient) EXPECT() *MockCfgMgmt_NodeExportClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCfgMgmt_NodeExportClient) Header ¶
func (m *MockCfgMgmt_NodeExportClient) Header() (metadata.MD, error)
Header mocks base method
func (*MockCfgMgmt_NodeExportClient) Recv ¶
func (m *MockCfgMgmt_NodeExportClient) Recv() (*response.ExportData, error)
Recv mocks base method
func (*MockCfgMgmt_NodeExportClient) RecvMsg ¶
func (m_2 *MockCfgMgmt_NodeExportClient) RecvMsg(m interface{}) error
RecvMsg mocks base method
func (*MockCfgMgmt_NodeExportClient) SendMsg ¶
func (m_2 *MockCfgMgmt_NodeExportClient) SendMsg(m interface{}) error
SendMsg mocks base method
func (*MockCfgMgmt_NodeExportClient) Trailer ¶
func (m *MockCfgMgmt_NodeExportClient) Trailer() metadata.MD
Trailer mocks base method
type MockCfgMgmt_NodeExportClientMockRecorder ¶
type MockCfgMgmt_NodeExportClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCfgMgmt_NodeExportClientMockRecorder is the mock recorder for MockCfgMgmt_NodeExportClient
func (*MockCfgMgmt_NodeExportClientMockRecorder) CloseSend ¶
func (mr *MockCfgMgmt_NodeExportClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend
func (*MockCfgMgmt_NodeExportClientMockRecorder) Context ¶
func (mr *MockCfgMgmt_NodeExportClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockCfgMgmt_NodeExportClientMockRecorder) Header ¶
func (mr *MockCfgMgmt_NodeExportClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockCfgMgmt_NodeExportClientMockRecorder) Recv ¶
func (mr *MockCfgMgmt_NodeExportClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv
func (*MockCfgMgmt_NodeExportClientMockRecorder) RecvMsg ¶
func (mr *MockCfgMgmt_NodeExportClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockCfgMgmt_NodeExportClientMockRecorder) SendMsg ¶
func (mr *MockCfgMgmt_NodeExportClientMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockCfgMgmt_NodeExportClientMockRecorder) Trailer ¶
func (mr *MockCfgMgmt_NodeExportClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer
type MockCfgMgmt_NodeExportServer ¶
type MockCfgMgmt_NodeExportServer struct {
// contains filtered or unexported fields
}
MockCfgMgmt_NodeExportServer is a mock of CfgMgmt_NodeExportServer interface
func NewMockCfgMgmt_NodeExportServer ¶
func NewMockCfgMgmt_NodeExportServer(ctrl *gomock.Controller) *MockCfgMgmt_NodeExportServer
NewMockCfgMgmt_NodeExportServer creates a new mock instance
func (*MockCfgMgmt_NodeExportServer) Context ¶
func (m *MockCfgMgmt_NodeExportServer) Context() context.Context
Context mocks base method
func (*MockCfgMgmt_NodeExportServer) EXPECT ¶
func (m *MockCfgMgmt_NodeExportServer) EXPECT() *MockCfgMgmt_NodeExportServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCfgMgmt_NodeExportServer) RecvMsg ¶
func (m_2 *MockCfgMgmt_NodeExportServer) RecvMsg(m interface{}) error
RecvMsg mocks base method
func (*MockCfgMgmt_NodeExportServer) Send ¶
func (m *MockCfgMgmt_NodeExportServer) Send(arg0 *response.ExportData) error
Send mocks base method
func (*MockCfgMgmt_NodeExportServer) SendHeader ¶
func (m *MockCfgMgmt_NodeExportServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method
func (*MockCfgMgmt_NodeExportServer) SendMsg ¶
func (m_2 *MockCfgMgmt_NodeExportServer) SendMsg(m interface{}) error
SendMsg mocks base method
func (*MockCfgMgmt_NodeExportServer) SetHeader ¶
func (m *MockCfgMgmt_NodeExportServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method
func (*MockCfgMgmt_NodeExportServer) SetTrailer ¶
func (m *MockCfgMgmt_NodeExportServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method
type MockCfgMgmt_NodeExportServerMockRecorder ¶
type MockCfgMgmt_NodeExportServerMockRecorder struct {
// contains filtered or unexported fields
}
MockCfgMgmt_NodeExportServerMockRecorder is the mock recorder for MockCfgMgmt_NodeExportServer
func (*MockCfgMgmt_NodeExportServerMockRecorder) Context ¶
func (mr *MockCfgMgmt_NodeExportServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockCfgMgmt_NodeExportServerMockRecorder) RecvMsg ¶
func (mr *MockCfgMgmt_NodeExportServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockCfgMgmt_NodeExportServerMockRecorder) Send ¶
func (mr *MockCfgMgmt_NodeExportServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send
func (*MockCfgMgmt_NodeExportServerMockRecorder) SendHeader ¶
func (mr *MockCfgMgmt_NodeExportServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader
func (*MockCfgMgmt_NodeExportServerMockRecorder) SendMsg ¶
func (mr *MockCfgMgmt_NodeExportServerMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockCfgMgmt_NodeExportServerMockRecorder) SetHeader ¶
func (mr *MockCfgMgmt_NodeExportServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader
func (*MockCfgMgmt_NodeExportServerMockRecorder) SetTrailer ¶
func (mr *MockCfgMgmt_NodeExportServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer