Documentation ¶
Index ¶
- type K8Client
- func (_m *K8Client) Authenticate(rc *rest.Config) error
- func (_m *K8Client) Config() *rest.Config
- func (_m *K8Client) DeleteCollection(namespace string, obj runtime.Object, opts *v1.DeleteOptions, ...) error
- func (_m *K8Client) DeleteList(namespace string, list *corev1.List) error
- func (_m *K8Client) DeleteObject(namespace string, object runtime.Object) error
- func (_m *K8Client) GetClusterRole(name string, options v1.GetOptions) (*rbacv1.ClusterRole, error)
- func (_m *K8Client) GetClusterRoleBinding(name string, options v1.GetOptions) (*rbacv1.ClusterRoleBinding, error)
- func (_m *K8Client) GetConfigMap(namespace string, name string, options v1.GetOptions) (*corev1.ConfigMap, error)
- func (_m *K8Client) GetDeployment(namespace string, name string, options v1.GetOptions) (*appsv1.Deployment, error)
- func (_m *K8Client) GetPod(namespace string, name string, options v1.GetOptions) (*corev1.Pod, error)
- func (_m *K8Client) GetPodLogs(namespace string, name string, options *corev1.PodLogOptions) ([]byte, error)
- func (_m *K8Client) GetRole(namespace string, name string, options v1.GetOptions) (*rbacv1.Role, error)
- func (_m *K8Client) GetRoleBinding(namespace string, name string, options v1.GetOptions) (*rbacv1.RoleBinding, error)
- func (_m *K8Client) ListClusterRoleBindings(options v1.ListOptions) (*rbacv1.ClusterRoleBindingList, error)
- func (_m *K8Client) ListClusterRoles(options v1.ListOptions) (*rbacv1.ClusterRoleList, error)
- func (_m *K8Client) ListConfigMaps(namespace string, listOptions v1.ListOptions) (*corev1.ConfigMapList, error)
- func (_m *K8Client) ListCronJobs(namespace string, options v1.ListOptions) (*v1beta1.CronJobList, error)
- func (_m *K8Client) ListDeployments(namespace string, listOptions v1.ListOptions) (*appsv1.DeploymentList, error)
- func (_m *K8Client) ListIngresses(namespace string, listOptions v1.ListOptions) (*extensionsv1beta1.IngressList, error)
- func (_m *K8Client) ListJobs(namespace string, listOptions v1.ListOptions) (*batchv1.JobList, error)
- func (_m *K8Client) ListNamespaces(options v1.ListOptions) (*corev1.NamespaceList, error)
- func (_m *K8Client) ListObjects(namespace string, listOptions v1.ListOptions) (*corev1.List, error)
- func (_m *K8Client) ListPods(namespace string, listOptions v1.ListOptions) (*corev1.PodList, error)
- func (_m *K8Client) ListRoleBindings(namespace string, options v1.ListOptions) (*rbacv1.RoleBindingList, error)
- func (_m *K8Client) ListRoles(namespace string, options v1.ListOptions) (*rbacv1.RoleList, error)
- func (_m *K8Client) ListSecrets(namespace string, listOptions v1.ListOptions) (*corev1.SecretList, error)
- func (_m *K8Client) ListServices(namespace string, listOptions v1.ListOptions) (*corev1.ServiceList, error)
- func (_m *K8Client) ListStatefulSets(namespace string, listOptions v1.ListOptions) (*appsv1.StatefulSetList, error)
- func (_m *K8Client) LogServerInfo() (*k8s.ServerInfo, error)
- func (_m *K8Client) PatchDeployment(namespace string, name string, patch []byte) (*appsv1.Deployment, error)
- func (_m *K8Client) SupportedObject(object runtime.Object) (bool, string)
- func (_m *K8Client) UpdateClusterRole(obj *rbacv1.ClusterRole) error
- func (_m *K8Client) UpdateClusterRoleBinding(obj *rbacv1.ClusterRoleBinding) error
- func (_m *K8Client) UpdateConfigMap(namespace string, obj *corev1.ConfigMap) error
- func (_m *K8Client) UpdateCronJob(namespace string, obj *v1beta1.CronJob) error
- func (_m *K8Client) UpdateDeployment(namespace string, obj *appsv1.Deployment) error
- func (_m *K8Client) UpdateIngress(namespace string, obj *extensionsv1beta1.Ingress) error
- func (_m *K8Client) UpdateJob(namespace string, obj *batchv1.Job) error
- func (_m *K8Client) UpdateList(namespace string, list *corev1.List) error
- func (_m *K8Client) UpdateObject(namespace string, object runtime.Object) error
- func (_m *K8Client) UpdatePod(namespace string, obj *corev1.Pod) error
- func (_m *K8Client) UpdateRole(namespace string, obj *rbacv1.Role) error
- func (_m *K8Client) UpdateRoleBinding(namespace string, obj *rbacv1.RoleBinding) error
- func (_m *K8Client) UpdateSecret(namespace string, obj *corev1.Secret) error
- func (_m *K8Client) UpdateService(namespace string, obj *corev1.Service) error
- func (_m *K8Client) UpdateStatefulSet(namespace string, obj *appsv1.StatefulSet) error
- func (_m *K8Client) WatchEvents(namespace string, listOptions v1.ListOptions) (watch.Interface, error)
- type OpenshiftClient
- func (_m *OpenshiftClient) Authenticate(rc *rest.Config) error
- func (_m *OpenshiftClient) Config() *rest.Config
- func (_m *OpenshiftClient) DeleteCollection(namespace string, obj runtime.Object, opts *v1.DeleteOptions, ...) error
- func (_m *OpenshiftClient) DeleteList(namespace string, list *corev1.List) error
- func (_m *OpenshiftClient) DeleteObject(namespace string, object runtime.Object) error
- func (_m *OpenshiftClient) GetClusterRole(name string, options v1.GetOptions) (*rbacv1.ClusterRole, error)
- func (_m *OpenshiftClient) GetClusterRoleBinding(name string, options v1.GetOptions) (*rbacv1.ClusterRoleBinding, error)
- func (_m *OpenshiftClient) GetConfigMap(namespace string, name string, options v1.GetOptions) (*corev1.ConfigMap, error)
- func (_m *OpenshiftClient) GetDeployment(namespace string, name string, options v1.GetOptions) (*appsv1.Deployment, error)
- func (_m *OpenshiftClient) GetPod(namespace string, name string, options v1.GetOptions) (*corev1.Pod, error)
- func (_m *OpenshiftClient) GetPodLogs(namespace string, name string, options *corev1.PodLogOptions) ([]byte, error)
- func (_m *OpenshiftClient) GetRole(namespace string, name string, options v1.GetOptions) (*rbacv1.Role, error)
- func (_m *OpenshiftClient) GetRoleBinding(namespace string, name string, options v1.GetOptions) (*rbacv1.RoleBinding, error)
- func (_m *OpenshiftClient) IsIngressBackedRoute(route *routev1.Route) bool
- func (_m *OpenshiftClient) ListClusterRoleBindings(options v1.ListOptions) (*rbacv1.ClusterRoleBindingList, error)
- func (_m *OpenshiftClient) ListClusterRoles(options v1.ListOptions) (*rbacv1.ClusterRoleList, error)
- func (_m *OpenshiftClient) ListConfigMaps(namespace string, listOptions v1.ListOptions) (*corev1.ConfigMapList, error)
- func (_m *OpenshiftClient) ListCronJobs(namespace string, options v1.ListOptions) (*v1beta1.CronJobList, error)
- func (_m *OpenshiftClient) ListDeploymentConfigs(namespace string, listOptions v1.ListOptions) (*apiappsv1.DeploymentConfigList, error)
- func (_m *OpenshiftClient) ListDeployments(namespace string, listOptions v1.ListOptions) (*appsv1.DeploymentList, error)
- func (_m *OpenshiftClient) ListImageStreams(namespace string, listOptions v1.ListOptions) (*imagev1.ImageStreamList, error)
- func (_m *OpenshiftClient) ListIngresses(namespace string, listOptions v1.ListOptions) (*extensionsv1beta1.IngressList, error)
- func (_m *OpenshiftClient) ListJobs(namespace string, listOptions v1.ListOptions) (*batchv1.JobList, error)
- func (_m *OpenshiftClient) ListNamespaces(options v1.ListOptions) (*corev1.NamespaceList, error)
- func (_m *OpenshiftClient) ListObjects(namespace string, listOptions v1.ListOptions) (*corev1.List, error)
- func (_m *OpenshiftClient) ListPods(namespace string, listOptions v1.ListOptions) (*corev1.PodList, error)
- func (_m *OpenshiftClient) ListRoleBindings(namespace string, options v1.ListOptions) (*rbacv1.RoleBindingList, error)
- func (_m *OpenshiftClient) ListRoles(namespace string, options v1.ListOptions) (*rbacv1.RoleList, error)
- func (_m *OpenshiftClient) ListRoutes(namespace string, listOptions v1.ListOptions) (*routev1.RouteList, error)
- func (_m *OpenshiftClient) ListSecrets(namespace string, listOptions v1.ListOptions) (*corev1.SecretList, error)
- func (_m *OpenshiftClient) ListServices(namespace string, listOptions v1.ListOptions) (*corev1.ServiceList, error)
- func (_m *OpenshiftClient) ListStatefulSets(namespace string, listOptions v1.ListOptions) (*appsv1.StatefulSetList, error)
- func (_m *OpenshiftClient) LogServerInfo() (*k8s.ServerInfo, error)
- func (_m *OpenshiftClient) PatchDeployment(namespace string, name string, patch []byte) (*appsv1.Deployment, error)
- func (_m *OpenshiftClient) SupportedObject(object runtime.Object) (bool, string)
- func (_m *OpenshiftClient) UpdateClusterRole(obj *rbacv1.ClusterRole) error
- func (_m *OpenshiftClient) UpdateClusterRoleBinding(obj *rbacv1.ClusterRoleBinding) error
- func (_m *OpenshiftClient) UpdateConfigMap(namespace string, obj *corev1.ConfigMap) error
- func (_m *OpenshiftClient) UpdateCronJob(namespace string, obj *v1beta1.CronJob) error
- func (_m *OpenshiftClient) UpdateDeployment(namespace string, obj *appsv1.Deployment) error
- func (_m *OpenshiftClient) UpdateDeploymentConfig(namespace string, obj *apiappsv1.DeploymentConfig) error
- func (_m *OpenshiftClient) UpdateImageStream(namespace string, obj *imagev1.ImageStream) error
- func (_m *OpenshiftClient) UpdateIngress(namespace string, obj *extensionsv1beta1.Ingress) error
- func (_m *OpenshiftClient) UpdateJob(namespace string, obj *batchv1.Job) error
- func (_m *OpenshiftClient) UpdateList(namespace string, list *corev1.List) error
- func (_m *OpenshiftClient) UpdateObject(namespace string, object runtime.Object) error
- func (_m *OpenshiftClient) UpdatePod(namespace string, obj *corev1.Pod) error
- func (_m *OpenshiftClient) UpdateRole(namespace string, obj *rbacv1.Role) error
- func (_m *OpenshiftClient) UpdateRoleBinding(namespace string, obj *rbacv1.RoleBinding) error
- func (_m *OpenshiftClient) UpdateRoute(namespace string, obj *routev1.Route) error
- func (_m *OpenshiftClient) UpdateSecret(namespace string, obj *corev1.Secret) error
- func (_m *OpenshiftClient) UpdateService(namespace string, obj *corev1.Service) error
- func (_m *OpenshiftClient) UpdateStatefulSet(namespace string, obj *appsv1.StatefulSet) error
- func (_m *OpenshiftClient) WatchEvents(namespace string, listOptions v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8Client ¶
K8Client is an autogenerated mock type for the K8Client type
func (*K8Client) Authenticate ¶
Authenticate provides a mock function with given fields: rc
func (*K8Client) DeleteCollection ¶
func (_m *K8Client) DeleteCollection(namespace string, obj runtime.Object, opts *v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection provides a mock function with given fields: namespace, obj, opts, listOpts
func (*K8Client) DeleteList ¶
DeleteList provides a mock function with given fields: namespace, list
func (*K8Client) DeleteObject ¶
DeleteObject provides a mock function with given fields: namespace, object
func (*K8Client) GetClusterRole ¶
func (_m *K8Client) GetClusterRole(name string, options v1.GetOptions) (*rbacv1.ClusterRole, error)
GetClusterRole provides a mock function with given fields: name, options
func (*K8Client) GetClusterRoleBinding ¶
func (_m *K8Client) GetClusterRoleBinding(name string, options v1.GetOptions) (*rbacv1.ClusterRoleBinding, error)
GetClusterRoleBinding provides a mock function with given fields: name, options
func (*K8Client) GetConfigMap ¶
func (_m *K8Client) GetConfigMap(namespace string, name string, options v1.GetOptions) (*corev1.ConfigMap, error)
GetConfigMap provides a mock function with given fields: namespace, name, options
func (*K8Client) GetDeployment ¶
func (_m *K8Client) GetDeployment(namespace string, name string, options v1.GetOptions) (*appsv1.Deployment, error)
GetDeployment provides a mock function with given fields: namespace, name, options
func (*K8Client) GetPod ¶
func (_m *K8Client) GetPod(namespace string, name string, options v1.GetOptions) (*corev1.Pod, error)
GetPod provides a mock function with given fields: namespace, name, options
func (*K8Client) GetPodLogs ¶
func (_m *K8Client) GetPodLogs(namespace string, name string, options *corev1.PodLogOptions) ([]byte, error)
GetPodLogs provides a mock function with given fields: namespace, name, options
func (*K8Client) GetRole ¶
func (_m *K8Client) GetRole(namespace string, name string, options v1.GetOptions) (*rbacv1.Role, error)
GetRole provides a mock function with given fields: namespace, name, options
func (*K8Client) GetRoleBinding ¶
func (_m *K8Client) GetRoleBinding(namespace string, name string, options v1.GetOptions) (*rbacv1.RoleBinding, error)
GetRoleBinding provides a mock function with given fields: namespace, name, options
func (*K8Client) ListClusterRoleBindings ¶
func (_m *K8Client) ListClusterRoleBindings(options v1.ListOptions) (*rbacv1.ClusterRoleBindingList, error)
ListClusterRoleBindings provides a mock function with given fields: options
func (*K8Client) ListClusterRoles ¶
func (_m *K8Client) ListClusterRoles(options v1.ListOptions) (*rbacv1.ClusterRoleList, error)
ListClusterRoles provides a mock function with given fields: options
func (*K8Client) ListConfigMaps ¶
func (_m *K8Client) ListConfigMaps(namespace string, listOptions v1.ListOptions) (*corev1.ConfigMapList, error)
ListConfigMaps provides a mock function with given fields: namespace, listOptions
func (*K8Client) ListCronJobs ¶
func (_m *K8Client) ListCronJobs(namespace string, options v1.ListOptions) (*v1beta1.CronJobList, error)
ListCronJobs provides a mock function with given fields: namespace, options
func (*K8Client) ListDeployments ¶
func (_m *K8Client) ListDeployments(namespace string, listOptions v1.ListOptions) (*appsv1.DeploymentList, error)
ListDeployments provides a mock function with given fields: namespace, listOptions
func (*K8Client) ListIngresses ¶
func (_m *K8Client) ListIngresses(namespace string, listOptions v1.ListOptions) (*extensionsv1beta1.IngressList, error)
ListIngresses provides a mock function with given fields: namespace, listOptions
func (*K8Client) ListJobs ¶
func (_m *K8Client) ListJobs(namespace string, listOptions v1.ListOptions) (*batchv1.JobList, error)
ListJobs provides a mock function with given fields: namespace, listOptions
func (*K8Client) ListNamespaces ¶
func (_m *K8Client) ListNamespaces(options v1.ListOptions) (*corev1.NamespaceList, error)
ListNamespaces provides a mock function with given fields: options
func (*K8Client) ListObjects ¶
ListObjects provides a mock function with given fields: namespace, listOptions
func (*K8Client) ListPods ¶
ListPods provides a mock function with given fields: namespace, listOptions
func (*K8Client) ListRoleBindings ¶
func (_m *K8Client) ListRoleBindings(namespace string, options v1.ListOptions) (*rbacv1.RoleBindingList, error)
ListRoleBindings provides a mock function with given fields: namespace, options
func (*K8Client) ListRoles ¶
ListRoles provides a mock function with given fields: namespace, options
func (*K8Client) ListSecrets ¶
func (_m *K8Client) ListSecrets(namespace string, listOptions v1.ListOptions) (*corev1.SecretList, error)
ListSecrets provides a mock function with given fields: namespace, listOptions
func (*K8Client) ListServices ¶
func (_m *K8Client) ListServices(namespace string, listOptions v1.ListOptions) (*corev1.ServiceList, error)
ListServices provides a mock function with given fields: namespace, listOptions
func (*K8Client) ListStatefulSets ¶
func (_m *K8Client) ListStatefulSets(namespace string, listOptions v1.ListOptions) (*appsv1.StatefulSetList, error)
ListStatefulSets provides a mock function with given fields: namespace, listOptions
func (*K8Client) LogServerInfo ¶
func (_m *K8Client) LogServerInfo() (*k8s.ServerInfo, error)
LogServerInfo provides a mock function with given fields:
func (*K8Client) PatchDeployment ¶
func (_m *K8Client) PatchDeployment(namespace string, name string, patch []byte) (*appsv1.Deployment, error)
PatchDeployment provides a mock function with given fields: namespace, name, patch
func (*K8Client) SupportedObject ¶
SupportedObject provides a mock function with given fields: object
func (*K8Client) UpdateClusterRole ¶
func (_m *K8Client) UpdateClusterRole(obj *rbacv1.ClusterRole) error
UpdateClusterRole provides a mock function with given fields: obj
func (*K8Client) UpdateClusterRoleBinding ¶
func (_m *K8Client) UpdateClusterRoleBinding(obj *rbacv1.ClusterRoleBinding) error
UpdateClusterRoleBinding provides a mock function with given fields: obj
func (*K8Client) UpdateConfigMap ¶
UpdateConfigMap provides a mock function with given fields: namespace, obj
func (*K8Client) UpdateCronJob ¶
UpdateCronJob provides a mock function with given fields: namespace, obj
func (*K8Client) UpdateDeployment ¶
func (_m *K8Client) UpdateDeployment(namespace string, obj *appsv1.Deployment) error
UpdateDeployment provides a mock function with given fields: namespace, obj
func (*K8Client) UpdateIngress ¶
func (_m *K8Client) UpdateIngress(namespace string, obj *extensionsv1beta1.Ingress) error
UpdateIngress provides a mock function with given fields: namespace, obj
func (*K8Client) UpdateList ¶
UpdateList provides a mock function with given fields: namespace, list
func (*K8Client) UpdateObject ¶
UpdateObject provides a mock function with given fields: namespace, object
func (*K8Client) UpdateRole ¶
UpdateRole provides a mock function with given fields: namespace, obj
func (*K8Client) UpdateRoleBinding ¶
func (_m *K8Client) UpdateRoleBinding(namespace string, obj *rbacv1.RoleBinding) error
UpdateRoleBinding provides a mock function with given fields: namespace, obj
func (*K8Client) UpdateSecret ¶
UpdateSecret provides a mock function with given fields: namespace, obj
func (*K8Client) UpdateService ¶
UpdateService provides a mock function with given fields: namespace, obj
func (*K8Client) UpdateStatefulSet ¶
func (_m *K8Client) UpdateStatefulSet(namespace string, obj *appsv1.StatefulSet) error
UpdateStatefulSet provides a mock function with given fields: namespace, obj
func (*K8Client) WatchEvents ¶
func (_m *K8Client) WatchEvents(namespace string, listOptions v1.ListOptions) (watch.Interface, error)
WatchEvents provides a mock function with given fields: namespace, listOptions
type OpenshiftClient ¶
OpenshiftClient is an autogenerated mock type for the OpenshiftClient type
func (*OpenshiftClient) Authenticate ¶
func (_m *OpenshiftClient) Authenticate(rc *rest.Config) error
Authenticate provides a mock function with given fields: rc
func (*OpenshiftClient) Config ¶
func (_m *OpenshiftClient) Config() *rest.Config
Config provides a mock function with given fields:
func (*OpenshiftClient) DeleteCollection ¶
func (_m *OpenshiftClient) DeleteCollection(namespace string, obj runtime.Object, opts *v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection provides a mock function with given fields: namespace, obj, opts, listOpts
func (*OpenshiftClient) DeleteList ¶
func (_m *OpenshiftClient) DeleteList(namespace string, list *corev1.List) error
DeleteList provides a mock function with given fields: namespace, list
func (*OpenshiftClient) DeleteObject ¶
func (_m *OpenshiftClient) DeleteObject(namespace string, object runtime.Object) error
DeleteObject provides a mock function with given fields: namespace, object
func (*OpenshiftClient) GetClusterRole ¶
func (_m *OpenshiftClient) GetClusterRole(name string, options v1.GetOptions) (*rbacv1.ClusterRole, error)
GetClusterRole provides a mock function with given fields: name, options
func (*OpenshiftClient) GetClusterRoleBinding ¶
func (_m *OpenshiftClient) GetClusterRoleBinding(name string, options v1.GetOptions) (*rbacv1.ClusterRoleBinding, error)
GetClusterRoleBinding provides a mock function with given fields: name, options
func (*OpenshiftClient) GetConfigMap ¶
func (_m *OpenshiftClient) GetConfigMap(namespace string, name string, options v1.GetOptions) (*corev1.ConfigMap, error)
GetConfigMap provides a mock function with given fields: namespace, name, options
func (*OpenshiftClient) GetDeployment ¶
func (_m *OpenshiftClient) GetDeployment(namespace string, name string, options v1.GetOptions) (*appsv1.Deployment, error)
GetDeployment provides a mock function with given fields: namespace, name, options
func (*OpenshiftClient) GetPod ¶
func (_m *OpenshiftClient) GetPod(namespace string, name string, options v1.GetOptions) (*corev1.Pod, error)
GetPod provides a mock function with given fields: namespace, name, options
func (*OpenshiftClient) GetPodLogs ¶
func (_m *OpenshiftClient) GetPodLogs(namespace string, name string, options *corev1.PodLogOptions) ([]byte, error)
GetPodLogs provides a mock function with given fields: namespace, name, options
func (*OpenshiftClient) GetRole ¶
func (_m *OpenshiftClient) GetRole(namespace string, name string, options v1.GetOptions) (*rbacv1.Role, error)
GetRole provides a mock function with given fields: namespace, name, options
func (*OpenshiftClient) GetRoleBinding ¶
func (_m *OpenshiftClient) GetRoleBinding(namespace string, name string, options v1.GetOptions) (*rbacv1.RoleBinding, error)
GetRoleBinding provides a mock function with given fields: namespace, name, options
func (*OpenshiftClient) IsIngressBackedRoute ¶
func (_m *OpenshiftClient) IsIngressBackedRoute(route *routev1.Route) bool
IsIngressBackedRoute provides a mock function with given fields: route
func (*OpenshiftClient) ListClusterRoleBindings ¶
func (_m *OpenshiftClient) ListClusterRoleBindings(options v1.ListOptions) (*rbacv1.ClusterRoleBindingList, error)
ListClusterRoleBindings provides a mock function with given fields: options
func (*OpenshiftClient) ListClusterRoles ¶
func (_m *OpenshiftClient) ListClusterRoles(options v1.ListOptions) (*rbacv1.ClusterRoleList, error)
ListClusterRoles provides a mock function with given fields: options
func (*OpenshiftClient) ListConfigMaps ¶
func (_m *OpenshiftClient) ListConfigMaps(namespace string, listOptions v1.ListOptions) (*corev1.ConfigMapList, error)
ListConfigMaps provides a mock function with given fields: namespace, listOptions
func (*OpenshiftClient) ListCronJobs ¶
func (_m *OpenshiftClient) ListCronJobs(namespace string, options v1.ListOptions) (*v1beta1.CronJobList, error)
ListCronJobs provides a mock function with given fields: namespace, options
func (*OpenshiftClient) ListDeploymentConfigs ¶
func (_m *OpenshiftClient) ListDeploymentConfigs(namespace string, listOptions v1.ListOptions) (*apiappsv1.DeploymentConfigList, error)
ListDeploymentConfigs provides a mock function with given fields: namespace, listOptions
func (*OpenshiftClient) ListDeployments ¶
func (_m *OpenshiftClient) ListDeployments(namespace string, listOptions v1.ListOptions) (*appsv1.DeploymentList, error)
ListDeployments provides a mock function with given fields: namespace, listOptions
func (*OpenshiftClient) ListImageStreams ¶
func (_m *OpenshiftClient) ListImageStreams(namespace string, listOptions v1.ListOptions) (*imagev1.ImageStreamList, error)
ListImageStreams provides a mock function with given fields: namespace, listOptions
func (*OpenshiftClient) ListIngresses ¶
func (_m *OpenshiftClient) ListIngresses(namespace string, listOptions v1.ListOptions) (*extensionsv1beta1.IngressList, error)
ListIngresses provides a mock function with given fields: namespace, listOptions
func (*OpenshiftClient) ListJobs ¶
func (_m *OpenshiftClient) ListJobs(namespace string, listOptions v1.ListOptions) (*batchv1.JobList, error)
ListJobs provides a mock function with given fields: namespace, listOptions
func (*OpenshiftClient) ListNamespaces ¶
func (_m *OpenshiftClient) ListNamespaces(options v1.ListOptions) (*corev1.NamespaceList, error)
ListNamespaces provides a mock function with given fields: options
func (*OpenshiftClient) ListObjects ¶
func (_m *OpenshiftClient) ListObjects(namespace string, listOptions v1.ListOptions) (*corev1.List, error)
ListObjects provides a mock function with given fields: namespace, listOptions
func (*OpenshiftClient) ListPods ¶
func (_m *OpenshiftClient) ListPods(namespace string, listOptions v1.ListOptions) (*corev1.PodList, error)
ListPods provides a mock function with given fields: namespace, listOptions
func (*OpenshiftClient) ListRoleBindings ¶
func (_m *OpenshiftClient) ListRoleBindings(namespace string, options v1.ListOptions) (*rbacv1.RoleBindingList, error)
ListRoleBindings provides a mock function with given fields: namespace, options
func (*OpenshiftClient) ListRoles ¶
func (_m *OpenshiftClient) ListRoles(namespace string, options v1.ListOptions) (*rbacv1.RoleList, error)
ListRoles provides a mock function with given fields: namespace, options
func (*OpenshiftClient) ListRoutes ¶
func (_m *OpenshiftClient) ListRoutes(namespace string, listOptions v1.ListOptions) (*routev1.RouteList, error)
ListRoutes provides a mock function with given fields: namespace, listOptions
func (*OpenshiftClient) ListSecrets ¶
func (_m *OpenshiftClient) ListSecrets(namespace string, listOptions v1.ListOptions) (*corev1.SecretList, error)
ListSecrets provides a mock function with given fields: namespace, listOptions
func (*OpenshiftClient) ListServices ¶
func (_m *OpenshiftClient) ListServices(namespace string, listOptions v1.ListOptions) (*corev1.ServiceList, error)
ListServices provides a mock function with given fields: namespace, listOptions
func (*OpenshiftClient) ListStatefulSets ¶
func (_m *OpenshiftClient) ListStatefulSets(namespace string, listOptions v1.ListOptions) (*appsv1.StatefulSetList, error)
ListStatefulSets provides a mock function with given fields: namespace, listOptions
func (*OpenshiftClient) LogServerInfo ¶
func (_m *OpenshiftClient) LogServerInfo() (*k8s.ServerInfo, error)
LogServerInfo provides a mock function with given fields:
func (*OpenshiftClient) PatchDeployment ¶
func (_m *OpenshiftClient) PatchDeployment(namespace string, name string, patch []byte) (*appsv1.Deployment, error)
PatchDeployment provides a mock function with given fields: namespace, name, patch
func (*OpenshiftClient) SupportedObject ¶
func (_m *OpenshiftClient) SupportedObject(object runtime.Object) (bool, string)
SupportedObject provides a mock function with given fields: object
func (*OpenshiftClient) UpdateClusterRole ¶
func (_m *OpenshiftClient) UpdateClusterRole(obj *rbacv1.ClusterRole) error
UpdateClusterRole provides a mock function with given fields: obj
func (*OpenshiftClient) UpdateClusterRoleBinding ¶
func (_m *OpenshiftClient) UpdateClusterRoleBinding(obj *rbacv1.ClusterRoleBinding) error
UpdateClusterRoleBinding provides a mock function with given fields: obj
func (*OpenshiftClient) UpdateConfigMap ¶
func (_m *OpenshiftClient) UpdateConfigMap(namespace string, obj *corev1.ConfigMap) error
UpdateConfigMap provides a mock function with given fields: namespace, obj
func (*OpenshiftClient) UpdateCronJob ¶
func (_m *OpenshiftClient) UpdateCronJob(namespace string, obj *v1beta1.CronJob) error
UpdateCronJob provides a mock function with given fields: namespace, obj
func (*OpenshiftClient) UpdateDeployment ¶
func (_m *OpenshiftClient) UpdateDeployment(namespace string, obj *appsv1.Deployment) error
UpdateDeployment provides a mock function with given fields: namespace, obj
func (*OpenshiftClient) UpdateDeploymentConfig ¶
func (_m *OpenshiftClient) UpdateDeploymentConfig(namespace string, obj *apiappsv1.DeploymentConfig) error
UpdateDeploymentConfig provides a mock function with given fields: namespace, obj
func (*OpenshiftClient) UpdateImageStream ¶
func (_m *OpenshiftClient) UpdateImageStream(namespace string, obj *imagev1.ImageStream) error
UpdateImageStream provides a mock function with given fields: namespace, obj
func (*OpenshiftClient) UpdateIngress ¶
func (_m *OpenshiftClient) UpdateIngress(namespace string, obj *extensionsv1beta1.Ingress) error
UpdateIngress provides a mock function with given fields: namespace, obj
func (*OpenshiftClient) UpdateJob ¶
func (_m *OpenshiftClient) UpdateJob(namespace string, obj *batchv1.Job) error
UpdateJob provides a mock function with given fields: namespace, obj
func (*OpenshiftClient) UpdateList ¶
func (_m *OpenshiftClient) UpdateList(namespace string, list *corev1.List) error
UpdateList provides a mock function with given fields: namespace, list
func (*OpenshiftClient) UpdateObject ¶
func (_m *OpenshiftClient) UpdateObject(namespace string, object runtime.Object) error
UpdateObject provides a mock function with given fields: namespace, object
func (*OpenshiftClient) UpdatePod ¶
func (_m *OpenshiftClient) UpdatePod(namespace string, obj *corev1.Pod) error
UpdatePod provides a mock function with given fields: namespace, obj
func (*OpenshiftClient) UpdateRole ¶
func (_m *OpenshiftClient) UpdateRole(namespace string, obj *rbacv1.Role) error
UpdateRole provides a mock function with given fields: namespace, obj
func (*OpenshiftClient) UpdateRoleBinding ¶
func (_m *OpenshiftClient) UpdateRoleBinding(namespace string, obj *rbacv1.RoleBinding) error
UpdateRoleBinding provides a mock function with given fields: namespace, obj
func (*OpenshiftClient) UpdateRoute ¶
func (_m *OpenshiftClient) UpdateRoute(namespace string, obj *routev1.Route) error
UpdateRoute provides a mock function with given fields: namespace, obj
func (*OpenshiftClient) UpdateSecret ¶
func (_m *OpenshiftClient) UpdateSecret(namespace string, obj *corev1.Secret) error
UpdateSecret provides a mock function with given fields: namespace, obj
func (*OpenshiftClient) UpdateService ¶
func (_m *OpenshiftClient) UpdateService(namespace string, obj *corev1.Service) error
UpdateService provides a mock function with given fields: namespace, obj
func (*OpenshiftClient) UpdateStatefulSet ¶
func (_m *OpenshiftClient) UpdateStatefulSet(namespace string, obj *appsv1.StatefulSet) error
UpdateStatefulSet provides a mock function with given fields: namespace, obj
func (*OpenshiftClient) WatchEvents ¶
func (_m *OpenshiftClient) WatchEvents(namespace string, listOptions v1.ListOptions) (watch.Interface, error)
WatchEvents provides a mock function with given fields: namespace, listOptions