Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- type MockClientMockRecorder
- type MockClusterRoleInterface
- func (m *MockClusterRoleInterface) Create(arg0 *v1.ClusterRole) (*v1.ClusterRole, error)
- func (m *MockClusterRoleInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error
- func (m *MockClusterRoleInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error
- func (m *MockClusterRoleInterface) EXPECT() *MockClusterRoleInterfaceMockRecorder
- func (m *MockClusterRoleInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.ClusterRole, error)
- func (m *MockClusterRoleInterface) List(arg0 v10.ListOptions) (*v1.ClusterRoleList, error)
- func (m *MockClusterRoleInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.ClusterRole, error)
- func (m *MockClusterRoleInterface) Update(arg0 *v1.ClusterRole) (*v1.ClusterRole, error)
- func (m *MockClusterRoleInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error)
- type MockClusterRoleInterfaceMockRecorder
- func (mr *MockClusterRoleInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockClusterRoleInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterRoleInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterRoleInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterRoleInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockClusterRoleInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockClusterRoleInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockClusterRoleInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
- type MockClusterRolesGetter
- type MockClusterRolesGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) Get ¶
func (m *MockClient) Get(role string, options ...v10.GetOptions) (*v1.ClusterRole, bool, error)
Get mocks base method
func (*MockClient) List ¶
func (m *MockClient) List(options ...v10.ListOptions) (*v1.ClusterRoleList, error)
List mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(role interface{}, options ...interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockClientMockRecorder) List ¶
func (mr *MockClientMockRecorder) List(options ...interface{}) *gomock.Call
List indicates an expected call of List
type MockClusterRoleInterface ¶
type MockClusterRoleInterface struct {
// contains filtered or unexported fields
}
MockClusterRoleInterface is a mock of ClusterRoleInterface interface
func NewMockClusterRoleInterface ¶
func NewMockClusterRoleInterface(ctrl *gomock.Controller) *MockClusterRoleInterface
NewMockClusterRoleInterface creates a new mock instance
func (*MockClusterRoleInterface) Create ¶
func (m *MockClusterRoleInterface) Create(arg0 *v1.ClusterRole) (*v1.ClusterRole, error)
Create mocks base method
func (*MockClusterRoleInterface) Delete ¶
func (m *MockClusterRoleInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error
Delete mocks base method
func (*MockClusterRoleInterface) DeleteCollection ¶
func (m *MockClusterRoleInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error
DeleteCollection mocks base method
func (*MockClusterRoleInterface) EXPECT ¶
func (m *MockClusterRoleInterface) EXPECT() *MockClusterRoleInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClusterRoleInterface) Get ¶
func (m *MockClusterRoleInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.ClusterRole, error)
Get mocks base method
func (*MockClusterRoleInterface) List ¶
func (m *MockClusterRoleInterface) List(arg0 v10.ListOptions) (*v1.ClusterRoleList, error)
List mocks base method
func (*MockClusterRoleInterface) Patch ¶
func (m *MockClusterRoleInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.ClusterRole, error)
Patch mocks base method
func (*MockClusterRoleInterface) Update ¶
func (m *MockClusterRoleInterface) Update(arg0 *v1.ClusterRole) (*v1.ClusterRole, error)
Update mocks base method
func (*MockClusterRoleInterface) Watch ¶
func (m *MockClusterRoleInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error)
Watch mocks base method
type MockClusterRoleInterfaceMockRecorder ¶
type MockClusterRoleInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterRoleInterfaceMockRecorder is the mock recorder for MockClusterRoleInterface
func (*MockClusterRoleInterfaceMockRecorder) Create ¶
func (mr *MockClusterRoleInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockClusterRoleInterfaceMockRecorder) Delete ¶
func (mr *MockClusterRoleInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockClusterRoleInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockClusterRoleInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection
func (*MockClusterRoleInterfaceMockRecorder) Get ¶
func (mr *MockClusterRoleInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockClusterRoleInterfaceMockRecorder) List ¶
func (mr *MockClusterRoleInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockClusterRoleInterfaceMockRecorder) Patch ¶
func (mr *MockClusterRoleInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch
func (*MockClusterRoleInterfaceMockRecorder) Update ¶
func (mr *MockClusterRoleInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockClusterRoleInterfaceMockRecorder) Watch ¶
func (mr *MockClusterRoleInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
Watch indicates an expected call of Watch
type MockClusterRolesGetter ¶
type MockClusterRolesGetter struct {
// contains filtered or unexported fields
}
MockClusterRolesGetter is a mock of ClusterRolesGetter interface
func NewMockClusterRolesGetter ¶
func NewMockClusterRolesGetter(ctrl *gomock.Controller) *MockClusterRolesGetter
NewMockClusterRolesGetter creates a new mock instance
func (*MockClusterRolesGetter) ClusterRoles ¶
func (m *MockClusterRolesGetter) ClusterRoles() v1.ClusterRoleInterface
ClusterRoles mocks base method
func (*MockClusterRolesGetter) EXPECT ¶
func (m *MockClusterRolesGetter) EXPECT() *MockClusterRolesGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockClusterRolesGetterMockRecorder ¶
type MockClusterRolesGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterRolesGetterMockRecorder is the mock recorder for MockClusterRolesGetter
func (*MockClusterRolesGetterMockRecorder) ClusterRoles ¶
func (mr *MockClusterRolesGetterMockRecorder) ClusterRoles() *gomock.Call
ClusterRoles indicates an expected call of ClusterRoles