Documentation ¶
Index ¶
- type CoreV1Interface
- func (_m *CoreV1Interface) ComponentStatuses() v1.ComponentStatusInterface
- func (_m *CoreV1Interface) ConfigMaps(namespace string) v1.ConfigMapInterface
- 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 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) AuditregistrationV1alpha1() v1alpha1.AuditregistrationV1alpha1Interface
- 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) BatchV2alpha1() v2alpha1.BatchV2alpha1Interface
- 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) EventsV1beta1() eventsv1beta1.EventsV1beta1Interface
- func (_m *Interface) ExtensionsV1beta1() extensionsv1beta1.ExtensionsV1beta1Interface
- func (_m *Interface) NetworkingV1() networkingv1.NetworkingV1Interface
- func (_m *Interface) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface
- func (_m *Interface) NodeV1alpha1() nodev1alpha1.NodeV1alpha1Interface
- func (_m *Interface) NodeV1beta1() nodev1beta1.NodeV1beta1Interface
- 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) SettingsV1alpha1() settingsv1alpha1.SettingsV1alpha1Interface
- func (_m *Interface) StorageV1() storagev1.StorageV1Interface
- func (_m *Interface) StorageV1alpha1() storagev1alpha1.StorageV1alpha1Interface
- func (_m *Interface) StorageV1beta1() storagev1beta1.StorageV1beta1Interface
- type NamespaceInterface
- func (_m *NamespaceInterface) Create(_a0 *v1.Namespace) (*v1.Namespace, error)
- func (_m *NamespaceInterface) Delete(name string, options *metav1.DeleteOptions) error
- func (_m *NamespaceInterface) Finalize(item *v1.Namespace) (*v1.Namespace, error)
- func (_m *NamespaceInterface) Get(name string, options metav1.GetOptions) (*v1.Namespace, error)
- func (_m *NamespaceInterface) List(opts metav1.ListOptions) (*v1.NamespaceList, error)
- func (_m *NamespaceInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1.Namespace, error)
- func (_m *NamespaceInterface) Update(_a0 *v1.Namespace) (*v1.Namespace, error)
- func (_m *NamespaceInterface) UpdateStatus(_a0 *v1.Namespace) (*v1.Namespace, error)
- func (_m *NamespaceInterface) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type PodInterface
- func (_m *PodInterface) Bind(binding *v1.Binding) error
- func (_m *PodInterface) Create(_a0 *v1.Pod) (*v1.Pod, error)
- func (_m *PodInterface) Delete(name string, options *metav1.DeleteOptions) error
- func (_m *PodInterface) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
- func (_m *PodInterface) Evict(eviction *v1beta1.Eviction) error
- func (_m *PodInterface) Get(name string, options metav1.GetOptions) (*v1.Pod, error)
- func (_m *PodInterface) GetEphemeralContainers(podName string, options metav1.GetOptions) (*v1.EphemeralContainers, error)
- func (_m *PodInterface) GetLogs(name string, opts *v1.PodLogOptions) *rest.Request
- func (_m *PodInterface) List(opts metav1.ListOptions) (*v1.PodList, error)
- func (_m *PodInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1.Pod, error)
- func (_m *PodInterface) Update(_a0 *v1.Pod) (*v1.Pod, error)
- func (_m *PodInterface) UpdateEphemeralContainers(podName string, ephemeralContainers *v1.EphemeralContainers) (*v1.EphemeralContainers, error)
- func (_m *PodInterface) UpdateStatus(_a0 *v1.Pod) (*v1.Pod, error)
- func (_m *PodInterface) Watch(opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreV1Interface ¶
CoreV1Interface is an autogenerated mock type for the CoreV1Interface type
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) 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 Interface ¶
Interface is an autogenerated mock type for the Interface type
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) AuditregistrationV1alpha1 ¶
func (_m *Interface) AuditregistrationV1alpha1() v1alpha1.AuditregistrationV1alpha1Interface
AuditregistrationV1alpha1 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) BatchV2alpha1 ¶
func (_m *Interface) BatchV2alpha1() v2alpha1.BatchV2alpha1Interface
BatchV2alpha1 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) 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) 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) 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) 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) SettingsV1alpha1 ¶
func (_m *Interface) SettingsV1alpha1() settingsv1alpha1.SettingsV1alpha1Interface
SettingsV1alpha1 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 NamespaceInterface ¶
NamespaceInterface is an autogenerated mock type for the NamespaceInterface type
func (*NamespaceInterface) Delete ¶
func (_m *NamespaceInterface) Delete(name string, options *metav1.DeleteOptions) error
Delete provides a mock function with given fields: name, options
func (*NamespaceInterface) Get ¶
func (_m *NamespaceInterface) Get(name string, options metav1.GetOptions) (*v1.Namespace, error)
Get provides a mock function with given fields: name, options
func (*NamespaceInterface) List ¶
func (_m *NamespaceInterface) List(opts metav1.ListOptions) (*v1.NamespaceList, error)
List provides a mock function with given fields: opts
func (*NamespaceInterface) Patch ¶
func (_m *NamespaceInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1.Namespace, error)
Patch provides a mock function with given fields: name, pt, data, subresources
func (*NamespaceInterface) UpdateStatus ¶
UpdateStatus provides a mock function with given fields: _a0
func (*NamespaceInterface) Watch ¶
func (_m *NamespaceInterface) Watch(opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: opts
type PodInterface ¶
PodInterface is an autogenerated mock type for the PodInterface type
func (*PodInterface) Bind ¶
func (_m *PodInterface) Bind(binding *v1.Binding) error
Bind provides a mock function with given fields: binding
func (*PodInterface) Delete ¶
func (_m *PodInterface) Delete(name string, options *metav1.DeleteOptions) error
Delete provides a mock function with given fields: name, options
func (*PodInterface) DeleteCollection ¶
func (_m *PodInterface) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: options, listOptions
func (*PodInterface) Evict ¶
func (_m *PodInterface) Evict(eviction *v1beta1.Eviction) error
Evict provides a mock function with given fields: eviction
func (*PodInterface) Get ¶
func (_m *PodInterface) Get(name string, options metav1.GetOptions) (*v1.Pod, error)
Get provides a mock function with given fields: name, options
func (*PodInterface) GetEphemeralContainers ¶
func (_m *PodInterface) GetEphemeralContainers(podName string, options metav1.GetOptions) (*v1.EphemeralContainers, error)
GetEphemeralContainers provides a mock function with given fields: podName, options
func (*PodInterface) GetLogs ¶
func (_m *PodInterface) GetLogs(name string, opts *v1.PodLogOptions) *rest.Request
GetLogs provides a mock function with given fields: name, opts
func (*PodInterface) List ¶
func (_m *PodInterface) List(opts metav1.ListOptions) (*v1.PodList, error)
List provides a mock function with given fields: opts
func (*PodInterface) Patch ¶
func (_m *PodInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1.Pod, error)
Patch provides a mock function with given fields: name, pt, data, subresources
func (*PodInterface) UpdateEphemeralContainers ¶
func (_m *PodInterface) UpdateEphemeralContainers(podName string, ephemeralContainers *v1.EphemeralContainers) (*v1.EphemeralContainers, error)
UpdateEphemeralContainers provides a mock function with given fields: podName, ephemeralContainers
func (*PodInterface) UpdateStatus ¶
UpdateStatus provides a mock function with given fields: _a0
func (*PodInterface) Watch ¶
func (_m *PodInterface) Watch(opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: opts