Documentation
¶
Overview ¶
Package v1 is a generated GoMock package.
Index ¶
- type MockCoreV1Interface
- func (m *MockCoreV1Interface) ComponentStatuses() v13.ComponentStatusInterface
- func (m *MockCoreV1Interface) ConfigMaps(namespace string) v13.ConfigMapInterface
- func (m *MockCoreV1Interface) EXPECT() *MockCoreV1InterfaceMockRecorder
- func (m *MockCoreV1Interface) Endpoints(namespace string) v13.EndpointsInterface
- func (m *MockCoreV1Interface) Events(namespace string) v13.EventInterface
- func (m *MockCoreV1Interface) LimitRanges(namespace string) v13.LimitRangeInterface
- func (m *MockCoreV1Interface) Namespaces() v13.NamespaceInterface
- func (m *MockCoreV1Interface) Nodes() v13.NodeInterface
- func (m *MockCoreV1Interface) PersistentVolumeClaims(namespace string) v13.PersistentVolumeClaimInterface
- func (m *MockCoreV1Interface) PersistentVolumes() v13.PersistentVolumeInterface
- func (m *MockCoreV1Interface) PodTemplates(namespace string) v13.PodTemplateInterface
- func (m *MockCoreV1Interface) Pods(namespace string) v13.PodInterface
- func (m *MockCoreV1Interface) RESTClient() rest.Interface
- func (m *MockCoreV1Interface) ReplicationControllers(namespace string) v13.ReplicationControllerInterface
- func (m *MockCoreV1Interface) ResourceQuotas(namespace string) v13.ResourceQuotaInterface
- func (m *MockCoreV1Interface) Secrets(namespace string) v13.SecretInterface
- func (m *MockCoreV1Interface) ServiceAccounts(namespace string) v13.ServiceAccountInterface
- func (m *MockCoreV1Interface) Services(namespace string) v13.ServiceInterface
- type MockCoreV1InterfaceMockRecorder
- func (mr *MockCoreV1InterfaceMockRecorder) ComponentStatuses() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) ConfigMaps(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Endpoints(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Events(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) LimitRanges(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Namespaces() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Nodes() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumes() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) PodTemplates(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Pods(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) RESTClient() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) ReplicationControllers(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) ResourceQuotas(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Secrets(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) ServiceAccounts(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Services(namespace any) *gomock.Call
- type MockNamespaceInterface
- func (m *MockNamespaceInterface) Apply(ctx context.Context, namespace *v12.NamespaceApplyConfiguration, ...) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) ApplyStatus(ctx context.Context, namespace *v12.NamespaceApplyConfiguration, ...) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) Create(ctx context.Context, namespace *v1.Namespace, opts v11.CreateOptions) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) Delete(ctx context.Context, name string, opts v11.DeleteOptions) error
- func (m *MockNamespaceInterface) EXPECT() *MockNamespaceInterfaceMockRecorder
- func (m *MockNamespaceInterface) Finalize(ctx context.Context, item *v1.Namespace, opts v11.UpdateOptions) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) Get(ctx context.Context, name string, opts v11.GetOptions) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) List(ctx context.Context, opts v11.ListOptions) (*v1.NamespaceList, error)
- func (m *MockNamespaceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) Update(ctx context.Context, namespace *v1.Namespace, opts v11.UpdateOptions) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) UpdateStatus(ctx context.Context, namespace *v1.Namespace, opts v11.UpdateOptions) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) Watch(ctx context.Context, opts v11.ListOptions) (watch.Interface, error)
- type MockNamespaceInterfaceMockRecorder
- func (mr *MockNamespaceInterfaceMockRecorder) Apply(ctx, namespace, opts any) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) ApplyStatus(ctx, namespace, opts any) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Create(ctx, namespace, opts any) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Delete(ctx, name, opts any) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Finalize(ctx, item, opts any) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Get(ctx, name, opts any) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) List(ctx, opts any) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Update(ctx, namespace, opts any) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) UpdateStatus(ctx, namespace, opts any) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Watch(ctx, opts any) *gomock.Call
- type MockNodeInterface
- func (m *MockNodeInterface) Apply(ctx context.Context, node *v12.NodeApplyConfiguration, opts v11.ApplyOptions) (*v1.Node, error)
- func (m *MockNodeInterface) ApplyStatus(ctx context.Context, node *v12.NodeApplyConfiguration, opts v11.ApplyOptions) (*v1.Node, error)
- func (m *MockNodeInterface) Create(ctx context.Context, node *v1.Node, opts v11.CreateOptions) (*v1.Node, error)
- func (m *MockNodeInterface) Delete(ctx context.Context, name string, opts v11.DeleteOptions) error
- func (m *MockNodeInterface) DeleteCollection(ctx context.Context, opts v11.DeleteOptions, listOpts v11.ListOptions) error
- func (m *MockNodeInterface) EXPECT() *MockNodeInterfaceMockRecorder
- func (m *MockNodeInterface) Get(ctx context.Context, name string, opts v11.GetOptions) (*v1.Node, error)
- func (m *MockNodeInterface) List(ctx context.Context, opts v11.ListOptions) (*v1.NodeList, error)
- func (m *MockNodeInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.Node, error)
- func (m *MockNodeInterface) PatchStatus(ctx context.Context, nodeName string, data []byte) (*v1.Node, error)
- func (m *MockNodeInterface) Update(ctx context.Context, node *v1.Node, opts v11.UpdateOptions) (*v1.Node, error)
- func (m *MockNodeInterface) UpdateStatus(ctx context.Context, node *v1.Node, opts v11.UpdateOptions) (*v1.Node, error)
- func (m *MockNodeInterface) Watch(ctx context.Context, opts v11.ListOptions) (watch.Interface, error)
- type MockNodeInterfaceMockRecorder
- func (mr *MockNodeInterfaceMockRecorder) Apply(ctx, node, opts any) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) ApplyStatus(ctx, node, opts any) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Create(ctx, node, opts any) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Delete(ctx, name, opts any) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) DeleteCollection(ctx, opts, listOpts any) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Get(ctx, name, opts any) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) List(ctx, opts any) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) PatchStatus(ctx, nodeName, data any) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Update(ctx, node, opts any) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) UpdateStatus(ctx, node, opts any) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Watch(ctx, opts any) *gomock.Call
- type MockPodInterface
- func (m *MockPodInterface) Apply(ctx context.Context, pod *v12.PodApplyConfiguration, opts v11.ApplyOptions) (*v1.Pod, error)
- func (m *MockPodInterface) ApplyStatus(ctx context.Context, pod *v12.PodApplyConfiguration, opts v11.ApplyOptions) (*v1.Pod, error)
- func (m *MockPodInterface) Bind(ctx context.Context, binding *v1.Binding, opts v11.CreateOptions) error
- func (m *MockPodInterface) Create(ctx context.Context, pod *v1.Pod, opts v11.CreateOptions) (*v1.Pod, error)
- func (m *MockPodInterface) Delete(ctx context.Context, name string, opts v11.DeleteOptions) error
- func (m *MockPodInterface) DeleteCollection(ctx context.Context, opts v11.DeleteOptions, listOpts v11.ListOptions) error
- func (m *MockPodInterface) EXPECT() *MockPodInterfaceMockRecorder
- func (m *MockPodInterface) Evict(ctx context.Context, eviction *v1beta1.Eviction) error
- func (m *MockPodInterface) EvictV1(ctx context.Context, eviction *v10.Eviction) error
- func (m *MockPodInterface) EvictV1beta1(ctx context.Context, eviction *v1beta1.Eviction) error
- func (m *MockPodInterface) Get(ctx context.Context, name string, opts v11.GetOptions) (*v1.Pod, error)
- func (m *MockPodInterface) GetLogs(name string, opts *v1.PodLogOptions) *rest.Request
- func (m *MockPodInterface) List(ctx context.Context, opts v11.ListOptions) (*v1.PodList, error)
- func (m *MockPodInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.Pod, error)
- func (m *MockPodInterface) ProxyGet(scheme, name, port, path string, params map[string]string) rest.ResponseWrapper
- func (m *MockPodInterface) Update(ctx context.Context, pod *v1.Pod, opts v11.UpdateOptions) (*v1.Pod, error)
- func (m *MockPodInterface) UpdateEphemeralContainers(ctx context.Context, podName string, pod *v1.Pod, opts v11.UpdateOptions) (*v1.Pod, error)
- func (m *MockPodInterface) UpdateStatus(ctx context.Context, pod *v1.Pod, opts v11.UpdateOptions) (*v1.Pod, error)
- func (m *MockPodInterface) Watch(ctx context.Context, opts v11.ListOptions) (watch.Interface, error)
- type MockPodInterfaceMockRecorder
- func (mr *MockPodInterfaceMockRecorder) Apply(ctx, pod, opts any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) ApplyStatus(ctx, pod, opts any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Bind(ctx, binding, opts any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Create(ctx, pod, opts any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Delete(ctx, name, opts any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) DeleteCollection(ctx, opts, listOpts any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Evict(ctx, eviction any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) EvictV1(ctx, eviction any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) EvictV1beta1(ctx, eviction any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Get(ctx, name, opts any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) GetLogs(name, opts any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) List(ctx, opts any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) ProxyGet(scheme, name, port, path, params any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Update(ctx, pod, opts any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) UpdateEphemeralContainers(ctx, podName, pod, opts any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) UpdateStatus(ctx, pod, opts any) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Watch(ctx, opts any) *gomock.Call
- type MockSecretInterface
- func (m *MockSecretInterface) Apply(ctx context.Context, secret *v12.SecretApplyConfiguration, ...) (*v1.Secret, error)
- func (m *MockSecretInterface) Create(ctx context.Context, secret *v1.Secret, opts v11.CreateOptions) (*v1.Secret, error)
- func (m *MockSecretInterface) Delete(ctx context.Context, name string, opts v11.DeleteOptions) error
- func (m *MockSecretInterface) DeleteCollection(ctx context.Context, opts v11.DeleteOptions, listOpts v11.ListOptions) error
- func (m *MockSecretInterface) EXPECT() *MockSecretInterfaceMockRecorder
- func (m *MockSecretInterface) Get(ctx context.Context, name string, opts v11.GetOptions) (*v1.Secret, error)
- func (m *MockSecretInterface) List(ctx context.Context, opts v11.ListOptions) (*v1.SecretList, error)
- func (m *MockSecretInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.Secret, error)
- func (m *MockSecretInterface) Update(ctx context.Context, secret *v1.Secret, opts v11.UpdateOptions) (*v1.Secret, error)
- func (m *MockSecretInterface) Watch(ctx context.Context, opts v11.ListOptions) (watch.Interface, error)
- type MockSecretInterfaceMockRecorder
- func (mr *MockSecretInterfaceMockRecorder) Apply(ctx, secret, opts any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) Create(ctx, secret, opts any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) Delete(ctx, name, opts any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) DeleteCollection(ctx, opts, listOpts any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) Get(ctx, name, opts any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) List(ctx, opts any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) Update(ctx, secret, opts any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) Watch(ctx, opts any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCoreV1Interface ¶
type MockCoreV1Interface struct {
// contains filtered or unexported fields
}
MockCoreV1Interface is a mock of CoreV1Interface interface.
func NewMockCoreV1Interface ¶
func NewMockCoreV1Interface(ctrl *gomock.Controller) *MockCoreV1Interface
NewMockCoreV1Interface creates a new mock instance.
func (*MockCoreV1Interface) ComponentStatuses ¶
func (m *MockCoreV1Interface) ComponentStatuses() v13.ComponentStatusInterface
ComponentStatuses mocks base method.
func (*MockCoreV1Interface) ConfigMaps ¶
func (m *MockCoreV1Interface) ConfigMaps(namespace string) v13.ConfigMapInterface
ConfigMaps mocks base method.
func (*MockCoreV1Interface) EXPECT ¶
func (m *MockCoreV1Interface) EXPECT() *MockCoreV1InterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCoreV1Interface) Endpoints ¶
func (m *MockCoreV1Interface) Endpoints(namespace string) v13.EndpointsInterface
Endpoints mocks base method.
func (*MockCoreV1Interface) Events ¶
func (m *MockCoreV1Interface) Events(namespace string) v13.EventInterface
Events mocks base method.
func (*MockCoreV1Interface) LimitRanges ¶
func (m *MockCoreV1Interface) LimitRanges(namespace string) v13.LimitRangeInterface
LimitRanges mocks base method.
func (*MockCoreV1Interface) Namespaces ¶
func (m *MockCoreV1Interface) Namespaces() v13.NamespaceInterface
Namespaces mocks base method.
func (*MockCoreV1Interface) Nodes ¶
func (m *MockCoreV1Interface) Nodes() v13.NodeInterface
Nodes mocks base method.
func (*MockCoreV1Interface) PersistentVolumeClaims ¶
func (m *MockCoreV1Interface) PersistentVolumeClaims(namespace string) v13.PersistentVolumeClaimInterface
PersistentVolumeClaims mocks base method.
func (*MockCoreV1Interface) PersistentVolumes ¶
func (m *MockCoreV1Interface) PersistentVolumes() v13.PersistentVolumeInterface
PersistentVolumes mocks base method.
func (*MockCoreV1Interface) PodTemplates ¶
func (m *MockCoreV1Interface) PodTemplates(namespace string) v13.PodTemplateInterface
PodTemplates mocks base method.
func (*MockCoreV1Interface) Pods ¶
func (m *MockCoreV1Interface) Pods(namespace string) v13.PodInterface
Pods mocks base method.
func (*MockCoreV1Interface) RESTClient ¶
func (m *MockCoreV1Interface) RESTClient() rest.Interface
RESTClient mocks base method.
func (*MockCoreV1Interface) ReplicationControllers ¶
func (m *MockCoreV1Interface) ReplicationControllers(namespace string) v13.ReplicationControllerInterface
ReplicationControllers mocks base method.
func (*MockCoreV1Interface) ResourceQuotas ¶
func (m *MockCoreV1Interface) ResourceQuotas(namespace string) v13.ResourceQuotaInterface
ResourceQuotas mocks base method.
func (*MockCoreV1Interface) Secrets ¶
func (m *MockCoreV1Interface) Secrets(namespace string) v13.SecretInterface
Secrets mocks base method.
func (*MockCoreV1Interface) ServiceAccounts ¶
func (m *MockCoreV1Interface) ServiceAccounts(namespace string) v13.ServiceAccountInterface
ServiceAccounts mocks base method.
func (*MockCoreV1Interface) Services ¶
func (m *MockCoreV1Interface) Services(namespace string) v13.ServiceInterface
Services mocks base method.
type MockCoreV1InterfaceMockRecorder ¶
type MockCoreV1InterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCoreV1InterfaceMockRecorder is the mock recorder for MockCoreV1Interface.
func (*MockCoreV1InterfaceMockRecorder) ComponentStatuses ¶
func (mr *MockCoreV1InterfaceMockRecorder) ComponentStatuses() *gomock.Call
ComponentStatuses indicates an expected call of ComponentStatuses.
func (*MockCoreV1InterfaceMockRecorder) ConfigMaps ¶
func (mr *MockCoreV1InterfaceMockRecorder) ConfigMaps(namespace any) *gomock.Call
ConfigMaps indicates an expected call of ConfigMaps.
func (*MockCoreV1InterfaceMockRecorder) Endpoints ¶
func (mr *MockCoreV1InterfaceMockRecorder) Endpoints(namespace any) *gomock.Call
Endpoints indicates an expected call of Endpoints.
func (*MockCoreV1InterfaceMockRecorder) Events ¶
func (mr *MockCoreV1InterfaceMockRecorder) Events(namespace any) *gomock.Call
Events indicates an expected call of Events.
func (*MockCoreV1InterfaceMockRecorder) LimitRanges ¶
func (mr *MockCoreV1InterfaceMockRecorder) LimitRanges(namespace any) *gomock.Call
LimitRanges indicates an expected call of LimitRanges.
func (*MockCoreV1InterfaceMockRecorder) Namespaces ¶
func (mr *MockCoreV1InterfaceMockRecorder) Namespaces() *gomock.Call
Namespaces indicates an expected call of Namespaces.
func (*MockCoreV1InterfaceMockRecorder) Nodes ¶
func (mr *MockCoreV1InterfaceMockRecorder) Nodes() *gomock.Call
Nodes indicates an expected call of Nodes.
func (*MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims ¶
func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims(namespace any) *gomock.Call
PersistentVolumeClaims indicates an expected call of PersistentVolumeClaims.
func (*MockCoreV1InterfaceMockRecorder) PersistentVolumes ¶
func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumes() *gomock.Call
PersistentVolumes indicates an expected call of PersistentVolumes.
func (*MockCoreV1InterfaceMockRecorder) PodTemplates ¶
func (mr *MockCoreV1InterfaceMockRecorder) PodTemplates(namespace any) *gomock.Call
PodTemplates indicates an expected call of PodTemplates.
func (*MockCoreV1InterfaceMockRecorder) Pods ¶
func (mr *MockCoreV1InterfaceMockRecorder) Pods(namespace any) *gomock.Call
Pods indicates an expected call of Pods.
func (*MockCoreV1InterfaceMockRecorder) RESTClient ¶
func (mr *MockCoreV1InterfaceMockRecorder) RESTClient() *gomock.Call
RESTClient indicates an expected call of RESTClient.
func (*MockCoreV1InterfaceMockRecorder) ReplicationControllers ¶
func (mr *MockCoreV1InterfaceMockRecorder) ReplicationControllers(namespace any) *gomock.Call
ReplicationControllers indicates an expected call of ReplicationControllers.
func (*MockCoreV1InterfaceMockRecorder) ResourceQuotas ¶
func (mr *MockCoreV1InterfaceMockRecorder) ResourceQuotas(namespace any) *gomock.Call
ResourceQuotas indicates an expected call of ResourceQuotas.
func (*MockCoreV1InterfaceMockRecorder) Secrets ¶
func (mr *MockCoreV1InterfaceMockRecorder) Secrets(namespace any) *gomock.Call
Secrets indicates an expected call of Secrets.
func (*MockCoreV1InterfaceMockRecorder) ServiceAccounts ¶
func (mr *MockCoreV1InterfaceMockRecorder) ServiceAccounts(namespace any) *gomock.Call
ServiceAccounts indicates an expected call of ServiceAccounts.
type MockNamespaceInterface ¶
type MockNamespaceInterface struct {
// contains filtered or unexported fields
}
MockNamespaceInterface is a mock of NamespaceInterface interface.
func NewMockNamespaceInterface ¶
func NewMockNamespaceInterface(ctrl *gomock.Controller) *MockNamespaceInterface
NewMockNamespaceInterface creates a new mock instance.
func (*MockNamespaceInterface) Apply ¶
func (m *MockNamespaceInterface) Apply(ctx context.Context, namespace *v12.NamespaceApplyConfiguration, opts v11.ApplyOptions) (*v1.Namespace, error)
Apply mocks base method.
func (*MockNamespaceInterface) ApplyStatus ¶
func (m *MockNamespaceInterface) ApplyStatus(ctx context.Context, namespace *v12.NamespaceApplyConfiguration, opts v11.ApplyOptions) (*v1.Namespace, error)
ApplyStatus mocks base method.
func (*MockNamespaceInterface) Create ¶
func (m *MockNamespaceInterface) Create(ctx context.Context, namespace *v1.Namespace, opts v11.CreateOptions) (*v1.Namespace, error)
Create mocks base method.
func (*MockNamespaceInterface) Delete ¶
func (m *MockNamespaceInterface) Delete(ctx context.Context, name string, opts v11.DeleteOptions) error
Delete mocks base method.
func (*MockNamespaceInterface) EXPECT ¶
func (m *MockNamespaceInterface) EXPECT() *MockNamespaceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNamespaceInterface) Finalize ¶
func (m *MockNamespaceInterface) Finalize(ctx context.Context, item *v1.Namespace, opts v11.UpdateOptions) (*v1.Namespace, error)
Finalize mocks base method.
func (*MockNamespaceInterface) Get ¶
func (m *MockNamespaceInterface) Get(ctx context.Context, name string, opts v11.GetOptions) (*v1.Namespace, error)
Get mocks base method.
func (*MockNamespaceInterface) List ¶
func (m *MockNamespaceInterface) List(ctx context.Context, opts v11.ListOptions) (*v1.NamespaceList, error)
List mocks base method.
func (*MockNamespaceInterface) Patch ¶
func (m *MockNamespaceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v11.PatchOptions, subresources ...string) (*v1.Namespace, error)
Patch mocks base method.
func (*MockNamespaceInterface) Update ¶
func (m *MockNamespaceInterface) Update(ctx context.Context, namespace *v1.Namespace, opts v11.UpdateOptions) (*v1.Namespace, error)
Update mocks base method.
func (*MockNamespaceInterface) UpdateStatus ¶
func (m *MockNamespaceInterface) UpdateStatus(ctx context.Context, namespace *v1.Namespace, opts v11.UpdateOptions) (*v1.Namespace, error)
UpdateStatus mocks base method.
func (*MockNamespaceInterface) Watch ¶
func (m *MockNamespaceInterface) Watch(ctx context.Context, opts v11.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockNamespaceInterfaceMockRecorder ¶
type MockNamespaceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockNamespaceInterfaceMockRecorder is the mock recorder for MockNamespaceInterface.
func (*MockNamespaceInterfaceMockRecorder) Apply ¶
func (mr *MockNamespaceInterfaceMockRecorder) Apply(ctx, namespace, opts any) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockNamespaceInterfaceMockRecorder) ApplyStatus ¶
func (mr *MockNamespaceInterfaceMockRecorder) ApplyStatus(ctx, namespace, opts any) *gomock.Call
ApplyStatus indicates an expected call of ApplyStatus.
func (*MockNamespaceInterfaceMockRecorder) Create ¶
func (mr *MockNamespaceInterfaceMockRecorder) Create(ctx, namespace, opts any) *gomock.Call
Create indicates an expected call of Create.
func (*MockNamespaceInterfaceMockRecorder) Delete ¶
func (mr *MockNamespaceInterfaceMockRecorder) Delete(ctx, name, opts any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockNamespaceInterfaceMockRecorder) Finalize ¶
func (mr *MockNamespaceInterfaceMockRecorder) Finalize(ctx, item, opts any) *gomock.Call
Finalize indicates an expected call of Finalize.
func (*MockNamespaceInterfaceMockRecorder) Get ¶
func (mr *MockNamespaceInterfaceMockRecorder) Get(ctx, name, opts any) *gomock.Call
Get indicates an expected call of Get.
func (*MockNamespaceInterfaceMockRecorder) List ¶
func (mr *MockNamespaceInterfaceMockRecorder) List(ctx, opts any) *gomock.Call
List indicates an expected call of List.
func (*MockNamespaceInterfaceMockRecorder) Patch ¶
func (mr *MockNamespaceInterfaceMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockNamespaceInterfaceMockRecorder) Update ¶
func (mr *MockNamespaceInterfaceMockRecorder) Update(ctx, namespace, opts any) *gomock.Call
Update indicates an expected call of Update.
func (*MockNamespaceInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockNamespaceInterfaceMockRecorder) UpdateStatus(ctx, namespace, opts any) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
type MockNodeInterface ¶
type MockNodeInterface struct {
// contains filtered or unexported fields
}
MockNodeInterface is a mock of NodeInterface interface.
func NewMockNodeInterface ¶
func NewMockNodeInterface(ctrl *gomock.Controller) *MockNodeInterface
NewMockNodeInterface creates a new mock instance.
func (*MockNodeInterface) Apply ¶
func (m *MockNodeInterface) Apply(ctx context.Context, node *v12.NodeApplyConfiguration, opts v11.ApplyOptions) (*v1.Node, error)
Apply mocks base method.
func (*MockNodeInterface) ApplyStatus ¶
func (m *MockNodeInterface) ApplyStatus(ctx context.Context, node *v12.NodeApplyConfiguration, opts v11.ApplyOptions) (*v1.Node, error)
ApplyStatus mocks base method.
func (*MockNodeInterface) Create ¶
func (m *MockNodeInterface) Create(ctx context.Context, node *v1.Node, opts v11.CreateOptions) (*v1.Node, error)
Create mocks base method.
func (*MockNodeInterface) Delete ¶
func (m *MockNodeInterface) Delete(ctx context.Context, name string, opts v11.DeleteOptions) error
Delete mocks base method.
func (*MockNodeInterface) DeleteCollection ¶
func (m *MockNodeInterface) DeleteCollection(ctx context.Context, opts v11.DeleteOptions, listOpts v11.ListOptions) error
DeleteCollection mocks base method.
func (*MockNodeInterface) EXPECT ¶
func (m *MockNodeInterface) EXPECT() *MockNodeInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNodeInterface) Get ¶
func (m *MockNodeInterface) Get(ctx context.Context, name string, opts v11.GetOptions) (*v1.Node, error)
Get mocks base method.
func (*MockNodeInterface) List ¶
func (m *MockNodeInterface) List(ctx context.Context, opts v11.ListOptions) (*v1.NodeList, error)
List mocks base method.
func (*MockNodeInterface) Patch ¶
func (m *MockNodeInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v11.PatchOptions, subresources ...string) (*v1.Node, error)
Patch mocks base method.
func (*MockNodeInterface) PatchStatus ¶
func (m *MockNodeInterface) PatchStatus(ctx context.Context, nodeName string, data []byte) (*v1.Node, error)
PatchStatus mocks base method.
func (*MockNodeInterface) Update ¶
func (m *MockNodeInterface) Update(ctx context.Context, node *v1.Node, opts v11.UpdateOptions) (*v1.Node, error)
Update mocks base method.
func (*MockNodeInterface) UpdateStatus ¶
func (m *MockNodeInterface) UpdateStatus(ctx context.Context, node *v1.Node, opts v11.UpdateOptions) (*v1.Node, error)
UpdateStatus mocks base method.
func (*MockNodeInterface) Watch ¶
func (m *MockNodeInterface) Watch(ctx context.Context, opts v11.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockNodeInterfaceMockRecorder ¶
type MockNodeInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeInterfaceMockRecorder is the mock recorder for MockNodeInterface.
func (*MockNodeInterfaceMockRecorder) Apply ¶
func (mr *MockNodeInterfaceMockRecorder) Apply(ctx, node, opts any) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockNodeInterfaceMockRecorder) ApplyStatus ¶
func (mr *MockNodeInterfaceMockRecorder) ApplyStatus(ctx, node, opts any) *gomock.Call
ApplyStatus indicates an expected call of ApplyStatus.
func (*MockNodeInterfaceMockRecorder) Create ¶
func (mr *MockNodeInterfaceMockRecorder) Create(ctx, node, opts any) *gomock.Call
Create indicates an expected call of Create.
func (*MockNodeInterfaceMockRecorder) Delete ¶
func (mr *MockNodeInterfaceMockRecorder) Delete(ctx, name, opts any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockNodeInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockNodeInterfaceMockRecorder) DeleteCollection(ctx, opts, listOpts any) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockNodeInterfaceMockRecorder) Get ¶
func (mr *MockNodeInterfaceMockRecorder) Get(ctx, name, opts any) *gomock.Call
Get indicates an expected call of Get.
func (*MockNodeInterfaceMockRecorder) List ¶
func (mr *MockNodeInterfaceMockRecorder) List(ctx, opts any) *gomock.Call
List indicates an expected call of List.
func (*MockNodeInterfaceMockRecorder) Patch ¶
func (mr *MockNodeInterfaceMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockNodeInterfaceMockRecorder) PatchStatus ¶
func (mr *MockNodeInterfaceMockRecorder) PatchStatus(ctx, nodeName, data any) *gomock.Call
PatchStatus indicates an expected call of PatchStatus.
func (*MockNodeInterfaceMockRecorder) Update ¶
func (mr *MockNodeInterfaceMockRecorder) Update(ctx, node, opts any) *gomock.Call
Update indicates an expected call of Update.
func (*MockNodeInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockNodeInterfaceMockRecorder) UpdateStatus(ctx, node, opts any) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
type MockPodInterface ¶
type MockPodInterface struct {
// contains filtered or unexported fields
}
MockPodInterface is a mock of PodInterface interface.
func NewMockPodInterface ¶
func NewMockPodInterface(ctrl *gomock.Controller) *MockPodInterface
NewMockPodInterface creates a new mock instance.
func (*MockPodInterface) Apply ¶
func (m *MockPodInterface) Apply(ctx context.Context, pod *v12.PodApplyConfiguration, opts v11.ApplyOptions) (*v1.Pod, error)
Apply mocks base method.
func (*MockPodInterface) ApplyStatus ¶
func (m *MockPodInterface) ApplyStatus(ctx context.Context, pod *v12.PodApplyConfiguration, opts v11.ApplyOptions) (*v1.Pod, error)
ApplyStatus mocks base method.
func (*MockPodInterface) Bind ¶
func (m *MockPodInterface) Bind(ctx context.Context, binding *v1.Binding, opts v11.CreateOptions) error
Bind mocks base method.
func (*MockPodInterface) Create ¶
func (m *MockPodInterface) Create(ctx context.Context, pod *v1.Pod, opts v11.CreateOptions) (*v1.Pod, error)
Create mocks base method.
func (*MockPodInterface) Delete ¶
func (m *MockPodInterface) Delete(ctx context.Context, name string, opts v11.DeleteOptions) error
Delete mocks base method.
func (*MockPodInterface) DeleteCollection ¶
func (m *MockPodInterface) DeleteCollection(ctx context.Context, opts v11.DeleteOptions, listOpts v11.ListOptions) error
DeleteCollection mocks base method.
func (*MockPodInterface) EXPECT ¶
func (m *MockPodInterface) EXPECT() *MockPodInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPodInterface) EvictV1beta1 ¶
EvictV1beta1 mocks base method.
func (*MockPodInterface) Get ¶
func (m *MockPodInterface) Get(ctx context.Context, name string, opts v11.GetOptions) (*v1.Pod, error)
Get mocks base method.
func (*MockPodInterface) GetLogs ¶
func (m *MockPodInterface) GetLogs(name string, opts *v1.PodLogOptions) *rest.Request
GetLogs mocks base method.
func (*MockPodInterface) List ¶
func (m *MockPodInterface) List(ctx context.Context, opts v11.ListOptions) (*v1.PodList, error)
List mocks base method.
func (*MockPodInterface) Patch ¶
func (m *MockPodInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v11.PatchOptions, subresources ...string) (*v1.Pod, error)
Patch mocks base method.
func (*MockPodInterface) ProxyGet ¶
func (m *MockPodInterface) ProxyGet(scheme, name, port, path string, params map[string]string) rest.ResponseWrapper
ProxyGet mocks base method.
func (*MockPodInterface) Update ¶
func (m *MockPodInterface) Update(ctx context.Context, pod *v1.Pod, opts v11.UpdateOptions) (*v1.Pod, error)
Update mocks base method.
func (*MockPodInterface) UpdateEphemeralContainers ¶
func (m *MockPodInterface) UpdateEphemeralContainers(ctx context.Context, podName string, pod *v1.Pod, opts v11.UpdateOptions) (*v1.Pod, error)
UpdateEphemeralContainers mocks base method.
func (*MockPodInterface) UpdateStatus ¶
func (m *MockPodInterface) UpdateStatus(ctx context.Context, pod *v1.Pod, opts v11.UpdateOptions) (*v1.Pod, error)
UpdateStatus mocks base method.
func (*MockPodInterface) Watch ¶
func (m *MockPodInterface) Watch(ctx context.Context, opts v11.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockPodInterfaceMockRecorder ¶
type MockPodInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPodInterfaceMockRecorder is the mock recorder for MockPodInterface.
func (*MockPodInterfaceMockRecorder) Apply ¶
func (mr *MockPodInterfaceMockRecorder) Apply(ctx, pod, opts any) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockPodInterfaceMockRecorder) ApplyStatus ¶
func (mr *MockPodInterfaceMockRecorder) ApplyStatus(ctx, pod, opts any) *gomock.Call
ApplyStatus indicates an expected call of ApplyStatus.
func (*MockPodInterfaceMockRecorder) Bind ¶
func (mr *MockPodInterfaceMockRecorder) Bind(ctx, binding, opts any) *gomock.Call
Bind indicates an expected call of Bind.
func (*MockPodInterfaceMockRecorder) Create ¶
func (mr *MockPodInterfaceMockRecorder) Create(ctx, pod, opts any) *gomock.Call
Create indicates an expected call of Create.
func (*MockPodInterfaceMockRecorder) Delete ¶
func (mr *MockPodInterfaceMockRecorder) Delete(ctx, name, opts any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockPodInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockPodInterfaceMockRecorder) DeleteCollection(ctx, opts, listOpts any) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockPodInterfaceMockRecorder) Evict ¶
func (mr *MockPodInterfaceMockRecorder) Evict(ctx, eviction any) *gomock.Call
Evict indicates an expected call of Evict.
func (*MockPodInterfaceMockRecorder) EvictV1 ¶
func (mr *MockPodInterfaceMockRecorder) EvictV1(ctx, eviction any) *gomock.Call
EvictV1 indicates an expected call of EvictV1.
func (*MockPodInterfaceMockRecorder) EvictV1beta1 ¶
func (mr *MockPodInterfaceMockRecorder) EvictV1beta1(ctx, eviction any) *gomock.Call
EvictV1beta1 indicates an expected call of EvictV1beta1.
func (*MockPodInterfaceMockRecorder) Get ¶
func (mr *MockPodInterfaceMockRecorder) Get(ctx, name, opts any) *gomock.Call
Get indicates an expected call of Get.
func (*MockPodInterfaceMockRecorder) GetLogs ¶
func (mr *MockPodInterfaceMockRecorder) GetLogs(name, opts any) *gomock.Call
GetLogs indicates an expected call of GetLogs.
func (*MockPodInterfaceMockRecorder) List ¶
func (mr *MockPodInterfaceMockRecorder) List(ctx, opts any) *gomock.Call
List indicates an expected call of List.
func (*MockPodInterfaceMockRecorder) Patch ¶
func (mr *MockPodInterfaceMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockPodInterfaceMockRecorder) ProxyGet ¶
func (mr *MockPodInterfaceMockRecorder) ProxyGet(scheme, name, port, path, params any) *gomock.Call
ProxyGet indicates an expected call of ProxyGet.
func (*MockPodInterfaceMockRecorder) Update ¶
func (mr *MockPodInterfaceMockRecorder) Update(ctx, pod, opts any) *gomock.Call
Update indicates an expected call of Update.
func (*MockPodInterfaceMockRecorder) UpdateEphemeralContainers ¶
func (mr *MockPodInterfaceMockRecorder) UpdateEphemeralContainers(ctx, podName, pod, opts any) *gomock.Call
UpdateEphemeralContainers indicates an expected call of UpdateEphemeralContainers.
func (*MockPodInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockPodInterfaceMockRecorder) UpdateStatus(ctx, pod, opts any) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
type MockSecretInterface ¶
type MockSecretInterface struct {
// contains filtered or unexported fields
}
MockSecretInterface is a mock of SecretInterface interface.
func NewMockSecretInterface ¶
func NewMockSecretInterface(ctrl *gomock.Controller) *MockSecretInterface
NewMockSecretInterface creates a new mock instance.
func (*MockSecretInterface) Apply ¶
func (m *MockSecretInterface) Apply(ctx context.Context, secret *v12.SecretApplyConfiguration, opts v11.ApplyOptions) (*v1.Secret, error)
Apply mocks base method.
func (*MockSecretInterface) Create ¶
func (m *MockSecretInterface) Create(ctx context.Context, secret *v1.Secret, opts v11.CreateOptions) (*v1.Secret, error)
Create mocks base method.
func (*MockSecretInterface) Delete ¶
func (m *MockSecretInterface) Delete(ctx context.Context, name string, opts v11.DeleteOptions) error
Delete mocks base method.
func (*MockSecretInterface) DeleteCollection ¶
func (m *MockSecretInterface) DeleteCollection(ctx context.Context, opts v11.DeleteOptions, listOpts v11.ListOptions) error
DeleteCollection mocks base method.
func (*MockSecretInterface) EXPECT ¶
func (m *MockSecretInterface) EXPECT() *MockSecretInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretInterface) Get ¶
func (m *MockSecretInterface) Get(ctx context.Context, name string, opts v11.GetOptions) (*v1.Secret, error)
Get mocks base method.
func (*MockSecretInterface) List ¶
func (m *MockSecretInterface) List(ctx context.Context, opts v11.ListOptions) (*v1.SecretList, error)
List mocks base method.
func (*MockSecretInterface) Patch ¶
func (m *MockSecretInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v11.PatchOptions, subresources ...string) (*v1.Secret, error)
Patch mocks base method.
func (*MockSecretInterface) Update ¶
func (m *MockSecretInterface) Update(ctx context.Context, secret *v1.Secret, opts v11.UpdateOptions) (*v1.Secret, error)
Update mocks base method.
func (*MockSecretInterface) Watch ¶
func (m *MockSecretInterface) Watch(ctx context.Context, opts v11.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockSecretInterfaceMockRecorder ¶
type MockSecretInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretInterfaceMockRecorder is the mock recorder for MockSecretInterface.
func (*MockSecretInterfaceMockRecorder) Apply ¶
func (mr *MockSecretInterfaceMockRecorder) Apply(ctx, secret, opts any) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockSecretInterfaceMockRecorder) Create ¶
func (mr *MockSecretInterfaceMockRecorder) Create(ctx, secret, opts any) *gomock.Call
Create indicates an expected call of Create.
func (*MockSecretInterfaceMockRecorder) Delete ¶
func (mr *MockSecretInterfaceMockRecorder) Delete(ctx, name, opts any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockSecretInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockSecretInterfaceMockRecorder) DeleteCollection(ctx, opts, listOpts any) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockSecretInterfaceMockRecorder) Get ¶
func (mr *MockSecretInterfaceMockRecorder) Get(ctx, name, opts any) *gomock.Call
Get indicates an expected call of Get.
func (*MockSecretInterfaceMockRecorder) List ¶
func (mr *MockSecretInterfaceMockRecorder) List(ctx, opts any) *gomock.Call
List indicates an expected call of List.
func (*MockSecretInterfaceMockRecorder) Patch ¶
func (mr *MockSecretInterfaceMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *gomock.Call
Patch indicates an expected call of Patch.