Versions in this module Expand all Collapse all v0 v0.1.3 Feb 23, 2020 Changes in this version + type MockClient struct + func NewMockClient(ctrl *gomock.Controller) *MockClient + func (m *MockClient) EXPECT() *MockClientMockRecorder + func (m *MockClient) Get(ns, role string, options ...v10.GetOptions) (*v1.Role, bool, error) + func (m *MockClient) List(ns string, options ...v10.ListOptions) (*v1.RoleList, error) + type MockClientMockRecorder struct + func (mr *MockClientMockRecorder) Get(ns, role interface{}, options ...interface{}) *gomock.Call + func (mr *MockClientMockRecorder) List(ns interface{}, options ...interface{}) *gomock.Call + type MockRoleInterface struct + func NewMockRoleInterface(ctrl *gomock.Controller) *MockRoleInterface + func (m *MockRoleInterface) Create(arg0 *v1.Role) (*v1.Role, error) + func (m *MockRoleInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error + func (m *MockRoleInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error + func (m *MockRoleInterface) EXPECT() *MockRoleInterfaceMockRecorder + func (m *MockRoleInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Role, error) + func (m *MockRoleInterface) List(arg0 v10.ListOptions) (*v1.RoleList, error) + func (m *MockRoleInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Role, error) + func (m *MockRoleInterface) Update(arg0 *v1.Role) (*v1.Role, error) + func (m *MockRoleInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error) + type MockRoleInterfaceMockRecorder struct + func (mr *MockRoleInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call + func (mr *MockRoleInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call + func (mr *MockRoleInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call + func (mr *MockRoleInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call + func (mr *MockRoleInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call + func (mr *MockRoleInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call + func (mr *MockRoleInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call + func (mr *MockRoleInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call + type MockRolesGetter struct + func NewMockRolesGetter(ctrl *gomock.Controller) *MockRolesGetter + func (m *MockRolesGetter) EXPECT() *MockRolesGetterMockRecorder + func (m *MockRolesGetter) Roles(arg0 string) v1.RoleInterface + type MockRolesGetterMockRecorder struct + func (mr *MockRolesGetterMockRecorder) Roles(arg0 interface{}) *gomock.Call