Documentation ¶
Overview ¶
Run go generate to regenerate this mock.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetHelmRelease(ctx context.Context, kubeconfig string, spec *models.HelmModuleAddons) (*release.Release, error)
- func (m *MockClient) GetWorkloadClusterDynamicK8sClient(ctx context.Context, kubeconfig string) (dynamic.Interface, error)
- func (m *MockClient) GetWorkloadClusterK8sClient(ctx context.Context, kubeconfig string) (kubernetes.Interface, error)
- func (m *MockClient) InstallOrUpgradeHelmRelease(ctx context.Context, kubeconfig, values string, spec *models.HelmModuleAddons, ...) (*release.Release, error)
- func (m *MockClient) UninstallHelmRelease(ctx context.Context, kubeconfig string, spec *models.HelmModuleAddons) (*release.UninstallReleaseResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) GetHelmRelease(ctx, kubeconfig, spec interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetWorkloadClusterDynamicK8sClient(ctx, kubeconfig interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetWorkloadClusterK8sClient(ctx, kubeconfig interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallOrUpgradeHelmRelease(ctx, kubeconfig, values, spec, verrazzanoFleetBinding interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallHelmRelease(ctx, kubeconfig, spec interface{}) *gomock.Call
- type MockGetter
- type MockGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetHelmRelease ¶
func (m *MockClient) GetHelmRelease(ctx context.Context, kubeconfig string, spec *models.HelmModuleAddons) (*release.Release, error)
GetHelmRelease mocks base method.
func (*MockClient) GetWorkloadClusterDynamicK8sClient ¶
func (m *MockClient) GetWorkloadClusterDynamicK8sClient(ctx context.Context, kubeconfig string) (dynamic.Interface, error)
GetWorkloadClusterDynamicK8sClient mocks base method.
func (*MockClient) GetWorkloadClusterK8sClient ¶
func (m *MockClient) GetWorkloadClusterK8sClient(ctx context.Context, kubeconfig string) (kubernetes.Interface, error)
GetWorkloadClusterK8sClient mocks base method.
func (*MockClient) InstallOrUpgradeHelmRelease ¶
func (m *MockClient) InstallOrUpgradeHelmRelease(ctx context.Context, kubeconfig, values string, spec *models.HelmModuleAddons, verrazzanoFleetBinding *v1alpha1.VerrazzanoFleetBinding) (*release.Release, error)
InstallOrUpgradeHelmRelease mocks base method.
func (*MockClient) UninstallHelmRelease ¶
func (m *MockClient) UninstallHelmRelease(ctx context.Context, kubeconfig string, spec *models.HelmModuleAddons) (*release.UninstallReleaseResponse, error)
UninstallHelmRelease mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) GetHelmRelease ¶
func (mr *MockClientMockRecorder) GetHelmRelease(ctx, kubeconfig, spec interface{}) *gomock.Call
GetHelmRelease indicates an expected call of GetHelmRelease.
func (*MockClientMockRecorder) GetWorkloadClusterDynamicK8sClient ¶
func (mr *MockClientMockRecorder) GetWorkloadClusterDynamicK8sClient(ctx, kubeconfig interface{}) *gomock.Call
GetWorkloadClusterDynamicK8sClient indicates an expected call of GetWorkloadClusterDynamicK8sClient.
func (*MockClientMockRecorder) GetWorkloadClusterK8sClient ¶
func (mr *MockClientMockRecorder) GetWorkloadClusterK8sClient(ctx, kubeconfig interface{}) *gomock.Call
GetWorkloadClusterK8sClient indicates an expected call of GetWorkloadClusterK8sClient.
func (*MockClientMockRecorder) InstallOrUpgradeHelmRelease ¶
func (mr *MockClientMockRecorder) InstallOrUpgradeHelmRelease(ctx, kubeconfig, values, spec, verrazzanoFleetBinding interface{}) *gomock.Call
InstallOrUpgradeHelmRelease indicates an expected call of InstallOrUpgradeHelmRelease.
func (*MockClientMockRecorder) UninstallHelmRelease ¶
func (mr *MockClientMockRecorder) UninstallHelmRelease(ctx, kubeconfig, spec interface{}) *gomock.Call
UninstallHelmRelease indicates an expected call of UninstallHelmRelease.
type MockGetter ¶
type MockGetter struct {
// contains filtered or unexported fields
}
MockGetter is a mock of Getter interface.
func NewMockGetter ¶
func NewMockGetter(ctrl *gomock.Controller) *MockGetter
NewMockGetter creates a new mock instance.
func (*MockGetter) CreateOrUpdateVerrazzano ¶
func (m *MockGetter) CreateOrUpdateVerrazzano(ctx context.Context, fleetBindingName, kubeconfig, clusterName string, vzSpecRawExtension *runtime.RawExtension) error
CreateOrUpdateVerrazzano mocks base method.
func (*MockGetter) EXPECT ¶
func (m *MockGetter) EXPECT() *MockGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGetter) GetClusterKubeconfig ¶
func (m *MockGetter) GetClusterKubeconfig(ctx context.Context, cluster *v1beta1.Cluster) (string, error)
GetClusterKubeconfig mocks base method.
type MockGetterMockRecorder ¶
type MockGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockGetterMockRecorder is the mock recorder for MockGetter.
func (*MockGetterMockRecorder) CreateOrUpdateVerrazzano ¶
func (mr *MockGetterMockRecorder) CreateOrUpdateVerrazzano(ctx, fleetBindingName, kubeconfig, clusterName, vzSpecRawExtension interface{}) *gomock.Call
CreateOrUpdateVerrazzano indicates an expected call of CreateOrUpdateVerrazzano.
func (*MockGetterMockRecorder) GetClusterKubeconfig ¶
func (mr *MockGetterMockRecorder) GetClusterKubeconfig(ctx, cluster interface{}) *gomock.Call
GetClusterKubeconfig indicates an expected call of GetClusterKubeconfig.