Documentation ¶
Overview ¶
Package v1 is a generated GoMock package.
Index ¶
- type MockNamespaceInterface
- func (m *MockNamespaceInterface) Create(arg0 *v1.Namespace) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error
- func (m *MockNamespaceInterface) EXPECT() *MockNamespaceInterfaceMockRecorder
- func (m *MockNamespaceInterface) Finalize(arg0 *v1.Namespace) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) List(arg0 v10.ListOptions) (*v1.NamespaceList, error)
- func (m *MockNamespaceInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) Update(arg0 *v1.Namespace) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) UpdateStatus(arg0 *v1.Namespace) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error)
- type MockNamespaceInterfaceMockRecorder
- func (mr *MockNamespaceInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Finalize(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
- type MockNodeInterface
- func (m *MockNodeInterface) Create(arg0 *v1.Node) (*v1.Node, error)
- func (m *MockNodeInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error
- func (m *MockNodeInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error
- func (m *MockNodeInterface) EXPECT() *MockNodeInterfaceMockRecorder
- func (m *MockNodeInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Node, error)
- func (m *MockNodeInterface) List(arg0 v10.ListOptions) (*v1.NodeList, error)
- func (m *MockNodeInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Node, error)
- func (m *MockNodeInterface) PatchStatus(arg0 string, arg1 []byte) (*v1.Node, error)
- func (m *MockNodeInterface) Update(arg0 *v1.Node) (*v1.Node, error)
- func (m *MockNodeInterface) UpdateStatus(arg0 *v1.Node) (*v1.Node, error)
- func (m *MockNodeInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error)
- type MockNodeInterfaceMockRecorder
- func (mr *MockNodeInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) PatchStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
- func (mr *MockNodeInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
- type MockPodInterface
- func (m *MockPodInterface) Bind(arg0 *v1.Binding) error
- func (m *MockPodInterface) Create(arg0 *v1.Pod) (*v1.Pod, error)
- func (m *MockPodInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error
- func (m *MockPodInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error
- func (m *MockPodInterface) EXPECT() *MockPodInterfaceMockRecorder
- func (m *MockPodInterface) Evict(arg0 *v1beta1.Eviction) error
- func (m *MockPodInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Pod, error)
- func (m *MockPodInterface) GetEphemeralContainers(arg0 string, arg1 v10.GetOptions) (*v1.EphemeralContainers, error)
- func (m *MockPodInterface) GetLogs(arg0 string, arg1 *v1.PodLogOptions) *rest.Request
- func (m *MockPodInterface) List(arg0 v10.ListOptions) (*v1.PodList, error)
- func (m *MockPodInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Pod, error)
- func (m *MockPodInterface) Update(arg0 *v1.Pod) (*v1.Pod, error)
- func (m *MockPodInterface) UpdateEphemeralContainers(arg0 string, arg1 *v1.EphemeralContainers) (*v1.EphemeralContainers, error)
- func (m *MockPodInterface) UpdateStatus(arg0 *v1.Pod) (*v1.Pod, error)
- func (m *MockPodInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error)
- type MockPodInterfaceMockRecorder
- func (mr *MockPodInterfaceMockRecorder) Bind(arg0 interface{}) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Evict(arg0 interface{}) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) GetEphemeralContainers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) GetLogs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) UpdateEphemeralContainers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
- func (mr *MockPodInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) Delete ¶
func (m *MockNamespaceInterface) Delete(arg0 string, arg1 *v10.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) Get ¶
func (m *MockNamespaceInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Namespace, error)
Get mocks base method.
func (*MockNamespaceInterface) List ¶
func (m *MockNamespaceInterface) List(arg0 v10.ListOptions) (*v1.NamespaceList, error)
List mocks base method.
func (*MockNamespaceInterface) Patch ¶
func (m *MockNamespaceInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Namespace, error)
Patch mocks base method.
func (*MockNamespaceInterface) UpdateStatus ¶
UpdateStatus mocks base method.
func (*MockNamespaceInterface) Watch ¶
func (m *MockNamespaceInterface) Watch(arg0 v10.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) Create ¶
func (mr *MockNamespaceInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockNamespaceInterfaceMockRecorder) Delete ¶
func (mr *MockNamespaceInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockNamespaceInterfaceMockRecorder) Finalize ¶
func (mr *MockNamespaceInterfaceMockRecorder) Finalize(arg0 interface{}) *gomock.Call
Finalize indicates an expected call of Finalize.
func (*MockNamespaceInterfaceMockRecorder) Get ¶
func (mr *MockNamespaceInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockNamespaceInterfaceMockRecorder) List ¶
func (mr *MockNamespaceInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockNamespaceInterfaceMockRecorder) Patch ¶
func (mr *MockNamespaceInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockNamespaceInterfaceMockRecorder) Update ¶
func (mr *MockNamespaceInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockNamespaceInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockNamespaceInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
func (*MockNamespaceInterfaceMockRecorder) Watch ¶
func (mr *MockNamespaceInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
Watch indicates an expected call of Watch.
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) Delete ¶
func (m *MockNodeInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error
Delete mocks base method.
func (*MockNodeInterface) DeleteCollection ¶
func (m *MockNodeInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.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(arg0 string, arg1 v10.GetOptions) (*v1.Node, error)
Get mocks base method.
func (*MockNodeInterface) List ¶
func (m *MockNodeInterface) List(arg0 v10.ListOptions) (*v1.NodeList, error)
List mocks base method.
func (*MockNodeInterface) Patch ¶
func (m *MockNodeInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Node, error)
Patch mocks base method.
func (*MockNodeInterface) PatchStatus ¶
PatchStatus mocks base method.
func (*MockNodeInterface) UpdateStatus ¶
UpdateStatus mocks base method.
func (*MockNodeInterface) Watch ¶
func (m *MockNodeInterface) Watch(arg0 v10.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) Create ¶
func (mr *MockNodeInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockNodeInterfaceMockRecorder) Delete ¶
func (mr *MockNodeInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockNodeInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockNodeInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockNodeInterfaceMockRecorder) Get ¶
func (mr *MockNodeInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockNodeInterfaceMockRecorder) List ¶
func (mr *MockNodeInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockNodeInterfaceMockRecorder) Patch ¶
func (mr *MockNodeInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockNodeInterfaceMockRecorder) PatchStatus ¶
func (mr *MockNodeInterfaceMockRecorder) PatchStatus(arg0, arg1 interface{}) *gomock.Call
PatchStatus indicates an expected call of PatchStatus.
func (*MockNodeInterfaceMockRecorder) Update ¶
func (mr *MockNodeInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockNodeInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockNodeInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
func (*MockNodeInterfaceMockRecorder) Watch ¶
func (mr *MockNodeInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
Watch indicates an expected call of Watch.
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) Bind ¶
func (m *MockPodInterface) Bind(arg0 *v1.Binding) error
Bind mocks base method.
func (*MockPodInterface) Delete ¶
func (m *MockPodInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error
Delete mocks base method.
func (*MockPodInterface) DeleteCollection ¶
func (m *MockPodInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.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) Evict ¶
func (m *MockPodInterface) Evict(arg0 *v1beta1.Eviction) error
Evict mocks base method.
func (*MockPodInterface) Get ¶
func (m *MockPodInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Pod, error)
Get mocks base method.
func (*MockPodInterface) GetEphemeralContainers ¶ added in v0.34.0
func (m *MockPodInterface) GetEphemeralContainers(arg0 string, arg1 v10.GetOptions) (*v1.EphemeralContainers, error)
GetEphemeralContainers mocks base method.
func (*MockPodInterface) GetLogs ¶
func (m *MockPodInterface) GetLogs(arg0 string, arg1 *v1.PodLogOptions) *rest.Request
GetLogs mocks base method.
func (*MockPodInterface) List ¶
func (m *MockPodInterface) List(arg0 v10.ListOptions) (*v1.PodList, error)
List mocks base method.
func (*MockPodInterface) Patch ¶
func (m *MockPodInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Pod, error)
Patch mocks base method.
func (*MockPodInterface) UpdateEphemeralContainers ¶ added in v0.34.0
func (m *MockPodInterface) UpdateEphemeralContainers(arg0 string, arg1 *v1.EphemeralContainers) (*v1.EphemeralContainers, error)
UpdateEphemeralContainers mocks base method.
func (*MockPodInterface) UpdateStatus ¶
UpdateStatus mocks base method.
func (*MockPodInterface) Watch ¶
func (m *MockPodInterface) Watch(arg0 v10.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) Bind ¶
func (mr *MockPodInterfaceMockRecorder) Bind(arg0 interface{}) *gomock.Call
Bind indicates an expected call of Bind.
func (*MockPodInterfaceMockRecorder) Create ¶
func (mr *MockPodInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockPodInterfaceMockRecorder) Delete ¶
func (mr *MockPodInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockPodInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockPodInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockPodInterfaceMockRecorder) Evict ¶
func (mr *MockPodInterfaceMockRecorder) Evict(arg0 interface{}) *gomock.Call
Evict indicates an expected call of Evict.
func (*MockPodInterfaceMockRecorder) Get ¶
func (mr *MockPodInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockPodInterfaceMockRecorder) GetEphemeralContainers ¶ added in v0.34.0
func (mr *MockPodInterfaceMockRecorder) GetEphemeralContainers(arg0, arg1 interface{}) *gomock.Call
GetEphemeralContainers indicates an expected call of GetEphemeralContainers.
func (*MockPodInterfaceMockRecorder) GetLogs ¶
func (mr *MockPodInterfaceMockRecorder) GetLogs(arg0, arg1 interface{}) *gomock.Call
GetLogs indicates an expected call of GetLogs.
func (*MockPodInterfaceMockRecorder) List ¶
func (mr *MockPodInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockPodInterfaceMockRecorder) Patch ¶
func (mr *MockPodInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockPodInterfaceMockRecorder) Update ¶
func (mr *MockPodInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockPodInterfaceMockRecorder) UpdateEphemeralContainers ¶ added in v0.34.0
func (mr *MockPodInterfaceMockRecorder) UpdateEphemeralContainers(arg0, arg1 interface{}) *gomock.Call
UpdateEphemeralContainers indicates an expected call of UpdateEphemeralContainers.
func (*MockPodInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockPodInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
func (*MockPodInterfaceMockRecorder) Watch ¶
func (mr *MockPodInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
Watch indicates an expected call of Watch.