Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockTargetClusterClient
- func (m *MockTargetClusterClient) EXPECT() *MockTargetClusterClientMockRecorder
- func (m *MockTargetClusterClient) GetKubeconfigFile(ctx context.Context, clusterName string) (string, error)
- func (m *MockTargetClusterClient) GetKubeconfigString(ctx context.Context, clusterName string) ([]byte, error)
- func (m *MockTargetClusterClient) GetServerVersion(ctx context.Context, clusterName string) (*version.Info, error)
- type MockTargetClusterClientMockRecorder
- func (mr *MockTargetClusterClientMockRecorder) GetKubeconfigFile(ctx, clusterName interface{}) *gomock.Call
- func (mr *MockTargetClusterClientMockRecorder) GetKubeconfigString(ctx, clusterName interface{}) *gomock.Call
- func (mr *MockTargetClusterClientMockRecorder) GetServerVersion(ctx, clusterName interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTargetClusterClient ¶
type MockTargetClusterClient struct {
// contains filtered or unexported fields
}
MockTargetClusterClient is a mock of TargetClusterClient interface.
func NewMockTargetClusterClient ¶
func NewMockTargetClusterClient(ctrl *gomock.Controller) *MockTargetClusterClient
NewMockTargetClusterClient creates a new mock instance.
func (*MockTargetClusterClient) EXPECT ¶
func (m *MockTargetClusterClient) EXPECT() *MockTargetClusterClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTargetClusterClient) GetKubeconfigFile ¶
func (m *MockTargetClusterClient) GetKubeconfigFile(ctx context.Context, clusterName string) (string, error)
GetKubeconfigFile mocks base method.
func (*MockTargetClusterClient) GetKubeconfigString ¶
func (m *MockTargetClusterClient) GetKubeconfigString(ctx context.Context, clusterName string) ([]byte, error)
GetKubeconfigString mocks base method.
func (*MockTargetClusterClient) GetServerVersion ¶
func (m *MockTargetClusterClient) GetServerVersion(ctx context.Context, clusterName string) (*version.Info, error)
GetServerVersion mocks base method.
type MockTargetClusterClientMockRecorder ¶
type MockTargetClusterClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTargetClusterClientMockRecorder is the mock recorder for MockTargetClusterClient.
func (*MockTargetClusterClientMockRecorder) GetKubeconfigFile ¶
func (mr *MockTargetClusterClientMockRecorder) GetKubeconfigFile(ctx, clusterName interface{}) *gomock.Call
GetKubeconfigFile indicates an expected call of GetKubeconfigFile.
func (*MockTargetClusterClientMockRecorder) GetKubeconfigString ¶
func (mr *MockTargetClusterClientMockRecorder) GetKubeconfigString(ctx, clusterName interface{}) *gomock.Call
GetKubeconfigString indicates an expected call of GetKubeconfigString.
func (*MockTargetClusterClientMockRecorder) GetServerVersion ¶
func (mr *MockTargetClusterClientMockRecorder) GetServerVersion(ctx, clusterName interface{}) *gomock.Call
GetServerVersion indicates an expected call of GetServerVersion.