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 MockRoleBindingInterface
- func (m *MockRoleBindingInterface) Create(arg0 *v1.RoleBinding) (*v1.RoleBinding, error)
- func (m *MockRoleBindingInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error
- func (m *MockRoleBindingInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error
- func (m *MockRoleBindingInterface) EXPECT() *MockRoleBindingInterfaceMockRecorder
- func (m *MockRoleBindingInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.RoleBinding, error)
- func (m *MockRoleBindingInterface) List(arg0 v10.ListOptions) (*v1.RoleBindingList, error)
- func (m *MockRoleBindingInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.RoleBinding, error)
- func (m *MockRoleBindingInterface) Update(arg0 *v1.RoleBinding) (*v1.RoleBinding, error)
- func (m *MockRoleBindingInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error)
- type MockRoleBindingInterfaceMockRecorder
- func (mr *MockRoleBindingInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockRoleBindingInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRoleBindingInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRoleBindingInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRoleBindingInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockRoleBindingInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockRoleBindingInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockRoleBindingInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
- type MockRoleBindingsGetter
- type MockRoleBindingsGetterMockRecorder
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) Create ¶
func (m *MockClient) Create(ns, name, role string, subject v1.Subject) (*v1.RoleBinding, error)
Create mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) List ¶
func (m *MockClient) List(ns string, options ...v10.ListOptions) (*v1.RoleBindingList, error)
List mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Create ¶
func (mr *MockClientMockRecorder) Create(ns, name, role, subject interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockClientMockRecorder) List ¶
func (mr *MockClientMockRecorder) List(ns interface{}, options ...interface{}) *gomock.Call
List indicates an expected call of List
type MockRoleBindingInterface ¶
type MockRoleBindingInterface struct {
// contains filtered or unexported fields
}
MockRoleBindingInterface is a mock of RoleBindingInterface interface
func NewMockRoleBindingInterface ¶
func NewMockRoleBindingInterface(ctrl *gomock.Controller) *MockRoleBindingInterface
NewMockRoleBindingInterface creates a new mock instance
func (*MockRoleBindingInterface) Create ¶
func (m *MockRoleBindingInterface) Create(arg0 *v1.RoleBinding) (*v1.RoleBinding, error)
Create mocks base method
func (*MockRoleBindingInterface) Delete ¶
func (m *MockRoleBindingInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error
Delete mocks base method
func (*MockRoleBindingInterface) DeleteCollection ¶
func (m *MockRoleBindingInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error
DeleteCollection mocks base method
func (*MockRoleBindingInterface) EXPECT ¶
func (m *MockRoleBindingInterface) EXPECT() *MockRoleBindingInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRoleBindingInterface) Get ¶
func (m *MockRoleBindingInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.RoleBinding, error)
Get mocks base method
func (*MockRoleBindingInterface) List ¶
func (m *MockRoleBindingInterface) List(arg0 v10.ListOptions) (*v1.RoleBindingList, error)
List mocks base method
func (*MockRoleBindingInterface) Patch ¶
func (m *MockRoleBindingInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.RoleBinding, error)
Patch mocks base method
func (*MockRoleBindingInterface) Update ¶
func (m *MockRoleBindingInterface) Update(arg0 *v1.RoleBinding) (*v1.RoleBinding, error)
Update mocks base method
func (*MockRoleBindingInterface) Watch ¶
func (m *MockRoleBindingInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error)
Watch mocks base method
type MockRoleBindingInterfaceMockRecorder ¶
type MockRoleBindingInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleBindingInterfaceMockRecorder is the mock recorder for MockRoleBindingInterface
func (*MockRoleBindingInterfaceMockRecorder) Create ¶
func (mr *MockRoleBindingInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockRoleBindingInterfaceMockRecorder) Delete ¶
func (mr *MockRoleBindingInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockRoleBindingInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockRoleBindingInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection
func (*MockRoleBindingInterfaceMockRecorder) Get ¶
func (mr *MockRoleBindingInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockRoleBindingInterfaceMockRecorder) List ¶
func (mr *MockRoleBindingInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockRoleBindingInterfaceMockRecorder) Patch ¶
func (mr *MockRoleBindingInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch
func (*MockRoleBindingInterfaceMockRecorder) Update ¶
func (mr *MockRoleBindingInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockRoleBindingInterfaceMockRecorder) Watch ¶
func (mr *MockRoleBindingInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
Watch indicates an expected call of Watch
type MockRoleBindingsGetter ¶
type MockRoleBindingsGetter struct {
// contains filtered or unexported fields
}
MockRoleBindingsGetter is a mock of RoleBindingsGetter interface
func NewMockRoleBindingsGetter ¶
func NewMockRoleBindingsGetter(ctrl *gomock.Controller) *MockRoleBindingsGetter
NewMockRoleBindingsGetter creates a new mock instance
func (*MockRoleBindingsGetter) EXPECT ¶
func (m *MockRoleBindingsGetter) EXPECT() *MockRoleBindingsGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRoleBindingsGetter) RoleBindings ¶
func (m *MockRoleBindingsGetter) RoleBindings(arg0 string) v1.RoleBindingInterface
RoleBindings mocks base method
type MockRoleBindingsGetterMockRecorder ¶
type MockRoleBindingsGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleBindingsGetterMockRecorder is the mock recorder for MockRoleBindingsGetter
func (*MockRoleBindingsGetterMockRecorder) RoleBindings ¶
func (mr *MockRoleBindingsGetterMockRecorder) RoleBindings(arg0 interface{}) *gomock.Call
RoleBindings indicates an expected call of RoleBindings