Documentation ¶
Index ¶
- type CRD
- type Services
- func (_m *Services) CreateConfigMap(namespace string, configMap *v1.ConfigMap) error
- func (_m *Services) CreateDeployment(namespace string, deployment *appsv1.Deployment) error
- func (_m *Services) CreateIfNotExistsService(namespace string, service *v1.Service) error
- func (_m *Services) CreateOrUpdateConfigMap(namespace string, np *v1.ConfigMap) error
- func (_m *Services) CreateOrUpdateDeployment(namespace string, deployment *appsv1.Deployment) error
- func (_m *Services) CreateOrUpdatePod(namespace string, pod *v1.Pod) error
- func (_m *Services) CreateOrUpdatePodDisruptionBudget(namespace string, podDisruptionBudget *v1beta1.PodDisruptionBudget) error
- func (_m *Services) CreateOrUpdateRole(namespace string, binding *rbacv1.Role) error
- func (_m *Services) CreateOrUpdateRoleBinding(namespace string, binding *rbacv1.RoleBinding) error
- func (_m *Services) CreateOrUpdateService(namespace string, service *v1.Service) error
- func (_m *Services) CreateOrUpdateStatefulSet(namespace string, statefulSet *appsv1.StatefulSet) error
- func (_m *Services) CreatePod(namespace string, pod *v1.Pod) error
- func (_m *Services) CreatePodDisruptionBudget(namespace string, podDisruptionBudget *v1beta1.PodDisruptionBudget) error
- func (_m *Services) CreateRole(namespace string, tole *rbacv1.Role) error
- func (_m *Services) CreateRoleBinding(namespace string, binding *rbacv1.RoleBinding) error
- func (_m *Services) CreateService(namespace string, service *v1.Service) error
- func (_m *Services) CreateStatefulSet(namespace string, statefulSet *appsv1.StatefulSet) error
- func (_m *Services) DeleteConfigMap(namespace string, name string) error
- func (_m *Services) DeleteDeployment(namespace string, name string) error
- func (_m *Services) DeletePod(namespace string, name string) error
- func (_m *Services) DeletePodDisruptionBudget(namespace string, name string) error
- func (_m *Services) DeleteService(namespace string, name string) error
- func (_m *Services) DeleteStatefulSet(namespace string, name string) error
- func (_m *Services) EnsureCRD(conf crd.Conf) error
- func (_m *Services) GetClusterRole(name string) (*rbacv1.ClusterRole, error)
- func (_m *Services) GetConfigMap(namespace string, name string) (*v1.ConfigMap, error)
- func (_m *Services) GetDeployment(namespace string, name string) (*appsv1.Deployment, error)
- func (_m *Services) GetDeploymentPods(namespace string, name string) (*v1.PodList, error)
- func (_m *Services) GetPod(namespace string, name string) (*v1.Pod, error)
- func (_m *Services) GetPodDisruptionBudget(namespace string, name string) (*v1beta1.PodDisruptionBudget, error)
- func (_m *Services) GetRole(namespace string, name string) (*rbacv1.Role, error)
- func (_m *Services) GetRoleBinding(namespace string, name string) (*rbacv1.RoleBinding, error)
- func (_m *Services) GetService(namespace string, name string) (*v1.Service, error)
- func (_m *Services) GetStatefulSet(namespace string, name string) (*appsv1.StatefulSet, error)
- func (_m *Services) GetStatefulSetPods(namespace string, name string) (*v1.PodList, error)
- func (_m *Services) ListConfigMaps(namespace string) (*v1.ConfigMapList, error)
- func (_m *Services) ListDeployments(namespace string) (*appsv1.DeploymentList, error)
- func (_m *Services) ListPods(namespace string) (*v1.PodList, error)
- func (_m *Services) ListRedisFailovers(namespace string, opts metav1.ListOptions) (*redisfailoverv1.RedisFailoverList, error)
- func (_m *Services) ListServices(namespace string) (*v1.ServiceList, error)
- func (_m *Services) ListStatefulSets(namespace string) (*appsv1.StatefulSetList, error)
- func (_m *Services) UpdateConfigMap(namespace string, configMap *v1.ConfigMap) error
- func (_m *Services) UpdateDeployment(namespace string, deployment *appsv1.Deployment) error
- func (_m *Services) UpdatePod(namespace string, pod *v1.Pod) error
- func (_m *Services) UpdatePodDisruptionBudget(namespace string, podDisruptionBudget *v1beta1.PodDisruptionBudget) error
- func (_m *Services) UpdateRole(namespace string, role *rbacv1.Role) error
- func (_m *Services) UpdateRoleBinding(namespace string, binding *rbacv1.RoleBinding) error
- func (_m *Services) UpdateService(namespace string, service *v1.Service) error
- func (_m *Services) UpdateStatefulSet(namespace string, statefulSet *appsv1.StatefulSet) error
- func (_m *Services) WatchRedisFailovers(namespace string, opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Services ¶
Services is an autogenerated mock type for the Services type
func (*Services) CreateConfigMap ¶
CreateConfigMap provides a mock function with given fields: namespace, configMap
func (*Services) CreateDeployment ¶
func (_m *Services) CreateDeployment(namespace string, deployment *appsv1.Deployment) error
CreateDeployment provides a mock function with given fields: namespace, deployment
func (*Services) CreateIfNotExistsService ¶
CreateIfNotExistsService provides a mock function with given fields: namespace, service
func (*Services) CreateOrUpdateConfigMap ¶
CreateOrUpdateConfigMap provides a mock function with given fields: namespace, np
func (*Services) CreateOrUpdateDeployment ¶
func (_m *Services) CreateOrUpdateDeployment(namespace string, deployment *appsv1.Deployment) error
CreateOrUpdateDeployment provides a mock function with given fields: namespace, deployment
func (*Services) CreateOrUpdatePod ¶
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 ¶
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 ¶
CreateOrUpdateService provides a mock function with given fields: namespace, service
func (*Services) CreateOrUpdateStatefulSet ¶
func (_m *Services) CreateOrUpdateStatefulSet(namespace string, statefulSet *appsv1.StatefulSet) error
CreateOrUpdateStatefulSet provides a mock function with given fields: namespace, statefulSet
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 ¶
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 ¶
CreateService provides a mock function with given fields: namespace, service
func (*Services) CreateStatefulSet ¶
func (_m *Services) CreateStatefulSet(namespace string, statefulSet *appsv1.StatefulSet) error
CreateStatefulSet provides a mock function with given fields: namespace, statefulSet
func (*Services) DeleteConfigMap ¶
DeleteConfigMap provides a mock function with given fields: namespace, name
func (*Services) DeleteDeployment ¶
DeleteDeployment provides a mock function with given fields: namespace, name
func (*Services) DeletePodDisruptionBudget ¶
DeletePodDisruptionBudget provides a mock function with given fields: namespace, name
func (*Services) DeleteService ¶
DeleteService provides a mock function with given fields: namespace, name
func (*Services) DeleteStatefulSet ¶
DeleteStatefulSet provides a mock function with given fields: namespace, name
func (*Services) GetClusterRole ¶
func (_m *Services) GetClusterRole(name string) (*rbacv1.ClusterRole, error)
GetClusterRole provides a mock function with given fields: name
func (*Services) GetConfigMap ¶
GetConfigMap provides a mock function with given fields: namespace, name
func (*Services) GetDeployment ¶
GetDeployment provides a mock function with given fields: namespace, name
func (*Services) GetDeploymentPods ¶
GetDeploymentPods 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) GetRoleBinding ¶
GetRoleBinding provides a mock function with given fields: namespace, name
func (*Services) GetService ¶
GetService provides a mock function with given fields: namespace, name
func (*Services) GetStatefulSet ¶
GetStatefulSet provides a mock function with given fields: namespace, name
func (*Services) GetStatefulSetPods ¶
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) (*appsv1.DeploymentList, error)
ListDeployments provides a mock function with given fields: namespace
func (*Services) ListRedisFailovers ¶
func (_m *Services) ListRedisFailovers(namespace string, opts metav1.ListOptions) (*redisfailoverv1.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) (*appsv1.StatefulSetList, error)
ListStatefulSets provides a mock function with given fields: namespace
func (*Services) UpdateConfigMap ¶
UpdateConfigMap provides a mock function with given fields: namespace, configMap
func (*Services) UpdateDeployment ¶
func (_m *Services) UpdateDeployment(namespace string, deployment *appsv1.Deployment) error
UpdateDeployment provides a mock function with given fields: namespace, deployment
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 ¶
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 ¶
UpdateService provides a mock function with given fields: namespace, service
func (*Services) UpdateStatefulSet ¶
func (_m *Services) UpdateStatefulSet(namespace string, statefulSet *appsv1.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