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 MockClusterRoleBindingInterface
- func (m *MockClusterRoleBindingInterface) Create(arg0 *v1.ClusterRoleBinding) (*v1.ClusterRoleBinding, error)
- func (m *MockClusterRoleBindingInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error
- func (m *MockClusterRoleBindingInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error
- func (m *MockClusterRoleBindingInterface) EXPECT() *MockClusterRoleBindingInterfaceMockRecorder
- func (m *MockClusterRoleBindingInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.ClusterRoleBinding, error)
- func (m *MockClusterRoleBindingInterface) List(arg0 v10.ListOptions) (*v1.ClusterRoleBindingList, error)
- func (m *MockClusterRoleBindingInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.ClusterRoleBinding, error)
- func (m *MockClusterRoleBindingInterface) Update(arg0 *v1.ClusterRoleBinding) (*v1.ClusterRoleBinding, error)
- func (m *MockClusterRoleBindingInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error)
- type MockClusterRoleBindingInterfaceMockRecorder
- func (mr *MockClusterRoleBindingInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockClusterRoleBindingInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterRoleBindingInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterRoleBindingInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterRoleBindingInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockClusterRoleBindingInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockClusterRoleBindingInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockClusterRoleBindingInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
- type MockClusterRoleBindingsGetter
- type MockClusterRoleBindingsGetterMockRecorder
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(name, role string, subject v1.Subject) (*v1.ClusterRoleBinding, 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(options ...v10.ListOptions) (*v1.ClusterRoleBindingList, 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(name, role, subject interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockClientMockRecorder) List ¶
func (mr *MockClientMockRecorder) List(options ...interface{}) *gomock.Call
List indicates an expected call of List
type MockClusterRoleBindingInterface ¶
type MockClusterRoleBindingInterface struct {
// contains filtered or unexported fields
}
MockClusterRoleBindingInterface is a mock of ClusterRoleBindingInterface interface
func NewMockClusterRoleBindingInterface ¶
func NewMockClusterRoleBindingInterface(ctrl *gomock.Controller) *MockClusterRoleBindingInterface
NewMockClusterRoleBindingInterface creates a new mock instance
func (*MockClusterRoleBindingInterface) Create ¶
func (m *MockClusterRoleBindingInterface) Create(arg0 *v1.ClusterRoleBinding) (*v1.ClusterRoleBinding, error)
Create mocks base method
func (*MockClusterRoleBindingInterface) Delete ¶
func (m *MockClusterRoleBindingInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error
Delete mocks base method
func (*MockClusterRoleBindingInterface) DeleteCollection ¶
func (m *MockClusterRoleBindingInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error
DeleteCollection mocks base method
func (*MockClusterRoleBindingInterface) EXPECT ¶
func (m *MockClusterRoleBindingInterface) EXPECT() *MockClusterRoleBindingInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClusterRoleBindingInterface) Get ¶
func (m *MockClusterRoleBindingInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.ClusterRoleBinding, error)
Get mocks base method
func (*MockClusterRoleBindingInterface) List ¶
func (m *MockClusterRoleBindingInterface) List(arg0 v10.ListOptions) (*v1.ClusterRoleBindingList, error)
List mocks base method
func (*MockClusterRoleBindingInterface) Patch ¶
func (m *MockClusterRoleBindingInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.ClusterRoleBinding, error)
Patch mocks base method
func (*MockClusterRoleBindingInterface) Update ¶
func (m *MockClusterRoleBindingInterface) Update(arg0 *v1.ClusterRoleBinding) (*v1.ClusterRoleBinding, error)
Update mocks base method
func (*MockClusterRoleBindingInterface) Watch ¶
func (m *MockClusterRoleBindingInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error)
Watch mocks base method
type MockClusterRoleBindingInterfaceMockRecorder ¶
type MockClusterRoleBindingInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterRoleBindingInterfaceMockRecorder is the mock recorder for MockClusterRoleBindingInterface
func (*MockClusterRoleBindingInterfaceMockRecorder) Create ¶
func (mr *MockClusterRoleBindingInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockClusterRoleBindingInterfaceMockRecorder) Delete ¶
func (mr *MockClusterRoleBindingInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockClusterRoleBindingInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockClusterRoleBindingInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection
func (*MockClusterRoleBindingInterfaceMockRecorder) Get ¶
func (mr *MockClusterRoleBindingInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockClusterRoleBindingInterfaceMockRecorder) List ¶
func (mr *MockClusterRoleBindingInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockClusterRoleBindingInterfaceMockRecorder) Patch ¶
func (mr *MockClusterRoleBindingInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch
func (*MockClusterRoleBindingInterfaceMockRecorder) Update ¶
func (mr *MockClusterRoleBindingInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockClusterRoleBindingInterfaceMockRecorder) Watch ¶
func (mr *MockClusterRoleBindingInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
Watch indicates an expected call of Watch
type MockClusterRoleBindingsGetter ¶
type MockClusterRoleBindingsGetter struct {
// contains filtered or unexported fields
}
MockClusterRoleBindingsGetter is a mock of ClusterRoleBindingsGetter interface
func NewMockClusterRoleBindingsGetter ¶
func NewMockClusterRoleBindingsGetter(ctrl *gomock.Controller) *MockClusterRoleBindingsGetter
NewMockClusterRoleBindingsGetter creates a new mock instance
func (*MockClusterRoleBindingsGetter) ClusterRoleBindings ¶
func (m *MockClusterRoleBindingsGetter) ClusterRoleBindings() v1.ClusterRoleBindingInterface
ClusterRoleBindings mocks base method
func (*MockClusterRoleBindingsGetter) EXPECT ¶
func (m *MockClusterRoleBindingsGetter) EXPECT() *MockClusterRoleBindingsGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockClusterRoleBindingsGetterMockRecorder ¶
type MockClusterRoleBindingsGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterRoleBindingsGetterMockRecorder is the mock recorder for MockClusterRoleBindingsGetter
func (*MockClusterRoleBindingsGetterMockRecorder) ClusterRoleBindings ¶
func (mr *MockClusterRoleBindingsGetterMockRecorder) ClusterRoleBindings() *gomock.Call
ClusterRoleBindings indicates an expected call of ClusterRoleBindings