Documentation ¶
Overview ¶
Package coordinationv1 is a generated GoMock package.
Index ¶
- type MockCoordinationV1Interface
- type MockCoordinationV1InterfaceMockRecorder
- type MockLeaseInterface
- func (m *MockLeaseInterface) Apply(arg0 context.Context, arg1 *v11.LeaseApplyConfiguration, arg2 v10.ApplyOptions) (*v1.Lease, error)
- func (m *MockLeaseInterface) Create(arg0 context.Context, arg1 *v1.Lease, arg2 v10.CreateOptions) (*v1.Lease, error)
- func (m *MockLeaseInterface) Delete(arg0 context.Context, arg1 string, arg2 v10.DeleteOptions) error
- func (m *MockLeaseInterface) DeleteCollection(arg0 context.Context, arg1 v10.DeleteOptions, arg2 v10.ListOptions) error
- func (m *MockLeaseInterface) EXPECT() *MockLeaseInterfaceMockRecorder
- func (m *MockLeaseInterface) Get(arg0 context.Context, arg1 string, arg2 v10.GetOptions) (*v1.Lease, error)
- func (m *MockLeaseInterface) List(arg0 context.Context, arg1 v10.ListOptions) (*v1.LeaseList, error)
- func (m *MockLeaseInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, ...) (*v1.Lease, error)
- func (m *MockLeaseInterface) Update(arg0 context.Context, arg1 *v1.Lease, arg2 v10.UpdateOptions) (*v1.Lease, error)
- func (m *MockLeaseInterface) Watch(arg0 context.Context, arg1 v10.ListOptions) (watch.Interface, error)
- type MockLeaseInterfaceMockRecorder
- func (mr *MockLeaseInterfaceMockRecorder) Apply(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLeaseInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLeaseInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLeaseInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLeaseInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLeaseInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLeaseInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
- func (mr *MockLeaseInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLeaseInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCoordinationV1Interface ¶
type MockCoordinationV1Interface struct {
// contains filtered or unexported fields
}
MockCoordinationV1Interface is a mock of CoordinationV1Interface interface.
func NewMockCoordinationV1Interface ¶
func NewMockCoordinationV1Interface(ctrl *gomock.Controller) *MockCoordinationV1Interface
NewMockCoordinationV1Interface creates a new mock instance.
func (*MockCoordinationV1Interface) EXPECT ¶
func (m *MockCoordinationV1Interface) EXPECT() *MockCoordinationV1InterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCoordinationV1Interface) Leases ¶
func (m *MockCoordinationV1Interface) Leases(arg0 string) v12.LeaseInterface
Leases mocks base method.
func (*MockCoordinationV1Interface) RESTClient ¶
func (m *MockCoordinationV1Interface) RESTClient() rest.Interface
RESTClient mocks base method.
type MockCoordinationV1InterfaceMockRecorder ¶
type MockCoordinationV1InterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCoordinationV1InterfaceMockRecorder is the mock recorder for MockCoordinationV1Interface.
func (*MockCoordinationV1InterfaceMockRecorder) Leases ¶
func (mr *MockCoordinationV1InterfaceMockRecorder) Leases(arg0 interface{}) *gomock.Call
Leases indicates an expected call of Leases.
func (*MockCoordinationV1InterfaceMockRecorder) RESTClient ¶
func (mr *MockCoordinationV1InterfaceMockRecorder) RESTClient() *gomock.Call
RESTClient indicates an expected call of RESTClient.
type MockLeaseInterface ¶
type MockLeaseInterface struct {
// contains filtered or unexported fields
}
MockLeaseInterface is a mock of LeaseInterface interface.
func NewMockLeaseInterface ¶
func NewMockLeaseInterface(ctrl *gomock.Controller) *MockLeaseInterface
NewMockLeaseInterface creates a new mock instance.
func (*MockLeaseInterface) Apply ¶
func (m *MockLeaseInterface) Apply(arg0 context.Context, arg1 *v11.LeaseApplyConfiguration, arg2 v10.ApplyOptions) (*v1.Lease, error)
Apply mocks base method.
func (*MockLeaseInterface) Create ¶
func (m *MockLeaseInterface) Create(arg0 context.Context, arg1 *v1.Lease, arg2 v10.CreateOptions) (*v1.Lease, error)
Create mocks base method.
func (*MockLeaseInterface) Delete ¶
func (m *MockLeaseInterface) Delete(arg0 context.Context, arg1 string, arg2 v10.DeleteOptions) error
Delete mocks base method.
func (*MockLeaseInterface) DeleteCollection ¶
func (m *MockLeaseInterface) DeleteCollection(arg0 context.Context, arg1 v10.DeleteOptions, arg2 v10.ListOptions) error
DeleteCollection mocks base method.
func (*MockLeaseInterface) EXPECT ¶
func (m *MockLeaseInterface) EXPECT() *MockLeaseInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLeaseInterface) Get ¶
func (m *MockLeaseInterface) Get(arg0 context.Context, arg1 string, arg2 v10.GetOptions) (*v1.Lease, error)
Get mocks base method.
func (*MockLeaseInterface) List ¶
func (m *MockLeaseInterface) List(arg0 context.Context, arg1 v10.ListOptions) (*v1.LeaseList, error)
List mocks base method.
func (*MockLeaseInterface) Patch ¶
func (m *MockLeaseInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 v10.PatchOptions, arg5 ...string) (*v1.Lease, error)
Patch mocks base method.
func (*MockLeaseInterface) Update ¶
func (m *MockLeaseInterface) Update(arg0 context.Context, arg1 *v1.Lease, arg2 v10.UpdateOptions) (*v1.Lease, error)
Update mocks base method.
func (*MockLeaseInterface) Watch ¶
func (m *MockLeaseInterface) Watch(arg0 context.Context, arg1 v10.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockLeaseInterfaceMockRecorder ¶
type MockLeaseInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockLeaseInterfaceMockRecorder is the mock recorder for MockLeaseInterface.
func (*MockLeaseInterfaceMockRecorder) Apply ¶
func (mr *MockLeaseInterfaceMockRecorder) Apply(arg0, arg1, arg2 interface{}) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockLeaseInterfaceMockRecorder) Create ¶
func (mr *MockLeaseInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockLeaseInterfaceMockRecorder) Delete ¶
func (mr *MockLeaseInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockLeaseInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockLeaseInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockLeaseInterfaceMockRecorder) Get ¶
func (mr *MockLeaseInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockLeaseInterfaceMockRecorder) List ¶
func (mr *MockLeaseInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockLeaseInterfaceMockRecorder) Patch ¶
func (mr *MockLeaseInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockLeaseInterfaceMockRecorder) Update ¶
func (mr *MockLeaseInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockLeaseInterfaceMockRecorder) Watch ¶
func (mr *MockLeaseInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Watch indicates an expected call of Watch.