Documentation ¶
Overview ¶
Package multicluster is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetClient(arg0 context.Context, arg1 *v1.ObjectReference, arg2 *runtime.Scheme) (client.Client, error)
- func (m *MockInterface) GetConfig(arg0 context.Context, arg1 *v1.ObjectReference) (*rest.Config, error)
- func (m *MockInterface) GetConfigFromCluster(arg0 context.Context, arg1 *unstructured.Unstructured) (*rest.Config, error)
- func (m *MockInterface) GetDynamic(arg0 context.Context, arg1 *v1.ObjectReference) (dynamic.Interface, error)
- func (m *MockInterface) GetNamespaceClusters(arg0 context.Context, arg1 string) ([]v1.ObjectReference, error)
- func (m *MockInterface) ListClustersNamespaces(arg0 context.Context, arg1 string) (map[*v1.ObjectReference][]v1.Namespace, error)
- func (m *MockInterface) StartWarmUpClientCache(arg0 context.Context)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) GetClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetConfigFromCluster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetDynamic(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetNamespaceClusters(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListClustersNamespaces(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) StartWarmUpClientCache(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetClient ¶
func (m *MockInterface) GetClient(arg0 context.Context, arg1 *v1.ObjectReference, arg2 *runtime.Scheme) (client.Client, error)
GetClient mocks base method.
func (*MockInterface) GetConfig ¶
func (m *MockInterface) GetConfig(arg0 context.Context, arg1 *v1.ObjectReference) (*rest.Config, error)
GetConfig mocks base method.
func (*MockInterface) GetConfigFromCluster ¶
func (m *MockInterface) GetConfigFromCluster(arg0 context.Context, arg1 *unstructured.Unstructured) (*rest.Config, error)
GetConfigFromCluster mocks base method.
func (*MockInterface) GetDynamic ¶
func (m *MockInterface) GetDynamic(arg0 context.Context, arg1 *v1.ObjectReference) (dynamic.Interface, error)
GetDynamic mocks base method.
func (*MockInterface) GetNamespaceClusters ¶ added in v0.7.0
func (m *MockInterface) GetNamespaceClusters(arg0 context.Context, arg1 string) ([]v1.ObjectReference, error)
GetNamespaceClusters mocks base method.
func (*MockInterface) ListClustersNamespaces ¶
func (m *MockInterface) ListClustersNamespaces(arg0 context.Context, arg1 string) (map[*v1.ObjectReference][]v1.Namespace, error)
ListClustersNamespaces mocks base method.
func (*MockInterface) StartWarmUpClientCache ¶ added in v0.7.0
func (m *MockInterface) StartWarmUpClientCache(arg0 context.Context)
StartWarmUpClientCache mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) GetClient ¶
func (mr *MockInterfaceMockRecorder) GetClient(arg0, arg1, arg2 interface{}) *gomock.Call
GetClient indicates an expected call of GetClient.
func (*MockInterfaceMockRecorder) GetConfig ¶
func (mr *MockInterfaceMockRecorder) GetConfig(arg0, arg1 interface{}) *gomock.Call
GetConfig indicates an expected call of GetConfig.
func (*MockInterfaceMockRecorder) GetConfigFromCluster ¶
func (mr *MockInterfaceMockRecorder) GetConfigFromCluster(arg0, arg1 interface{}) *gomock.Call
GetConfigFromCluster indicates an expected call of GetConfigFromCluster.
func (*MockInterfaceMockRecorder) GetDynamic ¶
func (mr *MockInterfaceMockRecorder) GetDynamic(arg0, arg1 interface{}) *gomock.Call
GetDynamic indicates an expected call of GetDynamic.
func (*MockInterfaceMockRecorder) GetNamespaceClusters ¶ added in v0.7.0
func (mr *MockInterfaceMockRecorder) GetNamespaceClusters(arg0, arg1 interface{}) *gomock.Call
GetNamespaceClusters indicates an expected call of GetNamespaceClusters.
func (*MockInterfaceMockRecorder) ListClustersNamespaces ¶
func (mr *MockInterfaceMockRecorder) ListClustersNamespaces(arg0, arg1 interface{}) *gomock.Call
ListClustersNamespaces indicates an expected call of ListClustersNamespaces.
func (*MockInterfaceMockRecorder) StartWarmUpClientCache ¶ added in v0.7.0
func (mr *MockInterfaceMockRecorder) StartWarmUpClientCache(arg0 interface{}) *gomock.Call
StartWarmUpClientCache indicates an expected call of StartWarmUpClientCache.