mocks

package
v0.0.0-...-3468198 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRD

type CRD struct {
	mock.Mock
}

CRD is an autogenerated mock type for the CRD type

func (*CRD) EnsureCRD

func (_m *CRD) EnsureCRD(conf crd.Conf) error

EnsureCRD provides a mock function with given fields: conf

type Services

type Services struct {
	mock.Mock
}

Services is an autogenerated mock type for the Services type

func (*Services) CreateConfigMap

func (_m *Services) CreateConfigMap(namespace string, configMap *v1.ConfigMap) error

CreateConfigMap provides a mock function with given fields: namespace, configMap

func (*Services) CreateDeployment

func (_m *Services) CreateDeployment(namespace string, deployment *v1beta2.Deployment) error

CreateDeployment provides a mock function with given fields: namespace, deployment

func (*Services) CreateIfNotExistsService

func (_m *Services) CreateIfNotExistsService(namespace string, service *v1.Service) error

CreateIfNotExistsService provides a mock function with given fields: namespace, service

func (*Services) CreateOrUpdateConfigMap

func (_m *Services) CreateOrUpdateConfigMap(namespace string, np *v1.ConfigMap) error

CreateOrUpdateConfigMap provides a mock function with given fields: namespace, np

func (*Services) CreateOrUpdateDeployment

func (_m *Services) CreateOrUpdateDeployment(namespace string, deployment *v1beta2.Deployment) error

CreateOrUpdateDeployment provides a mock function with given fields: namespace, deployment

func (*Services) CreateOrUpdatePod

func (_m *Services) CreateOrUpdatePod(namespace string, pod *v1.Pod) error

CreateOrUpdatePod provides a mock function with given fields: namespace, pod

func (*Services) CreateOrUpdatePodDisruptionBudget

func (_m *Services) CreateOrUpdatePodDisruptionBudget(namespace string, podDisruptionBudget *v1beta1.PodDisruptionBudget) error

CreateOrUpdatePodDisruptionBudget provides a mock function with given fields: namespace, podDisruptionBudget

func (*Services) CreateOrUpdateRole

func (_m *Services) CreateOrUpdateRole(namespace string, binding *rbacv1.Role) error

CreateOrUpdateRole provides a mock function with given fields: namespace, binding

func (*Services) CreateOrUpdateRoleBinding

func (_m *Services) CreateOrUpdateRoleBinding(namespace string, binding *rbacv1.RoleBinding) error

CreateOrUpdateRoleBinding provides a mock function with given fields: namespace, binding

func (*Services) CreateOrUpdateService

func (_m *Services) CreateOrUpdateService(namespace string, service *v1.Service) error

CreateOrUpdateService provides a mock function with given fields: namespace, service

func (*Services) CreateOrUpdateStatefulSet

func (_m *Services) CreateOrUpdateStatefulSet(namespace string, statefulSet *v1beta2.StatefulSet) error

CreateOrUpdateStatefulSet provides a mock function with given fields: namespace, statefulSet

func (*Services) CreatePod

func (_m *Services) CreatePod(namespace string, pod *v1.Pod) error

CreatePod provides a mock function with given fields: namespace, pod

func (*Services) CreatePodDisruptionBudget

func (_m *Services) CreatePodDisruptionBudget(namespace string, podDisruptionBudget *v1beta1.PodDisruptionBudget) error

CreatePodDisruptionBudget provides a mock function with given fields: namespace, podDisruptionBudget

func (*Services) CreateRole

func (_m *Services) CreateRole(namespace string, tole *rbacv1.Role) error

CreateRole provides a mock function with given fields: namespace, tole

func (*Services) CreateRoleBinding

func (_m *Services) CreateRoleBinding(namespace string, binding *rbacv1.RoleBinding) error

CreateRoleBinding provides a mock function with given fields: namespace, binding

func (*Services) CreateService

func (_m *Services) CreateService(namespace string, service *v1.Service) error

CreateService provides a mock function with given fields: namespace, service

func (*Services) CreateStatefulSet

func (_m *Services) CreateStatefulSet(namespace string, statefulSet *v1beta2.StatefulSet) error

CreateStatefulSet provides a mock function with given fields: namespace, statefulSet

func (*Services) DeleteConfigMap

func (_m *Services) DeleteConfigMap(namespace string, name string) error

DeleteConfigMap provides a mock function with given fields: namespace, name

func (*Services) DeleteDeployment

func (_m *Services) DeleteDeployment(namespace string, name string) error

DeleteDeployment provides a mock function with given fields: namespace, name

func (*Services) DeletePod

func (_m *Services) DeletePod(namespace string, name string) error

DeletePod provides a mock function with given fields: namespace, name

func (*Services) DeletePodDisruptionBudget

func (_m *Services) DeletePodDisruptionBudget(namespace string, name string) error

DeletePodDisruptionBudget provides a mock function with given fields: namespace, name

func (*Services) DeleteService

func (_m *Services) DeleteService(namespace string, name string) error

DeleteService provides a mock function with given fields: namespace, name

func (*Services) DeleteStatefulSet

func (_m *Services) DeleteStatefulSet(namespace string, name string) error

DeleteStatefulSet provides a mock function with given fields: namespace, name

func (*Services) EnsureCRD

func (_m *Services) EnsureCRD(conf crd.Conf) error

EnsureCRD provides a mock function with given fields: conf

func (*Services) GetClusterRole

func (_m *Services) GetClusterRole(name string) (*rbacv1.ClusterRole, error)

GetClusterRole provides a mock function with given fields: name

func (*Services) GetConfigMap

func (_m *Services) GetConfigMap(namespace string, name string) (*v1.ConfigMap, error)

GetConfigMap provides a mock function with given fields: namespace, name

func (*Services) GetDeployment

func (_m *Services) GetDeployment(namespace string, name string) (*v1beta2.Deployment, error)

GetDeployment provides a mock function with given fields: namespace, name

func (*Services) GetDeploymentPods

func (_m *Services) GetDeploymentPods(namespace string, name string) (*v1.PodList, error)

GetDeploymentPods provides a mock function with given fields: namespace, name

func (*Services) GetPod

func (_m *Services) GetPod(namespace string, name string) (*v1.Pod, error)

GetPod provides a mock function with given fields: namespace, name

func (*Services) GetPodDisruptionBudget

func (_m *Services) GetPodDisruptionBudget(namespace string, name string) (*v1beta1.PodDisruptionBudget, error)

GetPodDisruptionBudget provides a mock function with given fields: namespace, name

func (*Services) GetRole

func (_m *Services) GetRole(namespace string, name string) (*rbacv1.Role, error)

GetRole provides a mock function with given fields: namespace, name

func (*Services) GetRoleBinding

func (_m *Services) GetRoleBinding(namespace string, name string) (*rbacv1.RoleBinding, error)

GetRoleBinding provides a mock function with given fields: namespace, name

func (*Services) GetService

func (_m *Services) GetService(namespace string, name string) (*v1.Service, error)

GetService provides a mock function with given fields: namespace, name

func (*Services) GetStatefulSet

func (_m *Services) GetStatefulSet(namespace string, name string) (*v1beta2.StatefulSet, error)

GetStatefulSet provides a mock function with given fields: namespace, name

func (*Services) GetStatefulSetPods

func (_m *Services) GetStatefulSetPods(namespace string, name string) (*v1.PodList, error)

GetStatefulSetPods provides a mock function with given fields: namespace, name

func (*Services) ListConfigMaps

func (_m *Services) ListConfigMaps(namespace string) (*v1.ConfigMapList, error)

ListConfigMaps provides a mock function with given fields: namespace

func (*Services) ListDeployments

func (_m *Services) ListDeployments(namespace string) (*v1beta2.DeploymentList, error)

ListDeployments provides a mock function with given fields: namespace

func (*Services) ListPods

func (_m *Services) ListPods(namespace string) (*v1.PodList, error)

ListPods provides a mock function with given fields: namespace

func (*Services) ListRedisFailovers

func (_m *Services) ListRedisFailovers(namespace string, opts metav1.ListOptions) (*v1alpha2.RedisFailoverList, error)

ListRedisFailovers provides a mock function with given fields: namespace, opts

func (*Services) ListServices

func (_m *Services) ListServices(namespace string) (*v1.ServiceList, error)

ListServices provides a mock function with given fields: namespace

func (*Services) ListStatefulSets

func (_m *Services) ListStatefulSets(namespace string) (*v1beta2.StatefulSetList, error)

ListStatefulSets provides a mock function with given fields: namespace

func (*Services) UpdateConfigMap

func (_m *Services) UpdateConfigMap(namespace string, configMap *v1.ConfigMap) error

UpdateConfigMap provides a mock function with given fields: namespace, configMap

func (*Services) UpdateDeployment

func (_m *Services) UpdateDeployment(namespace string, deployment *v1beta2.Deployment) error

UpdateDeployment provides a mock function with given fields: namespace, deployment

func (*Services) UpdatePod

func (_m *Services) UpdatePod(namespace string, pod *v1.Pod) error

UpdatePod provides a mock function with given fields: namespace, pod

func (*Services) UpdatePodDisruptionBudget

func (_m *Services) UpdatePodDisruptionBudget(namespace string, podDisruptionBudget *v1beta1.PodDisruptionBudget) error

UpdatePodDisruptionBudget provides a mock function with given fields: namespace, podDisruptionBudget

func (*Services) UpdateRole

func (_m *Services) UpdateRole(namespace string, role *rbacv1.Role) error

UpdateRole provides a mock function with given fields: namespace, role

func (*Services) UpdateRoleBinding

func (_m *Services) UpdateRoleBinding(namespace string, binding *rbacv1.RoleBinding) error

UpdateRoleBinding provides a mock function with given fields: namespace, binding

func (*Services) UpdateService

func (_m *Services) UpdateService(namespace string, service *v1.Service) error

UpdateService provides a mock function with given fields: namespace, service

func (*Services) UpdateStatefulSet

func (_m *Services) UpdateStatefulSet(namespace string, statefulSet *v1beta2.StatefulSet) error

UpdateStatefulSet provides a mock function with given fields: namespace, statefulSet

func (*Services) WatchRedisFailovers

func (_m *Services) WatchRedisFailovers(namespace string, opts metav1.ListOptions) (watch.Interface, error)

WatchRedisFailovers provides a mock function with given fields: namespace, opts

Jump to

Keyboard shortcuts

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