Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClusterClient
- func (m *MockClusterClient) ApplyKubeSpecFromBytes(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error
- func (m *MockClusterClient) ClusterExists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockClusterClient) CreateBootstrapCluster(arg0 context.Context, arg1 *cluster.Spec, ...) (string, error)
- func (m *MockClusterClient) CreateNamespace(arg0 context.Context, arg1, arg2 string) error
- func (m *MockClusterClient) DeleteBootstrapCluster(arg0 context.Context, arg1 *types.Cluster) error
- func (m *MockClusterClient) EXPECT() *MockClusterClientMockRecorder
- func (m *MockClusterClient) GetClusters(arg0 context.Context, arg1 *types.Cluster) ([]types.CAPICluster, error)
- func (m *MockClusterClient) GetKubeconfig(arg0 context.Context, arg1 string) (string, error)
- func (m *MockClusterClient) ValidateClustersCRD(arg0 context.Context, arg1 *types.Cluster) error
- func (m *MockClusterClient) WithDefaultCNIDisabled() bootstrapper.BootstrapClusterClientOption
- func (m *MockClusterClient) WithEnv(arg0 map[string]string) bootstrapper.BootstrapClusterClientOption
- func (m *MockClusterClient) WithExtraDockerMounts() bootstrapper.BootstrapClusterClientOption
- type MockClusterClientMockRecorder
- func (mr *MockClusterClientMockRecorder) ApplyKubeSpecFromBytes(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) ClusterExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) CreateBootstrapCluster(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) CreateNamespace(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) DeleteBootstrapCluster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) GetClusters(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) GetKubeconfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) ValidateClustersCRD(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) WithDefaultCNIDisabled() *gomock.Call
- func (mr *MockClusterClientMockRecorder) WithEnv(arg0 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) WithExtraDockerMounts() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClusterClient ¶
type MockClusterClient struct {
// contains filtered or unexported fields
}
MockClusterClient is a mock of ClusterClient interface.
func NewMockClusterClient ¶
func NewMockClusterClient(ctrl *gomock.Controller) *MockClusterClient
NewMockClusterClient creates a new mock instance.
func (*MockClusterClient) ApplyKubeSpecFromBytes ¶
func (m *MockClusterClient) ApplyKubeSpecFromBytes(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error
ApplyKubeSpecFromBytes mocks base method.
func (*MockClusterClient) ClusterExists ¶
ClusterExists mocks base method.
func (*MockClusterClient) CreateBootstrapCluster ¶
func (m *MockClusterClient) CreateBootstrapCluster(arg0 context.Context, arg1 *cluster.Spec, arg2 ...bootstrapper.BootstrapClusterClientOption) (string, error)
CreateBootstrapCluster mocks base method.
func (*MockClusterClient) CreateNamespace ¶
func (m *MockClusterClient) CreateNamespace(arg0 context.Context, arg1, arg2 string) error
CreateNamespace mocks base method.
func (*MockClusterClient) DeleteBootstrapCluster ¶
DeleteBootstrapCluster mocks base method.
func (*MockClusterClient) EXPECT ¶
func (m *MockClusterClient) EXPECT() *MockClusterClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterClient) GetClusters ¶
func (m *MockClusterClient) GetClusters(arg0 context.Context, arg1 *types.Cluster) ([]types.CAPICluster, error)
GetClusters mocks base method.
func (*MockClusterClient) GetKubeconfig ¶
GetKubeconfig mocks base method.
func (*MockClusterClient) ValidateClustersCRD ¶
ValidateClustersCRD mocks base method.
func (*MockClusterClient) WithDefaultCNIDisabled ¶
func (m *MockClusterClient) WithDefaultCNIDisabled() bootstrapper.BootstrapClusterClientOption
WithDefaultCNIDisabled mocks base method.
func (*MockClusterClient) WithEnv ¶
func (m *MockClusterClient) WithEnv(arg0 map[string]string) bootstrapper.BootstrapClusterClientOption
WithEnv mocks base method.
func (*MockClusterClient) WithExtraDockerMounts ¶
func (m *MockClusterClient) WithExtraDockerMounts() bootstrapper.BootstrapClusterClientOption
WithExtraDockerMounts mocks base method.
type MockClusterClientMockRecorder ¶
type MockClusterClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterClientMockRecorder is the mock recorder for MockClusterClient.
func (*MockClusterClientMockRecorder) ApplyKubeSpecFromBytes ¶
func (mr *MockClusterClientMockRecorder) ApplyKubeSpecFromBytes(arg0, arg1, arg2 interface{}) *gomock.Call
ApplyKubeSpecFromBytes indicates an expected call of ApplyKubeSpecFromBytes.
func (*MockClusterClientMockRecorder) ClusterExists ¶
func (mr *MockClusterClientMockRecorder) ClusterExists(arg0, arg1 interface{}) *gomock.Call
ClusterExists indicates an expected call of ClusterExists.
func (*MockClusterClientMockRecorder) CreateBootstrapCluster ¶
func (mr *MockClusterClientMockRecorder) CreateBootstrapCluster(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateBootstrapCluster indicates an expected call of CreateBootstrapCluster.
func (*MockClusterClientMockRecorder) CreateNamespace ¶
func (mr *MockClusterClientMockRecorder) CreateNamespace(arg0, arg1, arg2 interface{}) *gomock.Call
CreateNamespace indicates an expected call of CreateNamespace.
func (*MockClusterClientMockRecorder) DeleteBootstrapCluster ¶
func (mr *MockClusterClientMockRecorder) DeleteBootstrapCluster(arg0, arg1 interface{}) *gomock.Call
DeleteBootstrapCluster indicates an expected call of DeleteBootstrapCluster.
func (*MockClusterClientMockRecorder) GetClusters ¶
func (mr *MockClusterClientMockRecorder) GetClusters(arg0, arg1 interface{}) *gomock.Call
GetClusters indicates an expected call of GetClusters.
func (*MockClusterClientMockRecorder) GetKubeconfig ¶
func (mr *MockClusterClientMockRecorder) GetKubeconfig(arg0, arg1 interface{}) *gomock.Call
GetKubeconfig indicates an expected call of GetKubeconfig.
func (*MockClusterClientMockRecorder) ValidateClustersCRD ¶
func (mr *MockClusterClientMockRecorder) ValidateClustersCRD(arg0, arg1 interface{}) *gomock.Call
ValidateClustersCRD indicates an expected call of ValidateClustersCRD.
func (*MockClusterClientMockRecorder) WithDefaultCNIDisabled ¶
func (mr *MockClusterClientMockRecorder) WithDefaultCNIDisabled() *gomock.Call
WithDefaultCNIDisabled indicates an expected call of WithDefaultCNIDisabled.
func (*MockClusterClientMockRecorder) WithEnv ¶
func (mr *MockClusterClientMockRecorder) WithEnv(arg0 interface{}) *gomock.Call
WithEnv indicates an expected call of WithEnv.
func (*MockClusterClientMockRecorder) WithExtraDockerMounts ¶
func (mr *MockClusterClientMockRecorder) WithExtraDockerMounts() *gomock.Call
WithExtraDockerMounts indicates an expected call of WithExtraDockerMounts.