Documentation ¶
Index ¶
- type Client
- func (_m *Client) DeletePod(ctx context.Context, namespace string, name string, opts v1.DeleteOptions) error
- func (_m *Client) GetStatefulSet(ctx context.Context, namespace string, name string, opts v1.GetOptions) (*appsv1.StatefulSet, error)
- func (_m *Client) ListNamespaces(ctx context.Context, opts v1.ListOptions) ([]corev1.Namespace, error)
- func (_m *Client) ListPods(ctx context.Context, namespace string, opts v1.ListOptions) ([]corev1.Pod, error)
- func (_m *Client) ListStatefulSets(ctx context.Context, namespace string, opts v1.ListOptions) ([]appsv1.StatefulSet, error)
- type CoreV1Interface
- func (_m *CoreV1Interface) ComponentStatuses() v1.ComponentStatusInterface
- func (_m *CoreV1Interface) ConfigMaps(namespace string) v1.ConfigMapInterface
- func (_m *CoreV1Interface) EXPECT() *CoreV1Interface_Expecter
- func (_m *CoreV1Interface) Endpoints(namespace string) v1.EndpointsInterface
- func (_m *CoreV1Interface) Events(namespace string) v1.EventInterface
- func (_m *CoreV1Interface) LimitRanges(namespace string) v1.LimitRangeInterface
- func (_m *CoreV1Interface) Namespaces() v1.NamespaceInterface
- func (_m *CoreV1Interface) Nodes() v1.NodeInterface
- func (_m *CoreV1Interface) PersistentVolumeClaims(namespace string) v1.PersistentVolumeClaimInterface
- func (_m *CoreV1Interface) PersistentVolumes() v1.PersistentVolumeInterface
- func (_m *CoreV1Interface) PodTemplates(namespace string) v1.PodTemplateInterface
- func (_m *CoreV1Interface) Pods(namespace string) v1.PodInterface
- func (_m *CoreV1Interface) RESTClient() rest.Interface
- func (_m *CoreV1Interface) ReplicationControllers(namespace string) v1.ReplicationControllerInterface
- func (_m *CoreV1Interface) ResourceQuotas(namespace string) v1.ResourceQuotaInterface
- func (_m *CoreV1Interface) Secrets(namespace string) v1.SecretInterface
- func (_m *CoreV1Interface) ServiceAccounts(namespace string) v1.ServiceAccountInterface
- func (_m *CoreV1Interface) Services(namespace string) v1.ServiceInterface
- type CoreV1Interface_ComponentStatuses_Call
- func (_c *CoreV1Interface_ComponentStatuses_Call) Return(_a0 v1.ComponentStatusInterface) *CoreV1Interface_ComponentStatuses_Call
- func (_c *CoreV1Interface_ComponentStatuses_Call) Run(run func()) *CoreV1Interface_ComponentStatuses_Call
- func (_c *CoreV1Interface_ComponentStatuses_Call) RunAndReturn(run func() v1.ComponentStatusInterface) *CoreV1Interface_ComponentStatuses_Call
- type CoreV1Interface_ConfigMaps_Call
- func (_c *CoreV1Interface_ConfigMaps_Call) Return(_a0 v1.ConfigMapInterface) *CoreV1Interface_ConfigMaps_Call
- func (_c *CoreV1Interface_ConfigMaps_Call) Run(run func(namespace string)) *CoreV1Interface_ConfigMaps_Call
- func (_c *CoreV1Interface_ConfigMaps_Call) RunAndReturn(run func(string) v1.ConfigMapInterface) *CoreV1Interface_ConfigMaps_Call
- type CoreV1Interface_Endpoints_Call
- func (_c *CoreV1Interface_Endpoints_Call) Return(_a0 v1.EndpointsInterface) *CoreV1Interface_Endpoints_Call
- func (_c *CoreV1Interface_Endpoints_Call) Run(run func(namespace string)) *CoreV1Interface_Endpoints_Call
- func (_c *CoreV1Interface_Endpoints_Call) RunAndReturn(run func(string) v1.EndpointsInterface) *CoreV1Interface_Endpoints_Call
- type CoreV1Interface_Events_Call
- func (_c *CoreV1Interface_Events_Call) Return(_a0 v1.EventInterface) *CoreV1Interface_Events_Call
- func (_c *CoreV1Interface_Events_Call) Run(run func(namespace string)) *CoreV1Interface_Events_Call
- func (_c *CoreV1Interface_Events_Call) RunAndReturn(run func(string) v1.EventInterface) *CoreV1Interface_Events_Call
- type CoreV1Interface_Expecter
- func (_e *CoreV1Interface_Expecter) ComponentStatuses() *CoreV1Interface_ComponentStatuses_Call
- func (_e *CoreV1Interface_Expecter) ConfigMaps(namespace interface{}) *CoreV1Interface_ConfigMaps_Call
- func (_e *CoreV1Interface_Expecter) Endpoints(namespace interface{}) *CoreV1Interface_Endpoints_Call
- func (_e *CoreV1Interface_Expecter) Events(namespace interface{}) *CoreV1Interface_Events_Call
- func (_e *CoreV1Interface_Expecter) LimitRanges(namespace interface{}) *CoreV1Interface_LimitRanges_Call
- func (_e *CoreV1Interface_Expecter) Namespaces() *CoreV1Interface_Namespaces_Call
- func (_e *CoreV1Interface_Expecter) Nodes() *CoreV1Interface_Nodes_Call
- func (_e *CoreV1Interface_Expecter) PersistentVolumeClaims(namespace interface{}) *CoreV1Interface_PersistentVolumeClaims_Call
- func (_e *CoreV1Interface_Expecter) PersistentVolumes() *CoreV1Interface_PersistentVolumes_Call
- func (_e *CoreV1Interface_Expecter) PodTemplates(namespace interface{}) *CoreV1Interface_PodTemplates_Call
- func (_e *CoreV1Interface_Expecter) Pods(namespace interface{}) *CoreV1Interface_Pods_Call
- func (_e *CoreV1Interface_Expecter) RESTClient() *CoreV1Interface_RESTClient_Call
- func (_e *CoreV1Interface_Expecter) ReplicationControllers(namespace interface{}) *CoreV1Interface_ReplicationControllers_Call
- func (_e *CoreV1Interface_Expecter) ResourceQuotas(namespace interface{}) *CoreV1Interface_ResourceQuotas_Call
- func (_e *CoreV1Interface_Expecter) Secrets(namespace interface{}) *CoreV1Interface_Secrets_Call
- func (_e *CoreV1Interface_Expecter) ServiceAccounts(namespace interface{}) *CoreV1Interface_ServiceAccounts_Call
- func (_e *CoreV1Interface_Expecter) Services(namespace interface{}) *CoreV1Interface_Services_Call
- type CoreV1Interface_LimitRanges_Call
- func (_c *CoreV1Interface_LimitRanges_Call) Return(_a0 v1.LimitRangeInterface) *CoreV1Interface_LimitRanges_Call
- func (_c *CoreV1Interface_LimitRanges_Call) Run(run func(namespace string)) *CoreV1Interface_LimitRanges_Call
- func (_c *CoreV1Interface_LimitRanges_Call) RunAndReturn(run func(string) v1.LimitRangeInterface) *CoreV1Interface_LimitRanges_Call
- type CoreV1Interface_Namespaces_Call
- func (_c *CoreV1Interface_Namespaces_Call) Return(_a0 v1.NamespaceInterface) *CoreV1Interface_Namespaces_Call
- func (_c *CoreV1Interface_Namespaces_Call) Run(run func()) *CoreV1Interface_Namespaces_Call
- func (_c *CoreV1Interface_Namespaces_Call) RunAndReturn(run func() v1.NamespaceInterface) *CoreV1Interface_Namespaces_Call
- type CoreV1Interface_Nodes_Call
- type CoreV1Interface_PersistentVolumeClaims_Call
- func (_c *CoreV1Interface_PersistentVolumeClaims_Call) Return(_a0 v1.PersistentVolumeClaimInterface) *CoreV1Interface_PersistentVolumeClaims_Call
- func (_c *CoreV1Interface_PersistentVolumeClaims_Call) Run(run func(namespace string)) *CoreV1Interface_PersistentVolumeClaims_Call
- func (_c *CoreV1Interface_PersistentVolumeClaims_Call) RunAndReturn(run func(string) v1.PersistentVolumeClaimInterface) *CoreV1Interface_PersistentVolumeClaims_Call
- type CoreV1Interface_PersistentVolumes_Call
- func (_c *CoreV1Interface_PersistentVolumes_Call) Return(_a0 v1.PersistentVolumeInterface) *CoreV1Interface_PersistentVolumes_Call
- func (_c *CoreV1Interface_PersistentVolumes_Call) Run(run func()) *CoreV1Interface_PersistentVolumes_Call
- func (_c *CoreV1Interface_PersistentVolumes_Call) RunAndReturn(run func() v1.PersistentVolumeInterface) *CoreV1Interface_PersistentVolumes_Call
- type CoreV1Interface_PodTemplates_Call
- func (_c *CoreV1Interface_PodTemplates_Call) Return(_a0 v1.PodTemplateInterface) *CoreV1Interface_PodTemplates_Call
- func (_c *CoreV1Interface_PodTemplates_Call) Run(run func(namespace string)) *CoreV1Interface_PodTemplates_Call
- func (_c *CoreV1Interface_PodTemplates_Call) RunAndReturn(run func(string) v1.PodTemplateInterface) *CoreV1Interface_PodTemplates_Call
- type CoreV1Interface_Pods_Call
- type CoreV1Interface_RESTClient_Call
- func (_c *CoreV1Interface_RESTClient_Call) Return(_a0 rest.Interface) *CoreV1Interface_RESTClient_Call
- func (_c *CoreV1Interface_RESTClient_Call) Run(run func()) *CoreV1Interface_RESTClient_Call
- func (_c *CoreV1Interface_RESTClient_Call) RunAndReturn(run func() rest.Interface) *CoreV1Interface_RESTClient_Call
- type CoreV1Interface_ReplicationControllers_Call
- func (_c *CoreV1Interface_ReplicationControllers_Call) Return(_a0 v1.ReplicationControllerInterface) *CoreV1Interface_ReplicationControllers_Call
- func (_c *CoreV1Interface_ReplicationControllers_Call) Run(run func(namespace string)) *CoreV1Interface_ReplicationControllers_Call
- func (_c *CoreV1Interface_ReplicationControllers_Call) RunAndReturn(run func(string) v1.ReplicationControllerInterface) *CoreV1Interface_ReplicationControllers_Call
- type CoreV1Interface_ResourceQuotas_Call
- func (_c *CoreV1Interface_ResourceQuotas_Call) Return(_a0 v1.ResourceQuotaInterface) *CoreV1Interface_ResourceQuotas_Call
- func (_c *CoreV1Interface_ResourceQuotas_Call) Run(run func(namespace string)) *CoreV1Interface_ResourceQuotas_Call
- func (_c *CoreV1Interface_ResourceQuotas_Call) RunAndReturn(run func(string) v1.ResourceQuotaInterface) *CoreV1Interface_ResourceQuotas_Call
- type CoreV1Interface_Secrets_Call
- func (_c *CoreV1Interface_Secrets_Call) Return(_a0 v1.SecretInterface) *CoreV1Interface_Secrets_Call
- func (_c *CoreV1Interface_Secrets_Call) Run(run func(namespace string)) *CoreV1Interface_Secrets_Call
- func (_c *CoreV1Interface_Secrets_Call) RunAndReturn(run func(string) v1.SecretInterface) *CoreV1Interface_Secrets_Call
- type CoreV1Interface_ServiceAccounts_Call
- func (_c *CoreV1Interface_ServiceAccounts_Call) Return(_a0 v1.ServiceAccountInterface) *CoreV1Interface_ServiceAccounts_Call
- func (_c *CoreV1Interface_ServiceAccounts_Call) Run(run func(namespace string)) *CoreV1Interface_ServiceAccounts_Call
- func (_c *CoreV1Interface_ServiceAccounts_Call) RunAndReturn(run func(string) v1.ServiceAccountInterface) *CoreV1Interface_ServiceAccounts_Call
- type CoreV1Interface_Services_Call
- func (_c *CoreV1Interface_Services_Call) Return(_a0 v1.ServiceInterface) *CoreV1Interface_Services_Call
- func (_c *CoreV1Interface_Services_Call) Run(run func(namespace string)) *CoreV1Interface_Services_Call
- func (_c *CoreV1Interface_Services_Call) RunAndReturn(run func(string) v1.ServiceInterface) *CoreV1Interface_Services_Call
- type Interface
- func (_m *Interface) AdmissionregistrationV1() v1.AdmissionregistrationV1Interface
- func (_m *Interface) AdmissionregistrationV1beta1() v1beta1.AdmissionregistrationV1beta1Interface
- func (_m *Interface) AppsV1() appsv1.AppsV1Interface
- func (_m *Interface) AppsV1beta1() appsv1beta1.AppsV1beta1Interface
- func (_m *Interface) AppsV1beta2() v1beta2.AppsV1beta2Interface
- func (_m *Interface) AuthenticationV1() authenticationv1.AuthenticationV1Interface
- func (_m *Interface) AuthenticationV1beta1() authenticationv1beta1.AuthenticationV1beta1Interface
- func (_m *Interface) AuthorizationV1() authorizationv1.AuthorizationV1Interface
- func (_m *Interface) AuthorizationV1beta1() authorizationv1beta1.AuthorizationV1beta1Interface
- func (_m *Interface) AutoscalingV1() autoscalingv1.AutoscalingV1Interface
- func (_m *Interface) AutoscalingV2beta1() v2beta1.AutoscalingV2beta1Interface
- func (_m *Interface) AutoscalingV2beta2() v2beta2.AutoscalingV2beta2Interface
- func (_m *Interface) BatchV1() batchv1.BatchV1Interface
- func (_m *Interface) BatchV1beta1() batchv1beta1.BatchV1beta1Interface
- func (_m *Interface) CertificatesV1() certificatesv1.CertificatesV1Interface
- func (_m *Interface) CertificatesV1beta1() certificatesv1beta1.CertificatesV1beta1Interface
- func (_m *Interface) CoordinationV1() coordinationv1.CoordinationV1Interface
- func (_m *Interface) CoordinationV1beta1() coordinationv1beta1.CoordinationV1beta1Interface
- func (_m *Interface) CoreV1() corev1.CoreV1Interface
- func (_m *Interface) Discovery() discovery.DiscoveryInterface
- func (_m *Interface) DiscoveryV1() discoveryv1.DiscoveryV1Interface
- func (_m *Interface) DiscoveryV1beta1() discoveryv1beta1.DiscoveryV1beta1Interface
- func (_m *Interface) EventsV1() eventsv1.EventsV1Interface
- func (_m *Interface) EventsV1beta1() eventsv1beta1.EventsV1beta1Interface
- func (_m *Interface) ExtensionsV1beta1() extensionsv1beta1.ExtensionsV1beta1Interface
- func (_m *Interface) FlowcontrolV1alpha1() v1alpha1.FlowcontrolV1alpha1Interface
- func (_m *Interface) FlowcontrolV1beta1() flowcontrolv1beta1.FlowcontrolV1beta1Interface
- func (_m *Interface) InternalV1alpha1() apiserverinternalv1alpha1.InternalV1alpha1Interface
- func (_m *Interface) NetworkingV1() networkingv1.NetworkingV1Interface
- func (_m *Interface) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface
- func (_m *Interface) NodeV1() nodev1.NodeV1Interface
- func (_m *Interface) NodeV1alpha1() nodev1alpha1.NodeV1alpha1Interface
- func (_m *Interface) NodeV1beta1() nodev1beta1.NodeV1beta1Interface
- func (_m *Interface) PolicyV1() policyv1.PolicyV1Interface
- func (_m *Interface) PolicyV1beta1() policyv1beta1.PolicyV1beta1Interface
- func (_m *Interface) RbacV1() rbacv1.RbacV1Interface
- func (_m *Interface) RbacV1alpha1() rbacv1alpha1.RbacV1alpha1Interface
- func (_m *Interface) RbacV1beta1() rbacv1beta1.RbacV1beta1Interface
- func (_m *Interface) SchedulingV1() schedulingv1.SchedulingV1Interface
- func (_m *Interface) SchedulingV1alpha1() schedulingv1alpha1.SchedulingV1alpha1Interface
- func (_m *Interface) SchedulingV1beta1() schedulingv1beta1.SchedulingV1beta1Interface
- func (_m *Interface) StorageV1() storagev1.StorageV1Interface
- func (_m *Interface) StorageV1alpha1() storagev1alpha1.StorageV1alpha1Interface
- func (_m *Interface) StorageV1beta1() storagev1beta1.StorageV1beta1Interface
- type PodInterface
- func (_m *PodInterface) Apply(ctx context.Context, pod *v1.PodApplyConfiguration, opts metav1.ApplyOptions) (*corev1.Pod, error)
- func (_m *PodInterface) ApplyStatus(ctx context.Context, pod *v1.PodApplyConfiguration, opts metav1.ApplyOptions) (*corev1.Pod, error)
- func (_m *PodInterface) Bind(ctx context.Context, binding *corev1.Binding, opts metav1.CreateOptions) error
- func (_m *PodInterface) Create(ctx context.Context, pod *corev1.Pod, opts metav1.CreateOptions) (*corev1.Pod, error)
- func (_m *PodInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *PodInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *PodInterface) EXPECT() *PodInterface_Expecter
- func (_m *PodInterface) Evict(ctx context.Context, eviction *v1beta1.Eviction) error
- func (_m *PodInterface) EvictV1(ctx context.Context, eviction *policyv1.Eviction) error
- func (_m *PodInterface) EvictV1beta1(ctx context.Context, eviction *v1beta1.Eviction) error
- func (_m *PodInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.Pod, error)
- func (_m *PodInterface) GetLogs(name string, opts *corev1.PodLogOptions) *rest.Request
- func (_m *PodInterface) List(ctx context.Context, opts metav1.ListOptions) (*corev1.PodList, error)
- func (_m *PodInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*corev1.Pod, error)
- func (_m *PodInterface) ProxyGet(scheme string, name string, port string, path string, params map[string]string) rest.ResponseWrapper
- func (_m *PodInterface) Update(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions) (*corev1.Pod, error)
- func (_m *PodInterface) UpdateEphemeralContainers(ctx context.Context, podName string, pod *corev1.Pod, ...) (*corev1.Pod, error)
- func (_m *PodInterface) UpdateStatus(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions) (*corev1.Pod, error)
- func (_m *PodInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type PodInterface_ApplyStatus_Call
- type PodInterface_Apply_Call
- type PodInterface_Bind_Call
- type PodInterface_Create_Call
- func (_c *PodInterface_Create_Call) Return(_a0 *corev1.Pod, _a1 error) *PodInterface_Create_Call
- func (_c *PodInterface_Create_Call) Run(run func(ctx context.Context, pod *corev1.Pod, opts metav1.CreateOptions)) *PodInterface_Create_Call
- func (_c *PodInterface_Create_Call) RunAndReturn(...) *PodInterface_Create_Call
- type PodInterface_DeleteCollection_Call
- func (_c *PodInterface_DeleteCollection_Call) Return(_a0 error) *PodInterface_DeleteCollection_Call
- func (_c *PodInterface_DeleteCollection_Call) Run(...) *PodInterface_DeleteCollection_Call
- func (_c *PodInterface_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *PodInterface_DeleteCollection_Call
- type PodInterface_Delete_Call
- func (_c *PodInterface_Delete_Call) Return(_a0 error) *PodInterface_Delete_Call
- func (_c *PodInterface_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *PodInterface_Delete_Call
- func (_c *PodInterface_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *PodInterface_Delete_Call
- type PodInterface_EvictV1_Call
- func (_c *PodInterface_EvictV1_Call) Return(_a0 error) *PodInterface_EvictV1_Call
- func (_c *PodInterface_EvictV1_Call) Run(run func(ctx context.Context, eviction *policyv1.Eviction)) *PodInterface_EvictV1_Call
- func (_c *PodInterface_EvictV1_Call) RunAndReturn(run func(context.Context, *policyv1.Eviction) error) *PodInterface_EvictV1_Call
- type PodInterface_EvictV1beta1_Call
- func (_c *PodInterface_EvictV1beta1_Call) Return(_a0 error) *PodInterface_EvictV1beta1_Call
- func (_c *PodInterface_EvictV1beta1_Call) Run(run func(ctx context.Context, eviction *v1beta1.Eviction)) *PodInterface_EvictV1beta1_Call
- func (_c *PodInterface_EvictV1beta1_Call) RunAndReturn(run func(context.Context, *v1beta1.Eviction) error) *PodInterface_EvictV1beta1_Call
- type PodInterface_Evict_Call
- func (_c *PodInterface_Evict_Call) Return(_a0 error) *PodInterface_Evict_Call
- func (_c *PodInterface_Evict_Call) Run(run func(ctx context.Context, eviction *v1beta1.Eviction)) *PodInterface_Evict_Call
- func (_c *PodInterface_Evict_Call) RunAndReturn(run func(context.Context, *v1beta1.Eviction) error) *PodInterface_Evict_Call
- type PodInterface_Expecter
- func (_e *PodInterface_Expecter) Apply(ctx interface{}, pod interface{}, opts interface{}) *PodInterface_Apply_Call
- func (_e *PodInterface_Expecter) ApplyStatus(ctx interface{}, pod interface{}, opts interface{}) *PodInterface_ApplyStatus_Call
- func (_e *PodInterface_Expecter) Bind(ctx interface{}, binding interface{}, opts interface{}) *PodInterface_Bind_Call
- func (_e *PodInterface_Expecter) Create(ctx interface{}, pod interface{}, opts interface{}) *PodInterface_Create_Call
- func (_e *PodInterface_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *PodInterface_Delete_Call
- func (_e *PodInterface_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *PodInterface_DeleteCollection_Call
- func (_e *PodInterface_Expecter) Evict(ctx interface{}, eviction interface{}) *PodInterface_Evict_Call
- func (_e *PodInterface_Expecter) EvictV1(ctx interface{}, eviction interface{}) *PodInterface_EvictV1_Call
- func (_e *PodInterface_Expecter) EvictV1beta1(ctx interface{}, eviction interface{}) *PodInterface_EvictV1beta1_Call
- func (_e *PodInterface_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *PodInterface_Get_Call
- func (_e *PodInterface_Expecter) GetLogs(name interface{}, opts interface{}) *PodInterface_GetLogs_Call
- func (_e *PodInterface_Expecter) List(ctx interface{}, opts interface{}) *PodInterface_List_Call
- func (_e *PodInterface_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, ...) *PodInterface_Patch_Call
- func (_e *PodInterface_Expecter) ProxyGet(scheme interface{}, name interface{}, port interface{}, path interface{}, ...) *PodInterface_ProxyGet_Call
- func (_e *PodInterface_Expecter) Update(ctx interface{}, pod interface{}, opts interface{}) *PodInterface_Update_Call
- func (_e *PodInterface_Expecter) UpdateEphemeralContainers(ctx interface{}, podName interface{}, pod interface{}, opts interface{}) *PodInterface_UpdateEphemeralContainers_Call
- func (_e *PodInterface_Expecter) UpdateStatus(ctx interface{}, pod interface{}, opts interface{}) *PodInterface_UpdateStatus_Call
- func (_e *PodInterface_Expecter) Watch(ctx interface{}, opts interface{}) *PodInterface_Watch_Call
- type PodInterface_GetLogs_Call
- func (_c *PodInterface_GetLogs_Call) Return(_a0 *rest.Request) *PodInterface_GetLogs_Call
- func (_c *PodInterface_GetLogs_Call) Run(run func(name string, opts *corev1.PodLogOptions)) *PodInterface_GetLogs_Call
- func (_c *PodInterface_GetLogs_Call) RunAndReturn(run func(string, *corev1.PodLogOptions) *rest.Request) *PodInterface_GetLogs_Call
- type PodInterface_Get_Call
- func (_c *PodInterface_Get_Call) Return(_a0 *corev1.Pod, _a1 error) *PodInterface_Get_Call
- func (_c *PodInterface_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *PodInterface_Get_Call
- func (_c *PodInterface_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*corev1.Pod, error)) *PodInterface_Get_Call
- type PodInterface_List_Call
- func (_c *PodInterface_List_Call) Return(_a0 *corev1.PodList, _a1 error) *PodInterface_List_Call
- func (_c *PodInterface_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *PodInterface_List_Call
- func (_c *PodInterface_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*corev1.PodList, error)) *PodInterface_List_Call
- type PodInterface_Patch_Call
- type PodInterface_ProxyGet_Call
- type PodInterface_UpdateEphemeralContainers_Call
- func (_c *PodInterface_UpdateEphemeralContainers_Call) Return(_a0 *corev1.Pod, _a1 error) *PodInterface_UpdateEphemeralContainers_Call
- func (_c *PodInterface_UpdateEphemeralContainers_Call) Run(run func(ctx context.Context, podName string, pod *corev1.Pod, ...)) *PodInterface_UpdateEphemeralContainers_Call
- func (_c *PodInterface_UpdateEphemeralContainers_Call) RunAndReturn(...) *PodInterface_UpdateEphemeralContainers_Call
- type PodInterface_UpdateStatus_Call
- func (_c *PodInterface_UpdateStatus_Call) Return(_a0 *corev1.Pod, _a1 error) *PodInterface_UpdateStatus_Call
- func (_c *PodInterface_UpdateStatus_Call) Run(run func(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions)) *PodInterface_UpdateStatus_Call
- func (_c *PodInterface_UpdateStatus_Call) RunAndReturn(...) *PodInterface_UpdateStatus_Call
- type PodInterface_Update_Call
- func (_c *PodInterface_Update_Call) Return(_a0 *corev1.Pod, _a1 error) *PodInterface_Update_Call
- func (_c *PodInterface_Update_Call) Run(run func(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions)) *PodInterface_Update_Call
- func (_c *PodInterface_Update_Call) RunAndReturn(...) *PodInterface_Update_Call
- type PodInterface_Watch_Call
- func (_c *PodInterface_Watch_Call) Return(_a0 watch.Interface, _a1 error) *PodInterface_Watch_Call
- func (_c *PodInterface_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *PodInterface_Watch_Call
- func (_c *PodInterface_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *PodInterface_Watch_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. It also registers a cleanup function to assert the mocks expectations.
func (*Client) DeletePod ¶
func (_m *Client) DeletePod(ctx context.Context, namespace string, name string, opts v1.DeleteOptions) error
DeletePod provides a mock function with given fields: ctx, namespace, name, opts
func (*Client) GetStatefulSet ¶
func (_m *Client) GetStatefulSet(ctx context.Context, namespace string, name string, opts v1.GetOptions) (*appsv1.StatefulSet, error)
GetStatefulSet provides a mock function with given fields: ctx, namespace, name, opts
func (*Client) ListNamespaces ¶
func (_m *Client) ListNamespaces(ctx context.Context, opts v1.ListOptions) ([]corev1.Namespace, error)
ListNamespaces provides a mock function with given fields: ctx, opts
func (*Client) ListPods ¶
func (_m *Client) ListPods(ctx context.Context, namespace string, opts v1.ListOptions) ([]corev1.Pod, error)
ListPods provides a mock function with given fields: ctx, namespace, opts
func (*Client) ListStatefulSets ¶
func (_m *Client) ListStatefulSets(ctx context.Context, namespace string, opts v1.ListOptions) ([]appsv1.StatefulSet, error)
ListStatefulSets provides a mock function with given fields: ctx, namespace, opts
type CoreV1Interface ¶
CoreV1Interface is an autogenerated mock type for the CoreV1Interface type
func NewCoreV1Interface ¶
func NewCoreV1Interface(t mockConstructorTestingTNewCoreV1Interface) *CoreV1Interface
NewCoreV1Interface creates a new instance of CoreV1Interface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CoreV1Interface) ComponentStatuses ¶
func (_m *CoreV1Interface) ComponentStatuses() v1.ComponentStatusInterface
ComponentStatuses provides a mock function with given fields:
func (*CoreV1Interface) ConfigMaps ¶
func (_m *CoreV1Interface) ConfigMaps(namespace string) v1.ConfigMapInterface
ConfigMaps provides a mock function with given fields: namespace
func (*CoreV1Interface) EXPECT ¶
func (_m *CoreV1Interface) EXPECT() *CoreV1Interface_Expecter
func (*CoreV1Interface) Endpoints ¶
func (_m *CoreV1Interface) Endpoints(namespace string) v1.EndpointsInterface
Endpoints provides a mock function with given fields: namespace
func (*CoreV1Interface) Events ¶
func (_m *CoreV1Interface) Events(namespace string) v1.EventInterface
Events provides a mock function with given fields: namespace
func (*CoreV1Interface) LimitRanges ¶
func (_m *CoreV1Interface) LimitRanges(namespace string) v1.LimitRangeInterface
LimitRanges provides a mock function with given fields: namespace
func (*CoreV1Interface) Namespaces ¶
func (_m *CoreV1Interface) Namespaces() v1.NamespaceInterface
Namespaces provides a mock function with given fields:
func (*CoreV1Interface) Nodes ¶
func (_m *CoreV1Interface) Nodes() v1.NodeInterface
Nodes provides a mock function with given fields:
func (*CoreV1Interface) PersistentVolumeClaims ¶
func (_m *CoreV1Interface) PersistentVolumeClaims(namespace string) v1.PersistentVolumeClaimInterface
PersistentVolumeClaims provides a mock function with given fields: namespace
func (*CoreV1Interface) PersistentVolumes ¶
func (_m *CoreV1Interface) PersistentVolumes() v1.PersistentVolumeInterface
PersistentVolumes provides a mock function with given fields:
func (*CoreV1Interface) PodTemplates ¶
func (_m *CoreV1Interface) PodTemplates(namespace string) v1.PodTemplateInterface
PodTemplates provides a mock function with given fields: namespace
func (*CoreV1Interface) Pods ¶
func (_m *CoreV1Interface) Pods(namespace string) v1.PodInterface
Pods provides a mock function with given fields: namespace
func (*CoreV1Interface) RESTClient ¶
func (_m *CoreV1Interface) RESTClient() rest.Interface
RESTClient provides a mock function with given fields:
func (*CoreV1Interface) ReplicationControllers ¶
func (_m *CoreV1Interface) ReplicationControllers(namespace string) v1.ReplicationControllerInterface
ReplicationControllers provides a mock function with given fields: namespace
func (*CoreV1Interface) ResourceQuotas ¶
func (_m *CoreV1Interface) ResourceQuotas(namespace string) v1.ResourceQuotaInterface
ResourceQuotas provides a mock function with given fields: namespace
func (*CoreV1Interface) Secrets ¶
func (_m *CoreV1Interface) Secrets(namespace string) v1.SecretInterface
Secrets provides a mock function with given fields: namespace
func (*CoreV1Interface) ServiceAccounts ¶
func (_m *CoreV1Interface) ServiceAccounts(namespace string) v1.ServiceAccountInterface
ServiceAccounts provides a mock function with given fields: namespace
func (*CoreV1Interface) Services ¶
func (_m *CoreV1Interface) Services(namespace string) v1.ServiceInterface
Services provides a mock function with given fields: namespace
type CoreV1Interface_ComponentStatuses_Call ¶
CoreV1Interface_ComponentStatuses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComponentStatuses'
func (*CoreV1Interface_ComponentStatuses_Call) Return ¶
func (_c *CoreV1Interface_ComponentStatuses_Call) Return(_a0 v1.ComponentStatusInterface) *CoreV1Interface_ComponentStatuses_Call
func (*CoreV1Interface_ComponentStatuses_Call) Run ¶
func (_c *CoreV1Interface_ComponentStatuses_Call) Run(run func()) *CoreV1Interface_ComponentStatuses_Call
func (*CoreV1Interface_ComponentStatuses_Call) RunAndReturn ¶
func (_c *CoreV1Interface_ComponentStatuses_Call) RunAndReturn(run func() v1.ComponentStatusInterface) *CoreV1Interface_ComponentStatuses_Call
type CoreV1Interface_ConfigMaps_Call ¶
CoreV1Interface_ConfigMaps_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfigMaps'
func (*CoreV1Interface_ConfigMaps_Call) Return ¶
func (_c *CoreV1Interface_ConfigMaps_Call) Return(_a0 v1.ConfigMapInterface) *CoreV1Interface_ConfigMaps_Call
func (*CoreV1Interface_ConfigMaps_Call) Run ¶
func (_c *CoreV1Interface_ConfigMaps_Call) Run(run func(namespace string)) *CoreV1Interface_ConfigMaps_Call
func (*CoreV1Interface_ConfigMaps_Call) RunAndReturn ¶
func (_c *CoreV1Interface_ConfigMaps_Call) RunAndReturn(run func(string) v1.ConfigMapInterface) *CoreV1Interface_ConfigMaps_Call
type CoreV1Interface_Endpoints_Call ¶
CoreV1Interface_Endpoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Endpoints'
func (*CoreV1Interface_Endpoints_Call) Return ¶
func (_c *CoreV1Interface_Endpoints_Call) Return(_a0 v1.EndpointsInterface) *CoreV1Interface_Endpoints_Call
func (*CoreV1Interface_Endpoints_Call) Run ¶
func (_c *CoreV1Interface_Endpoints_Call) Run(run func(namespace string)) *CoreV1Interface_Endpoints_Call
func (*CoreV1Interface_Endpoints_Call) RunAndReturn ¶
func (_c *CoreV1Interface_Endpoints_Call) RunAndReturn(run func(string) v1.EndpointsInterface) *CoreV1Interface_Endpoints_Call
type CoreV1Interface_Events_Call ¶
CoreV1Interface_Events_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Events'
func (*CoreV1Interface_Events_Call) Return ¶
func (_c *CoreV1Interface_Events_Call) Return(_a0 v1.EventInterface) *CoreV1Interface_Events_Call
func (*CoreV1Interface_Events_Call) Run ¶
func (_c *CoreV1Interface_Events_Call) Run(run func(namespace string)) *CoreV1Interface_Events_Call
func (*CoreV1Interface_Events_Call) RunAndReturn ¶
func (_c *CoreV1Interface_Events_Call) RunAndReturn(run func(string) v1.EventInterface) *CoreV1Interface_Events_Call
type CoreV1Interface_Expecter ¶
type CoreV1Interface_Expecter struct {
// contains filtered or unexported fields
}
func (*CoreV1Interface_Expecter) ComponentStatuses ¶
func (_e *CoreV1Interface_Expecter) ComponentStatuses() *CoreV1Interface_ComponentStatuses_Call
ComponentStatuses is a helper method to define mock.On call
func (*CoreV1Interface_Expecter) ConfigMaps ¶
func (_e *CoreV1Interface_Expecter) ConfigMaps(namespace interface{}) *CoreV1Interface_ConfigMaps_Call
ConfigMaps is a helper method to define mock.On call
- namespace string
func (*CoreV1Interface_Expecter) Endpoints ¶
func (_e *CoreV1Interface_Expecter) Endpoints(namespace interface{}) *CoreV1Interface_Endpoints_Call
Endpoints is a helper method to define mock.On call
- namespace string
func (*CoreV1Interface_Expecter) Events ¶
func (_e *CoreV1Interface_Expecter) Events(namespace interface{}) *CoreV1Interface_Events_Call
Events is a helper method to define mock.On call
- namespace string
func (*CoreV1Interface_Expecter) LimitRanges ¶
func (_e *CoreV1Interface_Expecter) LimitRanges(namespace interface{}) *CoreV1Interface_LimitRanges_Call
LimitRanges is a helper method to define mock.On call
- namespace string
func (*CoreV1Interface_Expecter) Namespaces ¶
func (_e *CoreV1Interface_Expecter) Namespaces() *CoreV1Interface_Namespaces_Call
Namespaces is a helper method to define mock.On call
func (*CoreV1Interface_Expecter) Nodes ¶
func (_e *CoreV1Interface_Expecter) Nodes() *CoreV1Interface_Nodes_Call
Nodes is a helper method to define mock.On call
func (*CoreV1Interface_Expecter) PersistentVolumeClaims ¶
func (_e *CoreV1Interface_Expecter) PersistentVolumeClaims(namespace interface{}) *CoreV1Interface_PersistentVolumeClaims_Call
PersistentVolumeClaims is a helper method to define mock.On call
- namespace string
func (*CoreV1Interface_Expecter) PersistentVolumes ¶
func (_e *CoreV1Interface_Expecter) PersistentVolumes() *CoreV1Interface_PersistentVolumes_Call
PersistentVolumes is a helper method to define mock.On call
func (*CoreV1Interface_Expecter) PodTemplates ¶
func (_e *CoreV1Interface_Expecter) PodTemplates(namespace interface{}) *CoreV1Interface_PodTemplates_Call
PodTemplates is a helper method to define mock.On call
- namespace string
func (*CoreV1Interface_Expecter) Pods ¶
func (_e *CoreV1Interface_Expecter) Pods(namespace interface{}) *CoreV1Interface_Pods_Call
Pods is a helper method to define mock.On call
- namespace string
func (*CoreV1Interface_Expecter) RESTClient ¶
func (_e *CoreV1Interface_Expecter) RESTClient() *CoreV1Interface_RESTClient_Call
RESTClient is a helper method to define mock.On call
func (*CoreV1Interface_Expecter) ReplicationControllers ¶
func (_e *CoreV1Interface_Expecter) ReplicationControllers(namespace interface{}) *CoreV1Interface_ReplicationControllers_Call
ReplicationControllers is a helper method to define mock.On call
- namespace string
func (*CoreV1Interface_Expecter) ResourceQuotas ¶
func (_e *CoreV1Interface_Expecter) ResourceQuotas(namespace interface{}) *CoreV1Interface_ResourceQuotas_Call
ResourceQuotas is a helper method to define mock.On call
- namespace string
func (*CoreV1Interface_Expecter) Secrets ¶
func (_e *CoreV1Interface_Expecter) Secrets(namespace interface{}) *CoreV1Interface_Secrets_Call
Secrets is a helper method to define mock.On call
- namespace string
func (*CoreV1Interface_Expecter) ServiceAccounts ¶
func (_e *CoreV1Interface_Expecter) ServiceAccounts(namespace interface{}) *CoreV1Interface_ServiceAccounts_Call
ServiceAccounts is a helper method to define mock.On call
- namespace string
func (*CoreV1Interface_Expecter) Services ¶
func (_e *CoreV1Interface_Expecter) Services(namespace interface{}) *CoreV1Interface_Services_Call
Services is a helper method to define mock.On call
- namespace string
type CoreV1Interface_LimitRanges_Call ¶
CoreV1Interface_LimitRanges_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LimitRanges'
func (*CoreV1Interface_LimitRanges_Call) Return ¶
func (_c *CoreV1Interface_LimitRanges_Call) Return(_a0 v1.LimitRangeInterface) *CoreV1Interface_LimitRanges_Call
func (*CoreV1Interface_LimitRanges_Call) Run ¶
func (_c *CoreV1Interface_LimitRanges_Call) Run(run func(namespace string)) *CoreV1Interface_LimitRanges_Call
func (*CoreV1Interface_LimitRanges_Call) RunAndReturn ¶
func (_c *CoreV1Interface_LimitRanges_Call) RunAndReturn(run func(string) v1.LimitRangeInterface) *CoreV1Interface_LimitRanges_Call
type CoreV1Interface_Namespaces_Call ¶
CoreV1Interface_Namespaces_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Namespaces'
func (*CoreV1Interface_Namespaces_Call) Return ¶
func (_c *CoreV1Interface_Namespaces_Call) Return(_a0 v1.NamespaceInterface) *CoreV1Interface_Namespaces_Call
func (*CoreV1Interface_Namespaces_Call) Run ¶
func (_c *CoreV1Interface_Namespaces_Call) Run(run func()) *CoreV1Interface_Namespaces_Call
func (*CoreV1Interface_Namespaces_Call) RunAndReturn ¶
func (_c *CoreV1Interface_Namespaces_Call) RunAndReturn(run func() v1.NamespaceInterface) *CoreV1Interface_Namespaces_Call
type CoreV1Interface_Nodes_Call ¶
CoreV1Interface_Nodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Nodes'
func (*CoreV1Interface_Nodes_Call) Return ¶
func (_c *CoreV1Interface_Nodes_Call) Return(_a0 v1.NodeInterface) *CoreV1Interface_Nodes_Call
func (*CoreV1Interface_Nodes_Call) Run ¶
func (_c *CoreV1Interface_Nodes_Call) Run(run func()) *CoreV1Interface_Nodes_Call
func (*CoreV1Interface_Nodes_Call) RunAndReturn ¶
func (_c *CoreV1Interface_Nodes_Call) RunAndReturn(run func() v1.NodeInterface) *CoreV1Interface_Nodes_Call
type CoreV1Interface_PersistentVolumeClaims_Call ¶
CoreV1Interface_PersistentVolumeClaims_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PersistentVolumeClaims'
func (*CoreV1Interface_PersistentVolumeClaims_Call) Run ¶
func (_c *CoreV1Interface_PersistentVolumeClaims_Call) Run(run func(namespace string)) *CoreV1Interface_PersistentVolumeClaims_Call
func (*CoreV1Interface_PersistentVolumeClaims_Call) RunAndReturn ¶
func (_c *CoreV1Interface_PersistentVolumeClaims_Call) RunAndReturn(run func(string) v1.PersistentVolumeClaimInterface) *CoreV1Interface_PersistentVolumeClaims_Call
type CoreV1Interface_PersistentVolumes_Call ¶
CoreV1Interface_PersistentVolumes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PersistentVolumes'
func (*CoreV1Interface_PersistentVolumes_Call) Return ¶
func (_c *CoreV1Interface_PersistentVolumes_Call) Return(_a0 v1.PersistentVolumeInterface) *CoreV1Interface_PersistentVolumes_Call
func (*CoreV1Interface_PersistentVolumes_Call) Run ¶
func (_c *CoreV1Interface_PersistentVolumes_Call) Run(run func()) *CoreV1Interface_PersistentVolumes_Call
func (*CoreV1Interface_PersistentVolumes_Call) RunAndReturn ¶
func (_c *CoreV1Interface_PersistentVolumes_Call) RunAndReturn(run func() v1.PersistentVolumeInterface) *CoreV1Interface_PersistentVolumes_Call
type CoreV1Interface_PodTemplates_Call ¶
CoreV1Interface_PodTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PodTemplates'
func (*CoreV1Interface_PodTemplates_Call) Return ¶
func (_c *CoreV1Interface_PodTemplates_Call) Return(_a0 v1.PodTemplateInterface) *CoreV1Interface_PodTemplates_Call
func (*CoreV1Interface_PodTemplates_Call) Run ¶
func (_c *CoreV1Interface_PodTemplates_Call) Run(run func(namespace string)) *CoreV1Interface_PodTemplates_Call
func (*CoreV1Interface_PodTemplates_Call) RunAndReturn ¶
func (_c *CoreV1Interface_PodTemplates_Call) RunAndReturn(run func(string) v1.PodTemplateInterface) *CoreV1Interface_PodTemplates_Call
type CoreV1Interface_Pods_Call ¶
CoreV1Interface_Pods_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Pods'
func (*CoreV1Interface_Pods_Call) Return ¶
func (_c *CoreV1Interface_Pods_Call) Return(_a0 v1.PodInterface) *CoreV1Interface_Pods_Call
func (*CoreV1Interface_Pods_Call) Run ¶
func (_c *CoreV1Interface_Pods_Call) Run(run func(namespace string)) *CoreV1Interface_Pods_Call
func (*CoreV1Interface_Pods_Call) RunAndReturn ¶
func (_c *CoreV1Interface_Pods_Call) RunAndReturn(run func(string) v1.PodInterface) *CoreV1Interface_Pods_Call
type CoreV1Interface_RESTClient_Call ¶
CoreV1Interface_RESTClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RESTClient'
func (*CoreV1Interface_RESTClient_Call) Return ¶
func (_c *CoreV1Interface_RESTClient_Call) Return(_a0 rest.Interface) *CoreV1Interface_RESTClient_Call
func (*CoreV1Interface_RESTClient_Call) Run ¶
func (_c *CoreV1Interface_RESTClient_Call) Run(run func()) *CoreV1Interface_RESTClient_Call
func (*CoreV1Interface_RESTClient_Call) RunAndReturn ¶
func (_c *CoreV1Interface_RESTClient_Call) RunAndReturn(run func() rest.Interface) *CoreV1Interface_RESTClient_Call
type CoreV1Interface_ReplicationControllers_Call ¶
CoreV1Interface_ReplicationControllers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReplicationControllers'
func (*CoreV1Interface_ReplicationControllers_Call) Run ¶
func (_c *CoreV1Interface_ReplicationControllers_Call) Run(run func(namespace string)) *CoreV1Interface_ReplicationControllers_Call
func (*CoreV1Interface_ReplicationControllers_Call) RunAndReturn ¶
func (_c *CoreV1Interface_ReplicationControllers_Call) RunAndReturn(run func(string) v1.ReplicationControllerInterface) *CoreV1Interface_ReplicationControllers_Call
type CoreV1Interface_ResourceQuotas_Call ¶
CoreV1Interface_ResourceQuotas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResourceQuotas'
func (*CoreV1Interface_ResourceQuotas_Call) Return ¶
func (_c *CoreV1Interface_ResourceQuotas_Call) Return(_a0 v1.ResourceQuotaInterface) *CoreV1Interface_ResourceQuotas_Call
func (*CoreV1Interface_ResourceQuotas_Call) Run ¶
func (_c *CoreV1Interface_ResourceQuotas_Call) Run(run func(namespace string)) *CoreV1Interface_ResourceQuotas_Call
func (*CoreV1Interface_ResourceQuotas_Call) RunAndReturn ¶
func (_c *CoreV1Interface_ResourceQuotas_Call) RunAndReturn(run func(string) v1.ResourceQuotaInterface) *CoreV1Interface_ResourceQuotas_Call
type CoreV1Interface_Secrets_Call ¶
CoreV1Interface_Secrets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Secrets'
func (*CoreV1Interface_Secrets_Call) Return ¶
func (_c *CoreV1Interface_Secrets_Call) Return(_a0 v1.SecretInterface) *CoreV1Interface_Secrets_Call
func (*CoreV1Interface_Secrets_Call) Run ¶
func (_c *CoreV1Interface_Secrets_Call) Run(run func(namespace string)) *CoreV1Interface_Secrets_Call
func (*CoreV1Interface_Secrets_Call) RunAndReturn ¶
func (_c *CoreV1Interface_Secrets_Call) RunAndReturn(run func(string) v1.SecretInterface) *CoreV1Interface_Secrets_Call
type CoreV1Interface_ServiceAccounts_Call ¶
CoreV1Interface_ServiceAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceAccounts'
func (*CoreV1Interface_ServiceAccounts_Call) Return ¶
func (_c *CoreV1Interface_ServiceAccounts_Call) Return(_a0 v1.ServiceAccountInterface) *CoreV1Interface_ServiceAccounts_Call
func (*CoreV1Interface_ServiceAccounts_Call) Run ¶
func (_c *CoreV1Interface_ServiceAccounts_Call) Run(run func(namespace string)) *CoreV1Interface_ServiceAccounts_Call
func (*CoreV1Interface_ServiceAccounts_Call) RunAndReturn ¶
func (_c *CoreV1Interface_ServiceAccounts_Call) RunAndReturn(run func(string) v1.ServiceAccountInterface) *CoreV1Interface_ServiceAccounts_Call
type CoreV1Interface_Services_Call ¶
CoreV1Interface_Services_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Services'
func (*CoreV1Interface_Services_Call) Return ¶
func (_c *CoreV1Interface_Services_Call) Return(_a0 v1.ServiceInterface) *CoreV1Interface_Services_Call
func (*CoreV1Interface_Services_Call) Run ¶
func (_c *CoreV1Interface_Services_Call) Run(run func(namespace string)) *CoreV1Interface_Services_Call
func (*CoreV1Interface_Services_Call) RunAndReturn ¶
func (_c *CoreV1Interface_Services_Call) RunAndReturn(run func(string) v1.ServiceInterface) *CoreV1Interface_Services_Call
type Interface ¶
Interface is an autogenerated mock type for the Interface type
func NewInterface ¶
NewInterface creates a new instance of Interface. It also registers a cleanup function to assert the mocks expectations.
func (*Interface) AdmissionregistrationV1 ¶
func (_m *Interface) AdmissionregistrationV1() v1.AdmissionregistrationV1Interface
AdmissionregistrationV1 provides a mock function with given fields:
func (*Interface) AdmissionregistrationV1beta1 ¶
func (_m *Interface) AdmissionregistrationV1beta1() v1beta1.AdmissionregistrationV1beta1Interface
AdmissionregistrationV1beta1 provides a mock function with given fields:
func (*Interface) AppsV1 ¶
func (_m *Interface) AppsV1() appsv1.AppsV1Interface
AppsV1 provides a mock function with given fields:
func (*Interface) AppsV1beta1 ¶
func (_m *Interface) AppsV1beta1() appsv1beta1.AppsV1beta1Interface
AppsV1beta1 provides a mock function with given fields:
func (*Interface) AppsV1beta2 ¶
func (_m *Interface) AppsV1beta2() v1beta2.AppsV1beta2Interface
AppsV1beta2 provides a mock function with given fields:
func (*Interface) AuthenticationV1 ¶
func (_m *Interface) AuthenticationV1() authenticationv1.AuthenticationV1Interface
AuthenticationV1 provides a mock function with given fields:
func (*Interface) AuthenticationV1beta1 ¶
func (_m *Interface) AuthenticationV1beta1() authenticationv1beta1.AuthenticationV1beta1Interface
AuthenticationV1beta1 provides a mock function with given fields:
func (*Interface) AuthorizationV1 ¶
func (_m *Interface) AuthorizationV1() authorizationv1.AuthorizationV1Interface
AuthorizationV1 provides a mock function with given fields:
func (*Interface) AuthorizationV1beta1 ¶
func (_m *Interface) AuthorizationV1beta1() authorizationv1beta1.AuthorizationV1beta1Interface
AuthorizationV1beta1 provides a mock function with given fields:
func (*Interface) AutoscalingV1 ¶
func (_m *Interface) AutoscalingV1() autoscalingv1.AutoscalingV1Interface
AutoscalingV1 provides a mock function with given fields:
func (*Interface) AutoscalingV2beta1 ¶
func (_m *Interface) AutoscalingV2beta1() v2beta1.AutoscalingV2beta1Interface
AutoscalingV2beta1 provides a mock function with given fields:
func (*Interface) AutoscalingV2beta2 ¶
func (_m *Interface) AutoscalingV2beta2() v2beta2.AutoscalingV2beta2Interface
AutoscalingV2beta2 provides a mock function with given fields:
func (*Interface) BatchV1 ¶
func (_m *Interface) BatchV1() batchv1.BatchV1Interface
BatchV1 provides a mock function with given fields:
func (*Interface) BatchV1beta1 ¶
func (_m *Interface) BatchV1beta1() batchv1beta1.BatchV1beta1Interface
BatchV1beta1 provides a mock function with given fields:
func (*Interface) CertificatesV1 ¶
func (_m *Interface) CertificatesV1() certificatesv1.CertificatesV1Interface
CertificatesV1 provides a mock function with given fields:
func (*Interface) CertificatesV1beta1 ¶
func (_m *Interface) CertificatesV1beta1() certificatesv1beta1.CertificatesV1beta1Interface
CertificatesV1beta1 provides a mock function with given fields:
func (*Interface) CoordinationV1 ¶
func (_m *Interface) CoordinationV1() coordinationv1.CoordinationV1Interface
CoordinationV1 provides a mock function with given fields:
func (*Interface) CoordinationV1beta1 ¶
func (_m *Interface) CoordinationV1beta1() coordinationv1beta1.CoordinationV1beta1Interface
CoordinationV1beta1 provides a mock function with given fields:
func (*Interface) CoreV1 ¶
func (_m *Interface) CoreV1() corev1.CoreV1Interface
CoreV1 provides a mock function with given fields:
func (*Interface) Discovery ¶
func (_m *Interface) Discovery() discovery.DiscoveryInterface
Discovery provides a mock function with given fields:
func (*Interface) DiscoveryV1 ¶
func (_m *Interface) DiscoveryV1() discoveryv1.DiscoveryV1Interface
DiscoveryV1 provides a mock function with given fields:
func (*Interface) DiscoveryV1beta1 ¶
func (_m *Interface) DiscoveryV1beta1() discoveryv1beta1.DiscoveryV1beta1Interface
DiscoveryV1beta1 provides a mock function with given fields:
func (*Interface) EventsV1 ¶
func (_m *Interface) EventsV1() eventsv1.EventsV1Interface
EventsV1 provides a mock function with given fields:
func (*Interface) EventsV1beta1 ¶
func (_m *Interface) EventsV1beta1() eventsv1beta1.EventsV1beta1Interface
EventsV1beta1 provides a mock function with given fields:
func (*Interface) ExtensionsV1beta1 ¶
func (_m *Interface) ExtensionsV1beta1() extensionsv1beta1.ExtensionsV1beta1Interface
ExtensionsV1beta1 provides a mock function with given fields:
func (*Interface) FlowcontrolV1alpha1 ¶
func (_m *Interface) FlowcontrolV1alpha1() v1alpha1.FlowcontrolV1alpha1Interface
FlowcontrolV1alpha1 provides a mock function with given fields:
func (*Interface) FlowcontrolV1beta1 ¶
func (_m *Interface) FlowcontrolV1beta1() flowcontrolv1beta1.FlowcontrolV1beta1Interface
FlowcontrolV1beta1 provides a mock function with given fields:
func (*Interface) InternalV1alpha1 ¶
func (_m *Interface) InternalV1alpha1() apiserverinternalv1alpha1.InternalV1alpha1Interface
InternalV1alpha1 provides a mock function with given fields:
func (*Interface) NetworkingV1 ¶
func (_m *Interface) NetworkingV1() networkingv1.NetworkingV1Interface
NetworkingV1 provides a mock function with given fields:
func (*Interface) NetworkingV1beta1 ¶
func (_m *Interface) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface
NetworkingV1beta1 provides a mock function with given fields:
func (*Interface) NodeV1 ¶
func (_m *Interface) NodeV1() nodev1.NodeV1Interface
NodeV1 provides a mock function with given fields:
func (*Interface) NodeV1alpha1 ¶
func (_m *Interface) NodeV1alpha1() nodev1alpha1.NodeV1alpha1Interface
NodeV1alpha1 provides a mock function with given fields:
func (*Interface) NodeV1beta1 ¶
func (_m *Interface) NodeV1beta1() nodev1beta1.NodeV1beta1Interface
NodeV1beta1 provides a mock function with given fields:
func (*Interface) PolicyV1 ¶
func (_m *Interface) PolicyV1() policyv1.PolicyV1Interface
PolicyV1 provides a mock function with given fields:
func (*Interface) PolicyV1beta1 ¶
func (_m *Interface) PolicyV1beta1() policyv1beta1.PolicyV1beta1Interface
PolicyV1beta1 provides a mock function with given fields:
func (*Interface) RbacV1 ¶
func (_m *Interface) RbacV1() rbacv1.RbacV1Interface
RbacV1 provides a mock function with given fields:
func (*Interface) RbacV1alpha1 ¶
func (_m *Interface) RbacV1alpha1() rbacv1alpha1.RbacV1alpha1Interface
RbacV1alpha1 provides a mock function with given fields:
func (*Interface) RbacV1beta1 ¶
func (_m *Interface) RbacV1beta1() rbacv1beta1.RbacV1beta1Interface
RbacV1beta1 provides a mock function with given fields:
func (*Interface) SchedulingV1 ¶
func (_m *Interface) SchedulingV1() schedulingv1.SchedulingV1Interface
SchedulingV1 provides a mock function with given fields:
func (*Interface) SchedulingV1alpha1 ¶
func (_m *Interface) SchedulingV1alpha1() schedulingv1alpha1.SchedulingV1alpha1Interface
SchedulingV1alpha1 provides a mock function with given fields:
func (*Interface) SchedulingV1beta1 ¶
func (_m *Interface) SchedulingV1beta1() schedulingv1beta1.SchedulingV1beta1Interface
SchedulingV1beta1 provides a mock function with given fields:
func (*Interface) StorageV1 ¶
func (_m *Interface) StorageV1() storagev1.StorageV1Interface
StorageV1 provides a mock function with given fields:
func (*Interface) StorageV1alpha1 ¶
func (_m *Interface) StorageV1alpha1() storagev1alpha1.StorageV1alpha1Interface
StorageV1alpha1 provides a mock function with given fields:
func (*Interface) StorageV1beta1 ¶
func (_m *Interface) StorageV1beta1() storagev1beta1.StorageV1beta1Interface
StorageV1beta1 provides a mock function with given fields:
type PodInterface ¶
PodInterface is an autogenerated mock type for the PodInterface type
func NewPodInterface ¶
func NewPodInterface(t mockConstructorTestingTNewPodInterface) *PodInterface
NewPodInterface creates a new instance of PodInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PodInterface) Apply ¶
func (_m *PodInterface) 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 (*PodInterface) ApplyStatus ¶
func (_m *PodInterface) 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 (*PodInterface) Bind ¶
func (_m *PodInterface) Bind(ctx context.Context, binding *corev1.Binding, opts metav1.CreateOptions) error
Bind provides a mock function with given fields: ctx, binding, opts
func (*PodInterface) Create ¶
func (_m *PodInterface) 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 (*PodInterface) Delete ¶
func (_m *PodInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*PodInterface) DeleteCollection ¶
func (_m *PodInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*PodInterface) EXPECT ¶
func (_m *PodInterface) EXPECT() *PodInterface_Expecter
func (*PodInterface) EvictV1beta1 ¶
EvictV1beta1 provides a mock function with given fields: ctx, eviction
func (*PodInterface) Get ¶
func (_m *PodInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.Pod, error)
Get provides a mock function with given fields: ctx, name, opts
func (*PodInterface) GetLogs ¶
func (_m *PodInterface) GetLogs(name string, opts *corev1.PodLogOptions) *rest.Request
GetLogs provides a mock function with given fields: name, opts
func (*PodInterface) List ¶
func (_m *PodInterface) List(ctx context.Context, opts metav1.ListOptions) (*corev1.PodList, error)
List provides a mock function with given fields: ctx, opts
func (*PodInterface) Patch ¶
func (_m *PodInterface) 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 (*PodInterface) ProxyGet ¶
func (_m *PodInterface) 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 (*PodInterface) Update ¶
func (_m *PodInterface) 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 (*PodInterface) UpdateEphemeralContainers ¶
func (_m *PodInterface) 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
func (*PodInterface) UpdateStatus ¶
func (_m *PodInterface) UpdateStatus(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions) (*corev1.Pod, error)
UpdateStatus provides a mock function with given fields: ctx, pod, opts
func (*PodInterface) Watch ¶
func (_m *PodInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type PodInterface_ApplyStatus_Call ¶
PodInterface_ApplyStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyStatus'
func (*PodInterface_ApplyStatus_Call) Return ¶
func (_c *PodInterface_ApplyStatus_Call) Return(result *corev1.Pod, err error) *PodInterface_ApplyStatus_Call
func (*PodInterface_ApplyStatus_Call) Run ¶
func (_c *PodInterface_ApplyStatus_Call) Run(run func(ctx context.Context, pod *v1.PodApplyConfiguration, opts metav1.ApplyOptions)) *PodInterface_ApplyStatus_Call
func (*PodInterface_ApplyStatus_Call) RunAndReturn ¶
func (_c *PodInterface_ApplyStatus_Call) RunAndReturn(run func(context.Context, *v1.PodApplyConfiguration, metav1.ApplyOptions) (*corev1.Pod, error)) *PodInterface_ApplyStatus_Call
type PodInterface_Apply_Call ¶
PodInterface_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'
func (*PodInterface_Apply_Call) Return ¶
func (_c *PodInterface_Apply_Call) Return(result *corev1.Pod, err error) *PodInterface_Apply_Call
func (*PodInterface_Apply_Call) Run ¶
func (_c *PodInterface_Apply_Call) Run(run func(ctx context.Context, pod *v1.PodApplyConfiguration, opts metav1.ApplyOptions)) *PodInterface_Apply_Call
func (*PodInterface_Apply_Call) RunAndReturn ¶
func (_c *PodInterface_Apply_Call) RunAndReturn(run func(context.Context, *v1.PodApplyConfiguration, metav1.ApplyOptions) (*corev1.Pod, error)) *PodInterface_Apply_Call
type PodInterface_Bind_Call ¶
PodInterface_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'
func (*PodInterface_Bind_Call) Return ¶
func (_c *PodInterface_Bind_Call) Return(_a0 error) *PodInterface_Bind_Call
func (*PodInterface_Bind_Call) Run ¶
func (_c *PodInterface_Bind_Call) Run(run func(ctx context.Context, binding *corev1.Binding, opts metav1.CreateOptions)) *PodInterface_Bind_Call
func (*PodInterface_Bind_Call) RunAndReturn ¶
func (_c *PodInterface_Bind_Call) RunAndReturn(run func(context.Context, *corev1.Binding, metav1.CreateOptions) error) *PodInterface_Bind_Call
type PodInterface_Create_Call ¶
PodInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*PodInterface_Create_Call) Return ¶
func (_c *PodInterface_Create_Call) Return(_a0 *corev1.Pod, _a1 error) *PodInterface_Create_Call
func (*PodInterface_Create_Call) Run ¶
func (_c *PodInterface_Create_Call) Run(run func(ctx context.Context, pod *corev1.Pod, opts metav1.CreateOptions)) *PodInterface_Create_Call
func (*PodInterface_Create_Call) RunAndReturn ¶
func (_c *PodInterface_Create_Call) RunAndReturn(run func(context.Context, *corev1.Pod, metav1.CreateOptions) (*corev1.Pod, error)) *PodInterface_Create_Call
type PodInterface_DeleteCollection_Call ¶
PodInterface_DeleteCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCollection'
func (*PodInterface_DeleteCollection_Call) Return ¶
func (_c *PodInterface_DeleteCollection_Call) Return(_a0 error) *PodInterface_DeleteCollection_Call
func (*PodInterface_DeleteCollection_Call) Run ¶
func (_c *PodInterface_DeleteCollection_Call) Run(run func(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions)) *PodInterface_DeleteCollection_Call
func (*PodInterface_DeleteCollection_Call) RunAndReturn ¶
func (_c *PodInterface_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *PodInterface_DeleteCollection_Call
type PodInterface_Delete_Call ¶
PodInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*PodInterface_Delete_Call) Return ¶
func (_c *PodInterface_Delete_Call) Return(_a0 error) *PodInterface_Delete_Call
func (*PodInterface_Delete_Call) Run ¶
func (_c *PodInterface_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *PodInterface_Delete_Call
func (*PodInterface_Delete_Call) RunAndReturn ¶
func (_c *PodInterface_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *PodInterface_Delete_Call
type PodInterface_EvictV1_Call ¶
PodInterface_EvictV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EvictV1'
func (*PodInterface_EvictV1_Call) Return ¶
func (_c *PodInterface_EvictV1_Call) Return(_a0 error) *PodInterface_EvictV1_Call
func (*PodInterface_EvictV1_Call) Run ¶
func (_c *PodInterface_EvictV1_Call) Run(run func(ctx context.Context, eviction *policyv1.Eviction)) *PodInterface_EvictV1_Call
func (*PodInterface_EvictV1_Call) RunAndReturn ¶
func (_c *PodInterface_EvictV1_Call) RunAndReturn(run func(context.Context, *policyv1.Eviction) error) *PodInterface_EvictV1_Call
type PodInterface_EvictV1beta1_Call ¶
PodInterface_EvictV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EvictV1beta1'
func (*PodInterface_EvictV1beta1_Call) Return ¶
func (_c *PodInterface_EvictV1beta1_Call) Return(_a0 error) *PodInterface_EvictV1beta1_Call
func (*PodInterface_EvictV1beta1_Call) Run ¶
func (_c *PodInterface_EvictV1beta1_Call) Run(run func(ctx context.Context, eviction *v1beta1.Eviction)) *PodInterface_EvictV1beta1_Call
func (*PodInterface_EvictV1beta1_Call) RunAndReturn ¶
func (_c *PodInterface_EvictV1beta1_Call) RunAndReturn(run func(context.Context, *v1beta1.Eviction) error) *PodInterface_EvictV1beta1_Call
type PodInterface_Evict_Call ¶
PodInterface_Evict_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Evict'
func (*PodInterface_Evict_Call) Return ¶
func (_c *PodInterface_Evict_Call) Return(_a0 error) *PodInterface_Evict_Call
func (*PodInterface_Evict_Call) Run ¶
func (_c *PodInterface_Evict_Call) Run(run func(ctx context.Context, eviction *v1beta1.Eviction)) *PodInterface_Evict_Call
func (*PodInterface_Evict_Call) RunAndReturn ¶
func (_c *PodInterface_Evict_Call) RunAndReturn(run func(context.Context, *v1beta1.Eviction) error) *PodInterface_Evict_Call
type PodInterface_Expecter ¶
type PodInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*PodInterface_Expecter) Apply ¶
func (_e *PodInterface_Expecter) Apply(ctx interface{}, pod interface{}, opts interface{}) *PodInterface_Apply_Call
Apply is a helper method to define mock.On call
- ctx context.Context
- pod *v1.PodApplyConfiguration
- opts metav1.ApplyOptions
func (*PodInterface_Expecter) ApplyStatus ¶
func (_e *PodInterface_Expecter) ApplyStatus(ctx interface{}, pod interface{}, opts interface{}) *PodInterface_ApplyStatus_Call
ApplyStatus is a helper method to define mock.On call
- ctx context.Context
- pod *v1.PodApplyConfiguration
- opts metav1.ApplyOptions
func (*PodInterface_Expecter) Bind ¶
func (_e *PodInterface_Expecter) Bind(ctx interface{}, binding interface{}, opts interface{}) *PodInterface_Bind_Call
Bind is a helper method to define mock.On call
- ctx context.Context
- binding *corev1.Binding
- opts metav1.CreateOptions
func (*PodInterface_Expecter) Create ¶
func (_e *PodInterface_Expecter) Create(ctx interface{}, pod interface{}, opts interface{}) *PodInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- pod *corev1.Pod
- opts metav1.CreateOptions
func (*PodInterface_Expecter) Delete ¶
func (_e *PodInterface_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *PodInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.DeleteOptions
func (*PodInterface_Expecter) DeleteCollection ¶
func (_e *PodInterface_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *PodInterface_DeleteCollection_Call
DeleteCollection is a helper method to define mock.On call
- ctx context.Context
- opts metav1.DeleteOptions
- listOpts metav1.ListOptions
func (*PodInterface_Expecter) Evict ¶
func (_e *PodInterface_Expecter) Evict(ctx interface{}, eviction interface{}) *PodInterface_Evict_Call
Evict is a helper method to define mock.On call
- ctx context.Context
- eviction *v1beta1.Eviction
func (*PodInterface_Expecter) EvictV1 ¶
func (_e *PodInterface_Expecter) EvictV1(ctx interface{}, eviction interface{}) *PodInterface_EvictV1_Call
EvictV1 is a helper method to define mock.On call
- ctx context.Context
- eviction *policyv1.Eviction
func (*PodInterface_Expecter) EvictV1beta1 ¶
func (_e *PodInterface_Expecter) EvictV1beta1(ctx interface{}, eviction interface{}) *PodInterface_EvictV1beta1_Call
EvictV1beta1 is a helper method to define mock.On call
- ctx context.Context
- eviction *v1beta1.Eviction
func (*PodInterface_Expecter) Get ¶
func (_e *PodInterface_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *PodInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.GetOptions
func (*PodInterface_Expecter) GetLogs ¶
func (_e *PodInterface_Expecter) GetLogs(name interface{}, opts interface{}) *PodInterface_GetLogs_Call
GetLogs is a helper method to define mock.On call
- name string
- opts *corev1.PodLogOptions
func (*PodInterface_Expecter) List ¶
func (_e *PodInterface_Expecter) List(ctx interface{}, opts interface{}) *PodInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
func (*PodInterface_Expecter) Patch ¶
func (_e *PodInterface_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *PodInterface_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 (*PodInterface_Expecter) ProxyGet ¶
func (_e *PodInterface_Expecter) ProxyGet(scheme interface{}, name interface{}, port interface{}, path interface{}, params interface{}) *PodInterface_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 (*PodInterface_Expecter) Update ¶
func (_e *PodInterface_Expecter) Update(ctx interface{}, pod interface{}, opts interface{}) *PodInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- pod *corev1.Pod
- opts metav1.UpdateOptions
func (*PodInterface_Expecter) UpdateEphemeralContainers ¶
func (_e *PodInterface_Expecter) UpdateEphemeralContainers(ctx interface{}, podName interface{}, pod interface{}, opts interface{}) *PodInterface_UpdateEphemeralContainers_Call
UpdateEphemeralContainers is a helper method to define mock.On call
- ctx context.Context
- podName string
- pod *corev1.Pod
- opts metav1.UpdateOptions
func (*PodInterface_Expecter) UpdateStatus ¶
func (_e *PodInterface_Expecter) UpdateStatus(ctx interface{}, pod interface{}, opts interface{}) *PodInterface_UpdateStatus_Call
UpdateStatus is a helper method to define mock.On call
- ctx context.Context
- pod *corev1.Pod
- opts metav1.UpdateOptions
func (*PodInterface_Expecter) Watch ¶
func (_e *PodInterface_Expecter) Watch(ctx interface{}, opts interface{}) *PodInterface_Watch_Call
Watch is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
type PodInterface_GetLogs_Call ¶
PodInterface_GetLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogs'
func (*PodInterface_GetLogs_Call) Return ¶
func (_c *PodInterface_GetLogs_Call) Return(_a0 *rest.Request) *PodInterface_GetLogs_Call
func (*PodInterface_GetLogs_Call) Run ¶
func (_c *PodInterface_GetLogs_Call) Run(run func(name string, opts *corev1.PodLogOptions)) *PodInterface_GetLogs_Call
func (*PodInterface_GetLogs_Call) RunAndReturn ¶
func (_c *PodInterface_GetLogs_Call) RunAndReturn(run func(string, *corev1.PodLogOptions) *rest.Request) *PodInterface_GetLogs_Call
type PodInterface_Get_Call ¶
PodInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*PodInterface_Get_Call) Return ¶
func (_c *PodInterface_Get_Call) Return(_a0 *corev1.Pod, _a1 error) *PodInterface_Get_Call
func (*PodInterface_Get_Call) Run ¶
func (_c *PodInterface_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *PodInterface_Get_Call
func (*PodInterface_Get_Call) RunAndReturn ¶
func (_c *PodInterface_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*corev1.Pod, error)) *PodInterface_Get_Call
type PodInterface_List_Call ¶
PodInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*PodInterface_List_Call) Return ¶
func (_c *PodInterface_List_Call) Return(_a0 *corev1.PodList, _a1 error) *PodInterface_List_Call
func (*PodInterface_List_Call) Run ¶
func (_c *PodInterface_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *PodInterface_List_Call
func (*PodInterface_List_Call) RunAndReturn ¶
func (_c *PodInterface_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*corev1.PodList, error)) *PodInterface_List_Call
type PodInterface_Patch_Call ¶
PodInterface_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*PodInterface_Patch_Call) Return ¶
func (_c *PodInterface_Patch_Call) Return(result *corev1.Pod, err error) *PodInterface_Patch_Call
func (*PodInterface_Patch_Call) Run ¶
func (_c *PodInterface_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *PodInterface_Patch_Call
func (*PodInterface_Patch_Call) RunAndReturn ¶
func (_c *PodInterface_Patch_Call) RunAndReturn(run func(context.Context, string, types.PatchType, []byte, metav1.PatchOptions, ...string) (*corev1.Pod, error)) *PodInterface_Patch_Call
type PodInterface_ProxyGet_Call ¶
PodInterface_ProxyGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProxyGet'
func (*PodInterface_ProxyGet_Call) Return ¶
func (_c *PodInterface_ProxyGet_Call) Return(_a0 rest.ResponseWrapper) *PodInterface_ProxyGet_Call
func (*PodInterface_ProxyGet_Call) Run ¶
func (_c *PodInterface_ProxyGet_Call) Run(run func(scheme string, name string, port string, path string, params map[string]string)) *PodInterface_ProxyGet_Call
func (*PodInterface_ProxyGet_Call) RunAndReturn ¶
func (_c *PodInterface_ProxyGet_Call) RunAndReturn(run func(string, string, string, string, map[string]string) rest.ResponseWrapper) *PodInterface_ProxyGet_Call
type PodInterface_UpdateEphemeralContainers_Call ¶
PodInterface_UpdateEphemeralContainers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEphemeralContainers'
func (*PodInterface_UpdateEphemeralContainers_Call) Return ¶
func (_c *PodInterface_UpdateEphemeralContainers_Call) Return(_a0 *corev1.Pod, _a1 error) *PodInterface_UpdateEphemeralContainers_Call
func (*PodInterface_UpdateEphemeralContainers_Call) Run ¶
func (_c *PodInterface_UpdateEphemeralContainers_Call) Run(run func(ctx context.Context, podName string, pod *corev1.Pod, opts metav1.UpdateOptions)) *PodInterface_UpdateEphemeralContainers_Call
func (*PodInterface_UpdateEphemeralContainers_Call) RunAndReturn ¶
func (_c *PodInterface_UpdateEphemeralContainers_Call) RunAndReturn(run func(context.Context, string, *corev1.Pod, metav1.UpdateOptions) (*corev1.Pod, error)) *PodInterface_UpdateEphemeralContainers_Call
type PodInterface_UpdateStatus_Call ¶
PodInterface_UpdateStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatus'
func (*PodInterface_UpdateStatus_Call) Return ¶
func (_c *PodInterface_UpdateStatus_Call) Return(_a0 *corev1.Pod, _a1 error) *PodInterface_UpdateStatus_Call
func (*PodInterface_UpdateStatus_Call) Run ¶
func (_c *PodInterface_UpdateStatus_Call) Run(run func(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions)) *PodInterface_UpdateStatus_Call
func (*PodInterface_UpdateStatus_Call) RunAndReturn ¶
func (_c *PodInterface_UpdateStatus_Call) RunAndReturn(run func(context.Context, *corev1.Pod, metav1.UpdateOptions) (*corev1.Pod, error)) *PodInterface_UpdateStatus_Call
type PodInterface_Update_Call ¶
PodInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*PodInterface_Update_Call) Return ¶
func (_c *PodInterface_Update_Call) Return(_a0 *corev1.Pod, _a1 error) *PodInterface_Update_Call
func (*PodInterface_Update_Call) Run ¶
func (_c *PodInterface_Update_Call) Run(run func(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions)) *PodInterface_Update_Call
func (*PodInterface_Update_Call) RunAndReturn ¶
func (_c *PodInterface_Update_Call) RunAndReturn(run func(context.Context, *corev1.Pod, metav1.UpdateOptions) (*corev1.Pod, error)) *PodInterface_Update_Call
type PodInterface_Watch_Call ¶
PodInterface_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*PodInterface_Watch_Call) Return ¶
func (_c *PodInterface_Watch_Call) Return(_a0 watch.Interface, _a1 error) *PodInterface_Watch_Call
func (*PodInterface_Watch_Call) Run ¶
func (_c *PodInterface_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *PodInterface_Watch_Call
func (*PodInterface_Watch_Call) RunAndReturn ¶
func (_c *PodInterface_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *PodInterface_Watch_Call