operatorclientmocks

package
v0.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package operatorclientmocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPIServiceClient

type MockAPIServiceClient struct {
	// contains filtered or unexported fields
}

MockAPIServiceClient is a mock of APIServiceClient interface.

func NewMockAPIServiceClient

func NewMockAPIServiceClient(ctrl *gomock.Controller) *MockAPIServiceClient

NewMockAPIServiceClient creates a new mock instance.

func (*MockAPIServiceClient) CreateAPIService

func (m *MockAPIServiceClient) CreateAPIService(arg0 *v15.APIService) (*v15.APIService, error)

CreateAPIService mocks base method.

func (*MockAPIServiceClient) DeleteAPIService

func (m *MockAPIServiceClient) DeleteAPIService(name string, options *v12.DeleteOptions) error

DeleteAPIService mocks base method.

func (*MockAPIServiceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAPIServiceClient) GetAPIService

func (m *MockAPIServiceClient) GetAPIService(name string) (*v15.APIService, error)

GetAPIService mocks base method.

func (*MockAPIServiceClient) UpdateAPIService

func (m *MockAPIServiceClient) UpdateAPIService(modified *v15.APIService) (*v15.APIService, error)

UpdateAPIService mocks base method.

type MockAPIServiceClientMockRecorder

type MockAPIServiceClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockAPIServiceClientMockRecorder is the mock recorder for MockAPIServiceClient.

func (*MockAPIServiceClientMockRecorder) CreateAPIService

func (mr *MockAPIServiceClientMockRecorder) CreateAPIService(arg0 interface{}) *gomock.Call

CreateAPIService indicates an expected call of CreateAPIService.

func (*MockAPIServiceClientMockRecorder) DeleteAPIService

func (mr *MockAPIServiceClientMockRecorder) DeleteAPIService(name, options interface{}) *gomock.Call

DeleteAPIService indicates an expected call of DeleteAPIService.

func (*MockAPIServiceClientMockRecorder) GetAPIService

func (mr *MockAPIServiceClientMockRecorder) GetAPIService(name interface{}) *gomock.Call

GetAPIService indicates an expected call of GetAPIService.

func (*MockAPIServiceClientMockRecorder) UpdateAPIService

func (mr *MockAPIServiceClientMockRecorder) UpdateAPIService(modified interface{}) *gomock.Call

UpdateAPIService indicates an expected call of UpdateAPIService.

type MockClientInterface

type MockClientInterface struct {
	// contains filtered or unexported fields
}

MockClientInterface is a mock of ClientInterface interface.

func NewMockClientInterface

func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface

NewMockClientInterface creates a new mock instance.

func (*MockClientInterface) ApiextensionsInterface

func (m *MockClientInterface) ApiextensionsInterface() clientset.Interface

ApiextensionsInterface mocks base method.

func (*MockClientInterface) ApiregistrationV1Interface

func (m *MockClientInterface) ApiregistrationV1Interface() clientset0.Interface

ApiregistrationV1Interface mocks base method.

func (*MockClientInterface) ApplyClusterRoleBinding added in v0.28.0

func (m *MockClientInterface) ApplyClusterRoleBinding(applyConfig *v14.ClusterRoleBindingApplyConfiguration, applyOptions v12.ApplyOptions) (*v11.ClusterRoleBinding, error)

ApplyClusterRoleBinding mocks base method.

func (*MockClientInterface) ApplyRoleBinding added in v0.28.0

func (m *MockClientInterface) ApplyRoleBinding(applyConfig *v14.RoleBindingApplyConfiguration, applyOptions v12.ApplyOptions) (*v11.RoleBinding, error)

ApplyRoleBinding mocks base method.

func (*MockClientInterface) ApplyService added in v0.28.0

ApplyService mocks base method.

func (*MockClientInterface) AtomicModifyCustomResource

func (m *MockClientInterface) AtomicModifyCustomResource(apiGroup, version, namespace, resourceKind, resourceName string, f operatorclient.CustomResourceModifier, data interface{}) error

AtomicModifyCustomResource mocks base method.

func (*MockClientInterface) CreateAPIService

func (m *MockClientInterface) CreateAPIService(arg0 *v15.APIService) (*v15.APIService, error)

CreateAPIService mocks base method.

func (*MockClientInterface) CreateClusterRole

func (m *MockClientInterface) CreateClusterRole(arg0 *v11.ClusterRole) (*v11.ClusterRole, error)

CreateClusterRole mocks base method.

func (*MockClientInterface) CreateClusterRoleBinding

func (m *MockClientInterface) CreateClusterRoleBinding(arg0 *v11.ClusterRoleBinding) (*v11.ClusterRoleBinding, error)

CreateClusterRoleBinding mocks base method.

func (*MockClientInterface) CreateConfigMap

func (m *MockClientInterface) CreateConfigMap(arg0 *v10.ConfigMap) (*v10.ConfigMap, error)

CreateConfigMap mocks base method.

func (*MockClientInterface) CreateCustomResource

func (m *MockClientInterface) CreateCustomResource(item *unstructured.Unstructured) error

CreateCustomResource mocks base method.

func (*MockClientInterface) CreateCustomResourceRaw

func (m *MockClientInterface) CreateCustomResourceRaw(apiGroup, version, namespace, kind string, data []byte) error

CreateCustomResourceRaw mocks base method.

func (*MockClientInterface) CreateCustomResourceRawIfNotFound

func (m *MockClientInterface) CreateCustomResourceRawIfNotFound(apiGroup, version, namespace, kind, name string, data []byte) (bool, error)

CreateCustomResourceRawIfNotFound mocks base method.

func (*MockClientInterface) CreateDeployment

func (m *MockClientInterface) CreateDeployment(arg0 *v1.Deployment) (*v1.Deployment, error)

CreateDeployment mocks base method.

func (*MockClientInterface) CreateOrRollingUpdateDeployment

func (m *MockClientInterface) CreateOrRollingUpdateDeployment(arg0 *v1.Deployment) (*v1.Deployment, bool, error)

CreateOrRollingUpdateDeployment mocks base method.

func (*MockClientInterface) CreateOrUpdateCustomeResourceRaw

func (m *MockClientInterface) CreateOrUpdateCustomeResourceRaw(apiGroup, version, namespace, resourceKind, resourceName string, data []byte) error

CreateOrUpdateCustomeResourceRaw mocks base method.

func (*MockClientInterface) CreateRole

func (m *MockClientInterface) CreateRole(arg0 *v11.Role) (*v11.Role, error)

CreateRole mocks base method.

func (*MockClientInterface) CreateRoleBinding

func (m *MockClientInterface) CreateRoleBinding(arg0 *v11.RoleBinding) (*v11.RoleBinding, error)

CreateRoleBinding mocks base method.

func (*MockClientInterface) CreateSecret

func (m *MockClientInterface) CreateSecret(arg0 *v10.Secret) (*v10.Secret, error)

CreateSecret mocks base method.

func (*MockClientInterface) CreateService

func (m *MockClientInterface) CreateService(arg0 *v10.Service) (*v10.Service, error)

CreateService mocks base method.

func (*MockClientInterface) CreateServiceAccount

func (m *MockClientInterface) CreateServiceAccount(arg0 *v10.ServiceAccount) (*v10.ServiceAccount, error)

CreateServiceAccount mocks base method.

func (*MockClientInterface) DeleteAPIService

func (m *MockClientInterface) DeleteAPIService(name string, options *v12.DeleteOptions) error

DeleteAPIService mocks base method.

func (*MockClientInterface) DeleteClusterRole

func (m *MockClientInterface) DeleteClusterRole(name string, options *v12.DeleteOptions) error

DeleteClusterRole mocks base method.

func (*MockClientInterface) DeleteClusterRoleBinding

func (m *MockClientInterface) DeleteClusterRoleBinding(name string, options *v12.DeleteOptions) error

DeleteClusterRoleBinding mocks base method.

func (*MockClientInterface) DeleteConfigMap

func (m *MockClientInterface) DeleteConfigMap(namespace, name string, options *v12.DeleteOptions) error

DeleteConfigMap mocks base method.

func (*MockClientInterface) DeleteCustomResource

func (m *MockClientInterface) DeleteCustomResource(apiGroup, version, namespace, resourceKind, resourceName string) error

DeleteCustomResource mocks base method.

func (*MockClientInterface) DeleteDeployment

func (m *MockClientInterface) DeleteDeployment(namespace, name string, options *v12.DeleteOptions) error

DeleteDeployment mocks base method.

func (*MockClientInterface) DeleteRole

func (m *MockClientInterface) DeleteRole(namespace, name string, options *v12.DeleteOptions) error

DeleteRole mocks base method.

func (*MockClientInterface) DeleteRoleBinding

func (m *MockClientInterface) DeleteRoleBinding(namespace, name string, options *v12.DeleteOptions) error

DeleteRoleBinding mocks base method.

func (*MockClientInterface) DeleteSecret

func (m *MockClientInterface) DeleteSecret(namespace, name string, options *v12.DeleteOptions) error

DeleteSecret mocks base method.

func (*MockClientInterface) DeleteService

func (m *MockClientInterface) DeleteService(namespace, name string, options *v12.DeleteOptions) error

DeleteService mocks base method.

func (*MockClientInterface) DeleteServiceAccount

func (m *MockClientInterface) DeleteServiceAccount(namespace, name string, options *v12.DeleteOptions) error

DeleteServiceAccount mocks base method.

func (*MockClientInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClientInterface) GetAPIService

func (m *MockClientInterface) GetAPIService(name string) (*v15.APIService, error)

GetAPIService mocks base method.

func (*MockClientInterface) GetClusterRole

func (m *MockClientInterface) GetClusterRole(name string) (*v11.ClusterRole, error)

GetClusterRole mocks base method.

func (*MockClientInterface) GetClusterRoleBinding

func (m *MockClientInterface) GetClusterRoleBinding(name string) (*v11.ClusterRoleBinding, error)

GetClusterRoleBinding mocks base method.

func (*MockClientInterface) GetConfigMap

func (m *MockClientInterface) GetConfigMap(namespace, name string) (*v10.ConfigMap, error)

GetConfigMap mocks base method.

func (*MockClientInterface) GetCustomResource

func (m *MockClientInterface) GetCustomResource(apiGroup, version, namespace, resourceKind, resourceName string) (*unstructured.Unstructured, error)

GetCustomResource mocks base method.

func (*MockClientInterface) GetCustomResourceRaw

func (m *MockClientInterface) GetCustomResourceRaw(apiGroup, version, namespace, resourceKind, resourceName string) ([]byte, error)

GetCustomResourceRaw mocks base method.

func (*MockClientInterface) GetDeployment

func (m *MockClientInterface) GetDeployment(namespace, name string) (*v1.Deployment, error)

GetDeployment mocks base method.

func (*MockClientInterface) GetRole

func (m *MockClientInterface) GetRole(namespace, name string) (*v11.Role, error)

GetRole mocks base method.

func (*MockClientInterface) GetRoleBinding

func (m *MockClientInterface) GetRoleBinding(namespace, name string) (*v11.RoleBinding, error)

GetRoleBinding mocks base method.

func (*MockClientInterface) GetSecret

func (m *MockClientInterface) GetSecret(namespace, name string) (*v10.Secret, error)

GetSecret mocks base method.

func (*MockClientInterface) GetService

func (m *MockClientInterface) GetService(namespace, name string) (*v10.Service, error)

GetService mocks base method.

func (*MockClientInterface) GetServiceAccount

func (m *MockClientInterface) GetServiceAccount(namespace, name string) (*v10.ServiceAccount, error)

GetServiceAccount mocks base method.

func (*MockClientInterface) KubernetesInterface

func (m *MockClientInterface) KubernetesInterface() kubernetes.Interface

KubernetesInterface mocks base method.

func (*MockClientInterface) ListCustomResource

func (m *MockClientInterface) ListCustomResource(apiGroup, version, namespace, resourceKind string) (*operatorclient.CustomResourceList, error)

ListCustomResource mocks base method.

func (*MockClientInterface) ListDeploymentsWithLabels

func (m *MockClientInterface) ListDeploymentsWithLabels(namespace string, labels labels.Set) (*v1.DeploymentList, error)

ListDeploymentsWithLabels mocks base method.

func (*MockClientInterface) PatchDeployment

func (m *MockClientInterface) PatchDeployment(arg0, arg1 *v1.Deployment) (*v1.Deployment, bool, error)

PatchDeployment mocks base method.

func (*MockClientInterface) RollingPatchDeployment

func (m *MockClientInterface) RollingPatchDeployment(arg0, arg1 *v1.Deployment) (*v1.Deployment, bool, error)

RollingPatchDeployment mocks base method.

func (*MockClientInterface) RollingPatchDeploymentMigrations

func (m *MockClientInterface) RollingPatchDeploymentMigrations(namespace, name string, f operatorclient.PatchFunction) (*v1.Deployment, bool, error)

RollingPatchDeploymentMigrations mocks base method.

func (*MockClientInterface) RollingUpdateDeployment

func (m *MockClientInterface) RollingUpdateDeployment(arg0 *v1.Deployment) (*v1.Deployment, bool, error)

RollingUpdateDeployment mocks base method.

func (*MockClientInterface) RollingUpdateDeploymentMigrations

func (m *MockClientInterface) RollingUpdateDeploymentMigrations(namespace, name string, f operatorclient.UpdateFunction) (*v1.Deployment, bool, error)

RollingUpdateDeploymentMigrations mocks base method.

func (*MockClientInterface) UpdateAPIService

func (m *MockClientInterface) UpdateAPIService(modified *v15.APIService) (*v15.APIService, error)

UpdateAPIService mocks base method.

func (*MockClientInterface) UpdateClusterRole

func (m *MockClientInterface) UpdateClusterRole(modified *v11.ClusterRole) (*v11.ClusterRole, error)

UpdateClusterRole mocks base method.

func (*MockClientInterface) UpdateClusterRoleBinding

func (m *MockClientInterface) UpdateClusterRoleBinding(modified *v11.ClusterRoleBinding) (*v11.ClusterRoleBinding, error)

UpdateClusterRoleBinding mocks base method.

func (*MockClientInterface) UpdateConfigMap

func (m *MockClientInterface) UpdateConfigMap(modified *v10.ConfigMap) (*v10.ConfigMap, error)

UpdateConfigMap mocks base method.

func (*MockClientInterface) UpdateCustomResource

func (m *MockClientInterface) UpdateCustomResource(item *unstructured.Unstructured) error

UpdateCustomResource mocks base method.

func (*MockClientInterface) UpdateCustomResourceRaw

func (m *MockClientInterface) UpdateCustomResourceRaw(apiGroup, version, namespace, resourceKind, resourceName string, data []byte) error

UpdateCustomResourceRaw mocks base method.

func (*MockClientInterface) UpdateDeployment

func (m *MockClientInterface) UpdateDeployment(arg0 *v1.Deployment) (*v1.Deployment, bool, error)

UpdateDeployment mocks base method.

func (*MockClientInterface) UpdateRole

func (m *MockClientInterface) UpdateRole(modified *v11.Role) (*v11.Role, error)

UpdateRole mocks base method.

func (*MockClientInterface) UpdateRoleBinding

func (m *MockClientInterface) UpdateRoleBinding(modified *v11.RoleBinding) (*v11.RoleBinding, error)

UpdateRoleBinding mocks base method.

func (*MockClientInterface) UpdateSecret

func (m *MockClientInterface) UpdateSecret(modified *v10.Secret) (*v10.Secret, error)

UpdateSecret mocks base method.

func (*MockClientInterface) UpdateService

func (m *MockClientInterface) UpdateService(modified *v10.Service) (*v10.Service, error)

UpdateService mocks base method.

func (*MockClientInterface) UpdateServiceAccount

func (m *MockClientInterface) UpdateServiceAccount(modified *v10.ServiceAccount) (*v10.ServiceAccount, error)

UpdateServiceAccount mocks base method.

type MockClientInterfaceMockRecorder

type MockClientInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.

func (*MockClientInterfaceMockRecorder) ApiextensionsInterface

func (mr *MockClientInterfaceMockRecorder) ApiextensionsInterface() *gomock.Call

ApiextensionsInterface indicates an expected call of ApiextensionsInterface.

func (*MockClientInterfaceMockRecorder) ApiregistrationV1Interface

func (mr *MockClientInterfaceMockRecorder) ApiregistrationV1Interface() *gomock.Call

ApiregistrationV1Interface indicates an expected call of ApiregistrationV1Interface.

func (*MockClientInterfaceMockRecorder) ApplyClusterRoleBinding added in v0.28.0

func (mr *MockClientInterfaceMockRecorder) ApplyClusterRoleBinding(applyConfig, applyOptions interface{}) *gomock.Call

ApplyClusterRoleBinding indicates an expected call of ApplyClusterRoleBinding.

func (*MockClientInterfaceMockRecorder) ApplyRoleBinding added in v0.28.0

func (mr *MockClientInterfaceMockRecorder) ApplyRoleBinding(applyConfig, applyOptions interface{}) *gomock.Call

ApplyRoleBinding indicates an expected call of ApplyRoleBinding.

func (*MockClientInterfaceMockRecorder) ApplyService added in v0.28.0

func (mr *MockClientInterfaceMockRecorder) ApplyService(arg0, arg1 interface{}) *gomock.Call

ApplyService indicates an expected call of ApplyService.

func (*MockClientInterfaceMockRecorder) AtomicModifyCustomResource

func (mr *MockClientInterfaceMockRecorder) AtomicModifyCustomResource(apiGroup, version, namespace, resourceKind, resourceName, f, data interface{}) *gomock.Call

AtomicModifyCustomResource indicates an expected call of AtomicModifyCustomResource.

func (*MockClientInterfaceMockRecorder) CreateAPIService

func (mr *MockClientInterfaceMockRecorder) CreateAPIService(arg0 interface{}) *gomock.Call

CreateAPIService indicates an expected call of CreateAPIService.

func (*MockClientInterfaceMockRecorder) CreateClusterRole

func (mr *MockClientInterfaceMockRecorder) CreateClusterRole(arg0 interface{}) *gomock.Call

CreateClusterRole indicates an expected call of CreateClusterRole.

func (*MockClientInterfaceMockRecorder) CreateClusterRoleBinding

func (mr *MockClientInterfaceMockRecorder) CreateClusterRoleBinding(arg0 interface{}) *gomock.Call

CreateClusterRoleBinding indicates an expected call of CreateClusterRoleBinding.

func (*MockClientInterfaceMockRecorder) CreateConfigMap

func (mr *MockClientInterfaceMockRecorder) CreateConfigMap(arg0 interface{}) *gomock.Call

CreateConfigMap indicates an expected call of CreateConfigMap.

func (*MockClientInterfaceMockRecorder) CreateCustomResource

func (mr *MockClientInterfaceMockRecorder) CreateCustomResource(item interface{}) *gomock.Call

CreateCustomResource indicates an expected call of CreateCustomResource.

func (*MockClientInterfaceMockRecorder) CreateCustomResourceRaw

func (mr *MockClientInterfaceMockRecorder) CreateCustomResourceRaw(apiGroup, version, namespace, kind, data interface{}) *gomock.Call

CreateCustomResourceRaw indicates an expected call of CreateCustomResourceRaw.

func (*MockClientInterfaceMockRecorder) CreateCustomResourceRawIfNotFound

func (mr *MockClientInterfaceMockRecorder) CreateCustomResourceRawIfNotFound(apiGroup, version, namespace, kind, name, data interface{}) *gomock.Call

CreateCustomResourceRawIfNotFound indicates an expected call of CreateCustomResourceRawIfNotFound.

func (*MockClientInterfaceMockRecorder) CreateDeployment

func (mr *MockClientInterfaceMockRecorder) CreateDeployment(arg0 interface{}) *gomock.Call

CreateDeployment indicates an expected call of CreateDeployment.

func (*MockClientInterfaceMockRecorder) CreateOrRollingUpdateDeployment

func (mr *MockClientInterfaceMockRecorder) CreateOrRollingUpdateDeployment(arg0 interface{}) *gomock.Call

CreateOrRollingUpdateDeployment indicates an expected call of CreateOrRollingUpdateDeployment.

func (*MockClientInterfaceMockRecorder) CreateOrUpdateCustomeResourceRaw

func (mr *MockClientInterfaceMockRecorder) CreateOrUpdateCustomeResourceRaw(apiGroup, version, namespace, resourceKind, resourceName, data interface{}) *gomock.Call

CreateOrUpdateCustomeResourceRaw indicates an expected call of CreateOrUpdateCustomeResourceRaw.

func (*MockClientInterfaceMockRecorder) CreateRole

func (mr *MockClientInterfaceMockRecorder) CreateRole(arg0 interface{}) *gomock.Call

CreateRole indicates an expected call of CreateRole.

func (*MockClientInterfaceMockRecorder) CreateRoleBinding

func (mr *MockClientInterfaceMockRecorder) CreateRoleBinding(arg0 interface{}) *gomock.Call

CreateRoleBinding indicates an expected call of CreateRoleBinding.

func (*MockClientInterfaceMockRecorder) CreateSecret

func (mr *MockClientInterfaceMockRecorder) CreateSecret(arg0 interface{}) *gomock.Call

CreateSecret indicates an expected call of CreateSecret.

func (*MockClientInterfaceMockRecorder) CreateService

func (mr *MockClientInterfaceMockRecorder) CreateService(arg0 interface{}) *gomock.Call

CreateService indicates an expected call of CreateService.

func (*MockClientInterfaceMockRecorder) CreateServiceAccount

func (mr *MockClientInterfaceMockRecorder) CreateServiceAccount(arg0 interface{}) *gomock.Call

CreateServiceAccount indicates an expected call of CreateServiceAccount.

func (*MockClientInterfaceMockRecorder) DeleteAPIService

func (mr *MockClientInterfaceMockRecorder) DeleteAPIService(name, options interface{}) *gomock.Call

DeleteAPIService indicates an expected call of DeleteAPIService.

func (*MockClientInterfaceMockRecorder) DeleteClusterRole

func (mr *MockClientInterfaceMockRecorder) DeleteClusterRole(name, options interface{}) *gomock.Call

DeleteClusterRole indicates an expected call of DeleteClusterRole.

func (*MockClientInterfaceMockRecorder) DeleteClusterRoleBinding

func (mr *MockClientInterfaceMockRecorder) DeleteClusterRoleBinding(name, options interface{}) *gomock.Call

DeleteClusterRoleBinding indicates an expected call of DeleteClusterRoleBinding.

func (*MockClientInterfaceMockRecorder) DeleteConfigMap

func (mr *MockClientInterfaceMockRecorder) DeleteConfigMap(namespace, name, options interface{}) *gomock.Call

DeleteConfigMap indicates an expected call of DeleteConfigMap.

func (*MockClientInterfaceMockRecorder) DeleteCustomResource

func (mr *MockClientInterfaceMockRecorder) DeleteCustomResource(apiGroup, version, namespace, resourceKind, resourceName interface{}) *gomock.Call

DeleteCustomResource indicates an expected call of DeleteCustomResource.

func (*MockClientInterfaceMockRecorder) DeleteDeployment

func (mr *MockClientInterfaceMockRecorder) DeleteDeployment(namespace, name, options interface{}) *gomock.Call

DeleteDeployment indicates an expected call of DeleteDeployment.

func (*MockClientInterfaceMockRecorder) DeleteRole

func (mr *MockClientInterfaceMockRecorder) DeleteRole(namespace, name, options interface{}) *gomock.Call

DeleteRole indicates an expected call of DeleteRole.

func (*MockClientInterfaceMockRecorder) DeleteRoleBinding

func (mr *MockClientInterfaceMockRecorder) DeleteRoleBinding(namespace, name, options interface{}) *gomock.Call

DeleteRoleBinding indicates an expected call of DeleteRoleBinding.

func (*MockClientInterfaceMockRecorder) DeleteSecret

func (mr *MockClientInterfaceMockRecorder) DeleteSecret(namespace, name, options interface{}) *gomock.Call

DeleteSecret indicates an expected call of DeleteSecret.

func (*MockClientInterfaceMockRecorder) DeleteService

func (mr *MockClientInterfaceMockRecorder) DeleteService(namespace, name, options interface{}) *gomock.Call

DeleteService indicates an expected call of DeleteService.

func (*MockClientInterfaceMockRecorder) DeleteServiceAccount

func (mr *MockClientInterfaceMockRecorder) DeleteServiceAccount(namespace, name, options interface{}) *gomock.Call

DeleteServiceAccount indicates an expected call of DeleteServiceAccount.

func (*MockClientInterfaceMockRecorder) GetAPIService

func (mr *MockClientInterfaceMockRecorder) GetAPIService(name interface{}) *gomock.Call

GetAPIService indicates an expected call of GetAPIService.

func (*MockClientInterfaceMockRecorder) GetClusterRole

func (mr *MockClientInterfaceMockRecorder) GetClusterRole(name interface{}) *gomock.Call

GetClusterRole indicates an expected call of GetClusterRole.

func (*MockClientInterfaceMockRecorder) GetClusterRoleBinding

func (mr *MockClientInterfaceMockRecorder) GetClusterRoleBinding(name interface{}) *gomock.Call

GetClusterRoleBinding indicates an expected call of GetClusterRoleBinding.

func (*MockClientInterfaceMockRecorder) GetConfigMap

func (mr *MockClientInterfaceMockRecorder) GetConfigMap(namespace, name interface{}) *gomock.Call

GetConfigMap indicates an expected call of GetConfigMap.

func (*MockClientInterfaceMockRecorder) GetCustomResource

func (mr *MockClientInterfaceMockRecorder) GetCustomResource(apiGroup, version, namespace, resourceKind, resourceName interface{}) *gomock.Call

GetCustomResource indicates an expected call of GetCustomResource.

func (*MockClientInterfaceMockRecorder) GetCustomResourceRaw

func (mr *MockClientInterfaceMockRecorder) GetCustomResourceRaw(apiGroup, version, namespace, resourceKind, resourceName interface{}) *gomock.Call

GetCustomResourceRaw indicates an expected call of GetCustomResourceRaw.

func (*MockClientInterfaceMockRecorder) GetDeployment

func (mr *MockClientInterfaceMockRecorder) GetDeployment(namespace, name interface{}) *gomock.Call

GetDeployment indicates an expected call of GetDeployment.

func (*MockClientInterfaceMockRecorder) GetRole

func (mr *MockClientInterfaceMockRecorder) GetRole(namespace, name interface{}) *gomock.Call

GetRole indicates an expected call of GetRole.

func (*MockClientInterfaceMockRecorder) GetRoleBinding

func (mr *MockClientInterfaceMockRecorder) GetRoleBinding(namespace, name interface{}) *gomock.Call

GetRoleBinding indicates an expected call of GetRoleBinding.

func (*MockClientInterfaceMockRecorder) GetSecret

func (mr *MockClientInterfaceMockRecorder) GetSecret(namespace, name interface{}) *gomock.Call

GetSecret indicates an expected call of GetSecret.

func (*MockClientInterfaceMockRecorder) GetService

func (mr *MockClientInterfaceMockRecorder) GetService(namespace, name interface{}) *gomock.Call

GetService indicates an expected call of GetService.

func (*MockClientInterfaceMockRecorder) GetServiceAccount

func (mr *MockClientInterfaceMockRecorder) GetServiceAccount(namespace, name interface{}) *gomock.Call

GetServiceAccount indicates an expected call of GetServiceAccount.

func (*MockClientInterfaceMockRecorder) KubernetesInterface

func (mr *MockClientInterfaceMockRecorder) KubernetesInterface() *gomock.Call

KubernetesInterface indicates an expected call of KubernetesInterface.

func (*MockClientInterfaceMockRecorder) ListCustomResource

func (mr *MockClientInterfaceMockRecorder) ListCustomResource(apiGroup, version, namespace, resourceKind interface{}) *gomock.Call

ListCustomResource indicates an expected call of ListCustomResource.

func (*MockClientInterfaceMockRecorder) ListDeploymentsWithLabels

func (mr *MockClientInterfaceMockRecorder) ListDeploymentsWithLabels(namespace, labels interface{}) *gomock.Call

ListDeploymentsWithLabels indicates an expected call of ListDeploymentsWithLabels.

func (*MockClientInterfaceMockRecorder) PatchDeployment

func (mr *MockClientInterfaceMockRecorder) PatchDeployment(arg0, arg1 interface{}) *gomock.Call

PatchDeployment indicates an expected call of PatchDeployment.

func (*MockClientInterfaceMockRecorder) RollingPatchDeployment

func (mr *MockClientInterfaceMockRecorder) RollingPatchDeployment(arg0, arg1 interface{}) *gomock.Call

RollingPatchDeployment indicates an expected call of RollingPatchDeployment.

func (*MockClientInterfaceMockRecorder) RollingPatchDeploymentMigrations

func (mr *MockClientInterfaceMockRecorder) RollingPatchDeploymentMigrations(namespace, name, f interface{}) *gomock.Call

RollingPatchDeploymentMigrations indicates an expected call of RollingPatchDeploymentMigrations.

func (*MockClientInterfaceMockRecorder) RollingUpdateDeployment

func (mr *MockClientInterfaceMockRecorder) RollingUpdateDeployment(arg0 interface{}) *gomock.Call

RollingUpdateDeployment indicates an expected call of RollingUpdateDeployment.

func (*MockClientInterfaceMockRecorder) RollingUpdateDeploymentMigrations

func (mr *MockClientInterfaceMockRecorder) RollingUpdateDeploymentMigrations(namespace, name, f interface{}) *gomock.Call

RollingUpdateDeploymentMigrations indicates an expected call of RollingUpdateDeploymentMigrations.

func (*MockClientInterfaceMockRecorder) UpdateAPIService

func (mr *MockClientInterfaceMockRecorder) UpdateAPIService(modified interface{}) *gomock.Call

UpdateAPIService indicates an expected call of UpdateAPIService.

func (*MockClientInterfaceMockRecorder) UpdateClusterRole

func (mr *MockClientInterfaceMockRecorder) UpdateClusterRole(modified interface{}) *gomock.Call

UpdateClusterRole indicates an expected call of UpdateClusterRole.

func (*MockClientInterfaceMockRecorder) UpdateClusterRoleBinding

func (mr *MockClientInterfaceMockRecorder) UpdateClusterRoleBinding(modified interface{}) *gomock.Call

UpdateClusterRoleBinding indicates an expected call of UpdateClusterRoleBinding.

func (*MockClientInterfaceMockRecorder) UpdateConfigMap

func (mr *MockClientInterfaceMockRecorder) UpdateConfigMap(modified interface{}) *gomock.Call

UpdateConfigMap indicates an expected call of UpdateConfigMap.

func (*MockClientInterfaceMockRecorder) UpdateCustomResource

func (mr *MockClientInterfaceMockRecorder) UpdateCustomResource(item interface{}) *gomock.Call

UpdateCustomResource indicates an expected call of UpdateCustomResource.

func (*MockClientInterfaceMockRecorder) UpdateCustomResourceRaw

func (mr *MockClientInterfaceMockRecorder) UpdateCustomResourceRaw(apiGroup, version, namespace, resourceKind, resourceName, data interface{}) *gomock.Call

UpdateCustomResourceRaw indicates an expected call of UpdateCustomResourceRaw.

func (*MockClientInterfaceMockRecorder) UpdateDeployment

func (mr *MockClientInterfaceMockRecorder) UpdateDeployment(arg0 interface{}) *gomock.Call

UpdateDeployment indicates an expected call of UpdateDeployment.

func (*MockClientInterfaceMockRecorder) UpdateRole

func (mr *MockClientInterfaceMockRecorder) UpdateRole(modified interface{}) *gomock.Call

UpdateRole indicates an expected call of UpdateRole.

func (*MockClientInterfaceMockRecorder) UpdateRoleBinding

func (mr *MockClientInterfaceMockRecorder) UpdateRoleBinding(modified interface{}) *gomock.Call

UpdateRoleBinding indicates an expected call of UpdateRoleBinding.

func (*MockClientInterfaceMockRecorder) UpdateSecret

func (mr *MockClientInterfaceMockRecorder) UpdateSecret(modified interface{}) *gomock.Call

UpdateSecret indicates an expected call of UpdateSecret.

func (*MockClientInterfaceMockRecorder) UpdateService

func (mr *MockClientInterfaceMockRecorder) UpdateService(modified interface{}) *gomock.Call

UpdateService indicates an expected call of UpdateService.

func (*MockClientInterfaceMockRecorder) UpdateServiceAccount

func (mr *MockClientInterfaceMockRecorder) UpdateServiceAccount(modified interface{}) *gomock.Call

UpdateServiceAccount indicates an expected call of UpdateServiceAccount.

type MockClusterRoleBindingClient

type MockClusterRoleBindingClient struct {
	// contains filtered or unexported fields
}

MockClusterRoleBindingClient is a mock of ClusterRoleBindingClient interface.

func NewMockClusterRoleBindingClient

func NewMockClusterRoleBindingClient(ctrl *gomock.Controller) *MockClusterRoleBindingClient

NewMockClusterRoleBindingClient creates a new mock instance.

func (*MockClusterRoleBindingClient) ApplyClusterRoleBinding added in v0.28.0

func (m *MockClusterRoleBindingClient) ApplyClusterRoleBinding(applyConfig *v14.ClusterRoleBindingApplyConfiguration, applyOptions v12.ApplyOptions) (*v11.ClusterRoleBinding, error)

ApplyClusterRoleBinding mocks base method.

func (*MockClusterRoleBindingClient) CreateClusterRoleBinding

func (m *MockClusterRoleBindingClient) CreateClusterRoleBinding(arg0 *v11.ClusterRoleBinding) (*v11.ClusterRoleBinding, error)

CreateClusterRoleBinding mocks base method.

func (*MockClusterRoleBindingClient) DeleteClusterRoleBinding

func (m *MockClusterRoleBindingClient) DeleteClusterRoleBinding(name string, options *v12.DeleteOptions) error

DeleteClusterRoleBinding mocks base method.

func (*MockClusterRoleBindingClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClusterRoleBindingClient) GetClusterRoleBinding

func (m *MockClusterRoleBindingClient) GetClusterRoleBinding(name string) (*v11.ClusterRoleBinding, error)

GetClusterRoleBinding mocks base method.

func (*MockClusterRoleBindingClient) UpdateClusterRoleBinding

func (m *MockClusterRoleBindingClient) UpdateClusterRoleBinding(modified *v11.ClusterRoleBinding) (*v11.ClusterRoleBinding, error)

UpdateClusterRoleBinding mocks base method.

type MockClusterRoleBindingClientMockRecorder

type MockClusterRoleBindingClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClusterRoleBindingClientMockRecorder is the mock recorder for MockClusterRoleBindingClient.

func (*MockClusterRoleBindingClientMockRecorder) ApplyClusterRoleBinding added in v0.28.0

func (mr *MockClusterRoleBindingClientMockRecorder) ApplyClusterRoleBinding(applyConfig, applyOptions interface{}) *gomock.Call

ApplyClusterRoleBinding indicates an expected call of ApplyClusterRoleBinding.

func (*MockClusterRoleBindingClientMockRecorder) CreateClusterRoleBinding

func (mr *MockClusterRoleBindingClientMockRecorder) CreateClusterRoleBinding(arg0 interface{}) *gomock.Call

CreateClusterRoleBinding indicates an expected call of CreateClusterRoleBinding.

func (*MockClusterRoleBindingClientMockRecorder) DeleteClusterRoleBinding

func (mr *MockClusterRoleBindingClientMockRecorder) DeleteClusterRoleBinding(name, options interface{}) *gomock.Call

DeleteClusterRoleBinding indicates an expected call of DeleteClusterRoleBinding.

func (*MockClusterRoleBindingClientMockRecorder) GetClusterRoleBinding

func (mr *MockClusterRoleBindingClientMockRecorder) GetClusterRoleBinding(name interface{}) *gomock.Call

GetClusterRoleBinding indicates an expected call of GetClusterRoleBinding.

func (*MockClusterRoleBindingClientMockRecorder) UpdateClusterRoleBinding

func (mr *MockClusterRoleBindingClientMockRecorder) UpdateClusterRoleBinding(modified interface{}) *gomock.Call

UpdateClusterRoleBinding indicates an expected call of UpdateClusterRoleBinding.

type MockClusterRoleClient

type MockClusterRoleClient struct {
	// contains filtered or unexported fields
}

MockClusterRoleClient is a mock of ClusterRoleClient interface.

func NewMockClusterRoleClient

func NewMockClusterRoleClient(ctrl *gomock.Controller) *MockClusterRoleClient

NewMockClusterRoleClient creates a new mock instance.

func (*MockClusterRoleClient) CreateClusterRole

func (m *MockClusterRoleClient) CreateClusterRole(arg0 *v11.ClusterRole) (*v11.ClusterRole, error)

CreateClusterRole mocks base method.

func (*MockClusterRoleClient) DeleteClusterRole

func (m *MockClusterRoleClient) DeleteClusterRole(name string, options *v12.DeleteOptions) error

DeleteClusterRole mocks base method.

func (*MockClusterRoleClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClusterRoleClient) GetClusterRole

func (m *MockClusterRoleClient) GetClusterRole(name string) (*v11.ClusterRole, error)

GetClusterRole mocks base method.

func (*MockClusterRoleClient) UpdateClusterRole

func (m *MockClusterRoleClient) UpdateClusterRole(modified *v11.ClusterRole) (*v11.ClusterRole, error)

UpdateClusterRole mocks base method.

type MockClusterRoleClientMockRecorder

type MockClusterRoleClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClusterRoleClientMockRecorder is the mock recorder for MockClusterRoleClient.

func (*MockClusterRoleClientMockRecorder) CreateClusterRole

func (mr *MockClusterRoleClientMockRecorder) CreateClusterRole(arg0 interface{}) *gomock.Call

CreateClusterRole indicates an expected call of CreateClusterRole.

func (*MockClusterRoleClientMockRecorder) DeleteClusterRole

func (mr *MockClusterRoleClientMockRecorder) DeleteClusterRole(name, options interface{}) *gomock.Call

DeleteClusterRole indicates an expected call of DeleteClusterRole.

func (*MockClusterRoleClientMockRecorder) GetClusterRole

func (mr *MockClusterRoleClientMockRecorder) GetClusterRole(name interface{}) *gomock.Call

GetClusterRole indicates an expected call of GetClusterRole.

func (*MockClusterRoleClientMockRecorder) UpdateClusterRole

func (mr *MockClusterRoleClientMockRecorder) UpdateClusterRole(modified interface{}) *gomock.Call

UpdateClusterRole indicates an expected call of UpdateClusterRole.

type MockConfigMapClient

type MockConfigMapClient struct {
	// contains filtered or unexported fields
}

MockConfigMapClient is a mock of ConfigMapClient interface.

func NewMockConfigMapClient

func NewMockConfigMapClient(ctrl *gomock.Controller) *MockConfigMapClient

NewMockConfigMapClient creates a new mock instance.

func (*MockConfigMapClient) CreateConfigMap

func (m *MockConfigMapClient) CreateConfigMap(arg0 *v10.ConfigMap) (*v10.ConfigMap, error)

CreateConfigMap mocks base method.

func (*MockConfigMapClient) DeleteConfigMap

func (m *MockConfigMapClient) DeleteConfigMap(namespace, name string, options *v12.DeleteOptions) error

DeleteConfigMap mocks base method.

func (*MockConfigMapClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockConfigMapClient) GetConfigMap

func (m *MockConfigMapClient) GetConfigMap(namespace, name string) (*v10.ConfigMap, error)

GetConfigMap mocks base method.

func (*MockConfigMapClient) UpdateConfigMap

func (m *MockConfigMapClient) UpdateConfigMap(modified *v10.ConfigMap) (*v10.ConfigMap, error)

UpdateConfigMap mocks base method.

type MockConfigMapClientMockRecorder

type MockConfigMapClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockConfigMapClientMockRecorder is the mock recorder for MockConfigMapClient.

func (*MockConfigMapClientMockRecorder) CreateConfigMap

func (mr *MockConfigMapClientMockRecorder) CreateConfigMap(arg0 interface{}) *gomock.Call

CreateConfigMap indicates an expected call of CreateConfigMap.

func (*MockConfigMapClientMockRecorder) DeleteConfigMap

func (mr *MockConfigMapClientMockRecorder) DeleteConfigMap(namespace, name, options interface{}) *gomock.Call

DeleteConfigMap indicates an expected call of DeleteConfigMap.

func (*MockConfigMapClientMockRecorder) GetConfigMap

func (mr *MockConfigMapClientMockRecorder) GetConfigMap(namespace, name interface{}) *gomock.Call

GetConfigMap indicates an expected call of GetConfigMap.

func (*MockConfigMapClientMockRecorder) UpdateConfigMap

func (mr *MockConfigMapClientMockRecorder) UpdateConfigMap(modified interface{}) *gomock.Call

UpdateConfigMap indicates an expected call of UpdateConfigMap.

type MockCustomResourceClient

type MockCustomResourceClient struct {
	// contains filtered or unexported fields
}

MockCustomResourceClient is a mock of CustomResourceClient interface.

func NewMockCustomResourceClient

func NewMockCustomResourceClient(ctrl *gomock.Controller) *MockCustomResourceClient

NewMockCustomResourceClient creates a new mock instance.

func (*MockCustomResourceClient) AtomicModifyCustomResource

func (m *MockCustomResourceClient) AtomicModifyCustomResource(apiGroup, version, namespace, resourceKind, resourceName string, f operatorclient.CustomResourceModifier, data interface{}) error

AtomicModifyCustomResource mocks base method.

func (*MockCustomResourceClient) CreateCustomResource

func (m *MockCustomResourceClient) CreateCustomResource(item *unstructured.Unstructured) error

CreateCustomResource mocks base method.

func (*MockCustomResourceClient) CreateCustomResourceRaw

func (m *MockCustomResourceClient) CreateCustomResourceRaw(apiGroup, version, namespace, kind string, data []byte) error

CreateCustomResourceRaw mocks base method.

func (*MockCustomResourceClient) CreateCustomResourceRawIfNotFound

func (m *MockCustomResourceClient) CreateCustomResourceRawIfNotFound(apiGroup, version, namespace, kind, name string, data []byte) (bool, error)

CreateCustomResourceRawIfNotFound mocks base method.

func (*MockCustomResourceClient) CreateOrUpdateCustomeResourceRaw

func (m *MockCustomResourceClient) CreateOrUpdateCustomeResourceRaw(apiGroup, version, namespace, resourceKind, resourceName string, data []byte) error

CreateOrUpdateCustomeResourceRaw mocks base method.

func (*MockCustomResourceClient) DeleteCustomResource

func (m *MockCustomResourceClient) DeleteCustomResource(apiGroup, version, namespace, resourceKind, resourceName string) error

DeleteCustomResource mocks base method.

func (*MockCustomResourceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCustomResourceClient) GetCustomResource

func (m *MockCustomResourceClient) GetCustomResource(apiGroup, version, namespace, resourceKind, resourceName string) (*unstructured.Unstructured, error)

GetCustomResource mocks base method.

func (*MockCustomResourceClient) GetCustomResourceRaw

func (m *MockCustomResourceClient) GetCustomResourceRaw(apiGroup, version, namespace, resourceKind, resourceName string) ([]byte, error)

GetCustomResourceRaw mocks base method.

func (*MockCustomResourceClient) ListCustomResource

func (m *MockCustomResourceClient) ListCustomResource(apiGroup, version, namespace, resourceKind string) (*operatorclient.CustomResourceList, error)

ListCustomResource mocks base method.

func (*MockCustomResourceClient) UpdateCustomResource

func (m *MockCustomResourceClient) UpdateCustomResource(item *unstructured.Unstructured) error

UpdateCustomResource mocks base method.

func (*MockCustomResourceClient) UpdateCustomResourceRaw

func (m *MockCustomResourceClient) UpdateCustomResourceRaw(apiGroup, version, namespace, resourceKind, resourceName string, data []byte) error

UpdateCustomResourceRaw mocks base method.

type MockCustomResourceClientMockRecorder

type MockCustomResourceClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockCustomResourceClientMockRecorder is the mock recorder for MockCustomResourceClient.

func (*MockCustomResourceClientMockRecorder) AtomicModifyCustomResource

func (mr *MockCustomResourceClientMockRecorder) AtomicModifyCustomResource(apiGroup, version, namespace, resourceKind, resourceName, f, data interface{}) *gomock.Call

AtomicModifyCustomResource indicates an expected call of AtomicModifyCustomResource.

func (*MockCustomResourceClientMockRecorder) CreateCustomResource

func (mr *MockCustomResourceClientMockRecorder) CreateCustomResource(item interface{}) *gomock.Call

CreateCustomResource indicates an expected call of CreateCustomResource.

func (*MockCustomResourceClientMockRecorder) CreateCustomResourceRaw

func (mr *MockCustomResourceClientMockRecorder) CreateCustomResourceRaw(apiGroup, version, namespace, kind, data interface{}) *gomock.Call

CreateCustomResourceRaw indicates an expected call of CreateCustomResourceRaw.

func (*MockCustomResourceClientMockRecorder) CreateCustomResourceRawIfNotFound

func (mr *MockCustomResourceClientMockRecorder) CreateCustomResourceRawIfNotFound(apiGroup, version, namespace, kind, name, data interface{}) *gomock.Call

CreateCustomResourceRawIfNotFound indicates an expected call of CreateCustomResourceRawIfNotFound.

func (*MockCustomResourceClientMockRecorder) CreateOrUpdateCustomeResourceRaw

func (mr *MockCustomResourceClientMockRecorder) CreateOrUpdateCustomeResourceRaw(apiGroup, version, namespace, resourceKind, resourceName, data interface{}) *gomock.Call

CreateOrUpdateCustomeResourceRaw indicates an expected call of CreateOrUpdateCustomeResourceRaw.

func (*MockCustomResourceClientMockRecorder) DeleteCustomResource

func (mr *MockCustomResourceClientMockRecorder) DeleteCustomResource(apiGroup, version, namespace, resourceKind, resourceName interface{}) *gomock.Call

DeleteCustomResource indicates an expected call of DeleteCustomResource.

func (*MockCustomResourceClientMockRecorder) GetCustomResource

func (mr *MockCustomResourceClientMockRecorder) GetCustomResource(apiGroup, version, namespace, resourceKind, resourceName interface{}) *gomock.Call

GetCustomResource indicates an expected call of GetCustomResource.

func (*MockCustomResourceClientMockRecorder) GetCustomResourceRaw

func (mr *MockCustomResourceClientMockRecorder) GetCustomResourceRaw(apiGroup, version, namespace, resourceKind, resourceName interface{}) *gomock.Call

GetCustomResourceRaw indicates an expected call of GetCustomResourceRaw.

func (*MockCustomResourceClientMockRecorder) ListCustomResource

func (mr *MockCustomResourceClientMockRecorder) ListCustomResource(apiGroup, version, namespace, resourceKind interface{}) *gomock.Call

ListCustomResource indicates an expected call of ListCustomResource.

func (*MockCustomResourceClientMockRecorder) UpdateCustomResource

func (mr *MockCustomResourceClientMockRecorder) UpdateCustomResource(item interface{}) *gomock.Call

UpdateCustomResource indicates an expected call of UpdateCustomResource.

func (*MockCustomResourceClientMockRecorder) UpdateCustomResourceRaw

func (mr *MockCustomResourceClientMockRecorder) UpdateCustomResourceRaw(apiGroup, version, namespace, resourceKind, resourceName, data interface{}) *gomock.Call

UpdateCustomResourceRaw indicates an expected call of UpdateCustomResourceRaw.

type MockDeploymentClient

type MockDeploymentClient struct {
	// contains filtered or unexported fields
}

MockDeploymentClient is a mock of DeploymentClient interface.

func NewMockDeploymentClient

func NewMockDeploymentClient(ctrl *gomock.Controller) *MockDeploymentClient

NewMockDeploymentClient creates a new mock instance.

func (*MockDeploymentClient) CreateDeployment

func (m *MockDeploymentClient) CreateDeployment(arg0 *v1.Deployment) (*v1.Deployment, error)

CreateDeployment mocks base method.

func (*MockDeploymentClient) CreateOrRollingUpdateDeployment

func (m *MockDeploymentClient) CreateOrRollingUpdateDeployment(arg0 *v1.Deployment) (*v1.Deployment, bool, error)

CreateOrRollingUpdateDeployment mocks base method.

func (*MockDeploymentClient) DeleteDeployment

func (m *MockDeploymentClient) DeleteDeployment(namespace, name string, options *v12.DeleteOptions) error

DeleteDeployment mocks base method.

func (*MockDeploymentClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDeploymentClient) GetDeployment

func (m *MockDeploymentClient) GetDeployment(namespace, name string) (*v1.Deployment, error)

GetDeployment mocks base method.

func (*MockDeploymentClient) ListDeploymentsWithLabels

func (m *MockDeploymentClient) ListDeploymentsWithLabels(namespace string, labels labels.Set) (*v1.DeploymentList, error)

ListDeploymentsWithLabels mocks base method.

func (*MockDeploymentClient) PatchDeployment

func (m *MockDeploymentClient) PatchDeployment(arg0, arg1 *v1.Deployment) (*v1.Deployment, bool, error)

PatchDeployment mocks base method.

func (*MockDeploymentClient) RollingPatchDeployment

func (m *MockDeploymentClient) RollingPatchDeployment(arg0, arg1 *v1.Deployment) (*v1.Deployment, bool, error)

RollingPatchDeployment mocks base method.

func (*MockDeploymentClient) RollingPatchDeploymentMigrations

func (m *MockDeploymentClient) RollingPatchDeploymentMigrations(namespace, name string, f operatorclient.PatchFunction) (*v1.Deployment, bool, error)

RollingPatchDeploymentMigrations mocks base method.

func (*MockDeploymentClient) RollingUpdateDeployment

func (m *MockDeploymentClient) RollingUpdateDeployment(arg0 *v1.Deployment) (*v1.Deployment, bool, error)

RollingUpdateDeployment mocks base method.

func (*MockDeploymentClient) RollingUpdateDeploymentMigrations

func (m *MockDeploymentClient) RollingUpdateDeploymentMigrations(namespace, name string, f operatorclient.UpdateFunction) (*v1.Deployment, bool, error)

RollingUpdateDeploymentMigrations mocks base method.

func (*MockDeploymentClient) UpdateDeployment

func (m *MockDeploymentClient) UpdateDeployment(arg0 *v1.Deployment) (*v1.Deployment, bool, error)

UpdateDeployment mocks base method.

type MockDeploymentClientMockRecorder

type MockDeploymentClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockDeploymentClientMockRecorder is the mock recorder for MockDeploymentClient.

func (*MockDeploymentClientMockRecorder) CreateDeployment

func (mr *MockDeploymentClientMockRecorder) CreateDeployment(arg0 interface{}) *gomock.Call

CreateDeployment indicates an expected call of CreateDeployment.

func (*MockDeploymentClientMockRecorder) CreateOrRollingUpdateDeployment

func (mr *MockDeploymentClientMockRecorder) CreateOrRollingUpdateDeployment(arg0 interface{}) *gomock.Call

CreateOrRollingUpdateDeployment indicates an expected call of CreateOrRollingUpdateDeployment.

func (*MockDeploymentClientMockRecorder) DeleteDeployment

func (mr *MockDeploymentClientMockRecorder) DeleteDeployment(namespace, name, options interface{}) *gomock.Call

DeleteDeployment indicates an expected call of DeleteDeployment.

func (*MockDeploymentClientMockRecorder) GetDeployment

func (mr *MockDeploymentClientMockRecorder) GetDeployment(namespace, name interface{}) *gomock.Call

GetDeployment indicates an expected call of GetDeployment.

func (*MockDeploymentClientMockRecorder) ListDeploymentsWithLabels

func (mr *MockDeploymentClientMockRecorder) ListDeploymentsWithLabels(namespace, labels interface{}) *gomock.Call

ListDeploymentsWithLabels indicates an expected call of ListDeploymentsWithLabels.

func (*MockDeploymentClientMockRecorder) PatchDeployment

func (mr *MockDeploymentClientMockRecorder) PatchDeployment(arg0, arg1 interface{}) *gomock.Call

PatchDeployment indicates an expected call of PatchDeployment.

func (*MockDeploymentClientMockRecorder) RollingPatchDeployment

func (mr *MockDeploymentClientMockRecorder) RollingPatchDeployment(arg0, arg1 interface{}) *gomock.Call

RollingPatchDeployment indicates an expected call of RollingPatchDeployment.

func (*MockDeploymentClientMockRecorder) RollingPatchDeploymentMigrations

func (mr *MockDeploymentClientMockRecorder) RollingPatchDeploymentMigrations(namespace, name, f interface{}) *gomock.Call

RollingPatchDeploymentMigrations indicates an expected call of RollingPatchDeploymentMigrations.

func (*MockDeploymentClientMockRecorder) RollingUpdateDeployment

func (mr *MockDeploymentClientMockRecorder) RollingUpdateDeployment(arg0 interface{}) *gomock.Call

RollingUpdateDeployment indicates an expected call of RollingUpdateDeployment.

func (*MockDeploymentClientMockRecorder) RollingUpdateDeploymentMigrations

func (mr *MockDeploymentClientMockRecorder) RollingUpdateDeploymentMigrations(namespace, name, f interface{}) *gomock.Call

RollingUpdateDeploymentMigrations indicates an expected call of RollingUpdateDeploymentMigrations.

func (*MockDeploymentClientMockRecorder) UpdateDeployment

func (mr *MockDeploymentClientMockRecorder) UpdateDeployment(arg0 interface{}) *gomock.Call

UpdateDeployment indicates an expected call of UpdateDeployment.

type MockRoleBindingClient

type MockRoleBindingClient struct {
	// contains filtered or unexported fields
}

MockRoleBindingClient is a mock of RoleBindingClient interface.

func NewMockRoleBindingClient

func NewMockRoleBindingClient(ctrl *gomock.Controller) *MockRoleBindingClient

NewMockRoleBindingClient creates a new mock instance.

func (*MockRoleBindingClient) ApplyRoleBinding added in v0.28.0

func (m *MockRoleBindingClient) ApplyRoleBinding(applyConfig *v14.RoleBindingApplyConfiguration, applyOptions v12.ApplyOptions) (*v11.RoleBinding, error)

ApplyRoleBinding mocks base method.

func (*MockRoleBindingClient) CreateRoleBinding

func (m *MockRoleBindingClient) CreateRoleBinding(arg0 *v11.RoleBinding) (*v11.RoleBinding, error)

CreateRoleBinding mocks base method.

func (*MockRoleBindingClient) DeleteRoleBinding

func (m *MockRoleBindingClient) DeleteRoleBinding(namespace, name string, options *v12.DeleteOptions) error

DeleteRoleBinding mocks base method.

func (*MockRoleBindingClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRoleBindingClient) GetRoleBinding

func (m *MockRoleBindingClient) GetRoleBinding(namespace, name string) (*v11.RoleBinding, error)

GetRoleBinding mocks base method.

func (*MockRoleBindingClient) UpdateRoleBinding

func (m *MockRoleBindingClient) UpdateRoleBinding(modified *v11.RoleBinding) (*v11.RoleBinding, error)

UpdateRoleBinding mocks base method.

type MockRoleBindingClientMockRecorder

type MockRoleBindingClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockRoleBindingClientMockRecorder is the mock recorder for MockRoleBindingClient.

func (*MockRoleBindingClientMockRecorder) ApplyRoleBinding added in v0.28.0

func (mr *MockRoleBindingClientMockRecorder) ApplyRoleBinding(applyConfig, applyOptions interface{}) *gomock.Call

ApplyRoleBinding indicates an expected call of ApplyRoleBinding.

func (*MockRoleBindingClientMockRecorder) CreateRoleBinding

func (mr *MockRoleBindingClientMockRecorder) CreateRoleBinding(arg0 interface{}) *gomock.Call

CreateRoleBinding indicates an expected call of CreateRoleBinding.

func (*MockRoleBindingClientMockRecorder) DeleteRoleBinding

func (mr *MockRoleBindingClientMockRecorder) DeleteRoleBinding(namespace, name, options interface{}) *gomock.Call

DeleteRoleBinding indicates an expected call of DeleteRoleBinding.

func (*MockRoleBindingClientMockRecorder) GetRoleBinding

func (mr *MockRoleBindingClientMockRecorder) GetRoleBinding(namespace, name interface{}) *gomock.Call

GetRoleBinding indicates an expected call of GetRoleBinding.

func (*MockRoleBindingClientMockRecorder) UpdateRoleBinding

func (mr *MockRoleBindingClientMockRecorder) UpdateRoleBinding(modified interface{}) *gomock.Call

UpdateRoleBinding indicates an expected call of UpdateRoleBinding.

type MockRoleClient

type MockRoleClient struct {
	// contains filtered or unexported fields
}

MockRoleClient is a mock of RoleClient interface.

func NewMockRoleClient

func NewMockRoleClient(ctrl *gomock.Controller) *MockRoleClient

NewMockRoleClient creates a new mock instance.

func (*MockRoleClient) CreateRole

func (m *MockRoleClient) CreateRole(arg0 *v11.Role) (*v11.Role, error)

CreateRole mocks base method.

func (*MockRoleClient) DeleteRole

func (m *MockRoleClient) DeleteRole(namespace, name string, options *v12.DeleteOptions) error

DeleteRole mocks base method.

func (*MockRoleClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRoleClient) GetRole

func (m *MockRoleClient) GetRole(namespace, name string) (*v11.Role, error)

GetRole mocks base method.

func (*MockRoleClient) UpdateRole

func (m *MockRoleClient) UpdateRole(modified *v11.Role) (*v11.Role, error)

UpdateRole mocks base method.

type MockRoleClientMockRecorder

type MockRoleClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockRoleClientMockRecorder is the mock recorder for MockRoleClient.

func (*MockRoleClientMockRecorder) CreateRole

func (mr *MockRoleClientMockRecorder) CreateRole(arg0 interface{}) *gomock.Call

CreateRole indicates an expected call of CreateRole.

func (*MockRoleClientMockRecorder) DeleteRole

func (mr *MockRoleClientMockRecorder) DeleteRole(namespace, name, options interface{}) *gomock.Call

DeleteRole indicates an expected call of DeleteRole.

func (*MockRoleClientMockRecorder) GetRole

func (mr *MockRoleClientMockRecorder) GetRole(namespace, name interface{}) *gomock.Call

GetRole indicates an expected call of GetRole.

func (*MockRoleClientMockRecorder) UpdateRole

func (mr *MockRoleClientMockRecorder) UpdateRole(modified interface{}) *gomock.Call

UpdateRole indicates an expected call of UpdateRole.

type MockSecretClient

type MockSecretClient struct {
	// contains filtered or unexported fields
}

MockSecretClient is a mock of SecretClient interface.

func NewMockSecretClient

func NewMockSecretClient(ctrl *gomock.Controller) *MockSecretClient

NewMockSecretClient creates a new mock instance.

func (*MockSecretClient) CreateSecret

func (m *MockSecretClient) CreateSecret(arg0 *v10.Secret) (*v10.Secret, error)

CreateSecret mocks base method.

func (*MockSecretClient) DeleteSecret

func (m *MockSecretClient) DeleteSecret(namespace, name string, options *v12.DeleteOptions) error

DeleteSecret mocks base method.

func (*MockSecretClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSecretClient) GetSecret

func (m *MockSecretClient) GetSecret(namespace, name string) (*v10.Secret, error)

GetSecret mocks base method.

func (*MockSecretClient) UpdateSecret

func (m *MockSecretClient) UpdateSecret(modified *v10.Secret) (*v10.Secret, error)

UpdateSecret mocks base method.

type MockSecretClientMockRecorder

type MockSecretClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockSecretClientMockRecorder is the mock recorder for MockSecretClient.

func (*MockSecretClientMockRecorder) CreateSecret

func (mr *MockSecretClientMockRecorder) CreateSecret(arg0 interface{}) *gomock.Call

CreateSecret indicates an expected call of CreateSecret.

func (*MockSecretClientMockRecorder) DeleteSecret

func (mr *MockSecretClientMockRecorder) DeleteSecret(namespace, name, options interface{}) *gomock.Call

DeleteSecret indicates an expected call of DeleteSecret.

func (*MockSecretClientMockRecorder) GetSecret

func (mr *MockSecretClientMockRecorder) GetSecret(namespace, name interface{}) *gomock.Call

GetSecret indicates an expected call of GetSecret.

func (*MockSecretClientMockRecorder) UpdateSecret

func (mr *MockSecretClientMockRecorder) UpdateSecret(modified interface{}) *gomock.Call

UpdateSecret indicates an expected call of UpdateSecret.

type MockServiceAccountClient

type MockServiceAccountClient struct {
	// contains filtered or unexported fields
}

MockServiceAccountClient is a mock of ServiceAccountClient interface.

func NewMockServiceAccountClient

func NewMockServiceAccountClient(ctrl *gomock.Controller) *MockServiceAccountClient

NewMockServiceAccountClient creates a new mock instance.

func (*MockServiceAccountClient) CreateServiceAccount

func (m *MockServiceAccountClient) CreateServiceAccount(arg0 *v10.ServiceAccount) (*v10.ServiceAccount, error)

CreateServiceAccount mocks base method.

func (*MockServiceAccountClient) DeleteServiceAccount

func (m *MockServiceAccountClient) DeleteServiceAccount(namespace, name string, options *v12.DeleteOptions) error

DeleteServiceAccount mocks base method.

func (*MockServiceAccountClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockServiceAccountClient) GetServiceAccount

func (m *MockServiceAccountClient) GetServiceAccount(namespace, name string) (*v10.ServiceAccount, error)

GetServiceAccount mocks base method.

func (*MockServiceAccountClient) UpdateServiceAccount

func (m *MockServiceAccountClient) UpdateServiceAccount(modified *v10.ServiceAccount) (*v10.ServiceAccount, error)

UpdateServiceAccount mocks base method.

type MockServiceAccountClientMockRecorder

type MockServiceAccountClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockServiceAccountClientMockRecorder is the mock recorder for MockServiceAccountClient.

func (*MockServiceAccountClientMockRecorder) CreateServiceAccount

func (mr *MockServiceAccountClientMockRecorder) CreateServiceAccount(arg0 interface{}) *gomock.Call

CreateServiceAccount indicates an expected call of CreateServiceAccount.

func (*MockServiceAccountClientMockRecorder) DeleteServiceAccount

func (mr *MockServiceAccountClientMockRecorder) DeleteServiceAccount(namespace, name, options interface{}) *gomock.Call

DeleteServiceAccount indicates an expected call of DeleteServiceAccount.

func (*MockServiceAccountClientMockRecorder) GetServiceAccount

func (mr *MockServiceAccountClientMockRecorder) GetServiceAccount(namespace, name interface{}) *gomock.Call

GetServiceAccount indicates an expected call of GetServiceAccount.

func (*MockServiceAccountClientMockRecorder) UpdateServiceAccount

func (mr *MockServiceAccountClientMockRecorder) UpdateServiceAccount(modified interface{}) *gomock.Call

UpdateServiceAccount indicates an expected call of UpdateServiceAccount.

type MockServiceClient

type MockServiceClient struct {
	// contains filtered or unexported fields
}

MockServiceClient is a mock of ServiceClient interface.

func NewMockServiceClient

func NewMockServiceClient(ctrl *gomock.Controller) *MockServiceClient

NewMockServiceClient creates a new mock instance.

func (*MockServiceClient) ApplyService added in v0.28.0

ApplyService mocks base method.

func (*MockServiceClient) CreateService

func (m *MockServiceClient) CreateService(arg0 *v10.Service) (*v10.Service, error)

CreateService mocks base method.

func (*MockServiceClient) DeleteService

func (m *MockServiceClient) DeleteService(namespace, name string, options *v12.DeleteOptions) error

DeleteService mocks base method.

func (*MockServiceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockServiceClient) GetService

func (m *MockServiceClient) GetService(namespace, name string) (*v10.Service, error)

GetService mocks base method.

func (*MockServiceClient) UpdateService

func (m *MockServiceClient) UpdateService(modified *v10.Service) (*v10.Service, error)

UpdateService mocks base method.

type MockServiceClientMockRecorder

type MockServiceClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockServiceClientMockRecorder is the mock recorder for MockServiceClient.

func (*MockServiceClientMockRecorder) ApplyService added in v0.28.0

func (mr *MockServiceClientMockRecorder) ApplyService(arg0, arg1 interface{}) *gomock.Call

ApplyService indicates an expected call of ApplyService.

func (*MockServiceClientMockRecorder) CreateService

func (mr *MockServiceClientMockRecorder) CreateService(arg0 interface{}) *gomock.Call

CreateService indicates an expected call of CreateService.

func (*MockServiceClientMockRecorder) DeleteService

func (mr *MockServiceClientMockRecorder) DeleteService(namespace, name, options interface{}) *gomock.Call

DeleteService indicates an expected call of DeleteService.

func (*MockServiceClientMockRecorder) GetService

func (mr *MockServiceClientMockRecorder) GetService(namespace, name interface{}) *gomock.Call

GetService indicates an expected call of GetService.

func (*MockServiceClientMockRecorder) UpdateService

func (mr *MockServiceClientMockRecorder) UpdateService(modified interface{}) *gomock.Call

UpdateService indicates an expected call of UpdateService.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL