Documentation ¶
Index ¶
- type AppsV1
- func (_m *AppsV1) ControllerRevisions(namespace string) v1.ControllerRevisionInterface
- func (_m *AppsV1) DaemonSets(namespace string) v1.DaemonSetInterface
- func (_m *AppsV1) Deployments(namespace string) v1.DeploymentInterface
- func (_m *AppsV1) EXPECT() *AppsV1_Expecter
- func (_m *AppsV1) RESTClient() rest.Interface
- func (_m *AppsV1) ReplicaSets(namespace string) v1.ReplicaSetInterface
- func (_m *AppsV1) StatefulSets(namespace string) v1.StatefulSetInterface
- type AppsV1_ControllerRevisions_Call
- func (_c *AppsV1_ControllerRevisions_Call) Return(_a0 v1.ControllerRevisionInterface) *AppsV1_ControllerRevisions_Call
- func (_c *AppsV1_ControllerRevisions_Call) Run(run func(namespace string)) *AppsV1_ControllerRevisions_Call
- func (_c *AppsV1_ControllerRevisions_Call) RunAndReturn(run func(string) v1.ControllerRevisionInterface) *AppsV1_ControllerRevisions_Call
- type AppsV1_DaemonSets_Call
- type AppsV1_Deployments_Call
- func (_c *AppsV1_Deployments_Call) Return(_a0 v1.DeploymentInterface) *AppsV1_Deployments_Call
- func (_c *AppsV1_Deployments_Call) Run(run func(namespace string)) *AppsV1_Deployments_Call
- func (_c *AppsV1_Deployments_Call) RunAndReturn(run func(string) v1.DeploymentInterface) *AppsV1_Deployments_Call
- type AppsV1_Expecter
- func (_e *AppsV1_Expecter) ControllerRevisions(namespace interface{}) *AppsV1_ControllerRevisions_Call
- func (_e *AppsV1_Expecter) DaemonSets(namespace interface{}) *AppsV1_DaemonSets_Call
- func (_e *AppsV1_Expecter) Deployments(namespace interface{}) *AppsV1_Deployments_Call
- func (_e *AppsV1_Expecter) RESTClient() *AppsV1_RESTClient_Call
- func (_e *AppsV1_Expecter) ReplicaSets(namespace interface{}) *AppsV1_ReplicaSets_Call
- func (_e *AppsV1_Expecter) StatefulSets(namespace interface{}) *AppsV1_StatefulSets_Call
- type AppsV1_RESTClient_Call
- type AppsV1_ReplicaSets_Call
- func (_c *AppsV1_ReplicaSets_Call) Return(_a0 v1.ReplicaSetInterface) *AppsV1_ReplicaSets_Call
- func (_c *AppsV1_ReplicaSets_Call) Run(run func(namespace string)) *AppsV1_ReplicaSets_Call
- func (_c *AppsV1_ReplicaSets_Call) RunAndReturn(run func(string) v1.ReplicaSetInterface) *AppsV1_ReplicaSets_Call
- type AppsV1_StatefulSets_Call
- func (_c *AppsV1_StatefulSets_Call) Return(_a0 v1.StatefulSetInterface) *AppsV1_StatefulSets_Call
- func (_c *AppsV1_StatefulSets_Call) Run(run func(namespace string)) *AppsV1_StatefulSets_Call
- func (_c *AppsV1_StatefulSets_Call) RunAndReturn(run func(string) v1.StatefulSetInterface) *AppsV1_StatefulSets_Call
- type ConfigMaps
- func (_m *ConfigMaps) Apply(ctx context.Context, configMap *v1.ConfigMapApplyConfiguration, ...) (*corev1.ConfigMap, error)
- func (_m *ConfigMaps) Create(ctx context.Context, configMap *corev1.ConfigMap, opts metav1.CreateOptions) (*corev1.ConfigMap, error)
- func (_m *ConfigMaps) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *ConfigMaps) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *ConfigMaps) EXPECT() *ConfigMaps_Expecter
- func (_m *ConfigMaps) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.ConfigMap, error)
- func (_m *ConfigMaps) List(ctx context.Context, opts metav1.ListOptions) (*corev1.ConfigMapList, error)
- func (_m *ConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*corev1.ConfigMap, error)
- func (_m *ConfigMaps) Update(ctx context.Context, configMap *corev1.ConfigMap, opts metav1.UpdateOptions) (*corev1.ConfigMap, error)
- func (_m *ConfigMaps) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type ConfigMaps_Apply_Call
- func (_c *ConfigMaps_Apply_Call) Return(result *corev1.ConfigMap, err error) *ConfigMaps_Apply_Call
- func (_c *ConfigMaps_Apply_Call) Run(run func(ctx context.Context, configMap *v1.ConfigMapApplyConfiguration, ...)) *ConfigMaps_Apply_Call
- func (_c *ConfigMaps_Apply_Call) RunAndReturn(...) *ConfigMaps_Apply_Call
- type ConfigMaps_Create_Call
- type ConfigMaps_DeleteCollection_Call
- func (_c *ConfigMaps_DeleteCollection_Call) Return(_a0 error) *ConfigMaps_DeleteCollection_Call
- func (_c *ConfigMaps_DeleteCollection_Call) Run(...) *ConfigMaps_DeleteCollection_Call
- func (_c *ConfigMaps_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *ConfigMaps_DeleteCollection_Call
- type ConfigMaps_Delete_Call
- func (_c *ConfigMaps_Delete_Call) Return(_a0 error) *ConfigMaps_Delete_Call
- func (_c *ConfigMaps_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *ConfigMaps_Delete_Call
- func (_c *ConfigMaps_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *ConfigMaps_Delete_Call
- type ConfigMaps_Expecter
- func (_e *ConfigMaps_Expecter) Apply(ctx interface{}, configMap interface{}, opts interface{}) *ConfigMaps_Apply_Call
- func (_e *ConfigMaps_Expecter) Create(ctx interface{}, configMap interface{}, opts interface{}) *ConfigMaps_Create_Call
- func (_e *ConfigMaps_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *ConfigMaps_Delete_Call
- func (_e *ConfigMaps_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *ConfigMaps_DeleteCollection_Call
- func (_e *ConfigMaps_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *ConfigMaps_Get_Call
- func (_e *ConfigMaps_Expecter) List(ctx interface{}, opts interface{}) *ConfigMaps_List_Call
- func (_e *ConfigMaps_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, ...) *ConfigMaps_Patch_Call
- func (_e *ConfigMaps_Expecter) Update(ctx interface{}, configMap interface{}, opts interface{}) *ConfigMaps_Update_Call
- func (_e *ConfigMaps_Expecter) Watch(ctx interface{}, opts interface{}) *ConfigMaps_Watch_Call
- type ConfigMaps_Get_Call
- type ConfigMaps_List_Call
- func (_c *ConfigMaps_List_Call) Return(_a0 *corev1.ConfigMapList, _a1 error) *ConfigMaps_List_Call
- func (_c *ConfigMaps_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *ConfigMaps_List_Call
- func (_c *ConfigMaps_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*corev1.ConfigMapList, error)) *ConfigMaps_List_Call
- type ConfigMaps_Patch_Call
- type ConfigMaps_Update_Call
- type ConfigMaps_Watch_Call
- func (_c *ConfigMaps_Watch_Call) Return(_a0 watch.Interface, _a1 error) *ConfigMaps_Watch_Call
- func (_c *ConfigMaps_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *ConfigMaps_Watch_Call
- func (_c *ConfigMaps_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *ConfigMaps_Watch_Call
- type CoreV1
- func (_m *CoreV1) ComponentStatuses() v1.ComponentStatusInterface
- func (_m *CoreV1) ConfigMaps(namespace string) v1.ConfigMapInterface
- func (_m *CoreV1) EXPECT() *CoreV1_Expecter
- func (_m *CoreV1) Endpoints(namespace string) v1.EndpointsInterface
- func (_m *CoreV1) Events(namespace string) v1.EventInterface
- func (_m *CoreV1) LimitRanges(namespace string) v1.LimitRangeInterface
- func (_m *CoreV1) Namespaces() v1.NamespaceInterface
- func (_m *CoreV1) Nodes() v1.NodeInterface
- func (_m *CoreV1) PersistentVolumeClaims(namespace string) v1.PersistentVolumeClaimInterface
- func (_m *CoreV1) PersistentVolumes() v1.PersistentVolumeInterface
- func (_m *CoreV1) PodTemplates(namespace string) v1.PodTemplateInterface
- func (_m *CoreV1) Pods(namespace string) v1.PodInterface
- func (_m *CoreV1) RESTClient() rest.Interface
- func (_m *CoreV1) ReplicationControllers(namespace string) v1.ReplicationControllerInterface
- func (_m *CoreV1) ResourceQuotas(namespace string) v1.ResourceQuotaInterface
- func (_m *CoreV1) Secrets(namespace string) v1.SecretInterface
- func (_m *CoreV1) ServiceAccounts(namespace string) v1.ServiceAccountInterface
- func (_m *CoreV1) Services(namespace string) v1.ServiceInterface
- type CoreV1_ComponentStatuses_Call
- func (_c *CoreV1_ComponentStatuses_Call) Return(_a0 v1.ComponentStatusInterface) *CoreV1_ComponentStatuses_Call
- func (_c *CoreV1_ComponentStatuses_Call) Run(run func()) *CoreV1_ComponentStatuses_Call
- func (_c *CoreV1_ComponentStatuses_Call) RunAndReturn(run func() v1.ComponentStatusInterface) *CoreV1_ComponentStatuses_Call
- type CoreV1_ConfigMaps_Call
- type CoreV1_Endpoints_Call
- type CoreV1_Events_Call
- type CoreV1_Expecter
- func (_e *CoreV1_Expecter) ComponentStatuses() *CoreV1_ComponentStatuses_Call
- func (_e *CoreV1_Expecter) ConfigMaps(namespace interface{}) *CoreV1_ConfigMaps_Call
- func (_e *CoreV1_Expecter) Endpoints(namespace interface{}) *CoreV1_Endpoints_Call
- func (_e *CoreV1_Expecter) Events(namespace interface{}) *CoreV1_Events_Call
- func (_e *CoreV1_Expecter) LimitRanges(namespace interface{}) *CoreV1_LimitRanges_Call
- func (_e *CoreV1_Expecter) Namespaces() *CoreV1_Namespaces_Call
- func (_e *CoreV1_Expecter) Nodes() *CoreV1_Nodes_Call
- func (_e *CoreV1_Expecter) PersistentVolumeClaims(namespace interface{}) *CoreV1_PersistentVolumeClaims_Call
- func (_e *CoreV1_Expecter) PersistentVolumes() *CoreV1_PersistentVolumes_Call
- func (_e *CoreV1_Expecter) PodTemplates(namespace interface{}) *CoreV1_PodTemplates_Call
- func (_e *CoreV1_Expecter) Pods(namespace interface{}) *CoreV1_Pods_Call
- func (_e *CoreV1_Expecter) RESTClient() *CoreV1_RESTClient_Call
- func (_e *CoreV1_Expecter) ReplicationControllers(namespace interface{}) *CoreV1_ReplicationControllers_Call
- func (_e *CoreV1_Expecter) ResourceQuotas(namespace interface{}) *CoreV1_ResourceQuotas_Call
- func (_e *CoreV1_Expecter) Secrets(namespace interface{}) *CoreV1_Secrets_Call
- func (_e *CoreV1_Expecter) ServiceAccounts(namespace interface{}) *CoreV1_ServiceAccounts_Call
- func (_e *CoreV1_Expecter) Services(namespace interface{}) *CoreV1_Services_Call
- type CoreV1_LimitRanges_Call
- func (_c *CoreV1_LimitRanges_Call) Return(_a0 v1.LimitRangeInterface) *CoreV1_LimitRanges_Call
- func (_c *CoreV1_LimitRanges_Call) Run(run func(namespace string)) *CoreV1_LimitRanges_Call
- func (_c *CoreV1_LimitRanges_Call) RunAndReturn(run func(string) v1.LimitRangeInterface) *CoreV1_LimitRanges_Call
- type CoreV1_Namespaces_Call
- type CoreV1_Nodes_Call
- type CoreV1_PersistentVolumeClaims_Call
- func (_c *CoreV1_PersistentVolumeClaims_Call) Return(_a0 v1.PersistentVolumeClaimInterface) *CoreV1_PersistentVolumeClaims_Call
- func (_c *CoreV1_PersistentVolumeClaims_Call) Run(run func(namespace string)) *CoreV1_PersistentVolumeClaims_Call
- func (_c *CoreV1_PersistentVolumeClaims_Call) RunAndReturn(run func(string) v1.PersistentVolumeClaimInterface) *CoreV1_PersistentVolumeClaims_Call
- type CoreV1_PersistentVolumes_Call
- func (_c *CoreV1_PersistentVolumes_Call) Return(_a0 v1.PersistentVolumeInterface) *CoreV1_PersistentVolumes_Call
- func (_c *CoreV1_PersistentVolumes_Call) Run(run func()) *CoreV1_PersistentVolumes_Call
- func (_c *CoreV1_PersistentVolumes_Call) RunAndReturn(run func() v1.PersistentVolumeInterface) *CoreV1_PersistentVolumes_Call
- type CoreV1_PodTemplates_Call
- func (_c *CoreV1_PodTemplates_Call) Return(_a0 v1.PodTemplateInterface) *CoreV1_PodTemplates_Call
- func (_c *CoreV1_PodTemplates_Call) Run(run func(namespace string)) *CoreV1_PodTemplates_Call
- func (_c *CoreV1_PodTemplates_Call) RunAndReturn(run func(string) v1.PodTemplateInterface) *CoreV1_PodTemplates_Call
- type CoreV1_Pods_Call
- type CoreV1_RESTClient_Call
- type CoreV1_ReplicationControllers_Call
- func (_c *CoreV1_ReplicationControllers_Call) Return(_a0 v1.ReplicationControllerInterface) *CoreV1_ReplicationControllers_Call
- func (_c *CoreV1_ReplicationControllers_Call) Run(run func(namespace string)) *CoreV1_ReplicationControllers_Call
- func (_c *CoreV1_ReplicationControllers_Call) RunAndReturn(run func(string) v1.ReplicationControllerInterface) *CoreV1_ReplicationControllers_Call
- type CoreV1_ResourceQuotas_Call
- func (_c *CoreV1_ResourceQuotas_Call) Return(_a0 v1.ResourceQuotaInterface) *CoreV1_ResourceQuotas_Call
- func (_c *CoreV1_ResourceQuotas_Call) Run(run func(namespace string)) *CoreV1_ResourceQuotas_Call
- func (_c *CoreV1_ResourceQuotas_Call) RunAndReturn(run func(string) v1.ResourceQuotaInterface) *CoreV1_ResourceQuotas_Call
- type CoreV1_Secrets_Call
- type CoreV1_ServiceAccounts_Call
- func (_c *CoreV1_ServiceAccounts_Call) Return(_a0 v1.ServiceAccountInterface) *CoreV1_ServiceAccounts_Call
- func (_c *CoreV1_ServiceAccounts_Call) Run(run func(namespace string)) *CoreV1_ServiceAccounts_Call
- func (_c *CoreV1_ServiceAccounts_Call) RunAndReturn(run func(string) v1.ServiceAccountInterface) *CoreV1_ServiceAccounts_Call
- type CoreV1_Services_Call
- type Deployments
- func (_m *Deployments) Apply(ctx context.Context, deployment *v1.DeploymentApplyConfiguration, ...) (*appsv1.Deployment, error)
- func (_m *Deployments) ApplyScale(ctx context.Context, deploymentName string, ...) (*apiautoscalingv1.Scale, error)
- func (_m *Deployments) ApplyStatus(ctx context.Context, deployment *v1.DeploymentApplyConfiguration, ...) (*appsv1.Deployment, error)
- func (_m *Deployments) Create(ctx context.Context, deployment *appsv1.Deployment, opts metav1.CreateOptions) (*appsv1.Deployment, error)
- func (_m *Deployments) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *Deployments) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *Deployments) EXPECT() *Deployments_Expecter
- func (_m *Deployments) Get(ctx context.Context, name string, opts metav1.GetOptions) (*appsv1.Deployment, error)
- func (_m *Deployments) GetScale(ctx context.Context, deploymentName string, options metav1.GetOptions) (*apiautoscalingv1.Scale, error)
- func (_m *Deployments) List(ctx context.Context, opts metav1.ListOptions) (*appsv1.DeploymentList, error)
- func (_m *Deployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*appsv1.Deployment, error)
- func (_m *Deployments) Update(ctx context.Context, deployment *appsv1.Deployment, opts metav1.UpdateOptions) (*appsv1.Deployment, error)
- func (_m *Deployments) UpdateScale(ctx context.Context, deploymentName string, scale *apiautoscalingv1.Scale, ...) (*apiautoscalingv1.Scale, error)
- func (_m *Deployments) UpdateStatus(ctx context.Context, deployment *appsv1.Deployment, opts metav1.UpdateOptions) (*appsv1.Deployment, error)
- func (_m *Deployments) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type Deployments_ApplyScale_Call
- func (_c *Deployments_ApplyScale_Call) Return(_a0 *apiautoscalingv1.Scale, _a1 error) *Deployments_ApplyScale_Call
- func (_c *Deployments_ApplyScale_Call) Run(run func(ctx context.Context, deploymentName string, ...)) *Deployments_ApplyScale_Call
- func (_c *Deployments_ApplyScale_Call) RunAndReturn(...) *Deployments_ApplyScale_Call
- type Deployments_ApplyStatus_Call
- type Deployments_Apply_Call
- type Deployments_Create_Call
- type Deployments_DeleteCollection_Call
- func (_c *Deployments_DeleteCollection_Call) Return(_a0 error) *Deployments_DeleteCollection_Call
- func (_c *Deployments_DeleteCollection_Call) Run(...) *Deployments_DeleteCollection_Call
- func (_c *Deployments_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *Deployments_DeleteCollection_Call
- type Deployments_Delete_Call
- func (_c *Deployments_Delete_Call) Return(_a0 error) *Deployments_Delete_Call
- func (_c *Deployments_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *Deployments_Delete_Call
- func (_c *Deployments_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *Deployments_Delete_Call
- type Deployments_Expecter
- func (_e *Deployments_Expecter) Apply(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_Apply_Call
- func (_e *Deployments_Expecter) ApplyScale(ctx interface{}, deploymentName interface{}, scale interface{}, ...) *Deployments_ApplyScale_Call
- func (_e *Deployments_Expecter) ApplyStatus(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_ApplyStatus_Call
- func (_e *Deployments_Expecter) Create(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_Create_Call
- func (_e *Deployments_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *Deployments_Delete_Call
- func (_e *Deployments_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *Deployments_DeleteCollection_Call
- func (_e *Deployments_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *Deployments_Get_Call
- func (_e *Deployments_Expecter) GetScale(ctx interface{}, deploymentName interface{}, options interface{}) *Deployments_GetScale_Call
- func (_e *Deployments_Expecter) List(ctx interface{}, opts interface{}) *Deployments_List_Call
- func (_e *Deployments_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, ...) *Deployments_Patch_Call
- func (_e *Deployments_Expecter) Update(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_Update_Call
- func (_e *Deployments_Expecter) UpdateScale(ctx interface{}, deploymentName interface{}, scale interface{}, ...) *Deployments_UpdateScale_Call
- func (_e *Deployments_Expecter) UpdateStatus(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_UpdateStatus_Call
- func (_e *Deployments_Expecter) Watch(ctx interface{}, opts interface{}) *Deployments_Watch_Call
- type Deployments_GetScale_Call
- type Deployments_Get_Call
- type Deployments_List_Call
- func (_c *Deployments_List_Call) Return(_a0 *appsv1.DeploymentList, _a1 error) *Deployments_List_Call
- func (_c *Deployments_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Deployments_List_Call
- func (_c *Deployments_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*appsv1.DeploymentList, error)) *Deployments_List_Call
- type Deployments_Patch_Call
- type Deployments_UpdateScale_Call
- type Deployments_UpdateStatus_Call
- type Deployments_Update_Call
- type Deployments_Watch_Call
- func (_c *Deployments_Watch_Call) Return(_a0 watch.Interface, _a1 error) *Deployments_Watch_Call
- func (_c *Deployments_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Deployments_Watch_Call
- func (_c *Deployments_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *Deployments_Watch_Call
- type KubeClient
- func (_m *KubeClient) AdmissionregistrationV1() v1.AdmissionregistrationV1Interface
- func (_m *KubeClient) AdmissionregistrationV1beta1() v1beta1.AdmissionregistrationV1beta1Interface
- func (_m *KubeClient) AppsV1() appsv1.AppsV1Interface
- func (_m *KubeClient) AppsV1beta1() appsv1beta1.AppsV1beta1Interface
- func (_m *KubeClient) AppsV1beta2() v1beta2.AppsV1beta2Interface
- func (_m *KubeClient) AuthenticationV1() authenticationv1.AuthenticationV1Interface
- func (_m *KubeClient) AuthenticationV1beta1() authenticationv1beta1.AuthenticationV1beta1Interface
- func (_m *KubeClient) AuthorizationV1() authorizationv1.AuthorizationV1Interface
- func (_m *KubeClient) AuthorizationV1beta1() authorizationv1beta1.AuthorizationV1beta1Interface
- func (_m *KubeClient) AutoscalingV1() autoscalingv1.AutoscalingV1Interface
- func (_m *KubeClient) AutoscalingV2() v2.AutoscalingV2Interface
- func (_m *KubeClient) AutoscalingV2beta1() v2beta1.AutoscalingV2beta1Interface
- func (_m *KubeClient) AutoscalingV2beta2() v2beta2.AutoscalingV2beta2Interface
- func (_m *KubeClient) BatchV1() batchv1.BatchV1Interface
- func (_m *KubeClient) BatchV1beta1() batchv1beta1.BatchV1beta1Interface
- func (_m *KubeClient) CertificatesV1() certificatesv1.CertificatesV1Interface
- func (_m *KubeClient) CertificatesV1beta1() certificatesv1beta1.CertificatesV1beta1Interface
- func (_m *KubeClient) CoordinationV1() coordinationv1.CoordinationV1Interface
- func (_m *KubeClient) CoordinationV1beta1() coordinationv1beta1.CoordinationV1beta1Interface
- func (_m *KubeClient) CoreV1() corev1.CoreV1Interface
- func (_m *KubeClient) Discovery() discovery.DiscoveryInterface
- func (_m *KubeClient) DiscoveryV1() discoveryv1.DiscoveryV1Interface
- func (_m *KubeClient) DiscoveryV1beta1() discoveryv1beta1.DiscoveryV1beta1Interface
- func (_m *KubeClient) EXPECT() *KubeClient_Expecter
- func (_m *KubeClient) EventsV1() eventsv1.EventsV1Interface
- func (_m *KubeClient) EventsV1beta1() eventsv1beta1.EventsV1beta1Interface
- func (_m *KubeClient) ExtensionsV1beta1() extensionsv1beta1.ExtensionsV1beta1Interface
- func (_m *KubeClient) FlowcontrolV1alpha1() v1alpha1.FlowcontrolV1alpha1Interface
- func (_m *KubeClient) FlowcontrolV1beta1() flowcontrolv1beta1.FlowcontrolV1beta1Interface
- func (_m *KubeClient) FlowcontrolV1beta2() flowcontrolv1beta2.FlowcontrolV1beta2Interface
- func (_m *KubeClient) InternalV1alpha1() apiserverinternalv1alpha1.InternalV1alpha1Interface
- func (_m *KubeClient) NetworkingV1() networkingv1.NetworkingV1Interface
- func (_m *KubeClient) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface
- func (_m *KubeClient) NodeV1() nodev1.NodeV1Interface
- func (_m *KubeClient) NodeV1alpha1() nodev1alpha1.NodeV1alpha1Interface
- func (_m *KubeClient) NodeV1beta1() nodev1beta1.NodeV1beta1Interface
- func (_m *KubeClient) PolicyV1() policyv1.PolicyV1Interface
- func (_m *KubeClient) PolicyV1beta1() policyv1beta1.PolicyV1beta1Interface
- func (_m *KubeClient) RbacV1() rbacv1.RbacV1Interface
- func (_m *KubeClient) RbacV1alpha1() rbacv1alpha1.RbacV1alpha1Interface
- func (_m *KubeClient) RbacV1beta1() rbacv1beta1.RbacV1beta1Interface
- func (_m *KubeClient) SchedulingV1() schedulingv1.SchedulingV1Interface
- func (_m *KubeClient) SchedulingV1alpha1() schedulingv1alpha1.SchedulingV1alpha1Interface
- func (_m *KubeClient) SchedulingV1beta1() schedulingv1beta1.SchedulingV1beta1Interface
- func (_m *KubeClient) StorageV1() storagev1.StorageV1Interface
- func (_m *KubeClient) StorageV1alpha1() storagev1alpha1.StorageV1alpha1Interface
- func (_m *KubeClient) StorageV1beta1() storagev1beta1.StorageV1beta1Interface
- type KubeClient_AdmissionregistrationV1_Call
- func (_c *KubeClient_AdmissionregistrationV1_Call) Return(_a0 v1.AdmissionregistrationV1Interface) *KubeClient_AdmissionregistrationV1_Call
- func (_c *KubeClient_AdmissionregistrationV1_Call) Run(run func()) *KubeClient_AdmissionregistrationV1_Call
- func (_c *KubeClient_AdmissionregistrationV1_Call) RunAndReturn(run func() v1.AdmissionregistrationV1Interface) *KubeClient_AdmissionregistrationV1_Call
- type KubeClient_AdmissionregistrationV1beta1_Call
- func (_c *KubeClient_AdmissionregistrationV1beta1_Call) Return(_a0 v1beta1.AdmissionregistrationV1beta1Interface) *KubeClient_AdmissionregistrationV1beta1_Call
- func (_c *KubeClient_AdmissionregistrationV1beta1_Call) Run(run func()) *KubeClient_AdmissionregistrationV1beta1_Call
- func (_c *KubeClient_AdmissionregistrationV1beta1_Call) RunAndReturn(run func() v1beta1.AdmissionregistrationV1beta1Interface) *KubeClient_AdmissionregistrationV1beta1_Call
- type KubeClient_AppsV1_Call
- type KubeClient_AppsV1beta1_Call
- func (_c *KubeClient_AppsV1beta1_Call) Return(_a0 appsv1beta1.AppsV1beta1Interface) *KubeClient_AppsV1beta1_Call
- func (_c *KubeClient_AppsV1beta1_Call) Run(run func()) *KubeClient_AppsV1beta1_Call
- func (_c *KubeClient_AppsV1beta1_Call) RunAndReturn(run func() appsv1beta1.AppsV1beta1Interface) *KubeClient_AppsV1beta1_Call
- type KubeClient_AppsV1beta2_Call
- func (_c *KubeClient_AppsV1beta2_Call) Return(_a0 v1beta2.AppsV1beta2Interface) *KubeClient_AppsV1beta2_Call
- func (_c *KubeClient_AppsV1beta2_Call) Run(run func()) *KubeClient_AppsV1beta2_Call
- func (_c *KubeClient_AppsV1beta2_Call) RunAndReturn(run func() v1beta2.AppsV1beta2Interface) *KubeClient_AppsV1beta2_Call
- type KubeClient_AuthenticationV1_Call
- func (_c *KubeClient_AuthenticationV1_Call) Return(_a0 authenticationv1.AuthenticationV1Interface) *KubeClient_AuthenticationV1_Call
- func (_c *KubeClient_AuthenticationV1_Call) Run(run func()) *KubeClient_AuthenticationV1_Call
- func (_c *KubeClient_AuthenticationV1_Call) RunAndReturn(run func() authenticationv1.AuthenticationV1Interface) *KubeClient_AuthenticationV1_Call
- type KubeClient_AuthenticationV1beta1_Call
- func (_c *KubeClient_AuthenticationV1beta1_Call) Return(_a0 authenticationv1beta1.AuthenticationV1beta1Interface) *KubeClient_AuthenticationV1beta1_Call
- func (_c *KubeClient_AuthenticationV1beta1_Call) Run(run func()) *KubeClient_AuthenticationV1beta1_Call
- func (_c *KubeClient_AuthenticationV1beta1_Call) RunAndReturn(run func() authenticationv1beta1.AuthenticationV1beta1Interface) *KubeClient_AuthenticationV1beta1_Call
- type KubeClient_AuthorizationV1_Call
- func (_c *KubeClient_AuthorizationV1_Call) Return(_a0 authorizationv1.AuthorizationV1Interface) *KubeClient_AuthorizationV1_Call
- func (_c *KubeClient_AuthorizationV1_Call) Run(run func()) *KubeClient_AuthorizationV1_Call
- func (_c *KubeClient_AuthorizationV1_Call) RunAndReturn(run func() authorizationv1.AuthorizationV1Interface) *KubeClient_AuthorizationV1_Call
- type KubeClient_AuthorizationV1beta1_Call
- func (_c *KubeClient_AuthorizationV1beta1_Call) Return(_a0 authorizationv1beta1.AuthorizationV1beta1Interface) *KubeClient_AuthorizationV1beta1_Call
- func (_c *KubeClient_AuthorizationV1beta1_Call) Run(run func()) *KubeClient_AuthorizationV1beta1_Call
- func (_c *KubeClient_AuthorizationV1beta1_Call) RunAndReturn(run func() authorizationv1beta1.AuthorizationV1beta1Interface) *KubeClient_AuthorizationV1beta1_Call
- type KubeClient_AutoscalingV1_Call
- func (_c *KubeClient_AutoscalingV1_Call) Return(_a0 autoscalingv1.AutoscalingV1Interface) *KubeClient_AutoscalingV1_Call
- func (_c *KubeClient_AutoscalingV1_Call) Run(run func()) *KubeClient_AutoscalingV1_Call
- func (_c *KubeClient_AutoscalingV1_Call) RunAndReturn(run func() autoscalingv1.AutoscalingV1Interface) *KubeClient_AutoscalingV1_Call
- type KubeClient_AutoscalingV2_Call
- func (_c *KubeClient_AutoscalingV2_Call) Return(_a0 v2.AutoscalingV2Interface) *KubeClient_AutoscalingV2_Call
- func (_c *KubeClient_AutoscalingV2_Call) Run(run func()) *KubeClient_AutoscalingV2_Call
- func (_c *KubeClient_AutoscalingV2_Call) RunAndReturn(run func() v2.AutoscalingV2Interface) *KubeClient_AutoscalingV2_Call
- type KubeClient_AutoscalingV2beta1_Call
- func (_c *KubeClient_AutoscalingV2beta1_Call) Return(_a0 v2beta1.AutoscalingV2beta1Interface) *KubeClient_AutoscalingV2beta1_Call
- func (_c *KubeClient_AutoscalingV2beta1_Call) Run(run func()) *KubeClient_AutoscalingV2beta1_Call
- func (_c *KubeClient_AutoscalingV2beta1_Call) RunAndReturn(run func() v2beta1.AutoscalingV2beta1Interface) *KubeClient_AutoscalingV2beta1_Call
- type KubeClient_AutoscalingV2beta2_Call
- func (_c *KubeClient_AutoscalingV2beta2_Call) Return(_a0 v2beta2.AutoscalingV2beta2Interface) *KubeClient_AutoscalingV2beta2_Call
- func (_c *KubeClient_AutoscalingV2beta2_Call) Run(run func()) *KubeClient_AutoscalingV2beta2_Call
- func (_c *KubeClient_AutoscalingV2beta2_Call) RunAndReturn(run func() v2beta2.AutoscalingV2beta2Interface) *KubeClient_AutoscalingV2beta2_Call
- type KubeClient_BatchV1_Call
- type KubeClient_BatchV1beta1_Call
- func (_c *KubeClient_BatchV1beta1_Call) Return(_a0 batchv1beta1.BatchV1beta1Interface) *KubeClient_BatchV1beta1_Call
- func (_c *KubeClient_BatchV1beta1_Call) Run(run func()) *KubeClient_BatchV1beta1_Call
- func (_c *KubeClient_BatchV1beta1_Call) RunAndReturn(run func() batchv1beta1.BatchV1beta1Interface) *KubeClient_BatchV1beta1_Call
- type KubeClient_CertificatesV1_Call
- func (_c *KubeClient_CertificatesV1_Call) Return(_a0 certificatesv1.CertificatesV1Interface) *KubeClient_CertificatesV1_Call
- func (_c *KubeClient_CertificatesV1_Call) Run(run func()) *KubeClient_CertificatesV1_Call
- func (_c *KubeClient_CertificatesV1_Call) RunAndReturn(run func() certificatesv1.CertificatesV1Interface) *KubeClient_CertificatesV1_Call
- type KubeClient_CertificatesV1beta1_Call
- func (_c *KubeClient_CertificatesV1beta1_Call) Return(_a0 certificatesv1beta1.CertificatesV1beta1Interface) *KubeClient_CertificatesV1beta1_Call
- func (_c *KubeClient_CertificatesV1beta1_Call) Run(run func()) *KubeClient_CertificatesV1beta1_Call
- func (_c *KubeClient_CertificatesV1beta1_Call) RunAndReturn(run func() certificatesv1beta1.CertificatesV1beta1Interface) *KubeClient_CertificatesV1beta1_Call
- type KubeClient_CoordinationV1_Call
- func (_c *KubeClient_CoordinationV1_Call) Return(_a0 coordinationv1.CoordinationV1Interface) *KubeClient_CoordinationV1_Call
- func (_c *KubeClient_CoordinationV1_Call) Run(run func()) *KubeClient_CoordinationV1_Call
- func (_c *KubeClient_CoordinationV1_Call) RunAndReturn(run func() coordinationv1.CoordinationV1Interface) *KubeClient_CoordinationV1_Call
- type KubeClient_CoordinationV1beta1_Call
- func (_c *KubeClient_CoordinationV1beta1_Call) Return(_a0 coordinationv1beta1.CoordinationV1beta1Interface) *KubeClient_CoordinationV1beta1_Call
- func (_c *KubeClient_CoordinationV1beta1_Call) Run(run func()) *KubeClient_CoordinationV1beta1_Call
- func (_c *KubeClient_CoordinationV1beta1_Call) RunAndReturn(run func() coordinationv1beta1.CoordinationV1beta1Interface) *KubeClient_CoordinationV1beta1_Call
- type KubeClient_CoreV1_Call
- type KubeClient_DiscoveryV1_Call
- func (_c *KubeClient_DiscoveryV1_Call) Return(_a0 discoveryv1.DiscoveryV1Interface) *KubeClient_DiscoveryV1_Call
- func (_c *KubeClient_DiscoveryV1_Call) Run(run func()) *KubeClient_DiscoveryV1_Call
- func (_c *KubeClient_DiscoveryV1_Call) RunAndReturn(run func() discoveryv1.DiscoveryV1Interface) *KubeClient_DiscoveryV1_Call
- type KubeClient_DiscoveryV1beta1_Call
- func (_c *KubeClient_DiscoveryV1beta1_Call) Return(_a0 discoveryv1beta1.DiscoveryV1beta1Interface) *KubeClient_DiscoveryV1beta1_Call
- func (_c *KubeClient_DiscoveryV1beta1_Call) Run(run func()) *KubeClient_DiscoveryV1beta1_Call
- func (_c *KubeClient_DiscoveryV1beta1_Call) RunAndReturn(run func() discoveryv1beta1.DiscoveryV1beta1Interface) *KubeClient_DiscoveryV1beta1_Call
- type KubeClient_Discovery_Call
- func (_c *KubeClient_Discovery_Call) Return(_a0 discovery.DiscoveryInterface) *KubeClient_Discovery_Call
- func (_c *KubeClient_Discovery_Call) Run(run func()) *KubeClient_Discovery_Call
- func (_c *KubeClient_Discovery_Call) RunAndReturn(run func() discovery.DiscoveryInterface) *KubeClient_Discovery_Call
- type KubeClient_EventsV1_Call
- type KubeClient_EventsV1beta1_Call
- func (_c *KubeClient_EventsV1beta1_Call) Return(_a0 eventsv1beta1.EventsV1beta1Interface) *KubeClient_EventsV1beta1_Call
- func (_c *KubeClient_EventsV1beta1_Call) Run(run func()) *KubeClient_EventsV1beta1_Call
- func (_c *KubeClient_EventsV1beta1_Call) RunAndReturn(run func() eventsv1beta1.EventsV1beta1Interface) *KubeClient_EventsV1beta1_Call
- type KubeClient_Expecter
- func (_e *KubeClient_Expecter) AdmissionregistrationV1() *KubeClient_AdmissionregistrationV1_Call
- func (_e *KubeClient_Expecter) AdmissionregistrationV1beta1() *KubeClient_AdmissionregistrationV1beta1_Call
- func (_e *KubeClient_Expecter) AppsV1() *KubeClient_AppsV1_Call
- func (_e *KubeClient_Expecter) AppsV1beta1() *KubeClient_AppsV1beta1_Call
- func (_e *KubeClient_Expecter) AppsV1beta2() *KubeClient_AppsV1beta2_Call
- func (_e *KubeClient_Expecter) AuthenticationV1() *KubeClient_AuthenticationV1_Call
- func (_e *KubeClient_Expecter) AuthenticationV1beta1() *KubeClient_AuthenticationV1beta1_Call
- func (_e *KubeClient_Expecter) AuthorizationV1() *KubeClient_AuthorizationV1_Call
- func (_e *KubeClient_Expecter) AuthorizationV1beta1() *KubeClient_AuthorizationV1beta1_Call
- func (_e *KubeClient_Expecter) AutoscalingV1() *KubeClient_AutoscalingV1_Call
- func (_e *KubeClient_Expecter) AutoscalingV2() *KubeClient_AutoscalingV2_Call
- func (_e *KubeClient_Expecter) AutoscalingV2beta1() *KubeClient_AutoscalingV2beta1_Call
- func (_e *KubeClient_Expecter) AutoscalingV2beta2() *KubeClient_AutoscalingV2beta2_Call
- func (_e *KubeClient_Expecter) BatchV1() *KubeClient_BatchV1_Call
- func (_e *KubeClient_Expecter) BatchV1beta1() *KubeClient_BatchV1beta1_Call
- func (_e *KubeClient_Expecter) CertificatesV1() *KubeClient_CertificatesV1_Call
- func (_e *KubeClient_Expecter) CertificatesV1beta1() *KubeClient_CertificatesV1beta1_Call
- func (_e *KubeClient_Expecter) CoordinationV1() *KubeClient_CoordinationV1_Call
- func (_e *KubeClient_Expecter) CoordinationV1beta1() *KubeClient_CoordinationV1beta1_Call
- func (_e *KubeClient_Expecter) CoreV1() *KubeClient_CoreV1_Call
- func (_e *KubeClient_Expecter) Discovery() *KubeClient_Discovery_Call
- func (_e *KubeClient_Expecter) DiscoveryV1() *KubeClient_DiscoveryV1_Call
- func (_e *KubeClient_Expecter) DiscoveryV1beta1() *KubeClient_DiscoveryV1beta1_Call
- func (_e *KubeClient_Expecter) EventsV1() *KubeClient_EventsV1_Call
- func (_e *KubeClient_Expecter) EventsV1beta1() *KubeClient_EventsV1beta1_Call
- func (_e *KubeClient_Expecter) ExtensionsV1beta1() *KubeClient_ExtensionsV1beta1_Call
- func (_e *KubeClient_Expecter) FlowcontrolV1alpha1() *KubeClient_FlowcontrolV1alpha1_Call
- func (_e *KubeClient_Expecter) FlowcontrolV1beta1() *KubeClient_FlowcontrolV1beta1_Call
- func (_e *KubeClient_Expecter) FlowcontrolV1beta2() *KubeClient_FlowcontrolV1beta2_Call
- func (_e *KubeClient_Expecter) InternalV1alpha1() *KubeClient_InternalV1alpha1_Call
- func (_e *KubeClient_Expecter) NetworkingV1() *KubeClient_NetworkingV1_Call
- func (_e *KubeClient_Expecter) NetworkingV1beta1() *KubeClient_NetworkingV1beta1_Call
- func (_e *KubeClient_Expecter) NodeV1() *KubeClient_NodeV1_Call
- func (_e *KubeClient_Expecter) NodeV1alpha1() *KubeClient_NodeV1alpha1_Call
- func (_e *KubeClient_Expecter) NodeV1beta1() *KubeClient_NodeV1beta1_Call
- func (_e *KubeClient_Expecter) PolicyV1() *KubeClient_PolicyV1_Call
- func (_e *KubeClient_Expecter) PolicyV1beta1() *KubeClient_PolicyV1beta1_Call
- func (_e *KubeClient_Expecter) RbacV1() *KubeClient_RbacV1_Call
- func (_e *KubeClient_Expecter) RbacV1alpha1() *KubeClient_RbacV1alpha1_Call
- func (_e *KubeClient_Expecter) RbacV1beta1() *KubeClient_RbacV1beta1_Call
- func (_e *KubeClient_Expecter) SchedulingV1() *KubeClient_SchedulingV1_Call
- func (_e *KubeClient_Expecter) SchedulingV1alpha1() *KubeClient_SchedulingV1alpha1_Call
- func (_e *KubeClient_Expecter) SchedulingV1beta1() *KubeClient_SchedulingV1beta1_Call
- func (_e *KubeClient_Expecter) StorageV1() *KubeClient_StorageV1_Call
- func (_e *KubeClient_Expecter) StorageV1alpha1() *KubeClient_StorageV1alpha1_Call
- func (_e *KubeClient_Expecter) StorageV1beta1() *KubeClient_StorageV1beta1_Call
- type KubeClient_ExtensionsV1beta1_Call
- func (_c *KubeClient_ExtensionsV1beta1_Call) Return(_a0 extensionsv1beta1.ExtensionsV1beta1Interface) *KubeClient_ExtensionsV1beta1_Call
- func (_c *KubeClient_ExtensionsV1beta1_Call) Run(run func()) *KubeClient_ExtensionsV1beta1_Call
- func (_c *KubeClient_ExtensionsV1beta1_Call) RunAndReturn(run func() extensionsv1beta1.ExtensionsV1beta1Interface) *KubeClient_ExtensionsV1beta1_Call
- type KubeClient_FlowcontrolV1alpha1_Call
- func (_c *KubeClient_FlowcontrolV1alpha1_Call) Return(_a0 v1alpha1.FlowcontrolV1alpha1Interface) *KubeClient_FlowcontrolV1alpha1_Call
- func (_c *KubeClient_FlowcontrolV1alpha1_Call) Run(run func()) *KubeClient_FlowcontrolV1alpha1_Call
- func (_c *KubeClient_FlowcontrolV1alpha1_Call) RunAndReturn(run func() v1alpha1.FlowcontrolV1alpha1Interface) *KubeClient_FlowcontrolV1alpha1_Call
- type KubeClient_FlowcontrolV1beta1_Call
- func (_c *KubeClient_FlowcontrolV1beta1_Call) Return(_a0 flowcontrolv1beta1.FlowcontrolV1beta1Interface) *KubeClient_FlowcontrolV1beta1_Call
- func (_c *KubeClient_FlowcontrolV1beta1_Call) Run(run func()) *KubeClient_FlowcontrolV1beta1_Call
- func (_c *KubeClient_FlowcontrolV1beta1_Call) RunAndReturn(run func() flowcontrolv1beta1.FlowcontrolV1beta1Interface) *KubeClient_FlowcontrolV1beta1_Call
- type KubeClient_FlowcontrolV1beta2_Call
- func (_c *KubeClient_FlowcontrolV1beta2_Call) Return(_a0 flowcontrolv1beta2.FlowcontrolV1beta2Interface) *KubeClient_FlowcontrolV1beta2_Call
- func (_c *KubeClient_FlowcontrolV1beta2_Call) Run(run func()) *KubeClient_FlowcontrolV1beta2_Call
- func (_c *KubeClient_FlowcontrolV1beta2_Call) RunAndReturn(run func() flowcontrolv1beta2.FlowcontrolV1beta2Interface) *KubeClient_FlowcontrolV1beta2_Call
- type KubeClient_InternalV1alpha1_Call
- func (_c *KubeClient_InternalV1alpha1_Call) Return(_a0 apiserverinternalv1alpha1.InternalV1alpha1Interface) *KubeClient_InternalV1alpha1_Call
- func (_c *KubeClient_InternalV1alpha1_Call) Run(run func()) *KubeClient_InternalV1alpha1_Call
- func (_c *KubeClient_InternalV1alpha1_Call) RunAndReturn(run func() apiserverinternalv1alpha1.InternalV1alpha1Interface) *KubeClient_InternalV1alpha1_Call
- type KubeClient_NetworkingV1_Call
- func (_c *KubeClient_NetworkingV1_Call) Return(_a0 networkingv1.NetworkingV1Interface) *KubeClient_NetworkingV1_Call
- func (_c *KubeClient_NetworkingV1_Call) Run(run func()) *KubeClient_NetworkingV1_Call
- func (_c *KubeClient_NetworkingV1_Call) RunAndReturn(run func() networkingv1.NetworkingV1Interface) *KubeClient_NetworkingV1_Call
- type KubeClient_NetworkingV1beta1_Call
- func (_c *KubeClient_NetworkingV1beta1_Call) Return(_a0 networkingv1beta1.NetworkingV1beta1Interface) *KubeClient_NetworkingV1beta1_Call
- func (_c *KubeClient_NetworkingV1beta1_Call) Run(run func()) *KubeClient_NetworkingV1beta1_Call
- func (_c *KubeClient_NetworkingV1beta1_Call) RunAndReturn(run func() networkingv1beta1.NetworkingV1beta1Interface) *KubeClient_NetworkingV1beta1_Call
- type KubeClient_NodeV1_Call
- type KubeClient_NodeV1alpha1_Call
- func (_c *KubeClient_NodeV1alpha1_Call) Return(_a0 nodev1alpha1.NodeV1alpha1Interface) *KubeClient_NodeV1alpha1_Call
- func (_c *KubeClient_NodeV1alpha1_Call) Run(run func()) *KubeClient_NodeV1alpha1_Call
- func (_c *KubeClient_NodeV1alpha1_Call) RunAndReturn(run func() nodev1alpha1.NodeV1alpha1Interface) *KubeClient_NodeV1alpha1_Call
- type KubeClient_NodeV1beta1_Call
- func (_c *KubeClient_NodeV1beta1_Call) Return(_a0 nodev1beta1.NodeV1beta1Interface) *KubeClient_NodeV1beta1_Call
- func (_c *KubeClient_NodeV1beta1_Call) Run(run func()) *KubeClient_NodeV1beta1_Call
- func (_c *KubeClient_NodeV1beta1_Call) RunAndReturn(run func() nodev1beta1.NodeV1beta1Interface) *KubeClient_NodeV1beta1_Call
- type KubeClient_PolicyV1_Call
- type KubeClient_PolicyV1beta1_Call
- func (_c *KubeClient_PolicyV1beta1_Call) Return(_a0 policyv1beta1.PolicyV1beta1Interface) *KubeClient_PolicyV1beta1_Call
- func (_c *KubeClient_PolicyV1beta1_Call) Run(run func()) *KubeClient_PolicyV1beta1_Call
- func (_c *KubeClient_PolicyV1beta1_Call) RunAndReturn(run func() policyv1beta1.PolicyV1beta1Interface) *KubeClient_PolicyV1beta1_Call
- type KubeClient_RbacV1_Call
- type KubeClient_RbacV1alpha1_Call
- func (_c *KubeClient_RbacV1alpha1_Call) Return(_a0 rbacv1alpha1.RbacV1alpha1Interface) *KubeClient_RbacV1alpha1_Call
- func (_c *KubeClient_RbacV1alpha1_Call) Run(run func()) *KubeClient_RbacV1alpha1_Call
- func (_c *KubeClient_RbacV1alpha1_Call) RunAndReturn(run func() rbacv1alpha1.RbacV1alpha1Interface) *KubeClient_RbacV1alpha1_Call
- type KubeClient_RbacV1beta1_Call
- func (_c *KubeClient_RbacV1beta1_Call) Return(_a0 rbacv1beta1.RbacV1beta1Interface) *KubeClient_RbacV1beta1_Call
- func (_c *KubeClient_RbacV1beta1_Call) Run(run func()) *KubeClient_RbacV1beta1_Call
- func (_c *KubeClient_RbacV1beta1_Call) RunAndReturn(run func() rbacv1beta1.RbacV1beta1Interface) *KubeClient_RbacV1beta1_Call
- type KubeClient_SchedulingV1_Call
- func (_c *KubeClient_SchedulingV1_Call) Return(_a0 schedulingv1.SchedulingV1Interface) *KubeClient_SchedulingV1_Call
- func (_c *KubeClient_SchedulingV1_Call) Run(run func()) *KubeClient_SchedulingV1_Call
- func (_c *KubeClient_SchedulingV1_Call) RunAndReturn(run func() schedulingv1.SchedulingV1Interface) *KubeClient_SchedulingV1_Call
- type KubeClient_SchedulingV1alpha1_Call
- func (_c *KubeClient_SchedulingV1alpha1_Call) Return(_a0 schedulingv1alpha1.SchedulingV1alpha1Interface) *KubeClient_SchedulingV1alpha1_Call
- func (_c *KubeClient_SchedulingV1alpha1_Call) Run(run func()) *KubeClient_SchedulingV1alpha1_Call
- func (_c *KubeClient_SchedulingV1alpha1_Call) RunAndReturn(run func() schedulingv1alpha1.SchedulingV1alpha1Interface) *KubeClient_SchedulingV1alpha1_Call
- type KubeClient_SchedulingV1beta1_Call
- func (_c *KubeClient_SchedulingV1beta1_Call) Return(_a0 schedulingv1beta1.SchedulingV1beta1Interface) *KubeClient_SchedulingV1beta1_Call
- func (_c *KubeClient_SchedulingV1beta1_Call) Run(run func()) *KubeClient_SchedulingV1beta1_Call
- func (_c *KubeClient_SchedulingV1beta1_Call) RunAndReturn(run func() schedulingv1beta1.SchedulingV1beta1Interface) *KubeClient_SchedulingV1beta1_Call
- type KubeClient_StorageV1_Call
- func (_c *KubeClient_StorageV1_Call) Return(_a0 storagev1.StorageV1Interface) *KubeClient_StorageV1_Call
- func (_c *KubeClient_StorageV1_Call) Run(run func()) *KubeClient_StorageV1_Call
- func (_c *KubeClient_StorageV1_Call) RunAndReturn(run func() storagev1.StorageV1Interface) *KubeClient_StorageV1_Call
- type KubeClient_StorageV1alpha1_Call
- func (_c *KubeClient_StorageV1alpha1_Call) Return(_a0 storagev1alpha1.StorageV1alpha1Interface) *KubeClient_StorageV1alpha1_Call
- func (_c *KubeClient_StorageV1alpha1_Call) Run(run func()) *KubeClient_StorageV1alpha1_Call
- func (_c *KubeClient_StorageV1alpha1_Call) RunAndReturn(run func() storagev1alpha1.StorageV1alpha1Interface) *KubeClient_StorageV1alpha1_Call
- type KubeClient_StorageV1beta1_Call
- func (_c *KubeClient_StorageV1beta1_Call) Return(_a0 storagev1beta1.StorageV1beta1Interface) *KubeClient_StorageV1beta1_Call
- func (_c *KubeClient_StorageV1beta1_Call) Run(run func()) *KubeClient_StorageV1beta1_Call
- func (_c *KubeClient_StorageV1beta1_Call) RunAndReturn(run func() storagev1beta1.StorageV1beta1Interface) *KubeClient_StorageV1beta1_Call
- type Pods
- func (_m *Pods) Apply(ctx context.Context, pod *v1.PodApplyConfiguration, opts metav1.ApplyOptions) (*corev1.Pod, error)
- func (_m *Pods) ApplyStatus(ctx context.Context, pod *v1.PodApplyConfiguration, opts metav1.ApplyOptions) (*corev1.Pod, error)
- func (_m *Pods) Bind(ctx context.Context, binding *corev1.Binding, opts metav1.CreateOptions) error
- func (_m *Pods) Create(ctx context.Context, pod *corev1.Pod, opts metav1.CreateOptions) (*corev1.Pod, error)
- func (_m *Pods) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *Pods) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *Pods) EXPECT() *Pods_Expecter
- func (_m *Pods) Evict(ctx context.Context, eviction *v1beta1.Eviction) error
- func (_m *Pods) EvictV1(ctx context.Context, eviction *policyv1.Eviction) error
- func (_m *Pods) EvictV1beta1(ctx context.Context, eviction *v1beta1.Eviction) error
- func (_m *Pods) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.Pod, error)
- func (_m *Pods) GetLogs(name string, opts *corev1.PodLogOptions) *rest.Request
- func (_m *Pods) List(ctx context.Context, opts metav1.ListOptions) (*corev1.PodList, error)
- func (_m *Pods) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*corev1.Pod, error)
- func (_m *Pods) ProxyGet(scheme string, name string, port string, path string, params map[string]string) rest.ResponseWrapper
- func (_m *Pods) Update(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions) (*corev1.Pod, error)
- func (_m *Pods) UpdateEphemeralContainers(ctx context.Context, podName string, pod *corev1.Pod, ...) (*corev1.Pod, error)
- func (_m *Pods) UpdateStatus(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions) (*corev1.Pod, error)
- func (_m *Pods) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type Pods_ApplyStatus_Call
- type Pods_Apply_Call
- type Pods_Bind_Call
- type Pods_Create_Call
- type Pods_DeleteCollection_Call
- func (_c *Pods_DeleteCollection_Call) Return(_a0 error) *Pods_DeleteCollection_Call
- func (_c *Pods_DeleteCollection_Call) Run(...) *Pods_DeleteCollection_Call
- func (_c *Pods_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *Pods_DeleteCollection_Call
- type Pods_Delete_Call
- func (_c *Pods_Delete_Call) Return(_a0 error) *Pods_Delete_Call
- func (_c *Pods_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *Pods_Delete_Call
- func (_c *Pods_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *Pods_Delete_Call
- type Pods_EvictV1_Call
- type Pods_EvictV1beta1_Call
- func (_c *Pods_EvictV1beta1_Call) Return(_a0 error) *Pods_EvictV1beta1_Call
- func (_c *Pods_EvictV1beta1_Call) Run(run func(ctx context.Context, eviction *v1beta1.Eviction)) *Pods_EvictV1beta1_Call
- func (_c *Pods_EvictV1beta1_Call) RunAndReturn(run func(context.Context, *v1beta1.Eviction) error) *Pods_EvictV1beta1_Call
- type Pods_Evict_Call
- type Pods_Expecter
- func (_e *Pods_Expecter) Apply(ctx interface{}, pod interface{}, opts interface{}) *Pods_Apply_Call
- func (_e *Pods_Expecter) ApplyStatus(ctx interface{}, pod interface{}, opts interface{}) *Pods_ApplyStatus_Call
- func (_e *Pods_Expecter) Bind(ctx interface{}, binding interface{}, opts interface{}) *Pods_Bind_Call
- func (_e *Pods_Expecter) Create(ctx interface{}, pod interface{}, opts interface{}) *Pods_Create_Call
- func (_e *Pods_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *Pods_Delete_Call
- func (_e *Pods_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *Pods_DeleteCollection_Call
- func (_e *Pods_Expecter) Evict(ctx interface{}, eviction interface{}) *Pods_Evict_Call
- func (_e *Pods_Expecter) EvictV1(ctx interface{}, eviction interface{}) *Pods_EvictV1_Call
- func (_e *Pods_Expecter) EvictV1beta1(ctx interface{}, eviction interface{}) *Pods_EvictV1beta1_Call
- func (_e *Pods_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *Pods_Get_Call
- func (_e *Pods_Expecter) GetLogs(name interface{}, opts interface{}) *Pods_GetLogs_Call
- func (_e *Pods_Expecter) List(ctx interface{}, opts interface{}) *Pods_List_Call
- func (_e *Pods_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, ...) *Pods_Patch_Call
- func (_e *Pods_Expecter) ProxyGet(scheme interface{}, name interface{}, port interface{}, path interface{}, ...) *Pods_ProxyGet_Call
- func (_e *Pods_Expecter) Update(ctx interface{}, pod interface{}, opts interface{}) *Pods_Update_Call
- func (_e *Pods_Expecter) UpdateEphemeralContainers(ctx interface{}, podName interface{}, pod interface{}, opts interface{}) *Pods_UpdateEphemeralContainers_Call
- func (_e *Pods_Expecter) UpdateStatus(ctx interface{}, pod interface{}, opts interface{}) *Pods_UpdateStatus_Call
- func (_e *Pods_Expecter) Watch(ctx interface{}, opts interface{}) *Pods_Watch_Call
- type Pods_GetLogs_Call
- type Pods_Get_Call
- func (_c *Pods_Get_Call) Return(_a0 *corev1.Pod, _a1 error) *Pods_Get_Call
- func (_c *Pods_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *Pods_Get_Call
- func (_c *Pods_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*corev1.Pod, error)) *Pods_Get_Call
- type Pods_List_Call
- func (_c *Pods_List_Call) Return(_a0 *corev1.PodList, _a1 error) *Pods_List_Call
- func (_c *Pods_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Pods_List_Call
- func (_c *Pods_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*corev1.PodList, error)) *Pods_List_Call
- type Pods_Patch_Call
- type Pods_ProxyGet_Call
- type Pods_UpdateEphemeralContainers_Call
- func (_c *Pods_UpdateEphemeralContainers_Call) Return(_a0 *corev1.Pod, _a1 error) *Pods_UpdateEphemeralContainers_Call
- func (_c *Pods_UpdateEphemeralContainers_Call) Run(run func(ctx context.Context, podName string, pod *corev1.Pod, ...)) *Pods_UpdateEphemeralContainers_Call
- func (_c *Pods_UpdateEphemeralContainers_Call) RunAndReturn(...) *Pods_UpdateEphemeralContainers_Call
- type Pods_UpdateStatus_Call
- func (_c *Pods_UpdateStatus_Call) Return(_a0 *corev1.Pod, _a1 error) *Pods_UpdateStatus_Call
- func (_c *Pods_UpdateStatus_Call) Run(run func(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions)) *Pods_UpdateStatus_Call
- func (_c *Pods_UpdateStatus_Call) RunAndReturn(...) *Pods_UpdateStatus_Call
- type Pods_Update_Call
- type Pods_Watch_Call
- func (_c *Pods_Watch_Call) Return(_a0 watch.Interface, _a1 error) *Pods_Watch_Call
- func (_c *Pods_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Pods_Watch_Call
- func (_c *Pods_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *Pods_Watch_Call
- type Secrets
- func (_m *Secrets) Apply(ctx context.Context, secret *v1.SecretApplyConfiguration, ...) (*corev1.Secret, error)
- func (_m *Secrets) Create(ctx context.Context, secret *corev1.Secret, opts metav1.CreateOptions) (*corev1.Secret, error)
- func (_m *Secrets) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *Secrets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *Secrets) EXPECT() *Secrets_Expecter
- func (_m *Secrets) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.Secret, error)
- func (_m *Secrets) List(ctx context.Context, opts metav1.ListOptions) (*corev1.SecretList, error)
- func (_m *Secrets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*corev1.Secret, error)
- func (_m *Secrets) Update(ctx context.Context, secret *corev1.Secret, opts metav1.UpdateOptions) (*corev1.Secret, error)
- func (_m *Secrets) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type Secrets_Apply_Call
- type Secrets_Create_Call
- type Secrets_DeleteCollection_Call
- func (_c *Secrets_DeleteCollection_Call) Return(_a0 error) *Secrets_DeleteCollection_Call
- func (_c *Secrets_DeleteCollection_Call) Run(...) *Secrets_DeleteCollection_Call
- func (_c *Secrets_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *Secrets_DeleteCollection_Call
- type Secrets_Delete_Call
- func (_c *Secrets_Delete_Call) Return(_a0 error) *Secrets_Delete_Call
- func (_c *Secrets_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *Secrets_Delete_Call
- func (_c *Secrets_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *Secrets_Delete_Call
- type Secrets_Expecter
- func (_e *Secrets_Expecter) Apply(ctx interface{}, secret interface{}, opts interface{}) *Secrets_Apply_Call
- func (_e *Secrets_Expecter) Create(ctx interface{}, secret interface{}, opts interface{}) *Secrets_Create_Call
- func (_e *Secrets_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *Secrets_Delete_Call
- func (_e *Secrets_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *Secrets_DeleteCollection_Call
- func (_e *Secrets_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *Secrets_Get_Call
- func (_e *Secrets_Expecter) List(ctx interface{}, opts interface{}) *Secrets_List_Call
- func (_e *Secrets_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, ...) *Secrets_Patch_Call
- func (_e *Secrets_Expecter) Update(ctx interface{}, secret interface{}, opts interface{}) *Secrets_Update_Call
- func (_e *Secrets_Expecter) Watch(ctx interface{}, opts interface{}) *Secrets_Watch_Call
- type Secrets_Get_Call
- func (_c *Secrets_Get_Call) Return(_a0 *corev1.Secret, _a1 error) *Secrets_Get_Call
- func (_c *Secrets_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *Secrets_Get_Call
- func (_c *Secrets_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*corev1.Secret, error)) *Secrets_Get_Call
- type Secrets_List_Call
- func (_c *Secrets_List_Call) Return(_a0 *corev1.SecretList, _a1 error) *Secrets_List_Call
- func (_c *Secrets_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Secrets_List_Call
- func (_c *Secrets_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*corev1.SecretList, error)) *Secrets_List_Call
- type Secrets_Patch_Call
- type Secrets_Update_Call
- type Secrets_Watch_Call
- func (_c *Secrets_Watch_Call) Return(_a0 watch.Interface, _a1 error) *Secrets_Watch_Call
- func (_c *Secrets_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Secrets_Watch_Call
- func (_c *Secrets_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *Secrets_Watch_Call
- type Services
- func (_m *Services) Apply(ctx context.Context, service *v1.ServiceApplyConfiguration, ...) (*corev1.Service, error)
- func (_m *Services) ApplyStatus(ctx context.Context, service *v1.ServiceApplyConfiguration, ...) (*corev1.Service, error)
- func (_m *Services) Create(ctx context.Context, service *corev1.Service, opts metav1.CreateOptions) (*corev1.Service, error)
- func (_m *Services) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *Services) EXPECT() *Services_Expecter
- func (_m *Services) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.Service, error)
- func (_m *Services) List(ctx context.Context, opts metav1.ListOptions) (*corev1.ServiceList, error)
- func (_m *Services) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*corev1.Service, error)
- func (_m *Services) ProxyGet(scheme string, name string, port string, path string, params map[string]string) rest.ResponseWrapper
- func (_m *Services) Update(ctx context.Context, service *corev1.Service, opts metav1.UpdateOptions) (*corev1.Service, error)
- func (_m *Services) UpdateStatus(ctx context.Context, service *corev1.Service, opts metav1.UpdateOptions) (*corev1.Service, error)
- func (_m *Services) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type Services_ApplyStatus_Call
- func (_c *Services_ApplyStatus_Call) Return(result *corev1.Service, err error) *Services_ApplyStatus_Call
- func (_c *Services_ApplyStatus_Call) Run(run func(ctx context.Context, service *v1.ServiceApplyConfiguration, ...)) *Services_ApplyStatus_Call
- func (_c *Services_ApplyStatus_Call) RunAndReturn(...) *Services_ApplyStatus_Call
- type Services_Apply_Call
- type Services_Create_Call
- type Services_Delete_Call
- func (_c *Services_Delete_Call) Return(_a0 error) *Services_Delete_Call
- func (_c *Services_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *Services_Delete_Call
- func (_c *Services_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *Services_Delete_Call
- type Services_Expecter
- func (_e *Services_Expecter) Apply(ctx interface{}, service interface{}, opts interface{}) *Services_Apply_Call
- func (_e *Services_Expecter) ApplyStatus(ctx interface{}, service interface{}, opts interface{}) *Services_ApplyStatus_Call
- func (_e *Services_Expecter) Create(ctx interface{}, service interface{}, opts interface{}) *Services_Create_Call
- func (_e *Services_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *Services_Delete_Call
- func (_e *Services_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *Services_Get_Call
- func (_e *Services_Expecter) List(ctx interface{}, opts interface{}) *Services_List_Call
- func (_e *Services_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, ...) *Services_Patch_Call
- func (_e *Services_Expecter) ProxyGet(scheme interface{}, name interface{}, port interface{}, path interface{}, ...) *Services_ProxyGet_Call
- func (_e *Services_Expecter) Update(ctx interface{}, service interface{}, opts interface{}) *Services_Update_Call
- func (_e *Services_Expecter) UpdateStatus(ctx interface{}, service interface{}, opts interface{}) *Services_UpdateStatus_Call
- func (_e *Services_Expecter) Watch(ctx interface{}, opts interface{}) *Services_Watch_Call
- type Services_Get_Call
- func (_c *Services_Get_Call) Return(_a0 *corev1.Service, _a1 error) *Services_Get_Call
- func (_c *Services_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *Services_Get_Call
- func (_c *Services_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*corev1.Service, error)) *Services_Get_Call
- type Services_List_Call
- func (_c *Services_List_Call) Return(_a0 *corev1.ServiceList, _a1 error) *Services_List_Call
- func (_c *Services_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Services_List_Call
- func (_c *Services_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*corev1.ServiceList, error)) *Services_List_Call
- type Services_Patch_Call
- type Services_ProxyGet_Call
- type Services_UpdateStatus_Call
- type Services_Update_Call
- type Services_Watch_Call
- func (_c *Services_Watch_Call) Return(_a0 watch.Interface, _a1 error) *Services_Watch_Call
- func (_c *Services_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Services_Watch_Call
- func (_c *Services_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *Services_Watch_Call
- type StatefulSets
- func (_m *StatefulSets) Apply(ctx context.Context, statefulSet *v1.StatefulSetApplyConfiguration, ...) (*appsv1.StatefulSet, error)
- func (_m *StatefulSets) ApplyScale(ctx context.Context, statefulSetName string, ...) (*apiautoscalingv1.Scale, error)
- func (_m *StatefulSets) ApplyStatus(ctx context.Context, statefulSet *v1.StatefulSetApplyConfiguration, ...) (*appsv1.StatefulSet, error)
- func (_m *StatefulSets) Create(ctx context.Context, statefulSet *appsv1.StatefulSet, ...) (*appsv1.StatefulSet, error)
- func (_m *StatefulSets) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *StatefulSets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *StatefulSets) EXPECT() *StatefulSets_Expecter
- func (_m *StatefulSets) Get(ctx context.Context, name string, opts metav1.GetOptions) (*appsv1.StatefulSet, error)
- func (_m *StatefulSets) GetScale(ctx context.Context, statefulSetName string, options metav1.GetOptions) (*apiautoscalingv1.Scale, error)
- func (_m *StatefulSets) List(ctx context.Context, opts metav1.ListOptions) (*appsv1.StatefulSetList, error)
- func (_m *StatefulSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*appsv1.StatefulSet, error)
- func (_m *StatefulSets) Update(ctx context.Context, statefulSet *appsv1.StatefulSet, ...) (*appsv1.StatefulSet, error)
- func (_m *StatefulSets) UpdateScale(ctx context.Context, statefulSetName string, scale *apiautoscalingv1.Scale, ...) (*apiautoscalingv1.Scale, error)
- func (_m *StatefulSets) UpdateStatus(ctx context.Context, statefulSet *appsv1.StatefulSet, ...) (*appsv1.StatefulSet, error)
- func (_m *StatefulSets) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type StatefulSets_ApplyScale_Call
- func (_c *StatefulSets_ApplyScale_Call) Return(_a0 *apiautoscalingv1.Scale, _a1 error) *StatefulSets_ApplyScale_Call
- func (_c *StatefulSets_ApplyScale_Call) Run(run func(ctx context.Context, statefulSetName string, ...)) *StatefulSets_ApplyScale_Call
- func (_c *StatefulSets_ApplyScale_Call) RunAndReturn(...) *StatefulSets_ApplyScale_Call
- type StatefulSets_ApplyStatus_Call
- type StatefulSets_Apply_Call
- type StatefulSets_Create_Call
- func (_c *StatefulSets_Create_Call) Return(_a0 *appsv1.StatefulSet, _a1 error) *StatefulSets_Create_Call
- func (_c *StatefulSets_Create_Call) Run(run func(ctx context.Context, statefulSet *appsv1.StatefulSet, ...)) *StatefulSets_Create_Call
- func (_c *StatefulSets_Create_Call) RunAndReturn(...) *StatefulSets_Create_Call
- type StatefulSets_DeleteCollection_Call
- func (_c *StatefulSets_DeleteCollection_Call) Return(_a0 error) *StatefulSets_DeleteCollection_Call
- func (_c *StatefulSets_DeleteCollection_Call) Run(...) *StatefulSets_DeleteCollection_Call
- func (_c *StatefulSets_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *StatefulSets_DeleteCollection_Call
- type StatefulSets_Delete_Call
- func (_c *StatefulSets_Delete_Call) Return(_a0 error) *StatefulSets_Delete_Call
- func (_c *StatefulSets_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *StatefulSets_Delete_Call
- func (_c *StatefulSets_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *StatefulSets_Delete_Call
- type StatefulSets_Expecter
- func (_e *StatefulSets_Expecter) Apply(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_Apply_Call
- func (_e *StatefulSets_Expecter) ApplyScale(ctx interface{}, statefulSetName interface{}, scale interface{}, ...) *StatefulSets_ApplyScale_Call
- func (_e *StatefulSets_Expecter) ApplyStatus(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_ApplyStatus_Call
- func (_e *StatefulSets_Expecter) Create(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_Create_Call
- func (_e *StatefulSets_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *StatefulSets_Delete_Call
- func (_e *StatefulSets_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *StatefulSets_DeleteCollection_Call
- func (_e *StatefulSets_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *StatefulSets_Get_Call
- func (_e *StatefulSets_Expecter) GetScale(ctx interface{}, statefulSetName interface{}, options interface{}) *StatefulSets_GetScale_Call
- func (_e *StatefulSets_Expecter) List(ctx interface{}, opts interface{}) *StatefulSets_List_Call
- func (_e *StatefulSets_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, ...) *StatefulSets_Patch_Call
- func (_e *StatefulSets_Expecter) Update(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_Update_Call
- func (_e *StatefulSets_Expecter) UpdateScale(ctx interface{}, statefulSetName interface{}, scale interface{}, ...) *StatefulSets_UpdateScale_Call
- func (_e *StatefulSets_Expecter) UpdateStatus(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_UpdateStatus_Call
- func (_e *StatefulSets_Expecter) Watch(ctx interface{}, opts interface{}) *StatefulSets_Watch_Call
- type StatefulSets_GetScale_Call
- type StatefulSets_Get_Call
- func (_c *StatefulSets_Get_Call) Return(_a0 *appsv1.StatefulSet, _a1 error) *StatefulSets_Get_Call
- func (_c *StatefulSets_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *StatefulSets_Get_Call
- func (_c *StatefulSets_Get_Call) RunAndReturn(...) *StatefulSets_Get_Call
- type StatefulSets_List_Call
- func (_c *StatefulSets_List_Call) Return(_a0 *appsv1.StatefulSetList, _a1 error) *StatefulSets_List_Call
- func (_c *StatefulSets_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *StatefulSets_List_Call
- func (_c *StatefulSets_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*appsv1.StatefulSetList, error)) *StatefulSets_List_Call
- type StatefulSets_Patch_Call
- type StatefulSets_UpdateScale_Call
- type StatefulSets_UpdateStatus_Call
- func (_c *StatefulSets_UpdateStatus_Call) Return(_a0 *appsv1.StatefulSet, _a1 error) *StatefulSets_UpdateStatus_Call
- func (_c *StatefulSets_UpdateStatus_Call) Run(run func(ctx context.Context, statefulSet *appsv1.StatefulSet, ...)) *StatefulSets_UpdateStatus_Call
- func (_c *StatefulSets_UpdateStatus_Call) RunAndReturn(...) *StatefulSets_UpdateStatus_Call
- type StatefulSets_Update_Call
- func (_c *StatefulSets_Update_Call) Return(_a0 *appsv1.StatefulSet, _a1 error) *StatefulSets_Update_Call
- func (_c *StatefulSets_Update_Call) Run(run func(ctx context.Context, statefulSet *appsv1.StatefulSet, ...)) *StatefulSets_Update_Call
- func (_c *StatefulSets_Update_Call) RunAndReturn(...) *StatefulSets_Update_Call
- type StatefulSets_Watch_Call
- func (_c *StatefulSets_Watch_Call) Return(_a0 watch.Interface, _a1 error) *StatefulSets_Watch_Call
- func (_c *StatefulSets_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *StatefulSets_Watch_Call
- func (_c *StatefulSets_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *StatefulSets_Watch_Call
- type Watch
- type Watch_Expecter
- type Watch_ResultChan_Call
- type Watch_Stop_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppsV1 ¶
AppsV1 is an autogenerated mock type for the AppsV1 type
func NewAppsV1 ¶
func NewAppsV1(t mockConstructorTestingTNewAppsV1) *AppsV1
NewAppsV1 creates a new instance of AppsV1. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AppsV1) ControllerRevisions ¶
func (_m *AppsV1) ControllerRevisions(namespace string) v1.ControllerRevisionInterface
ControllerRevisions provides a mock function with given fields: namespace
func (*AppsV1) DaemonSets ¶
func (_m *AppsV1) DaemonSets(namespace string) v1.DaemonSetInterface
DaemonSets provides a mock function with given fields: namespace
func (*AppsV1) Deployments ¶
func (_m *AppsV1) Deployments(namespace string) v1.DeploymentInterface
Deployments provides a mock function with given fields: namespace
func (*AppsV1) EXPECT ¶
func (_m *AppsV1) EXPECT() *AppsV1_Expecter
func (*AppsV1) RESTClient ¶
RESTClient provides a mock function with given fields:
func (*AppsV1) ReplicaSets ¶
func (_m *AppsV1) ReplicaSets(namespace string) v1.ReplicaSetInterface
ReplicaSets provides a mock function with given fields: namespace
func (*AppsV1) StatefulSets ¶
func (_m *AppsV1) StatefulSets(namespace string) v1.StatefulSetInterface
StatefulSets provides a mock function with given fields: namespace
type AppsV1_ControllerRevisions_Call ¶
AppsV1_ControllerRevisions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ControllerRevisions'
func (*AppsV1_ControllerRevisions_Call) Return ¶
func (_c *AppsV1_ControllerRevisions_Call) Return(_a0 v1.ControllerRevisionInterface) *AppsV1_ControllerRevisions_Call
func (*AppsV1_ControllerRevisions_Call) Run ¶
func (_c *AppsV1_ControllerRevisions_Call) Run(run func(namespace string)) *AppsV1_ControllerRevisions_Call
func (*AppsV1_ControllerRevisions_Call) RunAndReturn ¶ added in v1.0.73
func (_c *AppsV1_ControllerRevisions_Call) RunAndReturn(run func(string) v1.ControllerRevisionInterface) *AppsV1_ControllerRevisions_Call
type AppsV1_DaemonSets_Call ¶
AppsV1_DaemonSets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DaemonSets'
func (*AppsV1_DaemonSets_Call) Return ¶
func (_c *AppsV1_DaemonSets_Call) Return(_a0 v1.DaemonSetInterface) *AppsV1_DaemonSets_Call
func (*AppsV1_DaemonSets_Call) Run ¶
func (_c *AppsV1_DaemonSets_Call) Run(run func(namespace string)) *AppsV1_DaemonSets_Call
func (*AppsV1_DaemonSets_Call) RunAndReturn ¶ added in v1.0.73
func (_c *AppsV1_DaemonSets_Call) RunAndReturn(run func(string) v1.DaemonSetInterface) *AppsV1_DaemonSets_Call
type AppsV1_Deployments_Call ¶
AppsV1_Deployments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Deployments'
func (*AppsV1_Deployments_Call) Return ¶
func (_c *AppsV1_Deployments_Call) Return(_a0 v1.DeploymentInterface) *AppsV1_Deployments_Call
func (*AppsV1_Deployments_Call) Run ¶
func (_c *AppsV1_Deployments_Call) Run(run func(namespace string)) *AppsV1_Deployments_Call
func (*AppsV1_Deployments_Call) RunAndReturn ¶ added in v1.0.73
func (_c *AppsV1_Deployments_Call) RunAndReturn(run func(string) v1.DeploymentInterface) *AppsV1_Deployments_Call
type AppsV1_Expecter ¶
type AppsV1_Expecter struct {
// contains filtered or unexported fields
}
func (*AppsV1_Expecter) ControllerRevisions ¶
func (_e *AppsV1_Expecter) ControllerRevisions(namespace interface{}) *AppsV1_ControllerRevisions_Call
ControllerRevisions is a helper method to define mock.On call
- namespace string
func (*AppsV1_Expecter) DaemonSets ¶
func (_e *AppsV1_Expecter) DaemonSets(namespace interface{}) *AppsV1_DaemonSets_Call
DaemonSets is a helper method to define mock.On call
- namespace string
func (*AppsV1_Expecter) Deployments ¶
func (_e *AppsV1_Expecter) Deployments(namespace interface{}) *AppsV1_Deployments_Call
Deployments is a helper method to define mock.On call
- namespace string
func (*AppsV1_Expecter) RESTClient ¶
func (_e *AppsV1_Expecter) RESTClient() *AppsV1_RESTClient_Call
RESTClient is a helper method to define mock.On call
func (*AppsV1_Expecter) ReplicaSets ¶
func (_e *AppsV1_Expecter) ReplicaSets(namespace interface{}) *AppsV1_ReplicaSets_Call
ReplicaSets is a helper method to define mock.On call
- namespace string
func (*AppsV1_Expecter) StatefulSets ¶
func (_e *AppsV1_Expecter) StatefulSets(namespace interface{}) *AppsV1_StatefulSets_Call
StatefulSets is a helper method to define mock.On call
- namespace string
type AppsV1_RESTClient_Call ¶
AppsV1_RESTClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RESTClient'
func (*AppsV1_RESTClient_Call) Return ¶
func (_c *AppsV1_RESTClient_Call) Return(_a0 rest.Interface) *AppsV1_RESTClient_Call
func (*AppsV1_RESTClient_Call) Run ¶
func (_c *AppsV1_RESTClient_Call) Run(run func()) *AppsV1_RESTClient_Call
func (*AppsV1_RESTClient_Call) RunAndReturn ¶ added in v1.0.73
func (_c *AppsV1_RESTClient_Call) RunAndReturn(run func() rest.Interface) *AppsV1_RESTClient_Call
type AppsV1_ReplicaSets_Call ¶
AppsV1_ReplicaSets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReplicaSets'
func (*AppsV1_ReplicaSets_Call) Return ¶
func (_c *AppsV1_ReplicaSets_Call) Return(_a0 v1.ReplicaSetInterface) *AppsV1_ReplicaSets_Call
func (*AppsV1_ReplicaSets_Call) Run ¶
func (_c *AppsV1_ReplicaSets_Call) Run(run func(namespace string)) *AppsV1_ReplicaSets_Call
func (*AppsV1_ReplicaSets_Call) RunAndReturn ¶ added in v1.0.73
func (_c *AppsV1_ReplicaSets_Call) RunAndReturn(run func(string) v1.ReplicaSetInterface) *AppsV1_ReplicaSets_Call
type AppsV1_StatefulSets_Call ¶
AppsV1_StatefulSets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StatefulSets'
func (*AppsV1_StatefulSets_Call) Return ¶
func (_c *AppsV1_StatefulSets_Call) Return(_a0 v1.StatefulSetInterface) *AppsV1_StatefulSets_Call
func (*AppsV1_StatefulSets_Call) Run ¶
func (_c *AppsV1_StatefulSets_Call) Run(run func(namespace string)) *AppsV1_StatefulSets_Call
func (*AppsV1_StatefulSets_Call) RunAndReturn ¶ added in v1.0.73
func (_c *AppsV1_StatefulSets_Call) RunAndReturn(run func(string) v1.StatefulSetInterface) *AppsV1_StatefulSets_Call
type ConfigMaps ¶
ConfigMaps is an autogenerated mock type for the ConfigMaps type
func NewConfigMaps ¶
func NewConfigMaps(t mockConstructorTestingTNewConfigMaps) *ConfigMaps
NewConfigMaps creates a new instance of ConfigMaps. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ConfigMaps) Apply ¶
func (_m *ConfigMaps) Apply(ctx context.Context, configMap *v1.ConfigMapApplyConfiguration, opts metav1.ApplyOptions) (*corev1.ConfigMap, error)
Apply provides a mock function with given fields: ctx, configMap, opts
func (*ConfigMaps) Create ¶
func (_m *ConfigMaps) Create(ctx context.Context, configMap *corev1.ConfigMap, opts metav1.CreateOptions) (*corev1.ConfigMap, error)
Create provides a mock function with given fields: ctx, configMap, opts
func (*ConfigMaps) Delete ¶
func (_m *ConfigMaps) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*ConfigMaps) DeleteCollection ¶
func (_m *ConfigMaps) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*ConfigMaps) EXPECT ¶
func (_m *ConfigMaps) EXPECT() *ConfigMaps_Expecter
func (*ConfigMaps) Get ¶
func (_m *ConfigMaps) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.ConfigMap, error)
Get provides a mock function with given fields: ctx, name, opts
func (*ConfigMaps) List ¶
func (_m *ConfigMaps) List(ctx context.Context, opts metav1.ListOptions) (*corev1.ConfigMapList, error)
List provides a mock function with given fields: ctx, opts
func (*ConfigMaps) Patch ¶
func (_m *ConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*corev1.ConfigMap, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*ConfigMaps) Update ¶
func (_m *ConfigMaps) Update(ctx context.Context, configMap *corev1.ConfigMap, opts metav1.UpdateOptions) (*corev1.ConfigMap, error)
Update provides a mock function with given fields: ctx, configMap, opts
func (*ConfigMaps) Watch ¶
func (_m *ConfigMaps) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type ConfigMaps_Apply_Call ¶
ConfigMaps_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'
func (*ConfigMaps_Apply_Call) Return ¶
func (_c *ConfigMaps_Apply_Call) Return(result *corev1.ConfigMap, err error) *ConfigMaps_Apply_Call
func (*ConfigMaps_Apply_Call) Run ¶
func (_c *ConfigMaps_Apply_Call) Run(run func(ctx context.Context, configMap *v1.ConfigMapApplyConfiguration, opts metav1.ApplyOptions)) *ConfigMaps_Apply_Call
func (*ConfigMaps_Apply_Call) RunAndReturn ¶ added in v1.0.73
func (_c *ConfigMaps_Apply_Call) RunAndReturn(run func(context.Context, *v1.ConfigMapApplyConfiguration, metav1.ApplyOptions) (*corev1.ConfigMap, error)) *ConfigMaps_Apply_Call
type ConfigMaps_Create_Call ¶
ConfigMaps_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*ConfigMaps_Create_Call) Return ¶
func (_c *ConfigMaps_Create_Call) Return(_a0 *corev1.ConfigMap, _a1 error) *ConfigMaps_Create_Call
func (*ConfigMaps_Create_Call) Run ¶
func (_c *ConfigMaps_Create_Call) Run(run func(ctx context.Context, configMap *corev1.ConfigMap, opts metav1.CreateOptions)) *ConfigMaps_Create_Call
func (*ConfigMaps_Create_Call) RunAndReturn ¶ added in v1.0.73
func (_c *ConfigMaps_Create_Call) RunAndReturn(run func(context.Context, *corev1.ConfigMap, metav1.CreateOptions) (*corev1.ConfigMap, error)) *ConfigMaps_Create_Call
type ConfigMaps_DeleteCollection_Call ¶
ConfigMaps_DeleteCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCollection'
func (*ConfigMaps_DeleteCollection_Call) Return ¶
func (_c *ConfigMaps_DeleteCollection_Call) Return(_a0 error) *ConfigMaps_DeleteCollection_Call
func (*ConfigMaps_DeleteCollection_Call) Run ¶
func (_c *ConfigMaps_DeleteCollection_Call) Run(run func(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions)) *ConfigMaps_DeleteCollection_Call
func (*ConfigMaps_DeleteCollection_Call) RunAndReturn ¶ added in v1.0.73
func (_c *ConfigMaps_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *ConfigMaps_DeleteCollection_Call
type ConfigMaps_Delete_Call ¶
ConfigMaps_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*ConfigMaps_Delete_Call) Return ¶
func (_c *ConfigMaps_Delete_Call) Return(_a0 error) *ConfigMaps_Delete_Call
func (*ConfigMaps_Delete_Call) Run ¶
func (_c *ConfigMaps_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *ConfigMaps_Delete_Call
func (*ConfigMaps_Delete_Call) RunAndReturn ¶ added in v1.0.73
func (_c *ConfigMaps_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *ConfigMaps_Delete_Call
type ConfigMaps_Expecter ¶
type ConfigMaps_Expecter struct {
// contains filtered or unexported fields
}
func (*ConfigMaps_Expecter) Apply ¶
func (_e *ConfigMaps_Expecter) Apply(ctx interface{}, configMap interface{}, opts interface{}) *ConfigMaps_Apply_Call
Apply is a helper method to define mock.On call
- ctx context.Context
- configMap *v1.ConfigMapApplyConfiguration
- opts metav1.ApplyOptions
func (*ConfigMaps_Expecter) Create ¶
func (_e *ConfigMaps_Expecter) Create(ctx interface{}, configMap interface{}, opts interface{}) *ConfigMaps_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- configMap *corev1.ConfigMap
- opts metav1.CreateOptions
func (*ConfigMaps_Expecter) Delete ¶
func (_e *ConfigMaps_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *ConfigMaps_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.DeleteOptions
func (*ConfigMaps_Expecter) DeleteCollection ¶
func (_e *ConfigMaps_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *ConfigMaps_DeleteCollection_Call
DeleteCollection is a helper method to define mock.On call
- ctx context.Context
- opts metav1.DeleteOptions
- listOpts metav1.ListOptions
func (*ConfigMaps_Expecter) Get ¶
func (_e *ConfigMaps_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *ConfigMaps_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.GetOptions
func (*ConfigMaps_Expecter) List ¶
func (_e *ConfigMaps_Expecter) List(ctx interface{}, opts interface{}) *ConfigMaps_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
func (*ConfigMaps_Expecter) Patch ¶
func (_e *ConfigMaps_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *ConfigMaps_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- name string
- pt types.PatchType
- data []byte
- opts metav1.PatchOptions
- subresources ...string
func (*ConfigMaps_Expecter) Update ¶
func (_e *ConfigMaps_Expecter) Update(ctx interface{}, configMap interface{}, opts interface{}) *ConfigMaps_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- configMap *corev1.ConfigMap
- opts metav1.UpdateOptions
func (*ConfigMaps_Expecter) Watch ¶
func (_e *ConfigMaps_Expecter) Watch(ctx interface{}, opts interface{}) *ConfigMaps_Watch_Call
Watch is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
type ConfigMaps_Get_Call ¶
ConfigMaps_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*ConfigMaps_Get_Call) Return ¶
func (_c *ConfigMaps_Get_Call) Return(_a0 *corev1.ConfigMap, _a1 error) *ConfigMaps_Get_Call
func (*ConfigMaps_Get_Call) Run ¶
func (_c *ConfigMaps_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *ConfigMaps_Get_Call
func (*ConfigMaps_Get_Call) RunAndReturn ¶ added in v1.0.73
func (_c *ConfigMaps_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*corev1.ConfigMap, error)) *ConfigMaps_Get_Call
type ConfigMaps_List_Call ¶
ConfigMaps_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*ConfigMaps_List_Call) Return ¶
func (_c *ConfigMaps_List_Call) Return(_a0 *corev1.ConfigMapList, _a1 error) *ConfigMaps_List_Call
func (*ConfigMaps_List_Call) Run ¶
func (_c *ConfigMaps_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *ConfigMaps_List_Call
func (*ConfigMaps_List_Call) RunAndReturn ¶ added in v1.0.73
func (_c *ConfigMaps_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*corev1.ConfigMapList, error)) *ConfigMaps_List_Call
type ConfigMaps_Patch_Call ¶
ConfigMaps_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*ConfigMaps_Patch_Call) Return ¶
func (_c *ConfigMaps_Patch_Call) Return(result *corev1.ConfigMap, err error) *ConfigMaps_Patch_Call
func (*ConfigMaps_Patch_Call) Run ¶
func (_c *ConfigMaps_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *ConfigMaps_Patch_Call
func (*ConfigMaps_Patch_Call) RunAndReturn ¶ added in v1.0.73
func (_c *ConfigMaps_Patch_Call) RunAndReturn(run func(context.Context, string, types.PatchType, []byte, metav1.PatchOptions, ...string) (*corev1.ConfigMap, error)) *ConfigMaps_Patch_Call
type ConfigMaps_Update_Call ¶
ConfigMaps_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*ConfigMaps_Update_Call) Return ¶
func (_c *ConfigMaps_Update_Call) Return(_a0 *corev1.ConfigMap, _a1 error) *ConfigMaps_Update_Call
func (*ConfigMaps_Update_Call) Run ¶
func (_c *ConfigMaps_Update_Call) Run(run func(ctx context.Context, configMap *corev1.ConfigMap, opts metav1.UpdateOptions)) *ConfigMaps_Update_Call
func (*ConfigMaps_Update_Call) RunAndReturn ¶ added in v1.0.73
func (_c *ConfigMaps_Update_Call) RunAndReturn(run func(context.Context, *corev1.ConfigMap, metav1.UpdateOptions) (*corev1.ConfigMap, error)) *ConfigMaps_Update_Call
type ConfigMaps_Watch_Call ¶
ConfigMaps_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*ConfigMaps_Watch_Call) Return ¶
func (_c *ConfigMaps_Watch_Call) Return(_a0 watch.Interface, _a1 error) *ConfigMaps_Watch_Call
func (*ConfigMaps_Watch_Call) Run ¶
func (_c *ConfigMaps_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *ConfigMaps_Watch_Call
func (*ConfigMaps_Watch_Call) RunAndReturn ¶ added in v1.0.73
func (_c *ConfigMaps_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *ConfigMaps_Watch_Call
type CoreV1 ¶
CoreV1 is an autogenerated mock type for the CoreV1 type
func NewCoreV1 ¶
func NewCoreV1(t mockConstructorTestingTNewCoreV1) *CoreV1
NewCoreV1 creates a new instance of CoreV1. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CoreV1) ComponentStatuses ¶
func (_m *CoreV1) ComponentStatuses() v1.ComponentStatusInterface
ComponentStatuses provides a mock function with given fields:
func (*CoreV1) ConfigMaps ¶
func (_m *CoreV1) ConfigMaps(namespace string) v1.ConfigMapInterface
ConfigMaps provides a mock function with given fields: namespace
func (*CoreV1) EXPECT ¶
func (_m *CoreV1) EXPECT() *CoreV1_Expecter
func (*CoreV1) Endpoints ¶
func (_m *CoreV1) Endpoints(namespace string) v1.EndpointsInterface
Endpoints provides a mock function with given fields: namespace
func (*CoreV1) Events ¶
func (_m *CoreV1) Events(namespace string) v1.EventInterface
Events provides a mock function with given fields: namespace
func (*CoreV1) LimitRanges ¶
func (_m *CoreV1) LimitRanges(namespace string) v1.LimitRangeInterface
LimitRanges provides a mock function with given fields: namespace
func (*CoreV1) Namespaces ¶
func (_m *CoreV1) Namespaces() v1.NamespaceInterface
Namespaces provides a mock function with given fields:
func (*CoreV1) Nodes ¶
func (_m *CoreV1) Nodes() v1.NodeInterface
Nodes provides a mock function with given fields:
func (*CoreV1) PersistentVolumeClaims ¶
func (_m *CoreV1) PersistentVolumeClaims(namespace string) v1.PersistentVolumeClaimInterface
PersistentVolumeClaims provides a mock function with given fields: namespace
func (*CoreV1) PersistentVolumes ¶
func (_m *CoreV1) PersistentVolumes() v1.PersistentVolumeInterface
PersistentVolumes provides a mock function with given fields:
func (*CoreV1) PodTemplates ¶
func (_m *CoreV1) PodTemplates(namespace string) v1.PodTemplateInterface
PodTemplates provides a mock function with given fields: namespace
func (*CoreV1) Pods ¶
func (_m *CoreV1) Pods(namespace string) v1.PodInterface
Pods provides a mock function with given fields: namespace
func (*CoreV1) RESTClient ¶
RESTClient provides a mock function with given fields:
func (*CoreV1) ReplicationControllers ¶
func (_m *CoreV1) ReplicationControllers(namespace string) v1.ReplicationControllerInterface
ReplicationControllers provides a mock function with given fields: namespace
func (*CoreV1) ResourceQuotas ¶
func (_m *CoreV1) ResourceQuotas(namespace string) v1.ResourceQuotaInterface
ResourceQuotas provides a mock function with given fields: namespace
func (*CoreV1) Secrets ¶
func (_m *CoreV1) Secrets(namespace string) v1.SecretInterface
Secrets provides a mock function with given fields: namespace
func (*CoreV1) ServiceAccounts ¶
func (_m *CoreV1) ServiceAccounts(namespace string) v1.ServiceAccountInterface
ServiceAccounts provides a mock function with given fields: namespace
type CoreV1_ComponentStatuses_Call ¶
CoreV1_ComponentStatuses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComponentStatuses'
func (*CoreV1_ComponentStatuses_Call) Return ¶
func (_c *CoreV1_ComponentStatuses_Call) Return(_a0 v1.ComponentStatusInterface) *CoreV1_ComponentStatuses_Call
func (*CoreV1_ComponentStatuses_Call) Run ¶
func (_c *CoreV1_ComponentStatuses_Call) Run(run func()) *CoreV1_ComponentStatuses_Call
func (*CoreV1_ComponentStatuses_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_ComponentStatuses_Call) RunAndReturn(run func() v1.ComponentStatusInterface) *CoreV1_ComponentStatuses_Call
type CoreV1_ConfigMaps_Call ¶
CoreV1_ConfigMaps_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfigMaps'
func (*CoreV1_ConfigMaps_Call) Return ¶
func (_c *CoreV1_ConfigMaps_Call) Return(_a0 v1.ConfigMapInterface) *CoreV1_ConfigMaps_Call
func (*CoreV1_ConfigMaps_Call) Run ¶
func (_c *CoreV1_ConfigMaps_Call) Run(run func(namespace string)) *CoreV1_ConfigMaps_Call
func (*CoreV1_ConfigMaps_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_ConfigMaps_Call) RunAndReturn(run func(string) v1.ConfigMapInterface) *CoreV1_ConfigMaps_Call
type CoreV1_Endpoints_Call ¶
CoreV1_Endpoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Endpoints'
func (*CoreV1_Endpoints_Call) Return ¶
func (_c *CoreV1_Endpoints_Call) Return(_a0 v1.EndpointsInterface) *CoreV1_Endpoints_Call
func (*CoreV1_Endpoints_Call) Run ¶
func (_c *CoreV1_Endpoints_Call) Run(run func(namespace string)) *CoreV1_Endpoints_Call
func (*CoreV1_Endpoints_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_Endpoints_Call) RunAndReturn(run func(string) v1.EndpointsInterface) *CoreV1_Endpoints_Call
type CoreV1_Events_Call ¶
CoreV1_Events_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Events'
func (*CoreV1_Events_Call) Return ¶
func (_c *CoreV1_Events_Call) Return(_a0 v1.EventInterface) *CoreV1_Events_Call
func (*CoreV1_Events_Call) Run ¶
func (_c *CoreV1_Events_Call) Run(run func(namespace string)) *CoreV1_Events_Call
func (*CoreV1_Events_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_Events_Call) RunAndReturn(run func(string) v1.EventInterface) *CoreV1_Events_Call
type CoreV1_Expecter ¶
type CoreV1_Expecter struct {
// contains filtered or unexported fields
}
func (*CoreV1_Expecter) ComponentStatuses ¶
func (_e *CoreV1_Expecter) ComponentStatuses() *CoreV1_ComponentStatuses_Call
ComponentStatuses is a helper method to define mock.On call
func (*CoreV1_Expecter) ConfigMaps ¶
func (_e *CoreV1_Expecter) ConfigMaps(namespace interface{}) *CoreV1_ConfigMaps_Call
ConfigMaps is a helper method to define mock.On call
- namespace string
func (*CoreV1_Expecter) Endpoints ¶
func (_e *CoreV1_Expecter) Endpoints(namespace interface{}) *CoreV1_Endpoints_Call
Endpoints is a helper method to define mock.On call
- namespace string
func (*CoreV1_Expecter) Events ¶
func (_e *CoreV1_Expecter) Events(namespace interface{}) *CoreV1_Events_Call
Events is a helper method to define mock.On call
- namespace string
func (*CoreV1_Expecter) LimitRanges ¶
func (_e *CoreV1_Expecter) LimitRanges(namespace interface{}) *CoreV1_LimitRanges_Call
LimitRanges is a helper method to define mock.On call
- namespace string
func (*CoreV1_Expecter) Namespaces ¶
func (_e *CoreV1_Expecter) Namespaces() *CoreV1_Namespaces_Call
Namespaces is a helper method to define mock.On call
func (*CoreV1_Expecter) Nodes ¶
func (_e *CoreV1_Expecter) Nodes() *CoreV1_Nodes_Call
Nodes is a helper method to define mock.On call
func (*CoreV1_Expecter) PersistentVolumeClaims ¶
func (_e *CoreV1_Expecter) PersistentVolumeClaims(namespace interface{}) *CoreV1_PersistentVolumeClaims_Call
PersistentVolumeClaims is a helper method to define mock.On call
- namespace string
func (*CoreV1_Expecter) PersistentVolumes ¶
func (_e *CoreV1_Expecter) PersistentVolumes() *CoreV1_PersistentVolumes_Call
PersistentVolumes is a helper method to define mock.On call
func (*CoreV1_Expecter) PodTemplates ¶
func (_e *CoreV1_Expecter) PodTemplates(namespace interface{}) *CoreV1_PodTemplates_Call
PodTemplates is a helper method to define mock.On call
- namespace string
func (*CoreV1_Expecter) Pods ¶
func (_e *CoreV1_Expecter) Pods(namespace interface{}) *CoreV1_Pods_Call
Pods is a helper method to define mock.On call
- namespace string
func (*CoreV1_Expecter) RESTClient ¶
func (_e *CoreV1_Expecter) RESTClient() *CoreV1_RESTClient_Call
RESTClient is a helper method to define mock.On call
func (*CoreV1_Expecter) ReplicationControllers ¶
func (_e *CoreV1_Expecter) ReplicationControllers(namespace interface{}) *CoreV1_ReplicationControllers_Call
ReplicationControllers is a helper method to define mock.On call
- namespace string
func (*CoreV1_Expecter) ResourceQuotas ¶
func (_e *CoreV1_Expecter) ResourceQuotas(namespace interface{}) *CoreV1_ResourceQuotas_Call
ResourceQuotas is a helper method to define mock.On call
- namespace string
func (*CoreV1_Expecter) Secrets ¶
func (_e *CoreV1_Expecter) Secrets(namespace interface{}) *CoreV1_Secrets_Call
Secrets is a helper method to define mock.On call
- namespace string
func (*CoreV1_Expecter) ServiceAccounts ¶
func (_e *CoreV1_Expecter) ServiceAccounts(namespace interface{}) *CoreV1_ServiceAccounts_Call
ServiceAccounts is a helper method to define mock.On call
- namespace string
func (*CoreV1_Expecter) Services ¶
func (_e *CoreV1_Expecter) Services(namespace interface{}) *CoreV1_Services_Call
Services is a helper method to define mock.On call
- namespace string
type CoreV1_LimitRanges_Call ¶
CoreV1_LimitRanges_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LimitRanges'
func (*CoreV1_LimitRanges_Call) Return ¶
func (_c *CoreV1_LimitRanges_Call) Return(_a0 v1.LimitRangeInterface) *CoreV1_LimitRanges_Call
func (*CoreV1_LimitRanges_Call) Run ¶
func (_c *CoreV1_LimitRanges_Call) Run(run func(namespace string)) *CoreV1_LimitRanges_Call
func (*CoreV1_LimitRanges_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_LimitRanges_Call) RunAndReturn(run func(string) v1.LimitRangeInterface) *CoreV1_LimitRanges_Call
type CoreV1_Namespaces_Call ¶
CoreV1_Namespaces_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Namespaces'
func (*CoreV1_Namespaces_Call) Return ¶
func (_c *CoreV1_Namespaces_Call) Return(_a0 v1.NamespaceInterface) *CoreV1_Namespaces_Call
func (*CoreV1_Namespaces_Call) Run ¶
func (_c *CoreV1_Namespaces_Call) Run(run func()) *CoreV1_Namespaces_Call
func (*CoreV1_Namespaces_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_Namespaces_Call) RunAndReturn(run func() v1.NamespaceInterface) *CoreV1_Namespaces_Call
type CoreV1_Nodes_Call ¶
CoreV1_Nodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Nodes'
func (*CoreV1_Nodes_Call) Return ¶
func (_c *CoreV1_Nodes_Call) Return(_a0 v1.NodeInterface) *CoreV1_Nodes_Call
func (*CoreV1_Nodes_Call) Run ¶
func (_c *CoreV1_Nodes_Call) Run(run func()) *CoreV1_Nodes_Call
func (*CoreV1_Nodes_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_Nodes_Call) RunAndReturn(run func() v1.NodeInterface) *CoreV1_Nodes_Call
type CoreV1_PersistentVolumeClaims_Call ¶
CoreV1_PersistentVolumeClaims_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PersistentVolumeClaims'
func (*CoreV1_PersistentVolumeClaims_Call) Return ¶
func (_c *CoreV1_PersistentVolumeClaims_Call) Return(_a0 v1.PersistentVolumeClaimInterface) *CoreV1_PersistentVolumeClaims_Call
func (*CoreV1_PersistentVolumeClaims_Call) Run ¶
func (_c *CoreV1_PersistentVolumeClaims_Call) Run(run func(namespace string)) *CoreV1_PersistentVolumeClaims_Call
func (*CoreV1_PersistentVolumeClaims_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_PersistentVolumeClaims_Call) RunAndReturn(run func(string) v1.PersistentVolumeClaimInterface) *CoreV1_PersistentVolumeClaims_Call
type CoreV1_PersistentVolumes_Call ¶
CoreV1_PersistentVolumes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PersistentVolumes'
func (*CoreV1_PersistentVolumes_Call) Return ¶
func (_c *CoreV1_PersistentVolumes_Call) Return(_a0 v1.PersistentVolumeInterface) *CoreV1_PersistentVolumes_Call
func (*CoreV1_PersistentVolumes_Call) Run ¶
func (_c *CoreV1_PersistentVolumes_Call) Run(run func()) *CoreV1_PersistentVolumes_Call
func (*CoreV1_PersistentVolumes_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_PersistentVolumes_Call) RunAndReturn(run func() v1.PersistentVolumeInterface) *CoreV1_PersistentVolumes_Call
type CoreV1_PodTemplates_Call ¶
CoreV1_PodTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PodTemplates'
func (*CoreV1_PodTemplates_Call) Return ¶
func (_c *CoreV1_PodTemplates_Call) Return(_a0 v1.PodTemplateInterface) *CoreV1_PodTemplates_Call
func (*CoreV1_PodTemplates_Call) Run ¶
func (_c *CoreV1_PodTemplates_Call) Run(run func(namespace string)) *CoreV1_PodTemplates_Call
func (*CoreV1_PodTemplates_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_PodTemplates_Call) RunAndReturn(run func(string) v1.PodTemplateInterface) *CoreV1_PodTemplates_Call
type CoreV1_Pods_Call ¶
CoreV1_Pods_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Pods'
func (*CoreV1_Pods_Call) Return ¶
func (_c *CoreV1_Pods_Call) Return(_a0 v1.PodInterface) *CoreV1_Pods_Call
func (*CoreV1_Pods_Call) Run ¶
func (_c *CoreV1_Pods_Call) Run(run func(namespace string)) *CoreV1_Pods_Call
func (*CoreV1_Pods_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_Pods_Call) RunAndReturn(run func(string) v1.PodInterface) *CoreV1_Pods_Call
type CoreV1_RESTClient_Call ¶
CoreV1_RESTClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RESTClient'
func (*CoreV1_RESTClient_Call) Return ¶
func (_c *CoreV1_RESTClient_Call) Return(_a0 rest.Interface) *CoreV1_RESTClient_Call
func (*CoreV1_RESTClient_Call) Run ¶
func (_c *CoreV1_RESTClient_Call) Run(run func()) *CoreV1_RESTClient_Call
func (*CoreV1_RESTClient_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_RESTClient_Call) RunAndReturn(run func() rest.Interface) *CoreV1_RESTClient_Call
type CoreV1_ReplicationControllers_Call ¶
CoreV1_ReplicationControllers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReplicationControllers'
func (*CoreV1_ReplicationControllers_Call) Return ¶
func (_c *CoreV1_ReplicationControllers_Call) Return(_a0 v1.ReplicationControllerInterface) *CoreV1_ReplicationControllers_Call
func (*CoreV1_ReplicationControllers_Call) Run ¶
func (_c *CoreV1_ReplicationControllers_Call) Run(run func(namespace string)) *CoreV1_ReplicationControllers_Call
func (*CoreV1_ReplicationControllers_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_ReplicationControllers_Call) RunAndReturn(run func(string) v1.ReplicationControllerInterface) *CoreV1_ReplicationControllers_Call
type CoreV1_ResourceQuotas_Call ¶
CoreV1_ResourceQuotas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResourceQuotas'
func (*CoreV1_ResourceQuotas_Call) Return ¶
func (_c *CoreV1_ResourceQuotas_Call) Return(_a0 v1.ResourceQuotaInterface) *CoreV1_ResourceQuotas_Call
func (*CoreV1_ResourceQuotas_Call) Run ¶
func (_c *CoreV1_ResourceQuotas_Call) Run(run func(namespace string)) *CoreV1_ResourceQuotas_Call
func (*CoreV1_ResourceQuotas_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_ResourceQuotas_Call) RunAndReturn(run func(string) v1.ResourceQuotaInterface) *CoreV1_ResourceQuotas_Call
type CoreV1_Secrets_Call ¶
CoreV1_Secrets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Secrets'
func (*CoreV1_Secrets_Call) Return ¶
func (_c *CoreV1_Secrets_Call) Return(_a0 v1.SecretInterface) *CoreV1_Secrets_Call
func (*CoreV1_Secrets_Call) Run ¶
func (_c *CoreV1_Secrets_Call) Run(run func(namespace string)) *CoreV1_Secrets_Call
func (*CoreV1_Secrets_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_Secrets_Call) RunAndReturn(run func(string) v1.SecretInterface) *CoreV1_Secrets_Call
type CoreV1_ServiceAccounts_Call ¶
CoreV1_ServiceAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceAccounts'
func (*CoreV1_ServiceAccounts_Call) Return ¶
func (_c *CoreV1_ServiceAccounts_Call) Return(_a0 v1.ServiceAccountInterface) *CoreV1_ServiceAccounts_Call
func (*CoreV1_ServiceAccounts_Call) Run ¶
func (_c *CoreV1_ServiceAccounts_Call) Run(run func(namespace string)) *CoreV1_ServiceAccounts_Call
func (*CoreV1_ServiceAccounts_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_ServiceAccounts_Call) RunAndReturn(run func(string) v1.ServiceAccountInterface) *CoreV1_ServiceAccounts_Call
type CoreV1_Services_Call ¶
CoreV1_Services_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Services'
func (*CoreV1_Services_Call) Return ¶
func (_c *CoreV1_Services_Call) Return(_a0 v1.ServiceInterface) *CoreV1_Services_Call
func (*CoreV1_Services_Call) Run ¶
func (_c *CoreV1_Services_Call) Run(run func(namespace string)) *CoreV1_Services_Call
func (*CoreV1_Services_Call) RunAndReturn ¶ added in v1.0.73
func (_c *CoreV1_Services_Call) RunAndReturn(run func(string) v1.ServiceInterface) *CoreV1_Services_Call
type Deployments ¶
Deployments is an autogenerated mock type for the Deployments type
func NewDeployments ¶
func NewDeployments(t mockConstructorTestingTNewDeployments) *Deployments
NewDeployments creates a new instance of Deployments. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Deployments) Apply ¶
func (_m *Deployments) Apply(ctx context.Context, deployment *v1.DeploymentApplyConfiguration, opts metav1.ApplyOptions) (*appsv1.Deployment, error)
Apply provides a mock function with given fields: ctx, deployment, opts
func (*Deployments) ApplyScale ¶
func (_m *Deployments) ApplyScale(ctx context.Context, deploymentName string, scale *autoscalingv1.ScaleApplyConfiguration, opts metav1.ApplyOptions) (*apiautoscalingv1.Scale, error)
ApplyScale provides a mock function with given fields: ctx, deploymentName, scale, opts
func (*Deployments) ApplyStatus ¶
func (_m *Deployments) ApplyStatus(ctx context.Context, deployment *v1.DeploymentApplyConfiguration, opts metav1.ApplyOptions) (*appsv1.Deployment, error)
ApplyStatus provides a mock function with given fields: ctx, deployment, opts
func (*Deployments) Create ¶
func (_m *Deployments) Create(ctx context.Context, deployment *appsv1.Deployment, opts metav1.CreateOptions) (*appsv1.Deployment, error)
Create provides a mock function with given fields: ctx, deployment, opts
func (*Deployments) Delete ¶
func (_m *Deployments) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*Deployments) DeleteCollection ¶
func (_m *Deployments) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*Deployments) EXPECT ¶
func (_m *Deployments) EXPECT() *Deployments_Expecter
func (*Deployments) Get ¶
func (_m *Deployments) Get(ctx context.Context, name string, opts metav1.GetOptions) (*appsv1.Deployment, error)
Get provides a mock function with given fields: ctx, name, opts
func (*Deployments) GetScale ¶
func (_m *Deployments) GetScale(ctx context.Context, deploymentName string, options metav1.GetOptions) (*apiautoscalingv1.Scale, error)
GetScale provides a mock function with given fields: ctx, deploymentName, options
func (*Deployments) List ¶
func (_m *Deployments) List(ctx context.Context, opts metav1.ListOptions) (*appsv1.DeploymentList, error)
List provides a mock function with given fields: ctx, opts
func (*Deployments) Patch ¶
func (_m *Deployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*appsv1.Deployment, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*Deployments) Update ¶
func (_m *Deployments) Update(ctx context.Context, deployment *appsv1.Deployment, opts metav1.UpdateOptions) (*appsv1.Deployment, error)
Update provides a mock function with given fields: ctx, deployment, opts
func (*Deployments) UpdateScale ¶
func (_m *Deployments) UpdateScale(ctx context.Context, deploymentName string, scale *apiautoscalingv1.Scale, opts metav1.UpdateOptions) (*apiautoscalingv1.Scale, error)
UpdateScale provides a mock function with given fields: ctx, deploymentName, scale, opts
func (*Deployments) UpdateStatus ¶
func (_m *Deployments) UpdateStatus(ctx context.Context, deployment *appsv1.Deployment, opts metav1.UpdateOptions) (*appsv1.Deployment, error)
UpdateStatus provides a mock function with given fields: ctx, deployment, opts
func (*Deployments) Watch ¶
func (_m *Deployments) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type Deployments_ApplyScale_Call ¶
Deployments_ApplyScale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyScale'
func (*Deployments_ApplyScale_Call) Return ¶
func (_c *Deployments_ApplyScale_Call) Return(_a0 *apiautoscalingv1.Scale, _a1 error) *Deployments_ApplyScale_Call
func (*Deployments_ApplyScale_Call) Run ¶
func (_c *Deployments_ApplyScale_Call) Run(run func(ctx context.Context, deploymentName string, scale *autoscalingv1.ScaleApplyConfiguration, opts metav1.ApplyOptions)) *Deployments_ApplyScale_Call
func (*Deployments_ApplyScale_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Deployments_ApplyScale_Call) RunAndReturn(run func(context.Context, string, *autoscalingv1.ScaleApplyConfiguration, metav1.ApplyOptions) (*apiautoscalingv1.Scale, error)) *Deployments_ApplyScale_Call
type Deployments_ApplyStatus_Call ¶
Deployments_ApplyStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyStatus'
func (*Deployments_ApplyStatus_Call) Return ¶
func (_c *Deployments_ApplyStatus_Call) Return(result *appsv1.Deployment, err error) *Deployments_ApplyStatus_Call
func (*Deployments_ApplyStatus_Call) Run ¶
func (_c *Deployments_ApplyStatus_Call) Run(run func(ctx context.Context, deployment *v1.DeploymentApplyConfiguration, opts metav1.ApplyOptions)) *Deployments_ApplyStatus_Call
func (*Deployments_ApplyStatus_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Deployments_ApplyStatus_Call) RunAndReturn(run func(context.Context, *v1.DeploymentApplyConfiguration, metav1.ApplyOptions) (*appsv1.Deployment, error)) *Deployments_ApplyStatus_Call
type Deployments_Apply_Call ¶
Deployments_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'
func (*Deployments_Apply_Call) Return ¶
func (_c *Deployments_Apply_Call) Return(result *appsv1.Deployment, err error) *Deployments_Apply_Call
func (*Deployments_Apply_Call) Run ¶
func (_c *Deployments_Apply_Call) Run(run func(ctx context.Context, deployment *v1.DeploymentApplyConfiguration, opts metav1.ApplyOptions)) *Deployments_Apply_Call
func (*Deployments_Apply_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Deployments_Apply_Call) RunAndReturn(run func(context.Context, *v1.DeploymentApplyConfiguration, metav1.ApplyOptions) (*appsv1.Deployment, error)) *Deployments_Apply_Call
type Deployments_Create_Call ¶
Deployments_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Deployments_Create_Call) Return ¶
func (_c *Deployments_Create_Call) Return(_a0 *appsv1.Deployment, _a1 error) *Deployments_Create_Call
func (*Deployments_Create_Call) Run ¶
func (_c *Deployments_Create_Call) Run(run func(ctx context.Context, deployment *appsv1.Deployment, opts metav1.CreateOptions)) *Deployments_Create_Call
func (*Deployments_Create_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Deployments_Create_Call) RunAndReturn(run func(context.Context, *appsv1.Deployment, metav1.CreateOptions) (*appsv1.Deployment, error)) *Deployments_Create_Call
type Deployments_DeleteCollection_Call ¶
Deployments_DeleteCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCollection'
func (*Deployments_DeleteCollection_Call) Return ¶
func (_c *Deployments_DeleteCollection_Call) Return(_a0 error) *Deployments_DeleteCollection_Call
func (*Deployments_DeleteCollection_Call) Run ¶
func (_c *Deployments_DeleteCollection_Call) Run(run func(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions)) *Deployments_DeleteCollection_Call
func (*Deployments_DeleteCollection_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Deployments_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *Deployments_DeleteCollection_Call
type Deployments_Delete_Call ¶
Deployments_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Deployments_Delete_Call) Return ¶
func (_c *Deployments_Delete_Call) Return(_a0 error) *Deployments_Delete_Call
func (*Deployments_Delete_Call) Run ¶
func (_c *Deployments_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *Deployments_Delete_Call
func (*Deployments_Delete_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Deployments_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *Deployments_Delete_Call
type Deployments_Expecter ¶
type Deployments_Expecter struct {
// contains filtered or unexported fields
}
func (*Deployments_Expecter) Apply ¶
func (_e *Deployments_Expecter) Apply(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_Apply_Call
Apply is a helper method to define mock.On call
- ctx context.Context
- deployment *v1.DeploymentApplyConfiguration
- opts metav1.ApplyOptions
func (*Deployments_Expecter) ApplyScale ¶
func (_e *Deployments_Expecter) ApplyScale(ctx interface{}, deploymentName interface{}, scale interface{}, opts interface{}) *Deployments_ApplyScale_Call
ApplyScale is a helper method to define mock.On call
- ctx context.Context
- deploymentName string
- scale *autoscalingv1.ScaleApplyConfiguration
- opts metav1.ApplyOptions
func (*Deployments_Expecter) ApplyStatus ¶
func (_e *Deployments_Expecter) ApplyStatus(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_ApplyStatus_Call
ApplyStatus is a helper method to define mock.On call
- ctx context.Context
- deployment *v1.DeploymentApplyConfiguration
- opts metav1.ApplyOptions
func (*Deployments_Expecter) Create ¶
func (_e *Deployments_Expecter) Create(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- deployment *appsv1.Deployment
- opts metav1.CreateOptions
func (*Deployments_Expecter) Delete ¶
func (_e *Deployments_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *Deployments_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.DeleteOptions
func (*Deployments_Expecter) DeleteCollection ¶
func (_e *Deployments_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *Deployments_DeleteCollection_Call
DeleteCollection is a helper method to define mock.On call
- ctx context.Context
- opts metav1.DeleteOptions
- listOpts metav1.ListOptions
func (*Deployments_Expecter) Get ¶
func (_e *Deployments_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *Deployments_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.GetOptions
func (*Deployments_Expecter) GetScale ¶
func (_e *Deployments_Expecter) GetScale(ctx interface{}, deploymentName interface{}, options interface{}) *Deployments_GetScale_Call
GetScale is a helper method to define mock.On call
- ctx context.Context
- deploymentName string
- options metav1.GetOptions
func (*Deployments_Expecter) List ¶
func (_e *Deployments_Expecter) List(ctx interface{}, opts interface{}) *Deployments_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
func (*Deployments_Expecter) Patch ¶
func (_e *Deployments_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *Deployments_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- name string
- pt types.PatchType
- data []byte
- opts metav1.PatchOptions
- subresources ...string
func (*Deployments_Expecter) Update ¶
func (_e *Deployments_Expecter) Update(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- deployment *appsv1.Deployment
- opts metav1.UpdateOptions
func (*Deployments_Expecter) UpdateScale ¶
func (_e *Deployments_Expecter) UpdateScale(ctx interface{}, deploymentName interface{}, scale interface{}, opts interface{}) *Deployments_UpdateScale_Call
UpdateScale is a helper method to define mock.On call
- ctx context.Context
- deploymentName string
- scale *apiautoscalingv1.Scale
- opts metav1.UpdateOptions
func (*Deployments_Expecter) UpdateStatus ¶
func (_e *Deployments_Expecter) UpdateStatus(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_UpdateStatus_Call
UpdateStatus is a helper method to define mock.On call
- ctx context.Context
- deployment *appsv1.Deployment
- opts metav1.UpdateOptions
func (*Deployments_Expecter) Watch ¶
func (_e *Deployments_Expecter) Watch(ctx interface{}, opts interface{}) *Deployments_Watch_Call
Watch is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
type Deployments_GetScale_Call ¶
Deployments_GetScale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScale'
func (*Deployments_GetScale_Call) Return ¶
func (_c *Deployments_GetScale_Call) Return(_a0 *apiautoscalingv1.Scale, _a1 error) *Deployments_GetScale_Call
func (*Deployments_GetScale_Call) Run ¶
func (_c *Deployments_GetScale_Call) Run(run func(ctx context.Context, deploymentName string, options metav1.GetOptions)) *Deployments_GetScale_Call
func (*Deployments_GetScale_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Deployments_GetScale_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*apiautoscalingv1.Scale, error)) *Deployments_GetScale_Call
type Deployments_Get_Call ¶
Deployments_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Deployments_Get_Call) Return ¶
func (_c *Deployments_Get_Call) Return(_a0 *appsv1.Deployment, _a1 error) *Deployments_Get_Call
func (*Deployments_Get_Call) Run ¶
func (_c *Deployments_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *Deployments_Get_Call
func (*Deployments_Get_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Deployments_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*appsv1.Deployment, error)) *Deployments_Get_Call
type Deployments_List_Call ¶
Deployments_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*Deployments_List_Call) Return ¶
func (_c *Deployments_List_Call) Return(_a0 *appsv1.DeploymentList, _a1 error) *Deployments_List_Call
func (*Deployments_List_Call) Run ¶
func (_c *Deployments_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Deployments_List_Call
func (*Deployments_List_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Deployments_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*appsv1.DeploymentList, error)) *Deployments_List_Call
type Deployments_Patch_Call ¶
Deployments_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*Deployments_Patch_Call) Return ¶
func (_c *Deployments_Patch_Call) Return(result *appsv1.Deployment, err error) *Deployments_Patch_Call
func (*Deployments_Patch_Call) Run ¶
func (_c *Deployments_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *Deployments_Patch_Call
func (*Deployments_Patch_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Deployments_Patch_Call) RunAndReturn(run func(context.Context, string, types.PatchType, []byte, metav1.PatchOptions, ...string) (*appsv1.Deployment, error)) *Deployments_Patch_Call
type Deployments_UpdateScale_Call ¶
Deployments_UpdateScale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateScale'
func (*Deployments_UpdateScale_Call) Return ¶
func (_c *Deployments_UpdateScale_Call) Return(_a0 *apiautoscalingv1.Scale, _a1 error) *Deployments_UpdateScale_Call
func (*Deployments_UpdateScale_Call) Run ¶
func (_c *Deployments_UpdateScale_Call) Run(run func(ctx context.Context, deploymentName string, scale *apiautoscalingv1.Scale, opts metav1.UpdateOptions)) *Deployments_UpdateScale_Call
func (*Deployments_UpdateScale_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Deployments_UpdateScale_Call) RunAndReturn(run func(context.Context, string, *apiautoscalingv1.Scale, metav1.UpdateOptions) (*apiautoscalingv1.Scale, error)) *Deployments_UpdateScale_Call
type Deployments_UpdateStatus_Call ¶
Deployments_UpdateStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatus'
func (*Deployments_UpdateStatus_Call) Return ¶
func (_c *Deployments_UpdateStatus_Call) Return(_a0 *appsv1.Deployment, _a1 error) *Deployments_UpdateStatus_Call
func (*Deployments_UpdateStatus_Call) Run ¶
func (_c *Deployments_UpdateStatus_Call) Run(run func(ctx context.Context, deployment *appsv1.Deployment, opts metav1.UpdateOptions)) *Deployments_UpdateStatus_Call
func (*Deployments_UpdateStatus_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Deployments_UpdateStatus_Call) RunAndReturn(run func(context.Context, *appsv1.Deployment, metav1.UpdateOptions) (*appsv1.Deployment, error)) *Deployments_UpdateStatus_Call
type Deployments_Update_Call ¶
Deployments_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*Deployments_Update_Call) Return ¶
func (_c *Deployments_Update_Call) Return(_a0 *appsv1.Deployment, _a1 error) *Deployments_Update_Call
func (*Deployments_Update_Call) Run ¶
func (_c *Deployments_Update_Call) Run(run func(ctx context.Context, deployment *appsv1.Deployment, opts metav1.UpdateOptions)) *Deployments_Update_Call
func (*Deployments_Update_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Deployments_Update_Call) RunAndReturn(run func(context.Context, *appsv1.Deployment, metav1.UpdateOptions) (*appsv1.Deployment, error)) *Deployments_Update_Call
type Deployments_Watch_Call ¶
Deployments_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*Deployments_Watch_Call) Return ¶
func (_c *Deployments_Watch_Call) Return(_a0 watch.Interface, _a1 error) *Deployments_Watch_Call
func (*Deployments_Watch_Call) Run ¶
func (_c *Deployments_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Deployments_Watch_Call
func (*Deployments_Watch_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Deployments_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *Deployments_Watch_Call
type KubeClient ¶
KubeClient is an autogenerated mock type for the KubeClient type
func NewKubeClient ¶
func NewKubeClient(t mockConstructorTestingTNewKubeClient) *KubeClient
NewKubeClient creates a new instance of KubeClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*KubeClient) AdmissionregistrationV1 ¶
func (_m *KubeClient) AdmissionregistrationV1() v1.AdmissionregistrationV1Interface
AdmissionregistrationV1 provides a mock function with given fields:
func (*KubeClient) AdmissionregistrationV1beta1 ¶
func (_m *KubeClient) AdmissionregistrationV1beta1() v1beta1.AdmissionregistrationV1beta1Interface
AdmissionregistrationV1beta1 provides a mock function with given fields:
func (*KubeClient) AppsV1 ¶
func (_m *KubeClient) AppsV1() appsv1.AppsV1Interface
AppsV1 provides a mock function with given fields:
func (*KubeClient) AppsV1beta1 ¶
func (_m *KubeClient) AppsV1beta1() appsv1beta1.AppsV1beta1Interface
AppsV1beta1 provides a mock function with given fields:
func (*KubeClient) AppsV1beta2 ¶
func (_m *KubeClient) AppsV1beta2() v1beta2.AppsV1beta2Interface
AppsV1beta2 provides a mock function with given fields:
func (*KubeClient) AuthenticationV1 ¶
func (_m *KubeClient) AuthenticationV1() authenticationv1.AuthenticationV1Interface
AuthenticationV1 provides a mock function with given fields:
func (*KubeClient) AuthenticationV1beta1 ¶
func (_m *KubeClient) AuthenticationV1beta1() authenticationv1beta1.AuthenticationV1beta1Interface
AuthenticationV1beta1 provides a mock function with given fields:
func (*KubeClient) AuthorizationV1 ¶
func (_m *KubeClient) AuthorizationV1() authorizationv1.AuthorizationV1Interface
AuthorizationV1 provides a mock function with given fields:
func (*KubeClient) AuthorizationV1beta1 ¶
func (_m *KubeClient) AuthorizationV1beta1() authorizationv1beta1.AuthorizationV1beta1Interface
AuthorizationV1beta1 provides a mock function with given fields:
func (*KubeClient) AutoscalingV1 ¶
func (_m *KubeClient) AutoscalingV1() autoscalingv1.AutoscalingV1Interface
AutoscalingV1 provides a mock function with given fields:
func (*KubeClient) AutoscalingV2 ¶
func (_m *KubeClient) AutoscalingV2() v2.AutoscalingV2Interface
AutoscalingV2 provides a mock function with given fields:
func (*KubeClient) AutoscalingV2beta1 ¶
func (_m *KubeClient) AutoscalingV2beta1() v2beta1.AutoscalingV2beta1Interface
AutoscalingV2beta1 provides a mock function with given fields:
func (*KubeClient) AutoscalingV2beta2 ¶
func (_m *KubeClient) AutoscalingV2beta2() v2beta2.AutoscalingV2beta2Interface
AutoscalingV2beta2 provides a mock function with given fields:
func (*KubeClient) BatchV1 ¶
func (_m *KubeClient) BatchV1() batchv1.BatchV1Interface
BatchV1 provides a mock function with given fields:
func (*KubeClient) BatchV1beta1 ¶
func (_m *KubeClient) BatchV1beta1() batchv1beta1.BatchV1beta1Interface
BatchV1beta1 provides a mock function with given fields:
func (*KubeClient) CertificatesV1 ¶
func (_m *KubeClient) CertificatesV1() certificatesv1.CertificatesV1Interface
CertificatesV1 provides a mock function with given fields:
func (*KubeClient) CertificatesV1beta1 ¶
func (_m *KubeClient) CertificatesV1beta1() certificatesv1beta1.CertificatesV1beta1Interface
CertificatesV1beta1 provides a mock function with given fields:
func (*KubeClient) CoordinationV1 ¶
func (_m *KubeClient) CoordinationV1() coordinationv1.CoordinationV1Interface
CoordinationV1 provides a mock function with given fields:
func (*KubeClient) CoordinationV1beta1 ¶
func (_m *KubeClient) CoordinationV1beta1() coordinationv1beta1.CoordinationV1beta1Interface
CoordinationV1beta1 provides a mock function with given fields:
func (*KubeClient) CoreV1 ¶
func (_m *KubeClient) CoreV1() corev1.CoreV1Interface
CoreV1 provides a mock function with given fields:
func (*KubeClient) Discovery ¶
func (_m *KubeClient) Discovery() discovery.DiscoveryInterface
Discovery provides a mock function with given fields:
func (*KubeClient) DiscoveryV1 ¶
func (_m *KubeClient) DiscoveryV1() discoveryv1.DiscoveryV1Interface
DiscoveryV1 provides a mock function with given fields:
func (*KubeClient) DiscoveryV1beta1 ¶
func (_m *KubeClient) DiscoveryV1beta1() discoveryv1beta1.DiscoveryV1beta1Interface
DiscoveryV1beta1 provides a mock function with given fields:
func (*KubeClient) EXPECT ¶
func (_m *KubeClient) EXPECT() *KubeClient_Expecter
func (*KubeClient) EventsV1 ¶
func (_m *KubeClient) EventsV1() eventsv1.EventsV1Interface
EventsV1 provides a mock function with given fields:
func (*KubeClient) EventsV1beta1 ¶
func (_m *KubeClient) EventsV1beta1() eventsv1beta1.EventsV1beta1Interface
EventsV1beta1 provides a mock function with given fields:
func (*KubeClient) ExtensionsV1beta1 ¶
func (_m *KubeClient) ExtensionsV1beta1() extensionsv1beta1.ExtensionsV1beta1Interface
ExtensionsV1beta1 provides a mock function with given fields:
func (*KubeClient) FlowcontrolV1alpha1 ¶
func (_m *KubeClient) FlowcontrolV1alpha1() v1alpha1.FlowcontrolV1alpha1Interface
FlowcontrolV1alpha1 provides a mock function with given fields:
func (*KubeClient) FlowcontrolV1beta1 ¶
func (_m *KubeClient) FlowcontrolV1beta1() flowcontrolv1beta1.FlowcontrolV1beta1Interface
FlowcontrolV1beta1 provides a mock function with given fields:
func (*KubeClient) FlowcontrolV1beta2 ¶
func (_m *KubeClient) FlowcontrolV1beta2() flowcontrolv1beta2.FlowcontrolV1beta2Interface
FlowcontrolV1beta2 provides a mock function with given fields:
func (*KubeClient) InternalV1alpha1 ¶
func (_m *KubeClient) InternalV1alpha1() apiserverinternalv1alpha1.InternalV1alpha1Interface
InternalV1alpha1 provides a mock function with given fields:
func (*KubeClient) NetworkingV1 ¶
func (_m *KubeClient) NetworkingV1() networkingv1.NetworkingV1Interface
NetworkingV1 provides a mock function with given fields:
func (*KubeClient) NetworkingV1beta1 ¶
func (_m *KubeClient) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface
NetworkingV1beta1 provides a mock function with given fields:
func (*KubeClient) NodeV1 ¶
func (_m *KubeClient) NodeV1() nodev1.NodeV1Interface
NodeV1 provides a mock function with given fields:
func (*KubeClient) NodeV1alpha1 ¶
func (_m *KubeClient) NodeV1alpha1() nodev1alpha1.NodeV1alpha1Interface
NodeV1alpha1 provides a mock function with given fields:
func (*KubeClient) NodeV1beta1 ¶
func (_m *KubeClient) NodeV1beta1() nodev1beta1.NodeV1beta1Interface
NodeV1beta1 provides a mock function with given fields:
func (*KubeClient) PolicyV1 ¶
func (_m *KubeClient) PolicyV1() policyv1.PolicyV1Interface
PolicyV1 provides a mock function with given fields:
func (*KubeClient) PolicyV1beta1 ¶
func (_m *KubeClient) PolicyV1beta1() policyv1beta1.PolicyV1beta1Interface
PolicyV1beta1 provides a mock function with given fields:
func (*KubeClient) RbacV1 ¶
func (_m *KubeClient) RbacV1() rbacv1.RbacV1Interface
RbacV1 provides a mock function with given fields:
func (*KubeClient) RbacV1alpha1 ¶
func (_m *KubeClient) RbacV1alpha1() rbacv1alpha1.RbacV1alpha1Interface
RbacV1alpha1 provides a mock function with given fields:
func (*KubeClient) RbacV1beta1 ¶
func (_m *KubeClient) RbacV1beta1() rbacv1beta1.RbacV1beta1Interface
RbacV1beta1 provides a mock function with given fields:
func (*KubeClient) SchedulingV1 ¶
func (_m *KubeClient) SchedulingV1() schedulingv1.SchedulingV1Interface
SchedulingV1 provides a mock function with given fields:
func (*KubeClient) SchedulingV1alpha1 ¶
func (_m *KubeClient) SchedulingV1alpha1() schedulingv1alpha1.SchedulingV1alpha1Interface
SchedulingV1alpha1 provides a mock function with given fields:
func (*KubeClient) SchedulingV1beta1 ¶
func (_m *KubeClient) SchedulingV1beta1() schedulingv1beta1.SchedulingV1beta1Interface
SchedulingV1beta1 provides a mock function with given fields:
func (*KubeClient) StorageV1 ¶
func (_m *KubeClient) StorageV1() storagev1.StorageV1Interface
StorageV1 provides a mock function with given fields:
func (*KubeClient) StorageV1alpha1 ¶
func (_m *KubeClient) StorageV1alpha1() storagev1alpha1.StorageV1alpha1Interface
StorageV1alpha1 provides a mock function with given fields:
func (*KubeClient) StorageV1beta1 ¶
func (_m *KubeClient) StorageV1beta1() storagev1beta1.StorageV1beta1Interface
StorageV1beta1 provides a mock function with given fields:
type KubeClient_AdmissionregistrationV1_Call ¶
KubeClient_AdmissionregistrationV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdmissionregistrationV1'
func (*KubeClient_AdmissionregistrationV1_Call) Run ¶
func (_c *KubeClient_AdmissionregistrationV1_Call) Run(run func()) *KubeClient_AdmissionregistrationV1_Call
func (*KubeClient_AdmissionregistrationV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_AdmissionregistrationV1_Call) RunAndReturn(run func() v1.AdmissionregistrationV1Interface) *KubeClient_AdmissionregistrationV1_Call
type KubeClient_AdmissionregistrationV1beta1_Call ¶
KubeClient_AdmissionregistrationV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdmissionregistrationV1beta1'
func (*KubeClient_AdmissionregistrationV1beta1_Call) Run ¶
func (_c *KubeClient_AdmissionregistrationV1beta1_Call) Run(run func()) *KubeClient_AdmissionregistrationV1beta1_Call
func (*KubeClient_AdmissionregistrationV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_AdmissionregistrationV1beta1_Call) RunAndReturn(run func() v1beta1.AdmissionregistrationV1beta1Interface) *KubeClient_AdmissionregistrationV1beta1_Call
type KubeClient_AppsV1_Call ¶
KubeClient_AppsV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AppsV1'
func (*KubeClient_AppsV1_Call) Return ¶
func (_c *KubeClient_AppsV1_Call) Return(_a0 appsv1.AppsV1Interface) *KubeClient_AppsV1_Call
func (*KubeClient_AppsV1_Call) Run ¶
func (_c *KubeClient_AppsV1_Call) Run(run func()) *KubeClient_AppsV1_Call
func (*KubeClient_AppsV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_AppsV1_Call) RunAndReturn(run func() appsv1.AppsV1Interface) *KubeClient_AppsV1_Call
type KubeClient_AppsV1beta1_Call ¶
KubeClient_AppsV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AppsV1beta1'
func (*KubeClient_AppsV1beta1_Call) Return ¶
func (_c *KubeClient_AppsV1beta1_Call) Return(_a0 appsv1beta1.AppsV1beta1Interface) *KubeClient_AppsV1beta1_Call
func (*KubeClient_AppsV1beta1_Call) Run ¶
func (_c *KubeClient_AppsV1beta1_Call) Run(run func()) *KubeClient_AppsV1beta1_Call
func (*KubeClient_AppsV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_AppsV1beta1_Call) RunAndReturn(run func() appsv1beta1.AppsV1beta1Interface) *KubeClient_AppsV1beta1_Call
type KubeClient_AppsV1beta2_Call ¶
KubeClient_AppsV1beta2_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AppsV1beta2'
func (*KubeClient_AppsV1beta2_Call) Return ¶
func (_c *KubeClient_AppsV1beta2_Call) Return(_a0 v1beta2.AppsV1beta2Interface) *KubeClient_AppsV1beta2_Call
func (*KubeClient_AppsV1beta2_Call) Run ¶
func (_c *KubeClient_AppsV1beta2_Call) Run(run func()) *KubeClient_AppsV1beta2_Call
func (*KubeClient_AppsV1beta2_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_AppsV1beta2_Call) RunAndReturn(run func() v1beta2.AppsV1beta2Interface) *KubeClient_AppsV1beta2_Call
type KubeClient_AuthenticationV1_Call ¶
KubeClient_AuthenticationV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthenticationV1'
func (*KubeClient_AuthenticationV1_Call) Return ¶
func (_c *KubeClient_AuthenticationV1_Call) Return(_a0 authenticationv1.AuthenticationV1Interface) *KubeClient_AuthenticationV1_Call
func (*KubeClient_AuthenticationV1_Call) Run ¶
func (_c *KubeClient_AuthenticationV1_Call) Run(run func()) *KubeClient_AuthenticationV1_Call
func (*KubeClient_AuthenticationV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_AuthenticationV1_Call) RunAndReturn(run func() authenticationv1.AuthenticationV1Interface) *KubeClient_AuthenticationV1_Call
type KubeClient_AuthenticationV1beta1_Call ¶
KubeClient_AuthenticationV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthenticationV1beta1'
func (*KubeClient_AuthenticationV1beta1_Call) Run ¶
func (_c *KubeClient_AuthenticationV1beta1_Call) Run(run func()) *KubeClient_AuthenticationV1beta1_Call
func (*KubeClient_AuthenticationV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_AuthenticationV1beta1_Call) RunAndReturn(run func() authenticationv1beta1.AuthenticationV1beta1Interface) *KubeClient_AuthenticationV1beta1_Call
type KubeClient_AuthorizationV1_Call ¶
KubeClient_AuthorizationV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthorizationV1'
func (*KubeClient_AuthorizationV1_Call) Return ¶
func (_c *KubeClient_AuthorizationV1_Call) Return(_a0 authorizationv1.AuthorizationV1Interface) *KubeClient_AuthorizationV1_Call
func (*KubeClient_AuthorizationV1_Call) Run ¶
func (_c *KubeClient_AuthorizationV1_Call) Run(run func()) *KubeClient_AuthorizationV1_Call
func (*KubeClient_AuthorizationV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_AuthorizationV1_Call) RunAndReturn(run func() authorizationv1.AuthorizationV1Interface) *KubeClient_AuthorizationV1_Call
type KubeClient_AuthorizationV1beta1_Call ¶
KubeClient_AuthorizationV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthorizationV1beta1'
func (*KubeClient_AuthorizationV1beta1_Call) Run ¶
func (_c *KubeClient_AuthorizationV1beta1_Call) Run(run func()) *KubeClient_AuthorizationV1beta1_Call
func (*KubeClient_AuthorizationV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_AuthorizationV1beta1_Call) RunAndReturn(run func() authorizationv1beta1.AuthorizationV1beta1Interface) *KubeClient_AuthorizationV1beta1_Call
type KubeClient_AutoscalingV1_Call ¶
KubeClient_AutoscalingV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalingV1'
func (*KubeClient_AutoscalingV1_Call) Return ¶
func (_c *KubeClient_AutoscalingV1_Call) Return(_a0 autoscalingv1.AutoscalingV1Interface) *KubeClient_AutoscalingV1_Call
func (*KubeClient_AutoscalingV1_Call) Run ¶
func (_c *KubeClient_AutoscalingV1_Call) Run(run func()) *KubeClient_AutoscalingV1_Call
func (*KubeClient_AutoscalingV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_AutoscalingV1_Call) RunAndReturn(run func() autoscalingv1.AutoscalingV1Interface) *KubeClient_AutoscalingV1_Call
type KubeClient_AutoscalingV2_Call ¶
KubeClient_AutoscalingV2_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalingV2'
func (*KubeClient_AutoscalingV2_Call) Return ¶
func (_c *KubeClient_AutoscalingV2_Call) Return(_a0 v2.AutoscalingV2Interface) *KubeClient_AutoscalingV2_Call
func (*KubeClient_AutoscalingV2_Call) Run ¶
func (_c *KubeClient_AutoscalingV2_Call) Run(run func()) *KubeClient_AutoscalingV2_Call
func (*KubeClient_AutoscalingV2_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_AutoscalingV2_Call) RunAndReturn(run func() v2.AutoscalingV2Interface) *KubeClient_AutoscalingV2_Call
type KubeClient_AutoscalingV2beta1_Call ¶
KubeClient_AutoscalingV2beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalingV2beta1'
func (*KubeClient_AutoscalingV2beta1_Call) Return ¶
func (_c *KubeClient_AutoscalingV2beta1_Call) Return(_a0 v2beta1.AutoscalingV2beta1Interface) *KubeClient_AutoscalingV2beta1_Call
func (*KubeClient_AutoscalingV2beta1_Call) Run ¶
func (_c *KubeClient_AutoscalingV2beta1_Call) Run(run func()) *KubeClient_AutoscalingV2beta1_Call
func (*KubeClient_AutoscalingV2beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_AutoscalingV2beta1_Call) RunAndReturn(run func() v2beta1.AutoscalingV2beta1Interface) *KubeClient_AutoscalingV2beta1_Call
type KubeClient_AutoscalingV2beta2_Call ¶
KubeClient_AutoscalingV2beta2_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalingV2beta2'
func (*KubeClient_AutoscalingV2beta2_Call) Return ¶
func (_c *KubeClient_AutoscalingV2beta2_Call) Return(_a0 v2beta2.AutoscalingV2beta2Interface) *KubeClient_AutoscalingV2beta2_Call
func (*KubeClient_AutoscalingV2beta2_Call) Run ¶
func (_c *KubeClient_AutoscalingV2beta2_Call) Run(run func()) *KubeClient_AutoscalingV2beta2_Call
func (*KubeClient_AutoscalingV2beta2_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_AutoscalingV2beta2_Call) RunAndReturn(run func() v2beta2.AutoscalingV2beta2Interface) *KubeClient_AutoscalingV2beta2_Call
type KubeClient_BatchV1_Call ¶
KubeClient_BatchV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchV1'
func (*KubeClient_BatchV1_Call) Return ¶
func (_c *KubeClient_BatchV1_Call) Return(_a0 batchv1.BatchV1Interface) *KubeClient_BatchV1_Call
func (*KubeClient_BatchV1_Call) Run ¶
func (_c *KubeClient_BatchV1_Call) Run(run func()) *KubeClient_BatchV1_Call
func (*KubeClient_BatchV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_BatchV1_Call) RunAndReturn(run func() batchv1.BatchV1Interface) *KubeClient_BatchV1_Call
type KubeClient_BatchV1beta1_Call ¶
KubeClient_BatchV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchV1beta1'
func (*KubeClient_BatchV1beta1_Call) Return ¶
func (_c *KubeClient_BatchV1beta1_Call) Return(_a0 batchv1beta1.BatchV1beta1Interface) *KubeClient_BatchV1beta1_Call
func (*KubeClient_BatchV1beta1_Call) Run ¶
func (_c *KubeClient_BatchV1beta1_Call) Run(run func()) *KubeClient_BatchV1beta1_Call
func (*KubeClient_BatchV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_BatchV1beta1_Call) RunAndReturn(run func() batchv1beta1.BatchV1beta1Interface) *KubeClient_BatchV1beta1_Call
type KubeClient_CertificatesV1_Call ¶
KubeClient_CertificatesV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CertificatesV1'
func (*KubeClient_CertificatesV1_Call) Return ¶
func (_c *KubeClient_CertificatesV1_Call) Return(_a0 certificatesv1.CertificatesV1Interface) *KubeClient_CertificatesV1_Call
func (*KubeClient_CertificatesV1_Call) Run ¶
func (_c *KubeClient_CertificatesV1_Call) Run(run func()) *KubeClient_CertificatesV1_Call
func (*KubeClient_CertificatesV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_CertificatesV1_Call) RunAndReturn(run func() certificatesv1.CertificatesV1Interface) *KubeClient_CertificatesV1_Call
type KubeClient_CertificatesV1beta1_Call ¶
KubeClient_CertificatesV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CertificatesV1beta1'
func (*KubeClient_CertificatesV1beta1_Call) Run ¶
func (_c *KubeClient_CertificatesV1beta1_Call) Run(run func()) *KubeClient_CertificatesV1beta1_Call
func (*KubeClient_CertificatesV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_CertificatesV1beta1_Call) RunAndReturn(run func() certificatesv1beta1.CertificatesV1beta1Interface) *KubeClient_CertificatesV1beta1_Call
type KubeClient_CoordinationV1_Call ¶
KubeClient_CoordinationV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CoordinationV1'
func (*KubeClient_CoordinationV1_Call) Return ¶
func (_c *KubeClient_CoordinationV1_Call) Return(_a0 coordinationv1.CoordinationV1Interface) *KubeClient_CoordinationV1_Call
func (*KubeClient_CoordinationV1_Call) Run ¶
func (_c *KubeClient_CoordinationV1_Call) Run(run func()) *KubeClient_CoordinationV1_Call
func (*KubeClient_CoordinationV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_CoordinationV1_Call) RunAndReturn(run func() coordinationv1.CoordinationV1Interface) *KubeClient_CoordinationV1_Call
type KubeClient_CoordinationV1beta1_Call ¶
KubeClient_CoordinationV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CoordinationV1beta1'
func (*KubeClient_CoordinationV1beta1_Call) Run ¶
func (_c *KubeClient_CoordinationV1beta1_Call) Run(run func()) *KubeClient_CoordinationV1beta1_Call
func (*KubeClient_CoordinationV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_CoordinationV1beta1_Call) RunAndReturn(run func() coordinationv1beta1.CoordinationV1beta1Interface) *KubeClient_CoordinationV1beta1_Call
type KubeClient_CoreV1_Call ¶
KubeClient_CoreV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CoreV1'
func (*KubeClient_CoreV1_Call) Return ¶
func (_c *KubeClient_CoreV1_Call) Return(_a0 corev1.CoreV1Interface) *KubeClient_CoreV1_Call
func (*KubeClient_CoreV1_Call) Run ¶
func (_c *KubeClient_CoreV1_Call) Run(run func()) *KubeClient_CoreV1_Call
func (*KubeClient_CoreV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_CoreV1_Call) RunAndReturn(run func() corev1.CoreV1Interface) *KubeClient_CoreV1_Call
type KubeClient_DiscoveryV1_Call ¶
KubeClient_DiscoveryV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DiscoveryV1'
func (*KubeClient_DiscoveryV1_Call) Return ¶
func (_c *KubeClient_DiscoveryV1_Call) Return(_a0 discoveryv1.DiscoveryV1Interface) *KubeClient_DiscoveryV1_Call
func (*KubeClient_DiscoveryV1_Call) Run ¶
func (_c *KubeClient_DiscoveryV1_Call) Run(run func()) *KubeClient_DiscoveryV1_Call
func (*KubeClient_DiscoveryV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_DiscoveryV1_Call) RunAndReturn(run func() discoveryv1.DiscoveryV1Interface) *KubeClient_DiscoveryV1_Call
type KubeClient_DiscoveryV1beta1_Call ¶
KubeClient_DiscoveryV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DiscoveryV1beta1'
func (*KubeClient_DiscoveryV1beta1_Call) Return ¶
func (_c *KubeClient_DiscoveryV1beta1_Call) Return(_a0 discoveryv1beta1.DiscoveryV1beta1Interface) *KubeClient_DiscoveryV1beta1_Call
func (*KubeClient_DiscoveryV1beta1_Call) Run ¶
func (_c *KubeClient_DiscoveryV1beta1_Call) Run(run func()) *KubeClient_DiscoveryV1beta1_Call
func (*KubeClient_DiscoveryV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_DiscoveryV1beta1_Call) RunAndReturn(run func() discoveryv1beta1.DiscoveryV1beta1Interface) *KubeClient_DiscoveryV1beta1_Call
type KubeClient_Discovery_Call ¶
KubeClient_Discovery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Discovery'
func (*KubeClient_Discovery_Call) Return ¶
func (_c *KubeClient_Discovery_Call) Return(_a0 discovery.DiscoveryInterface) *KubeClient_Discovery_Call
func (*KubeClient_Discovery_Call) Run ¶
func (_c *KubeClient_Discovery_Call) Run(run func()) *KubeClient_Discovery_Call
func (*KubeClient_Discovery_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_Discovery_Call) RunAndReturn(run func() discovery.DiscoveryInterface) *KubeClient_Discovery_Call
type KubeClient_EventsV1_Call ¶
KubeClient_EventsV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EventsV1'
func (*KubeClient_EventsV1_Call) Return ¶
func (_c *KubeClient_EventsV1_Call) Return(_a0 eventsv1.EventsV1Interface) *KubeClient_EventsV1_Call
func (*KubeClient_EventsV1_Call) Run ¶
func (_c *KubeClient_EventsV1_Call) Run(run func()) *KubeClient_EventsV1_Call
func (*KubeClient_EventsV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_EventsV1_Call) RunAndReturn(run func() eventsv1.EventsV1Interface) *KubeClient_EventsV1_Call
type KubeClient_EventsV1beta1_Call ¶
KubeClient_EventsV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EventsV1beta1'
func (*KubeClient_EventsV1beta1_Call) Return ¶
func (_c *KubeClient_EventsV1beta1_Call) Return(_a0 eventsv1beta1.EventsV1beta1Interface) *KubeClient_EventsV1beta1_Call
func (*KubeClient_EventsV1beta1_Call) Run ¶
func (_c *KubeClient_EventsV1beta1_Call) Run(run func()) *KubeClient_EventsV1beta1_Call
func (*KubeClient_EventsV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_EventsV1beta1_Call) RunAndReturn(run func() eventsv1beta1.EventsV1beta1Interface) *KubeClient_EventsV1beta1_Call
type KubeClient_Expecter ¶
type KubeClient_Expecter struct {
// contains filtered or unexported fields
}
func (*KubeClient_Expecter) AdmissionregistrationV1 ¶
func (_e *KubeClient_Expecter) AdmissionregistrationV1() *KubeClient_AdmissionregistrationV1_Call
AdmissionregistrationV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) AdmissionregistrationV1beta1 ¶
func (_e *KubeClient_Expecter) AdmissionregistrationV1beta1() *KubeClient_AdmissionregistrationV1beta1_Call
AdmissionregistrationV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) AppsV1 ¶
func (_e *KubeClient_Expecter) AppsV1() *KubeClient_AppsV1_Call
AppsV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) AppsV1beta1 ¶
func (_e *KubeClient_Expecter) AppsV1beta1() *KubeClient_AppsV1beta1_Call
AppsV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) AppsV1beta2 ¶
func (_e *KubeClient_Expecter) AppsV1beta2() *KubeClient_AppsV1beta2_Call
AppsV1beta2 is a helper method to define mock.On call
func (*KubeClient_Expecter) AuthenticationV1 ¶
func (_e *KubeClient_Expecter) AuthenticationV1() *KubeClient_AuthenticationV1_Call
AuthenticationV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) AuthenticationV1beta1 ¶
func (_e *KubeClient_Expecter) AuthenticationV1beta1() *KubeClient_AuthenticationV1beta1_Call
AuthenticationV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) AuthorizationV1 ¶
func (_e *KubeClient_Expecter) AuthorizationV1() *KubeClient_AuthorizationV1_Call
AuthorizationV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) AuthorizationV1beta1 ¶
func (_e *KubeClient_Expecter) AuthorizationV1beta1() *KubeClient_AuthorizationV1beta1_Call
AuthorizationV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) AutoscalingV1 ¶
func (_e *KubeClient_Expecter) AutoscalingV1() *KubeClient_AutoscalingV1_Call
AutoscalingV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) AutoscalingV2 ¶
func (_e *KubeClient_Expecter) AutoscalingV2() *KubeClient_AutoscalingV2_Call
AutoscalingV2 is a helper method to define mock.On call
func (*KubeClient_Expecter) AutoscalingV2beta1 ¶
func (_e *KubeClient_Expecter) AutoscalingV2beta1() *KubeClient_AutoscalingV2beta1_Call
AutoscalingV2beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) AutoscalingV2beta2 ¶
func (_e *KubeClient_Expecter) AutoscalingV2beta2() *KubeClient_AutoscalingV2beta2_Call
AutoscalingV2beta2 is a helper method to define mock.On call
func (*KubeClient_Expecter) BatchV1 ¶
func (_e *KubeClient_Expecter) BatchV1() *KubeClient_BatchV1_Call
BatchV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) BatchV1beta1 ¶
func (_e *KubeClient_Expecter) BatchV1beta1() *KubeClient_BatchV1beta1_Call
BatchV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) CertificatesV1 ¶
func (_e *KubeClient_Expecter) CertificatesV1() *KubeClient_CertificatesV1_Call
CertificatesV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) CertificatesV1beta1 ¶
func (_e *KubeClient_Expecter) CertificatesV1beta1() *KubeClient_CertificatesV1beta1_Call
CertificatesV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) CoordinationV1 ¶
func (_e *KubeClient_Expecter) CoordinationV1() *KubeClient_CoordinationV1_Call
CoordinationV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) CoordinationV1beta1 ¶
func (_e *KubeClient_Expecter) CoordinationV1beta1() *KubeClient_CoordinationV1beta1_Call
CoordinationV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) CoreV1 ¶
func (_e *KubeClient_Expecter) CoreV1() *KubeClient_CoreV1_Call
CoreV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) Discovery ¶
func (_e *KubeClient_Expecter) Discovery() *KubeClient_Discovery_Call
Discovery is a helper method to define mock.On call
func (*KubeClient_Expecter) DiscoveryV1 ¶
func (_e *KubeClient_Expecter) DiscoveryV1() *KubeClient_DiscoveryV1_Call
DiscoveryV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) DiscoveryV1beta1 ¶
func (_e *KubeClient_Expecter) DiscoveryV1beta1() *KubeClient_DiscoveryV1beta1_Call
DiscoveryV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) EventsV1 ¶
func (_e *KubeClient_Expecter) EventsV1() *KubeClient_EventsV1_Call
EventsV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) EventsV1beta1 ¶
func (_e *KubeClient_Expecter) EventsV1beta1() *KubeClient_EventsV1beta1_Call
EventsV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) ExtensionsV1beta1 ¶
func (_e *KubeClient_Expecter) ExtensionsV1beta1() *KubeClient_ExtensionsV1beta1_Call
ExtensionsV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) FlowcontrolV1alpha1 ¶
func (_e *KubeClient_Expecter) FlowcontrolV1alpha1() *KubeClient_FlowcontrolV1alpha1_Call
FlowcontrolV1alpha1 is a helper method to define mock.On call
func (*KubeClient_Expecter) FlowcontrolV1beta1 ¶
func (_e *KubeClient_Expecter) FlowcontrolV1beta1() *KubeClient_FlowcontrolV1beta1_Call
FlowcontrolV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) FlowcontrolV1beta2 ¶
func (_e *KubeClient_Expecter) FlowcontrolV1beta2() *KubeClient_FlowcontrolV1beta2_Call
FlowcontrolV1beta2 is a helper method to define mock.On call
func (*KubeClient_Expecter) InternalV1alpha1 ¶
func (_e *KubeClient_Expecter) InternalV1alpha1() *KubeClient_InternalV1alpha1_Call
InternalV1alpha1 is a helper method to define mock.On call
func (*KubeClient_Expecter) NetworkingV1 ¶
func (_e *KubeClient_Expecter) NetworkingV1() *KubeClient_NetworkingV1_Call
NetworkingV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) NetworkingV1beta1 ¶
func (_e *KubeClient_Expecter) NetworkingV1beta1() *KubeClient_NetworkingV1beta1_Call
NetworkingV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) NodeV1 ¶
func (_e *KubeClient_Expecter) NodeV1() *KubeClient_NodeV1_Call
NodeV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) NodeV1alpha1 ¶
func (_e *KubeClient_Expecter) NodeV1alpha1() *KubeClient_NodeV1alpha1_Call
NodeV1alpha1 is a helper method to define mock.On call
func (*KubeClient_Expecter) NodeV1beta1 ¶
func (_e *KubeClient_Expecter) NodeV1beta1() *KubeClient_NodeV1beta1_Call
NodeV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) PolicyV1 ¶
func (_e *KubeClient_Expecter) PolicyV1() *KubeClient_PolicyV1_Call
PolicyV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) PolicyV1beta1 ¶
func (_e *KubeClient_Expecter) PolicyV1beta1() *KubeClient_PolicyV1beta1_Call
PolicyV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) RbacV1 ¶
func (_e *KubeClient_Expecter) RbacV1() *KubeClient_RbacV1_Call
RbacV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) RbacV1alpha1 ¶
func (_e *KubeClient_Expecter) RbacV1alpha1() *KubeClient_RbacV1alpha1_Call
RbacV1alpha1 is a helper method to define mock.On call
func (*KubeClient_Expecter) RbacV1beta1 ¶
func (_e *KubeClient_Expecter) RbacV1beta1() *KubeClient_RbacV1beta1_Call
RbacV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) SchedulingV1 ¶
func (_e *KubeClient_Expecter) SchedulingV1() *KubeClient_SchedulingV1_Call
SchedulingV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) SchedulingV1alpha1 ¶
func (_e *KubeClient_Expecter) SchedulingV1alpha1() *KubeClient_SchedulingV1alpha1_Call
SchedulingV1alpha1 is a helper method to define mock.On call
func (*KubeClient_Expecter) SchedulingV1beta1 ¶
func (_e *KubeClient_Expecter) SchedulingV1beta1() *KubeClient_SchedulingV1beta1_Call
SchedulingV1beta1 is a helper method to define mock.On call
func (*KubeClient_Expecter) StorageV1 ¶
func (_e *KubeClient_Expecter) StorageV1() *KubeClient_StorageV1_Call
StorageV1 is a helper method to define mock.On call
func (*KubeClient_Expecter) StorageV1alpha1 ¶
func (_e *KubeClient_Expecter) StorageV1alpha1() *KubeClient_StorageV1alpha1_Call
StorageV1alpha1 is a helper method to define mock.On call
func (*KubeClient_Expecter) StorageV1beta1 ¶
func (_e *KubeClient_Expecter) StorageV1beta1() *KubeClient_StorageV1beta1_Call
StorageV1beta1 is a helper method to define mock.On call
type KubeClient_ExtensionsV1beta1_Call ¶
KubeClient_ExtensionsV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExtensionsV1beta1'
func (*KubeClient_ExtensionsV1beta1_Call) Run ¶
func (_c *KubeClient_ExtensionsV1beta1_Call) Run(run func()) *KubeClient_ExtensionsV1beta1_Call
func (*KubeClient_ExtensionsV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_ExtensionsV1beta1_Call) RunAndReturn(run func() extensionsv1beta1.ExtensionsV1beta1Interface) *KubeClient_ExtensionsV1beta1_Call
type KubeClient_FlowcontrolV1alpha1_Call ¶
KubeClient_FlowcontrolV1alpha1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlowcontrolV1alpha1'
func (*KubeClient_FlowcontrolV1alpha1_Call) Return ¶
func (_c *KubeClient_FlowcontrolV1alpha1_Call) Return(_a0 v1alpha1.FlowcontrolV1alpha1Interface) *KubeClient_FlowcontrolV1alpha1_Call
func (*KubeClient_FlowcontrolV1alpha1_Call) Run ¶
func (_c *KubeClient_FlowcontrolV1alpha1_Call) Run(run func()) *KubeClient_FlowcontrolV1alpha1_Call
func (*KubeClient_FlowcontrolV1alpha1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_FlowcontrolV1alpha1_Call) RunAndReturn(run func() v1alpha1.FlowcontrolV1alpha1Interface) *KubeClient_FlowcontrolV1alpha1_Call
type KubeClient_FlowcontrolV1beta1_Call ¶
KubeClient_FlowcontrolV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlowcontrolV1beta1'
func (*KubeClient_FlowcontrolV1beta1_Call) Run ¶
func (_c *KubeClient_FlowcontrolV1beta1_Call) Run(run func()) *KubeClient_FlowcontrolV1beta1_Call
func (*KubeClient_FlowcontrolV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_FlowcontrolV1beta1_Call) RunAndReturn(run func() flowcontrolv1beta1.FlowcontrolV1beta1Interface) *KubeClient_FlowcontrolV1beta1_Call
type KubeClient_FlowcontrolV1beta2_Call ¶
KubeClient_FlowcontrolV1beta2_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlowcontrolV1beta2'
func (*KubeClient_FlowcontrolV1beta2_Call) Run ¶
func (_c *KubeClient_FlowcontrolV1beta2_Call) Run(run func()) *KubeClient_FlowcontrolV1beta2_Call
func (*KubeClient_FlowcontrolV1beta2_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_FlowcontrolV1beta2_Call) RunAndReturn(run func() flowcontrolv1beta2.FlowcontrolV1beta2Interface) *KubeClient_FlowcontrolV1beta2_Call
type KubeClient_InternalV1alpha1_Call ¶
KubeClient_InternalV1alpha1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InternalV1alpha1'
func (*KubeClient_InternalV1alpha1_Call) Run ¶
func (_c *KubeClient_InternalV1alpha1_Call) Run(run func()) *KubeClient_InternalV1alpha1_Call
func (*KubeClient_InternalV1alpha1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_InternalV1alpha1_Call) RunAndReturn(run func() apiserverinternalv1alpha1.InternalV1alpha1Interface) *KubeClient_InternalV1alpha1_Call
type KubeClient_NetworkingV1_Call ¶
KubeClient_NetworkingV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetworkingV1'
func (*KubeClient_NetworkingV1_Call) Return ¶
func (_c *KubeClient_NetworkingV1_Call) Return(_a0 networkingv1.NetworkingV1Interface) *KubeClient_NetworkingV1_Call
func (*KubeClient_NetworkingV1_Call) Run ¶
func (_c *KubeClient_NetworkingV1_Call) Run(run func()) *KubeClient_NetworkingV1_Call
func (*KubeClient_NetworkingV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_NetworkingV1_Call) RunAndReturn(run func() networkingv1.NetworkingV1Interface) *KubeClient_NetworkingV1_Call
type KubeClient_NetworkingV1beta1_Call ¶
KubeClient_NetworkingV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetworkingV1beta1'
func (*KubeClient_NetworkingV1beta1_Call) Run ¶
func (_c *KubeClient_NetworkingV1beta1_Call) Run(run func()) *KubeClient_NetworkingV1beta1_Call
func (*KubeClient_NetworkingV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_NetworkingV1beta1_Call) RunAndReturn(run func() networkingv1beta1.NetworkingV1beta1Interface) *KubeClient_NetworkingV1beta1_Call
type KubeClient_NodeV1_Call ¶
KubeClient_NodeV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeV1'
func (*KubeClient_NodeV1_Call) Return ¶
func (_c *KubeClient_NodeV1_Call) Return(_a0 nodev1.NodeV1Interface) *KubeClient_NodeV1_Call
func (*KubeClient_NodeV1_Call) Run ¶
func (_c *KubeClient_NodeV1_Call) Run(run func()) *KubeClient_NodeV1_Call
func (*KubeClient_NodeV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_NodeV1_Call) RunAndReturn(run func() nodev1.NodeV1Interface) *KubeClient_NodeV1_Call
type KubeClient_NodeV1alpha1_Call ¶
KubeClient_NodeV1alpha1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeV1alpha1'
func (*KubeClient_NodeV1alpha1_Call) Return ¶
func (_c *KubeClient_NodeV1alpha1_Call) Return(_a0 nodev1alpha1.NodeV1alpha1Interface) *KubeClient_NodeV1alpha1_Call
func (*KubeClient_NodeV1alpha1_Call) Run ¶
func (_c *KubeClient_NodeV1alpha1_Call) Run(run func()) *KubeClient_NodeV1alpha1_Call
func (*KubeClient_NodeV1alpha1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_NodeV1alpha1_Call) RunAndReturn(run func() nodev1alpha1.NodeV1alpha1Interface) *KubeClient_NodeV1alpha1_Call
type KubeClient_NodeV1beta1_Call ¶
KubeClient_NodeV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeV1beta1'
func (*KubeClient_NodeV1beta1_Call) Return ¶
func (_c *KubeClient_NodeV1beta1_Call) Return(_a0 nodev1beta1.NodeV1beta1Interface) *KubeClient_NodeV1beta1_Call
func (*KubeClient_NodeV1beta1_Call) Run ¶
func (_c *KubeClient_NodeV1beta1_Call) Run(run func()) *KubeClient_NodeV1beta1_Call
func (*KubeClient_NodeV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_NodeV1beta1_Call) RunAndReturn(run func() nodev1beta1.NodeV1beta1Interface) *KubeClient_NodeV1beta1_Call
type KubeClient_PolicyV1_Call ¶
KubeClient_PolicyV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PolicyV1'
func (*KubeClient_PolicyV1_Call) Return ¶
func (_c *KubeClient_PolicyV1_Call) Return(_a0 policyv1.PolicyV1Interface) *KubeClient_PolicyV1_Call
func (*KubeClient_PolicyV1_Call) Run ¶
func (_c *KubeClient_PolicyV1_Call) Run(run func()) *KubeClient_PolicyV1_Call
func (*KubeClient_PolicyV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_PolicyV1_Call) RunAndReturn(run func() policyv1.PolicyV1Interface) *KubeClient_PolicyV1_Call
type KubeClient_PolicyV1beta1_Call ¶
KubeClient_PolicyV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PolicyV1beta1'
func (*KubeClient_PolicyV1beta1_Call) Return ¶
func (_c *KubeClient_PolicyV1beta1_Call) Return(_a0 policyv1beta1.PolicyV1beta1Interface) *KubeClient_PolicyV1beta1_Call
func (*KubeClient_PolicyV1beta1_Call) Run ¶
func (_c *KubeClient_PolicyV1beta1_Call) Run(run func()) *KubeClient_PolicyV1beta1_Call
func (*KubeClient_PolicyV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_PolicyV1beta1_Call) RunAndReturn(run func() policyv1beta1.PolicyV1beta1Interface) *KubeClient_PolicyV1beta1_Call
type KubeClient_RbacV1_Call ¶
KubeClient_RbacV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RbacV1'
func (*KubeClient_RbacV1_Call) Return ¶
func (_c *KubeClient_RbacV1_Call) Return(_a0 rbacv1.RbacV1Interface) *KubeClient_RbacV1_Call
func (*KubeClient_RbacV1_Call) Run ¶
func (_c *KubeClient_RbacV1_Call) Run(run func()) *KubeClient_RbacV1_Call
func (*KubeClient_RbacV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_RbacV1_Call) RunAndReturn(run func() rbacv1.RbacV1Interface) *KubeClient_RbacV1_Call
type KubeClient_RbacV1alpha1_Call ¶
KubeClient_RbacV1alpha1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RbacV1alpha1'
func (*KubeClient_RbacV1alpha1_Call) Return ¶
func (_c *KubeClient_RbacV1alpha1_Call) Return(_a0 rbacv1alpha1.RbacV1alpha1Interface) *KubeClient_RbacV1alpha1_Call
func (*KubeClient_RbacV1alpha1_Call) Run ¶
func (_c *KubeClient_RbacV1alpha1_Call) Run(run func()) *KubeClient_RbacV1alpha1_Call
func (*KubeClient_RbacV1alpha1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_RbacV1alpha1_Call) RunAndReturn(run func() rbacv1alpha1.RbacV1alpha1Interface) *KubeClient_RbacV1alpha1_Call
type KubeClient_RbacV1beta1_Call ¶
KubeClient_RbacV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RbacV1beta1'
func (*KubeClient_RbacV1beta1_Call) Return ¶
func (_c *KubeClient_RbacV1beta1_Call) Return(_a0 rbacv1beta1.RbacV1beta1Interface) *KubeClient_RbacV1beta1_Call
func (*KubeClient_RbacV1beta1_Call) Run ¶
func (_c *KubeClient_RbacV1beta1_Call) Run(run func()) *KubeClient_RbacV1beta1_Call
func (*KubeClient_RbacV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_RbacV1beta1_Call) RunAndReturn(run func() rbacv1beta1.RbacV1beta1Interface) *KubeClient_RbacV1beta1_Call
type KubeClient_SchedulingV1_Call ¶
KubeClient_SchedulingV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SchedulingV1'
func (*KubeClient_SchedulingV1_Call) Return ¶
func (_c *KubeClient_SchedulingV1_Call) Return(_a0 schedulingv1.SchedulingV1Interface) *KubeClient_SchedulingV1_Call
func (*KubeClient_SchedulingV1_Call) Run ¶
func (_c *KubeClient_SchedulingV1_Call) Run(run func()) *KubeClient_SchedulingV1_Call
func (*KubeClient_SchedulingV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_SchedulingV1_Call) RunAndReturn(run func() schedulingv1.SchedulingV1Interface) *KubeClient_SchedulingV1_Call
type KubeClient_SchedulingV1alpha1_Call ¶
KubeClient_SchedulingV1alpha1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SchedulingV1alpha1'
func (*KubeClient_SchedulingV1alpha1_Call) Run ¶
func (_c *KubeClient_SchedulingV1alpha1_Call) Run(run func()) *KubeClient_SchedulingV1alpha1_Call
func (*KubeClient_SchedulingV1alpha1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_SchedulingV1alpha1_Call) RunAndReturn(run func() schedulingv1alpha1.SchedulingV1alpha1Interface) *KubeClient_SchedulingV1alpha1_Call
type KubeClient_SchedulingV1beta1_Call ¶
KubeClient_SchedulingV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SchedulingV1beta1'
func (*KubeClient_SchedulingV1beta1_Call) Run ¶
func (_c *KubeClient_SchedulingV1beta1_Call) Run(run func()) *KubeClient_SchedulingV1beta1_Call
func (*KubeClient_SchedulingV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_SchedulingV1beta1_Call) RunAndReturn(run func() schedulingv1beta1.SchedulingV1beta1Interface) *KubeClient_SchedulingV1beta1_Call
type KubeClient_StorageV1_Call ¶
KubeClient_StorageV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StorageV1'
func (*KubeClient_StorageV1_Call) Return ¶
func (_c *KubeClient_StorageV1_Call) Return(_a0 storagev1.StorageV1Interface) *KubeClient_StorageV1_Call
func (*KubeClient_StorageV1_Call) Run ¶
func (_c *KubeClient_StorageV1_Call) Run(run func()) *KubeClient_StorageV1_Call
func (*KubeClient_StorageV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_StorageV1_Call) RunAndReturn(run func() storagev1.StorageV1Interface) *KubeClient_StorageV1_Call
type KubeClient_StorageV1alpha1_Call ¶
KubeClient_StorageV1alpha1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StorageV1alpha1'
func (*KubeClient_StorageV1alpha1_Call) Return ¶
func (_c *KubeClient_StorageV1alpha1_Call) Return(_a0 storagev1alpha1.StorageV1alpha1Interface) *KubeClient_StorageV1alpha1_Call
func (*KubeClient_StorageV1alpha1_Call) Run ¶
func (_c *KubeClient_StorageV1alpha1_Call) Run(run func()) *KubeClient_StorageV1alpha1_Call
func (*KubeClient_StorageV1alpha1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_StorageV1alpha1_Call) RunAndReturn(run func() storagev1alpha1.StorageV1alpha1Interface) *KubeClient_StorageV1alpha1_Call
type KubeClient_StorageV1beta1_Call ¶
KubeClient_StorageV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StorageV1beta1'
func (*KubeClient_StorageV1beta1_Call) Return ¶
func (_c *KubeClient_StorageV1beta1_Call) Return(_a0 storagev1beta1.StorageV1beta1Interface) *KubeClient_StorageV1beta1_Call
func (*KubeClient_StorageV1beta1_Call) Run ¶
func (_c *KubeClient_StorageV1beta1_Call) Run(run func()) *KubeClient_StorageV1beta1_Call
func (*KubeClient_StorageV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *KubeClient_StorageV1beta1_Call) RunAndReturn(run func() storagev1beta1.StorageV1beta1Interface) *KubeClient_StorageV1beta1_Call
type Pods ¶
Pods is an autogenerated mock type for the Pods type
func NewPods ¶
func NewPods(t mockConstructorTestingTNewPods) *Pods
NewPods creates a new instance of Pods. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Pods) Apply ¶
func (_m *Pods) Apply(ctx context.Context, pod *v1.PodApplyConfiguration, opts metav1.ApplyOptions) (*corev1.Pod, error)
Apply provides a mock function with given fields: ctx, pod, opts
func (*Pods) ApplyStatus ¶
func (_m *Pods) ApplyStatus(ctx context.Context, pod *v1.PodApplyConfiguration, opts metav1.ApplyOptions) (*corev1.Pod, error)
ApplyStatus provides a mock function with given fields: ctx, pod, opts
func (*Pods) Create ¶
func (_m *Pods) Create(ctx context.Context, pod *corev1.Pod, opts metav1.CreateOptions) (*corev1.Pod, error)
Create provides a mock function with given fields: ctx, pod, opts
func (*Pods) DeleteCollection ¶
func (_m *Pods) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*Pods) EXPECT ¶
func (_m *Pods) EXPECT() *Pods_Expecter
func (*Pods) EvictV1beta1 ¶
EvictV1beta1 provides a mock function with given fields: ctx, eviction
func (*Pods) Patch ¶
func (_m *Pods) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*corev1.Pod, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*Pods) ProxyGet ¶
func (_m *Pods) ProxyGet(scheme string, name string, port string, path string, params map[string]string) rest.ResponseWrapper
ProxyGet provides a mock function with given fields: scheme, name, port, path, params
func (*Pods) Update ¶
func (_m *Pods) Update(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions) (*corev1.Pod, error)
Update provides a mock function with given fields: ctx, pod, opts
func (*Pods) UpdateEphemeralContainers ¶
func (_m *Pods) UpdateEphemeralContainers(ctx context.Context, podName string, pod *corev1.Pod, opts metav1.UpdateOptions) (*corev1.Pod, error)
UpdateEphemeralContainers provides a mock function with given fields: ctx, podName, pod, opts
type Pods_ApplyStatus_Call ¶
Pods_ApplyStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyStatus'
func (*Pods_ApplyStatus_Call) Return ¶
func (_c *Pods_ApplyStatus_Call) Return(result *corev1.Pod, err error) *Pods_ApplyStatus_Call
func (*Pods_ApplyStatus_Call) Run ¶
func (_c *Pods_ApplyStatus_Call) Run(run func(ctx context.Context, pod *v1.PodApplyConfiguration, opts metav1.ApplyOptions)) *Pods_ApplyStatus_Call
func (*Pods_ApplyStatus_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_ApplyStatus_Call) RunAndReturn(run func(context.Context, *v1.PodApplyConfiguration, metav1.ApplyOptions) (*corev1.Pod, error)) *Pods_ApplyStatus_Call
type Pods_Apply_Call ¶
Pods_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'
func (*Pods_Apply_Call) Return ¶
func (_c *Pods_Apply_Call) Return(result *corev1.Pod, err error) *Pods_Apply_Call
func (*Pods_Apply_Call) Run ¶
func (_c *Pods_Apply_Call) Run(run func(ctx context.Context, pod *v1.PodApplyConfiguration, opts metav1.ApplyOptions)) *Pods_Apply_Call
func (*Pods_Apply_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_Apply_Call) RunAndReturn(run func(context.Context, *v1.PodApplyConfiguration, metav1.ApplyOptions) (*corev1.Pod, error)) *Pods_Apply_Call
type Pods_Bind_Call ¶
Pods_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'
func (*Pods_Bind_Call) Return ¶
func (_c *Pods_Bind_Call) Return(_a0 error) *Pods_Bind_Call
func (*Pods_Bind_Call) Run ¶
func (_c *Pods_Bind_Call) Run(run func(ctx context.Context, binding *corev1.Binding, opts metav1.CreateOptions)) *Pods_Bind_Call
func (*Pods_Bind_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_Bind_Call) RunAndReturn(run func(context.Context, *corev1.Binding, metav1.CreateOptions) error) *Pods_Bind_Call
type Pods_Create_Call ¶
Pods_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Pods_Create_Call) Return ¶
func (_c *Pods_Create_Call) Return(_a0 *corev1.Pod, _a1 error) *Pods_Create_Call
func (*Pods_Create_Call) Run ¶
func (_c *Pods_Create_Call) Run(run func(ctx context.Context, pod *corev1.Pod, opts metav1.CreateOptions)) *Pods_Create_Call
func (*Pods_Create_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_Create_Call) RunAndReturn(run func(context.Context, *corev1.Pod, metav1.CreateOptions) (*corev1.Pod, error)) *Pods_Create_Call
type Pods_DeleteCollection_Call ¶
Pods_DeleteCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCollection'
func (*Pods_DeleteCollection_Call) Return ¶
func (_c *Pods_DeleteCollection_Call) Return(_a0 error) *Pods_DeleteCollection_Call
func (*Pods_DeleteCollection_Call) Run ¶
func (_c *Pods_DeleteCollection_Call) Run(run func(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions)) *Pods_DeleteCollection_Call
func (*Pods_DeleteCollection_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *Pods_DeleteCollection_Call
type Pods_Delete_Call ¶
Pods_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Pods_Delete_Call) Return ¶
func (_c *Pods_Delete_Call) Return(_a0 error) *Pods_Delete_Call
func (*Pods_Delete_Call) Run ¶
func (_c *Pods_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *Pods_Delete_Call
func (*Pods_Delete_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *Pods_Delete_Call
type Pods_EvictV1_Call ¶
Pods_EvictV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EvictV1'
func (*Pods_EvictV1_Call) Return ¶
func (_c *Pods_EvictV1_Call) Return(_a0 error) *Pods_EvictV1_Call
func (*Pods_EvictV1_Call) Run ¶
func (_c *Pods_EvictV1_Call) Run(run func(ctx context.Context, eviction *policyv1.Eviction)) *Pods_EvictV1_Call
func (*Pods_EvictV1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_EvictV1_Call) RunAndReturn(run func(context.Context, *policyv1.Eviction) error) *Pods_EvictV1_Call
type Pods_EvictV1beta1_Call ¶
Pods_EvictV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EvictV1beta1'
func (*Pods_EvictV1beta1_Call) Return ¶
func (_c *Pods_EvictV1beta1_Call) Return(_a0 error) *Pods_EvictV1beta1_Call
func (*Pods_EvictV1beta1_Call) Run ¶
func (_c *Pods_EvictV1beta1_Call) Run(run func(ctx context.Context, eviction *v1beta1.Eviction)) *Pods_EvictV1beta1_Call
func (*Pods_EvictV1beta1_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_EvictV1beta1_Call) RunAndReturn(run func(context.Context, *v1beta1.Eviction) error) *Pods_EvictV1beta1_Call
type Pods_Evict_Call ¶
Pods_Evict_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Evict'
func (*Pods_Evict_Call) Return ¶
func (_c *Pods_Evict_Call) Return(_a0 error) *Pods_Evict_Call
func (*Pods_Evict_Call) Run ¶
func (_c *Pods_Evict_Call) Run(run func(ctx context.Context, eviction *v1beta1.Eviction)) *Pods_Evict_Call
func (*Pods_Evict_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_Evict_Call) RunAndReturn(run func(context.Context, *v1beta1.Eviction) error) *Pods_Evict_Call
type Pods_Expecter ¶
type Pods_Expecter struct {
// contains filtered or unexported fields
}
func (*Pods_Expecter) Apply ¶
func (_e *Pods_Expecter) Apply(ctx interface{}, pod interface{}, opts interface{}) *Pods_Apply_Call
Apply is a helper method to define mock.On call
- ctx context.Context
- pod *v1.PodApplyConfiguration
- opts metav1.ApplyOptions
func (*Pods_Expecter) ApplyStatus ¶
func (_e *Pods_Expecter) ApplyStatus(ctx interface{}, pod interface{}, opts interface{}) *Pods_ApplyStatus_Call
ApplyStatus is a helper method to define mock.On call
- ctx context.Context
- pod *v1.PodApplyConfiguration
- opts metav1.ApplyOptions
func (*Pods_Expecter) Bind ¶
func (_e *Pods_Expecter) Bind(ctx interface{}, binding interface{}, opts interface{}) *Pods_Bind_Call
Bind is a helper method to define mock.On call
- ctx context.Context
- binding *corev1.Binding
- opts metav1.CreateOptions
func (*Pods_Expecter) Create ¶
func (_e *Pods_Expecter) Create(ctx interface{}, pod interface{}, opts interface{}) *Pods_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- pod *corev1.Pod
- opts metav1.CreateOptions
func (*Pods_Expecter) Delete ¶
func (_e *Pods_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *Pods_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.DeleteOptions
func (*Pods_Expecter) DeleteCollection ¶
func (_e *Pods_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *Pods_DeleteCollection_Call
DeleteCollection is a helper method to define mock.On call
- ctx context.Context
- opts metav1.DeleteOptions
- listOpts metav1.ListOptions
func (*Pods_Expecter) Evict ¶
func (_e *Pods_Expecter) Evict(ctx interface{}, eviction interface{}) *Pods_Evict_Call
Evict is a helper method to define mock.On call
- ctx context.Context
- eviction *v1beta1.Eviction
func (*Pods_Expecter) EvictV1 ¶
func (_e *Pods_Expecter) EvictV1(ctx interface{}, eviction interface{}) *Pods_EvictV1_Call
EvictV1 is a helper method to define mock.On call
- ctx context.Context
- eviction *policyv1.Eviction
func (*Pods_Expecter) EvictV1beta1 ¶
func (_e *Pods_Expecter) EvictV1beta1(ctx interface{}, eviction interface{}) *Pods_EvictV1beta1_Call
EvictV1beta1 is a helper method to define mock.On call
- ctx context.Context
- eviction *v1beta1.Eviction
func (*Pods_Expecter) Get ¶
func (_e *Pods_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *Pods_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.GetOptions
func (*Pods_Expecter) GetLogs ¶
func (_e *Pods_Expecter) GetLogs(name interface{}, opts interface{}) *Pods_GetLogs_Call
GetLogs is a helper method to define mock.On call
- name string
- opts *corev1.PodLogOptions
func (*Pods_Expecter) List ¶
func (_e *Pods_Expecter) List(ctx interface{}, opts interface{}) *Pods_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
func (*Pods_Expecter) Patch ¶
func (_e *Pods_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *Pods_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- name string
- pt types.PatchType
- data []byte
- opts metav1.PatchOptions
- subresources ...string
func (*Pods_Expecter) ProxyGet ¶
func (_e *Pods_Expecter) ProxyGet(scheme interface{}, name interface{}, port interface{}, path interface{}, params interface{}) *Pods_ProxyGet_Call
ProxyGet is a helper method to define mock.On call
- scheme string
- name string
- port string
- path string
- params map[string]string
func (*Pods_Expecter) Update ¶
func (_e *Pods_Expecter) Update(ctx interface{}, pod interface{}, opts interface{}) *Pods_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- pod *corev1.Pod
- opts metav1.UpdateOptions
func (*Pods_Expecter) UpdateEphemeralContainers ¶
func (_e *Pods_Expecter) UpdateEphemeralContainers(ctx interface{}, podName interface{}, pod interface{}, opts interface{}) *Pods_UpdateEphemeralContainers_Call
UpdateEphemeralContainers is a helper method to define mock.On call
- ctx context.Context
- podName string
- pod *corev1.Pod
- opts metav1.UpdateOptions
func (*Pods_Expecter) UpdateStatus ¶
func (_e *Pods_Expecter) UpdateStatus(ctx interface{}, pod interface{}, opts interface{}) *Pods_UpdateStatus_Call
UpdateStatus is a helper method to define mock.On call
- ctx context.Context
- pod *corev1.Pod
- opts metav1.UpdateOptions
func (*Pods_Expecter) Watch ¶
func (_e *Pods_Expecter) Watch(ctx interface{}, opts interface{}) *Pods_Watch_Call
Watch is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
type Pods_GetLogs_Call ¶
Pods_GetLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogs'
func (*Pods_GetLogs_Call) Return ¶
func (_c *Pods_GetLogs_Call) Return(_a0 *rest.Request) *Pods_GetLogs_Call
func (*Pods_GetLogs_Call) Run ¶
func (_c *Pods_GetLogs_Call) Run(run func(name string, opts *corev1.PodLogOptions)) *Pods_GetLogs_Call
func (*Pods_GetLogs_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_GetLogs_Call) RunAndReturn(run func(string, *corev1.PodLogOptions) *rest.Request) *Pods_GetLogs_Call
type Pods_Get_Call ¶
Pods_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Pods_Get_Call) Return ¶
func (_c *Pods_Get_Call) Return(_a0 *corev1.Pod, _a1 error) *Pods_Get_Call
func (*Pods_Get_Call) Run ¶
func (_c *Pods_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *Pods_Get_Call
func (*Pods_Get_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*corev1.Pod, error)) *Pods_Get_Call
type Pods_List_Call ¶
Pods_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*Pods_List_Call) Return ¶
func (_c *Pods_List_Call) Return(_a0 *corev1.PodList, _a1 error) *Pods_List_Call
func (*Pods_List_Call) Run ¶
func (_c *Pods_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Pods_List_Call
func (*Pods_List_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*corev1.PodList, error)) *Pods_List_Call
type Pods_Patch_Call ¶
Pods_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*Pods_Patch_Call) Return ¶
func (_c *Pods_Patch_Call) Return(result *corev1.Pod, err error) *Pods_Patch_Call
func (*Pods_Patch_Call) Run ¶
func (_c *Pods_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *Pods_Patch_Call
func (*Pods_Patch_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_Patch_Call) RunAndReturn(run func(context.Context, string, types.PatchType, []byte, metav1.PatchOptions, ...string) (*corev1.Pod, error)) *Pods_Patch_Call
type Pods_ProxyGet_Call ¶
Pods_ProxyGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProxyGet'
func (*Pods_ProxyGet_Call) Return ¶
func (_c *Pods_ProxyGet_Call) Return(_a0 rest.ResponseWrapper) *Pods_ProxyGet_Call
func (*Pods_ProxyGet_Call) Run ¶
func (_c *Pods_ProxyGet_Call) Run(run func(scheme string, name string, port string, path string, params map[string]string)) *Pods_ProxyGet_Call
func (*Pods_ProxyGet_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_ProxyGet_Call) RunAndReturn(run func(string, string, string, string, map[string]string) rest.ResponseWrapper) *Pods_ProxyGet_Call
type Pods_UpdateEphemeralContainers_Call ¶
Pods_UpdateEphemeralContainers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEphemeralContainers'
func (*Pods_UpdateEphemeralContainers_Call) Return ¶
func (_c *Pods_UpdateEphemeralContainers_Call) Return(_a0 *corev1.Pod, _a1 error) *Pods_UpdateEphemeralContainers_Call
func (*Pods_UpdateEphemeralContainers_Call) Run ¶
func (_c *Pods_UpdateEphemeralContainers_Call) Run(run func(ctx context.Context, podName string, pod *corev1.Pod, opts metav1.UpdateOptions)) *Pods_UpdateEphemeralContainers_Call
func (*Pods_UpdateEphemeralContainers_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_UpdateEphemeralContainers_Call) RunAndReturn(run func(context.Context, string, *corev1.Pod, metav1.UpdateOptions) (*corev1.Pod, error)) *Pods_UpdateEphemeralContainers_Call
type Pods_UpdateStatus_Call ¶
Pods_UpdateStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatus'
func (*Pods_UpdateStatus_Call) Return ¶
func (_c *Pods_UpdateStatus_Call) Return(_a0 *corev1.Pod, _a1 error) *Pods_UpdateStatus_Call
func (*Pods_UpdateStatus_Call) Run ¶
func (_c *Pods_UpdateStatus_Call) Run(run func(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions)) *Pods_UpdateStatus_Call
func (*Pods_UpdateStatus_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_UpdateStatus_Call) RunAndReturn(run func(context.Context, *corev1.Pod, metav1.UpdateOptions) (*corev1.Pod, error)) *Pods_UpdateStatus_Call
type Pods_Update_Call ¶
Pods_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*Pods_Update_Call) Return ¶
func (_c *Pods_Update_Call) Return(_a0 *corev1.Pod, _a1 error) *Pods_Update_Call
func (*Pods_Update_Call) Run ¶
func (_c *Pods_Update_Call) Run(run func(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions)) *Pods_Update_Call
func (*Pods_Update_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_Update_Call) RunAndReturn(run func(context.Context, *corev1.Pod, metav1.UpdateOptions) (*corev1.Pod, error)) *Pods_Update_Call
type Pods_Watch_Call ¶
Pods_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*Pods_Watch_Call) Return ¶
func (_c *Pods_Watch_Call) Return(_a0 watch.Interface, _a1 error) *Pods_Watch_Call
func (*Pods_Watch_Call) Run ¶
func (_c *Pods_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Pods_Watch_Call
func (*Pods_Watch_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pods_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *Pods_Watch_Call
type Secrets ¶
Secrets is an autogenerated mock type for the Secrets type
func NewSecrets ¶
func NewSecrets(t mockConstructorTestingTNewSecrets) *Secrets
NewSecrets creates a new instance of Secrets. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Secrets) Apply ¶
func (_m *Secrets) Apply(ctx context.Context, secret *v1.SecretApplyConfiguration, opts metav1.ApplyOptions) (*corev1.Secret, error)
Apply provides a mock function with given fields: ctx, secret, opts
func (*Secrets) Create ¶
func (_m *Secrets) Create(ctx context.Context, secret *corev1.Secret, opts metav1.CreateOptions) (*corev1.Secret, error)
Create provides a mock function with given fields: ctx, secret, opts
func (*Secrets) DeleteCollection ¶
func (_m *Secrets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*Secrets) EXPECT ¶
func (_m *Secrets) EXPECT() *Secrets_Expecter
func (*Secrets) Get ¶
func (_m *Secrets) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.Secret, error)
Get provides a mock function with given fields: ctx, name, opts
func (*Secrets) List ¶
func (_m *Secrets) List(ctx context.Context, opts metav1.ListOptions) (*corev1.SecretList, error)
List provides a mock function with given fields: ctx, opts
func (*Secrets) Patch ¶
func (_m *Secrets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*corev1.Secret, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
type Secrets_Apply_Call ¶
Secrets_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'
func (*Secrets_Apply_Call) Return ¶
func (_c *Secrets_Apply_Call) Return(result *corev1.Secret, err error) *Secrets_Apply_Call
func (*Secrets_Apply_Call) Run ¶
func (_c *Secrets_Apply_Call) Run(run func(ctx context.Context, secret *v1.SecretApplyConfiguration, opts metav1.ApplyOptions)) *Secrets_Apply_Call
func (*Secrets_Apply_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Secrets_Apply_Call) RunAndReturn(run func(context.Context, *v1.SecretApplyConfiguration, metav1.ApplyOptions) (*corev1.Secret, error)) *Secrets_Apply_Call
type Secrets_Create_Call ¶
Secrets_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Secrets_Create_Call) Return ¶
func (_c *Secrets_Create_Call) Return(_a0 *corev1.Secret, _a1 error) *Secrets_Create_Call
func (*Secrets_Create_Call) Run ¶
func (_c *Secrets_Create_Call) Run(run func(ctx context.Context, secret *corev1.Secret, opts metav1.CreateOptions)) *Secrets_Create_Call
func (*Secrets_Create_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Secrets_Create_Call) RunAndReturn(run func(context.Context, *corev1.Secret, metav1.CreateOptions) (*corev1.Secret, error)) *Secrets_Create_Call
type Secrets_DeleteCollection_Call ¶
Secrets_DeleteCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCollection'
func (*Secrets_DeleteCollection_Call) Return ¶
func (_c *Secrets_DeleteCollection_Call) Return(_a0 error) *Secrets_DeleteCollection_Call
func (*Secrets_DeleteCollection_Call) Run ¶
func (_c *Secrets_DeleteCollection_Call) Run(run func(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions)) *Secrets_DeleteCollection_Call
func (*Secrets_DeleteCollection_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Secrets_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *Secrets_DeleteCollection_Call
type Secrets_Delete_Call ¶
Secrets_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Secrets_Delete_Call) Return ¶
func (_c *Secrets_Delete_Call) Return(_a0 error) *Secrets_Delete_Call
func (*Secrets_Delete_Call) Run ¶
func (_c *Secrets_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *Secrets_Delete_Call
func (*Secrets_Delete_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Secrets_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *Secrets_Delete_Call
type Secrets_Expecter ¶
type Secrets_Expecter struct {
// contains filtered or unexported fields
}
func (*Secrets_Expecter) Apply ¶
func (_e *Secrets_Expecter) Apply(ctx interface{}, secret interface{}, opts interface{}) *Secrets_Apply_Call
Apply is a helper method to define mock.On call
- ctx context.Context
- secret *v1.SecretApplyConfiguration
- opts metav1.ApplyOptions
func (*Secrets_Expecter) Create ¶
func (_e *Secrets_Expecter) Create(ctx interface{}, secret interface{}, opts interface{}) *Secrets_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- secret *corev1.Secret
- opts metav1.CreateOptions
func (*Secrets_Expecter) Delete ¶
func (_e *Secrets_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *Secrets_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.DeleteOptions
func (*Secrets_Expecter) DeleteCollection ¶
func (_e *Secrets_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *Secrets_DeleteCollection_Call
DeleteCollection is a helper method to define mock.On call
- ctx context.Context
- opts metav1.DeleteOptions
- listOpts metav1.ListOptions
func (*Secrets_Expecter) Get ¶
func (_e *Secrets_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *Secrets_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.GetOptions
func (*Secrets_Expecter) List ¶
func (_e *Secrets_Expecter) List(ctx interface{}, opts interface{}) *Secrets_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
func (*Secrets_Expecter) Patch ¶
func (_e *Secrets_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *Secrets_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- name string
- pt types.PatchType
- data []byte
- opts metav1.PatchOptions
- subresources ...string
func (*Secrets_Expecter) Update ¶
func (_e *Secrets_Expecter) Update(ctx interface{}, secret interface{}, opts interface{}) *Secrets_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- secret *corev1.Secret
- opts metav1.UpdateOptions
func (*Secrets_Expecter) Watch ¶
func (_e *Secrets_Expecter) Watch(ctx interface{}, opts interface{}) *Secrets_Watch_Call
Watch is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
type Secrets_Get_Call ¶
Secrets_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Secrets_Get_Call) Return ¶
func (_c *Secrets_Get_Call) Return(_a0 *corev1.Secret, _a1 error) *Secrets_Get_Call
func (*Secrets_Get_Call) Run ¶
func (_c *Secrets_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *Secrets_Get_Call
func (*Secrets_Get_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Secrets_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*corev1.Secret, error)) *Secrets_Get_Call
type Secrets_List_Call ¶
Secrets_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*Secrets_List_Call) Return ¶
func (_c *Secrets_List_Call) Return(_a0 *corev1.SecretList, _a1 error) *Secrets_List_Call
func (*Secrets_List_Call) Run ¶
func (_c *Secrets_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Secrets_List_Call
func (*Secrets_List_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Secrets_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*corev1.SecretList, error)) *Secrets_List_Call
type Secrets_Patch_Call ¶
Secrets_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*Secrets_Patch_Call) Return ¶
func (_c *Secrets_Patch_Call) Return(result *corev1.Secret, err error) *Secrets_Patch_Call
func (*Secrets_Patch_Call) Run ¶
func (_c *Secrets_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *Secrets_Patch_Call
func (*Secrets_Patch_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Secrets_Patch_Call) RunAndReturn(run func(context.Context, string, types.PatchType, []byte, metav1.PatchOptions, ...string) (*corev1.Secret, error)) *Secrets_Patch_Call
type Secrets_Update_Call ¶
Secrets_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*Secrets_Update_Call) Return ¶
func (_c *Secrets_Update_Call) Return(_a0 *corev1.Secret, _a1 error) *Secrets_Update_Call
func (*Secrets_Update_Call) Run ¶
func (_c *Secrets_Update_Call) Run(run func(ctx context.Context, secret *corev1.Secret, opts metav1.UpdateOptions)) *Secrets_Update_Call
func (*Secrets_Update_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Secrets_Update_Call) RunAndReturn(run func(context.Context, *corev1.Secret, metav1.UpdateOptions) (*corev1.Secret, error)) *Secrets_Update_Call
type Secrets_Watch_Call ¶
Secrets_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*Secrets_Watch_Call) Return ¶
func (_c *Secrets_Watch_Call) Return(_a0 watch.Interface, _a1 error) *Secrets_Watch_Call
func (*Secrets_Watch_Call) Run ¶
func (_c *Secrets_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Secrets_Watch_Call
func (*Secrets_Watch_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Secrets_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *Secrets_Watch_Call
type Services ¶
Services is an autogenerated mock type for the Services type
func NewServices ¶
func NewServices(t mockConstructorTestingTNewServices) *Services
NewServices creates a new instance of Services. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Services) Apply ¶
func (_m *Services) Apply(ctx context.Context, service *v1.ServiceApplyConfiguration, opts metav1.ApplyOptions) (*corev1.Service, error)
Apply provides a mock function with given fields: ctx, service, opts
func (*Services) ApplyStatus ¶
func (_m *Services) ApplyStatus(ctx context.Context, service *v1.ServiceApplyConfiguration, opts metav1.ApplyOptions) (*corev1.Service, error)
ApplyStatus provides a mock function with given fields: ctx, service, opts
func (*Services) Create ¶
func (_m *Services) Create(ctx context.Context, service *corev1.Service, opts metav1.CreateOptions) (*corev1.Service, error)
Create provides a mock function with given fields: ctx, service, opts
func (*Services) EXPECT ¶
func (_m *Services) EXPECT() *Services_Expecter
func (*Services) Get ¶
func (_m *Services) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.Service, error)
Get provides a mock function with given fields: ctx, name, opts
func (*Services) List ¶
func (_m *Services) List(ctx context.Context, opts metav1.ListOptions) (*corev1.ServiceList, error)
List provides a mock function with given fields: ctx, opts
func (*Services) Patch ¶
func (_m *Services) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*corev1.Service, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*Services) ProxyGet ¶
func (_m *Services) ProxyGet(scheme string, name string, port string, path string, params map[string]string) rest.ResponseWrapper
ProxyGet provides a mock function with given fields: scheme, name, port, path, params
func (*Services) Update ¶
func (_m *Services) Update(ctx context.Context, service *corev1.Service, opts metav1.UpdateOptions) (*corev1.Service, error)
Update provides a mock function with given fields: ctx, service, opts
type Services_ApplyStatus_Call ¶
Services_ApplyStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyStatus'
func (*Services_ApplyStatus_Call) Return ¶
func (_c *Services_ApplyStatus_Call) Return(result *corev1.Service, err error) *Services_ApplyStatus_Call
func (*Services_ApplyStatus_Call) Run ¶
func (_c *Services_ApplyStatus_Call) Run(run func(ctx context.Context, service *v1.ServiceApplyConfiguration, opts metav1.ApplyOptions)) *Services_ApplyStatus_Call
func (*Services_ApplyStatus_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Services_ApplyStatus_Call) RunAndReturn(run func(context.Context, *v1.ServiceApplyConfiguration, metav1.ApplyOptions) (*corev1.Service, error)) *Services_ApplyStatus_Call
type Services_Apply_Call ¶
Services_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'
func (*Services_Apply_Call) Return ¶
func (_c *Services_Apply_Call) Return(result *corev1.Service, err error) *Services_Apply_Call
func (*Services_Apply_Call) Run ¶
func (_c *Services_Apply_Call) Run(run func(ctx context.Context, service *v1.ServiceApplyConfiguration, opts metav1.ApplyOptions)) *Services_Apply_Call
func (*Services_Apply_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Services_Apply_Call) RunAndReturn(run func(context.Context, *v1.ServiceApplyConfiguration, metav1.ApplyOptions) (*corev1.Service, error)) *Services_Apply_Call
type Services_Create_Call ¶
Services_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Services_Create_Call) Return ¶
func (_c *Services_Create_Call) Return(_a0 *corev1.Service, _a1 error) *Services_Create_Call
func (*Services_Create_Call) Run ¶
func (_c *Services_Create_Call) Run(run func(ctx context.Context, service *corev1.Service, opts metav1.CreateOptions)) *Services_Create_Call
func (*Services_Create_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Services_Create_Call) RunAndReturn(run func(context.Context, *corev1.Service, metav1.CreateOptions) (*corev1.Service, error)) *Services_Create_Call
type Services_Delete_Call ¶
Services_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Services_Delete_Call) Return ¶
func (_c *Services_Delete_Call) Return(_a0 error) *Services_Delete_Call
func (*Services_Delete_Call) Run ¶
func (_c *Services_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *Services_Delete_Call
func (*Services_Delete_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Services_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *Services_Delete_Call
type Services_Expecter ¶
type Services_Expecter struct {
// contains filtered or unexported fields
}
func (*Services_Expecter) Apply ¶
func (_e *Services_Expecter) Apply(ctx interface{}, service interface{}, opts interface{}) *Services_Apply_Call
Apply is a helper method to define mock.On call
- ctx context.Context
- service *v1.ServiceApplyConfiguration
- opts metav1.ApplyOptions
func (*Services_Expecter) ApplyStatus ¶
func (_e *Services_Expecter) ApplyStatus(ctx interface{}, service interface{}, opts interface{}) *Services_ApplyStatus_Call
ApplyStatus is a helper method to define mock.On call
- ctx context.Context
- service *v1.ServiceApplyConfiguration
- opts metav1.ApplyOptions
func (*Services_Expecter) Create ¶
func (_e *Services_Expecter) Create(ctx interface{}, service interface{}, opts interface{}) *Services_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- service *corev1.Service
- opts metav1.CreateOptions
func (*Services_Expecter) Delete ¶
func (_e *Services_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *Services_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.DeleteOptions
func (*Services_Expecter) Get ¶
func (_e *Services_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *Services_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.GetOptions
func (*Services_Expecter) List ¶
func (_e *Services_Expecter) List(ctx interface{}, opts interface{}) *Services_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
func (*Services_Expecter) Patch ¶
func (_e *Services_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *Services_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- name string
- pt types.PatchType
- data []byte
- opts metav1.PatchOptions
- subresources ...string
func (*Services_Expecter) ProxyGet ¶
func (_e *Services_Expecter) ProxyGet(scheme interface{}, name interface{}, port interface{}, path interface{}, params interface{}) *Services_ProxyGet_Call
ProxyGet is a helper method to define mock.On call
- scheme string
- name string
- port string
- path string
- params map[string]string
func (*Services_Expecter) Update ¶
func (_e *Services_Expecter) Update(ctx interface{}, service interface{}, opts interface{}) *Services_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- service *corev1.Service
- opts metav1.UpdateOptions
func (*Services_Expecter) UpdateStatus ¶
func (_e *Services_Expecter) UpdateStatus(ctx interface{}, service interface{}, opts interface{}) *Services_UpdateStatus_Call
UpdateStatus is a helper method to define mock.On call
- ctx context.Context
- service *corev1.Service
- opts metav1.UpdateOptions
func (*Services_Expecter) Watch ¶
func (_e *Services_Expecter) Watch(ctx interface{}, opts interface{}) *Services_Watch_Call
Watch is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
type Services_Get_Call ¶
Services_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Services_Get_Call) Return ¶
func (_c *Services_Get_Call) Return(_a0 *corev1.Service, _a1 error) *Services_Get_Call
func (*Services_Get_Call) Run ¶
func (_c *Services_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *Services_Get_Call
func (*Services_Get_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Services_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*corev1.Service, error)) *Services_Get_Call
type Services_List_Call ¶
Services_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*Services_List_Call) Return ¶
func (_c *Services_List_Call) Return(_a0 *corev1.ServiceList, _a1 error) *Services_List_Call
func (*Services_List_Call) Run ¶
func (_c *Services_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Services_List_Call
func (*Services_List_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Services_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*corev1.ServiceList, error)) *Services_List_Call
type Services_Patch_Call ¶
Services_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*Services_Patch_Call) Return ¶
func (_c *Services_Patch_Call) Return(result *corev1.Service, err error) *Services_Patch_Call
func (*Services_Patch_Call) Run ¶
func (_c *Services_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *Services_Patch_Call
func (*Services_Patch_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Services_Patch_Call) RunAndReturn(run func(context.Context, string, types.PatchType, []byte, metav1.PatchOptions, ...string) (*corev1.Service, error)) *Services_Patch_Call
type Services_ProxyGet_Call ¶
Services_ProxyGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProxyGet'
func (*Services_ProxyGet_Call) Return ¶
func (_c *Services_ProxyGet_Call) Return(_a0 rest.ResponseWrapper) *Services_ProxyGet_Call
func (*Services_ProxyGet_Call) Run ¶
func (_c *Services_ProxyGet_Call) Run(run func(scheme string, name string, port string, path string, params map[string]string)) *Services_ProxyGet_Call
func (*Services_ProxyGet_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Services_ProxyGet_Call) RunAndReturn(run func(string, string, string, string, map[string]string) rest.ResponseWrapper) *Services_ProxyGet_Call
type Services_UpdateStatus_Call ¶
Services_UpdateStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatus'
func (*Services_UpdateStatus_Call) Return ¶
func (_c *Services_UpdateStatus_Call) Return(_a0 *corev1.Service, _a1 error) *Services_UpdateStatus_Call
func (*Services_UpdateStatus_Call) Run ¶
func (_c *Services_UpdateStatus_Call) Run(run func(ctx context.Context, service *corev1.Service, opts metav1.UpdateOptions)) *Services_UpdateStatus_Call
func (*Services_UpdateStatus_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Services_UpdateStatus_Call) RunAndReturn(run func(context.Context, *corev1.Service, metav1.UpdateOptions) (*corev1.Service, error)) *Services_UpdateStatus_Call
type Services_Update_Call ¶
Services_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*Services_Update_Call) Return ¶
func (_c *Services_Update_Call) Return(_a0 *corev1.Service, _a1 error) *Services_Update_Call
func (*Services_Update_Call) Run ¶
func (_c *Services_Update_Call) Run(run func(ctx context.Context, service *corev1.Service, opts metav1.UpdateOptions)) *Services_Update_Call
func (*Services_Update_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Services_Update_Call) RunAndReturn(run func(context.Context, *corev1.Service, metav1.UpdateOptions) (*corev1.Service, error)) *Services_Update_Call
type Services_Watch_Call ¶
Services_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*Services_Watch_Call) Return ¶
func (_c *Services_Watch_Call) Return(_a0 watch.Interface, _a1 error) *Services_Watch_Call
func (*Services_Watch_Call) Run ¶
func (_c *Services_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Services_Watch_Call
func (*Services_Watch_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Services_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *Services_Watch_Call
type StatefulSets ¶
StatefulSets is an autogenerated mock type for the StatefulSets type
func NewStatefulSets ¶
func NewStatefulSets(t mockConstructorTestingTNewStatefulSets) *StatefulSets
NewStatefulSets creates a new instance of StatefulSets. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*StatefulSets) Apply ¶
func (_m *StatefulSets) Apply(ctx context.Context, statefulSet *v1.StatefulSetApplyConfiguration, opts metav1.ApplyOptions) (*appsv1.StatefulSet, error)
Apply provides a mock function with given fields: ctx, statefulSet, opts
func (*StatefulSets) ApplyScale ¶
func (_m *StatefulSets) ApplyScale(ctx context.Context, statefulSetName string, scale *autoscalingv1.ScaleApplyConfiguration, opts metav1.ApplyOptions) (*apiautoscalingv1.Scale, error)
ApplyScale provides a mock function with given fields: ctx, statefulSetName, scale, opts
func (*StatefulSets) ApplyStatus ¶
func (_m *StatefulSets) ApplyStatus(ctx context.Context, statefulSet *v1.StatefulSetApplyConfiguration, opts metav1.ApplyOptions) (*appsv1.StatefulSet, error)
ApplyStatus provides a mock function with given fields: ctx, statefulSet, opts
func (*StatefulSets) Create ¶
func (_m *StatefulSets) Create(ctx context.Context, statefulSet *appsv1.StatefulSet, opts metav1.CreateOptions) (*appsv1.StatefulSet, error)
Create provides a mock function with given fields: ctx, statefulSet, opts
func (*StatefulSets) Delete ¶
func (_m *StatefulSets) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*StatefulSets) DeleteCollection ¶
func (_m *StatefulSets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*StatefulSets) EXPECT ¶
func (_m *StatefulSets) EXPECT() *StatefulSets_Expecter
func (*StatefulSets) Get ¶
func (_m *StatefulSets) Get(ctx context.Context, name string, opts metav1.GetOptions) (*appsv1.StatefulSet, error)
Get provides a mock function with given fields: ctx, name, opts
func (*StatefulSets) GetScale ¶
func (_m *StatefulSets) GetScale(ctx context.Context, statefulSetName string, options metav1.GetOptions) (*apiautoscalingv1.Scale, error)
GetScale provides a mock function with given fields: ctx, statefulSetName, options
func (*StatefulSets) List ¶
func (_m *StatefulSets) List(ctx context.Context, opts metav1.ListOptions) (*appsv1.StatefulSetList, error)
List provides a mock function with given fields: ctx, opts
func (*StatefulSets) Patch ¶
func (_m *StatefulSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*appsv1.StatefulSet, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*StatefulSets) Update ¶
func (_m *StatefulSets) Update(ctx context.Context, statefulSet *appsv1.StatefulSet, opts metav1.UpdateOptions) (*appsv1.StatefulSet, error)
Update provides a mock function with given fields: ctx, statefulSet, opts
func (*StatefulSets) UpdateScale ¶
func (_m *StatefulSets) UpdateScale(ctx context.Context, statefulSetName string, scale *apiautoscalingv1.Scale, opts metav1.UpdateOptions) (*apiautoscalingv1.Scale, error)
UpdateScale provides a mock function with given fields: ctx, statefulSetName, scale, opts
func (*StatefulSets) UpdateStatus ¶
func (_m *StatefulSets) UpdateStatus(ctx context.Context, statefulSet *appsv1.StatefulSet, opts metav1.UpdateOptions) (*appsv1.StatefulSet, error)
UpdateStatus provides a mock function with given fields: ctx, statefulSet, opts
func (*StatefulSets) Watch ¶
func (_m *StatefulSets) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type StatefulSets_ApplyScale_Call ¶
StatefulSets_ApplyScale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyScale'
func (*StatefulSets_ApplyScale_Call) Return ¶
func (_c *StatefulSets_ApplyScale_Call) Return(_a0 *apiautoscalingv1.Scale, _a1 error) *StatefulSets_ApplyScale_Call
func (*StatefulSets_ApplyScale_Call) Run ¶
func (_c *StatefulSets_ApplyScale_Call) Run(run func(ctx context.Context, statefulSetName string, scale *autoscalingv1.ScaleApplyConfiguration, opts metav1.ApplyOptions)) *StatefulSets_ApplyScale_Call
func (*StatefulSets_ApplyScale_Call) RunAndReturn ¶ added in v1.0.73
func (_c *StatefulSets_ApplyScale_Call) RunAndReturn(run func(context.Context, string, *autoscalingv1.ScaleApplyConfiguration, metav1.ApplyOptions) (*apiautoscalingv1.Scale, error)) *StatefulSets_ApplyScale_Call
type StatefulSets_ApplyStatus_Call ¶
StatefulSets_ApplyStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyStatus'
func (*StatefulSets_ApplyStatus_Call) Return ¶
func (_c *StatefulSets_ApplyStatus_Call) Return(result *appsv1.StatefulSet, err error) *StatefulSets_ApplyStatus_Call
func (*StatefulSets_ApplyStatus_Call) Run ¶
func (_c *StatefulSets_ApplyStatus_Call) Run(run func(ctx context.Context, statefulSet *v1.StatefulSetApplyConfiguration, opts metav1.ApplyOptions)) *StatefulSets_ApplyStatus_Call
func (*StatefulSets_ApplyStatus_Call) RunAndReturn ¶ added in v1.0.73
func (_c *StatefulSets_ApplyStatus_Call) RunAndReturn(run func(context.Context, *v1.StatefulSetApplyConfiguration, metav1.ApplyOptions) (*appsv1.StatefulSet, error)) *StatefulSets_ApplyStatus_Call
type StatefulSets_Apply_Call ¶
StatefulSets_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'
func (*StatefulSets_Apply_Call) Return ¶
func (_c *StatefulSets_Apply_Call) Return(result *appsv1.StatefulSet, err error) *StatefulSets_Apply_Call
func (*StatefulSets_Apply_Call) Run ¶
func (_c *StatefulSets_Apply_Call) Run(run func(ctx context.Context, statefulSet *v1.StatefulSetApplyConfiguration, opts metav1.ApplyOptions)) *StatefulSets_Apply_Call
func (*StatefulSets_Apply_Call) RunAndReturn ¶ added in v1.0.73
func (_c *StatefulSets_Apply_Call) RunAndReturn(run func(context.Context, *v1.StatefulSetApplyConfiguration, metav1.ApplyOptions) (*appsv1.StatefulSet, error)) *StatefulSets_Apply_Call
type StatefulSets_Create_Call ¶
StatefulSets_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*StatefulSets_Create_Call) Return ¶
func (_c *StatefulSets_Create_Call) Return(_a0 *appsv1.StatefulSet, _a1 error) *StatefulSets_Create_Call
func (*StatefulSets_Create_Call) Run ¶
func (_c *StatefulSets_Create_Call) Run(run func(ctx context.Context, statefulSet *appsv1.StatefulSet, opts metav1.CreateOptions)) *StatefulSets_Create_Call
func (*StatefulSets_Create_Call) RunAndReturn ¶ added in v1.0.73
func (_c *StatefulSets_Create_Call) RunAndReturn(run func(context.Context, *appsv1.StatefulSet, metav1.CreateOptions) (*appsv1.StatefulSet, error)) *StatefulSets_Create_Call
type StatefulSets_DeleteCollection_Call ¶
StatefulSets_DeleteCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCollection'
func (*StatefulSets_DeleteCollection_Call) Return ¶
func (_c *StatefulSets_DeleteCollection_Call) Return(_a0 error) *StatefulSets_DeleteCollection_Call
func (*StatefulSets_DeleteCollection_Call) Run ¶
func (_c *StatefulSets_DeleteCollection_Call) Run(run func(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions)) *StatefulSets_DeleteCollection_Call
func (*StatefulSets_DeleteCollection_Call) RunAndReturn ¶ added in v1.0.73
func (_c *StatefulSets_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *StatefulSets_DeleteCollection_Call
type StatefulSets_Delete_Call ¶
StatefulSets_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*StatefulSets_Delete_Call) Return ¶
func (_c *StatefulSets_Delete_Call) Return(_a0 error) *StatefulSets_Delete_Call
func (*StatefulSets_Delete_Call) Run ¶
func (_c *StatefulSets_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *StatefulSets_Delete_Call
func (*StatefulSets_Delete_Call) RunAndReturn ¶ added in v1.0.73
func (_c *StatefulSets_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *StatefulSets_Delete_Call
type StatefulSets_Expecter ¶
type StatefulSets_Expecter struct {
// contains filtered or unexported fields
}
func (*StatefulSets_Expecter) Apply ¶
func (_e *StatefulSets_Expecter) Apply(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_Apply_Call
Apply is a helper method to define mock.On call
- ctx context.Context
- statefulSet *v1.StatefulSetApplyConfiguration
- opts metav1.ApplyOptions
func (*StatefulSets_Expecter) ApplyScale ¶
func (_e *StatefulSets_Expecter) ApplyScale(ctx interface{}, statefulSetName interface{}, scale interface{}, opts interface{}) *StatefulSets_ApplyScale_Call
ApplyScale is a helper method to define mock.On call
- ctx context.Context
- statefulSetName string
- scale *autoscalingv1.ScaleApplyConfiguration
- opts metav1.ApplyOptions
func (*StatefulSets_Expecter) ApplyStatus ¶
func (_e *StatefulSets_Expecter) ApplyStatus(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_ApplyStatus_Call
ApplyStatus is a helper method to define mock.On call
- ctx context.Context
- statefulSet *v1.StatefulSetApplyConfiguration
- opts metav1.ApplyOptions
func (*StatefulSets_Expecter) Create ¶
func (_e *StatefulSets_Expecter) Create(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- statefulSet *appsv1.StatefulSet
- opts metav1.CreateOptions
func (*StatefulSets_Expecter) Delete ¶
func (_e *StatefulSets_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *StatefulSets_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.DeleteOptions
func (*StatefulSets_Expecter) DeleteCollection ¶
func (_e *StatefulSets_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *StatefulSets_DeleteCollection_Call
DeleteCollection is a helper method to define mock.On call
- ctx context.Context
- opts metav1.DeleteOptions
- listOpts metav1.ListOptions
func (*StatefulSets_Expecter) Get ¶
func (_e *StatefulSets_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *StatefulSets_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.GetOptions
func (*StatefulSets_Expecter) GetScale ¶
func (_e *StatefulSets_Expecter) GetScale(ctx interface{}, statefulSetName interface{}, options interface{}) *StatefulSets_GetScale_Call
GetScale is a helper method to define mock.On call
- ctx context.Context
- statefulSetName string
- options metav1.GetOptions
func (*StatefulSets_Expecter) List ¶
func (_e *StatefulSets_Expecter) List(ctx interface{}, opts interface{}) *StatefulSets_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
func (*StatefulSets_Expecter) Patch ¶
func (_e *StatefulSets_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *StatefulSets_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- name string
- pt types.PatchType
- data []byte
- opts metav1.PatchOptions
- subresources ...string
func (*StatefulSets_Expecter) Update ¶
func (_e *StatefulSets_Expecter) Update(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- statefulSet *appsv1.StatefulSet
- opts metav1.UpdateOptions
func (*StatefulSets_Expecter) UpdateScale ¶
func (_e *StatefulSets_Expecter) UpdateScale(ctx interface{}, statefulSetName interface{}, scale interface{}, opts interface{}) *StatefulSets_UpdateScale_Call
UpdateScale is a helper method to define mock.On call
- ctx context.Context
- statefulSetName string
- scale *apiautoscalingv1.Scale
- opts metav1.UpdateOptions
func (*StatefulSets_Expecter) UpdateStatus ¶
func (_e *StatefulSets_Expecter) UpdateStatus(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_UpdateStatus_Call
UpdateStatus is a helper method to define mock.On call
- ctx context.Context
- statefulSet *appsv1.StatefulSet
- opts metav1.UpdateOptions
func (*StatefulSets_Expecter) Watch ¶
func (_e *StatefulSets_Expecter) Watch(ctx interface{}, opts interface{}) *StatefulSets_Watch_Call
Watch is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
type StatefulSets_GetScale_Call ¶
StatefulSets_GetScale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScale'
func (*StatefulSets_GetScale_Call) Return ¶
func (_c *StatefulSets_GetScale_Call) Return(_a0 *apiautoscalingv1.Scale, _a1 error) *StatefulSets_GetScale_Call
func (*StatefulSets_GetScale_Call) Run ¶
func (_c *StatefulSets_GetScale_Call) Run(run func(ctx context.Context, statefulSetName string, options metav1.GetOptions)) *StatefulSets_GetScale_Call
func (*StatefulSets_GetScale_Call) RunAndReturn ¶ added in v1.0.73
func (_c *StatefulSets_GetScale_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*apiautoscalingv1.Scale, error)) *StatefulSets_GetScale_Call
type StatefulSets_Get_Call ¶
StatefulSets_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*StatefulSets_Get_Call) Return ¶
func (_c *StatefulSets_Get_Call) Return(_a0 *appsv1.StatefulSet, _a1 error) *StatefulSets_Get_Call
func (*StatefulSets_Get_Call) Run ¶
func (_c *StatefulSets_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *StatefulSets_Get_Call
func (*StatefulSets_Get_Call) RunAndReturn ¶ added in v1.0.73
func (_c *StatefulSets_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*appsv1.StatefulSet, error)) *StatefulSets_Get_Call
type StatefulSets_List_Call ¶
StatefulSets_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*StatefulSets_List_Call) Return ¶
func (_c *StatefulSets_List_Call) Return(_a0 *appsv1.StatefulSetList, _a1 error) *StatefulSets_List_Call
func (*StatefulSets_List_Call) Run ¶
func (_c *StatefulSets_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *StatefulSets_List_Call
func (*StatefulSets_List_Call) RunAndReturn ¶ added in v1.0.73
func (_c *StatefulSets_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*appsv1.StatefulSetList, error)) *StatefulSets_List_Call
type StatefulSets_Patch_Call ¶
StatefulSets_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*StatefulSets_Patch_Call) Return ¶
func (_c *StatefulSets_Patch_Call) Return(result *appsv1.StatefulSet, err error) *StatefulSets_Patch_Call
func (*StatefulSets_Patch_Call) Run ¶
func (_c *StatefulSets_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *StatefulSets_Patch_Call
func (*StatefulSets_Patch_Call) RunAndReturn ¶ added in v1.0.73
func (_c *StatefulSets_Patch_Call) RunAndReturn(run func(context.Context, string, types.PatchType, []byte, metav1.PatchOptions, ...string) (*appsv1.StatefulSet, error)) *StatefulSets_Patch_Call
type StatefulSets_UpdateScale_Call ¶
StatefulSets_UpdateScale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateScale'
func (*StatefulSets_UpdateScale_Call) Return ¶
func (_c *StatefulSets_UpdateScale_Call) Return(_a0 *apiautoscalingv1.Scale, _a1 error) *StatefulSets_UpdateScale_Call
func (*StatefulSets_UpdateScale_Call) Run ¶
func (_c *StatefulSets_UpdateScale_Call) Run(run func(ctx context.Context, statefulSetName string, scale *apiautoscalingv1.Scale, opts metav1.UpdateOptions)) *StatefulSets_UpdateScale_Call
func (*StatefulSets_UpdateScale_Call) RunAndReturn ¶ added in v1.0.73
func (_c *StatefulSets_UpdateScale_Call) RunAndReturn(run func(context.Context, string, *apiautoscalingv1.Scale, metav1.UpdateOptions) (*apiautoscalingv1.Scale, error)) *StatefulSets_UpdateScale_Call
type StatefulSets_UpdateStatus_Call ¶
StatefulSets_UpdateStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatus'
func (*StatefulSets_UpdateStatus_Call) Return ¶
func (_c *StatefulSets_UpdateStatus_Call) Return(_a0 *appsv1.StatefulSet, _a1 error) *StatefulSets_UpdateStatus_Call
func (*StatefulSets_UpdateStatus_Call) Run ¶
func (_c *StatefulSets_UpdateStatus_Call) Run(run func(ctx context.Context, statefulSet *appsv1.StatefulSet, opts metav1.UpdateOptions)) *StatefulSets_UpdateStatus_Call
func (*StatefulSets_UpdateStatus_Call) RunAndReturn ¶ added in v1.0.73
func (_c *StatefulSets_UpdateStatus_Call) RunAndReturn(run func(context.Context, *appsv1.StatefulSet, metav1.UpdateOptions) (*appsv1.StatefulSet, error)) *StatefulSets_UpdateStatus_Call
type StatefulSets_Update_Call ¶
StatefulSets_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*StatefulSets_Update_Call) Return ¶
func (_c *StatefulSets_Update_Call) Return(_a0 *appsv1.StatefulSet, _a1 error) *StatefulSets_Update_Call
func (*StatefulSets_Update_Call) Run ¶
func (_c *StatefulSets_Update_Call) Run(run func(ctx context.Context, statefulSet *appsv1.StatefulSet, opts metav1.UpdateOptions)) *StatefulSets_Update_Call
func (*StatefulSets_Update_Call) RunAndReturn ¶ added in v1.0.73
func (_c *StatefulSets_Update_Call) RunAndReturn(run func(context.Context, *appsv1.StatefulSet, metav1.UpdateOptions) (*appsv1.StatefulSet, error)) *StatefulSets_Update_Call
type StatefulSets_Watch_Call ¶
StatefulSets_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*StatefulSets_Watch_Call) Return ¶
func (_c *StatefulSets_Watch_Call) Return(_a0 watch.Interface, _a1 error) *StatefulSets_Watch_Call
func (*StatefulSets_Watch_Call) Run ¶
func (_c *StatefulSets_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *StatefulSets_Watch_Call
func (*StatefulSets_Watch_Call) RunAndReturn ¶ added in v1.0.73
func (_c *StatefulSets_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *StatefulSets_Watch_Call
type Watch ¶
Watch is an autogenerated mock type for the Watch type
func NewWatch ¶
func NewWatch(t mockConstructorTestingTNewWatch) *Watch
NewWatch creates a new instance of Watch. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Watch) EXPECT ¶
func (_m *Watch) EXPECT() *Watch_Expecter
func (*Watch) ResultChan ¶
ResultChan provides a mock function with given fields:
type Watch_Expecter ¶
type Watch_Expecter struct {
// contains filtered or unexported fields
}
func (*Watch_Expecter) ResultChan ¶
func (_e *Watch_Expecter) ResultChan() *Watch_ResultChan_Call
ResultChan is a helper method to define mock.On call
func (*Watch_Expecter) Stop ¶
func (_e *Watch_Expecter) Stop() *Watch_Stop_Call
Stop is a helper method to define mock.On call
type Watch_ResultChan_Call ¶
Watch_ResultChan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResultChan'
func (*Watch_ResultChan_Call) Return ¶
func (_c *Watch_ResultChan_Call) Return(_a0 <-chan watch.Event) *Watch_ResultChan_Call
func (*Watch_ResultChan_Call) Run ¶
func (_c *Watch_ResultChan_Call) Run(run func()) *Watch_ResultChan_Call
func (*Watch_ResultChan_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Watch_ResultChan_Call) RunAndReturn(run func() <-chan watch.Event) *Watch_ResultChan_Call
type Watch_Stop_Call ¶
Watch_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*Watch_Stop_Call) Return ¶
func (_c *Watch_Stop_Call) Return() *Watch_Stop_Call
func (*Watch_Stop_Call) Run ¶
func (_c *Watch_Stop_Call) Run(run func()) *Watch_Stop_Call
func (*Watch_Stop_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Watch_Stop_Call) RunAndReturn(run func()) *Watch_Stop_Call