Documentation ¶
Overview ¶
Package mock_iam is a generated GoMock package.
Index ¶
- type MockLoginRecordReader
- func (m *MockLoginRecordReader) EXPECT() *MockLoginRecordReaderMockRecorder
- func (m *MockLoginRecordReader) GetLoginRecord(ctx context.Context, name string) (*v1.LoginRecord, error)
- func (m *MockLoginRecordReader) GetLoginRecordEx(ctx context.Context, name, resourceVersion string) (*v1.LoginRecord, error)
- func (m *MockLoginRecordReader) ListLoginRecordEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
- func (m *MockLoginRecordReader) ListLoginRecords(ctx context.Context, query *query.Query) (*v1.LoginRecordList, error)
- func (m *MockLoginRecordReader) WatchLoginRecords(ctx context.Context, query *query.Query) (watch.Interface, error)
- type MockLoginRecordReaderEx
- func (m *MockLoginRecordReaderEx) EXPECT() *MockLoginRecordReaderExMockRecorder
- func (m *MockLoginRecordReaderEx) GetLoginRecordEx(ctx context.Context, name, resourceVersion string) (*v1.LoginRecord, error)
- func (m *MockLoginRecordReaderEx) ListLoginRecordEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
- type MockLoginRecordReaderExMockRecorder
- type MockLoginRecordReaderMockRecorder
- func (mr *MockLoginRecordReaderMockRecorder) GetLoginRecord(ctx, name interface{}) *gomock.Call
- func (mr *MockLoginRecordReaderMockRecorder) GetLoginRecordEx(ctx, name, resourceVersion interface{}) *gomock.Call
- func (mr *MockLoginRecordReaderMockRecorder) ListLoginRecordEx(ctx, query interface{}) *gomock.Call
- func (mr *MockLoginRecordReaderMockRecorder) ListLoginRecords(ctx, query interface{}) *gomock.Call
- func (mr *MockLoginRecordReaderMockRecorder) WatchLoginRecords(ctx, query interface{}) *gomock.Call
- type MockLoginRecordWriter
- func (m *MockLoginRecordWriter) CreateLoginRecord(ctx context.Context, record *v1.LoginRecord) (*v1.LoginRecord, error)
- func (m *MockLoginRecordWriter) DeleteLoginRecord(ctx context.Context, name string) error
- func (m *MockLoginRecordWriter) DeleteLoginRecordCollection(ctx context.Context, query *query.Query) error
- func (m *MockLoginRecordWriter) EXPECT() *MockLoginRecordWriterMockRecorder
- type MockLoginRecordWriterMockRecorder
- func (mr *MockLoginRecordWriterMockRecorder) CreateLoginRecord(ctx, record interface{}) *gomock.Call
- func (mr *MockLoginRecordWriterMockRecorder) DeleteLoginRecord(ctx, name interface{}) *gomock.Call
- func (mr *MockLoginRecordWriterMockRecorder) DeleteLoginRecordCollection(ctx, query interface{}) *gomock.Call
- type MockOperator
- func (m *MockOperator) CreateLoginRecord(ctx context.Context, record *v1.LoginRecord) (*v1.LoginRecord, error)
- func (m *MockOperator) CreateRole(ctx context.Context, role *v1.GlobalRole) (*v1.GlobalRole, error)
- func (m *MockOperator) CreateRoleBinding(ctx context.Context, role *v1.GlobalRoleBinding) (*v1.GlobalRoleBinding, error)
- func (m *MockOperator) CreateToken(ctx context.Context, token *v1.Token) (*v1.Token, error)
- func (m *MockOperator) CreateUser(ctx context.Context, user *v1.User) (*v1.User, error)
- func (m *MockOperator) DeleteLoginRecord(ctx context.Context, name string) error
- func (m *MockOperator) DeleteLoginRecordCollection(ctx context.Context, query *query.Query) error
- func (m *MockOperator) DeleteRole(ctx context.Context, name string) error
- func (m *MockOperator) DeleteRoleBinding(ctx context.Context, name string) error
- func (m *MockOperator) DeleteToken(ctx context.Context, name string) error
- func (m *MockOperator) DeleteTokenCollection(ctx context.Context, query *query.Query) error
- func (m *MockOperator) DeleteUser(ctx context.Context, name string) error
- func (m *MockOperator) EXPECT() *MockOperatorMockRecorder
- func (m *MockOperator) GetLoginRecord(ctx context.Context, name string) (*v1.LoginRecord, error)
- func (m *MockOperator) GetLoginRecordEx(ctx context.Context, name, resourceVersion string) (*v1.LoginRecord, error)
- func (m *MockOperator) GetRole(ctx context.Context, name string) (*v1.GlobalRole, error)
- func (m *MockOperator) GetRoleBinding(ctx context.Context, name string) (*v1.GlobalRoleBinding, error)
- func (m *MockOperator) GetRoleBindingEx(ctx context.Context, name, resourceVersion string) (*v1.GlobalRoleBinding, error)
- func (m *MockOperator) GetRoleEx(ctx context.Context, name, resourceVersion string) (*v1.GlobalRole, error)
- func (m *MockOperator) GetRoleOfUser(ctx context.Context, username string) (*v1.GlobalRole, error)
- func (m *MockOperator) GetToken(ctx context.Context, name string) (*v1.Token, error)
- func (m *MockOperator) GetTokenEx(ctx context.Context, name, resourceVersion string) (*v1.Token, error)
- func (m *MockOperator) GetUser(ctx context.Context, name string) (*v1.User, error)
- func (m *MockOperator) GetUserEx(ctx context.Context, name, resourceVersion string, ...) (*v1.User, error)
- func (m *MockOperator) ListLoginRecordEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
- func (m *MockOperator) ListLoginRecords(ctx context.Context, query *query.Query) (*v1.LoginRecordList, error)
- func (m *MockOperator) ListRoleBindingEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
- func (m *MockOperator) ListRoleBindings(ctx context.Context, query *query.Query) (*v1.GlobalRoleBindingList, error)
- func (m *MockOperator) ListRoleEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
- func (m *MockOperator) ListRoles(ctx context.Context, query *query.Query) (*v1.GlobalRoleList, error)
- func (m *MockOperator) ListTokenEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
- func (m *MockOperator) ListTokens(ctx context.Context, query *query.Query) (*v1.TokenList, error)
- func (m *MockOperator) ListUserEx(ctx context.Context, query *query.Query, desensitization, includeRole bool) (*models.PageableResponse, error)
- func (m *MockOperator) ListUsers(ctx context.Context, query *query.Query) (*v1.UserList, error)
- func (m *MockOperator) ListUsersByRole(ctx context.Context, query *query.Query, role string) (*models.PageableResponse, error)
- func (m *MockOperator) UpdateRole(ctx context.Context, role *v1.GlobalRole) (*v1.GlobalRole, error)
- func (m *MockOperator) UpdateRoleBinding(ctx context.Context, role *v1.GlobalRoleBinding) (*v1.GlobalRoleBinding, error)
- func (m *MockOperator) UpdateToken(ctx context.Context, token *v1.Token) (*v1.Token, error)
- func (m *MockOperator) UpdateUser(ctx context.Context, user *v1.User) (*v1.User, error)
- func (m *MockOperator) WatchLoginRecords(ctx context.Context, query *query.Query) (watch.Interface, error)
- func (m *MockOperator) WatchRoleBindings(ctx context.Context, query *query.Query) (watch.Interface, error)
- func (m *MockOperator) WatchRoles(ctx context.Context, query *query.Query) (watch.Interface, error)
- func (m *MockOperator) WatchTokens(ctx context.Context, query *query.Query) (watch.Interface, error)
- func (m *MockOperator) WatchUsers(ctx context.Context, query *query.Query) (watch.Interface, error)
- type MockOperatorMockRecorder
- func (mr *MockOperatorMockRecorder) CreateLoginRecord(ctx, record interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) CreateRole(ctx, role interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) CreateRoleBinding(ctx, role interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) CreateToken(ctx, token interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) CreateUser(ctx, user interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) DeleteLoginRecord(ctx, name interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) DeleteLoginRecordCollection(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) DeleteRole(ctx, name interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) DeleteRoleBinding(ctx, name interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) DeleteToken(ctx, name interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) DeleteTokenCollection(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) DeleteUser(ctx, name interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) GetLoginRecord(ctx, name interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) GetLoginRecordEx(ctx, name, resourceVersion interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) GetRole(ctx, name interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) GetRoleBinding(ctx, name interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) GetRoleBindingEx(ctx, name, resourceVersion interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) GetRoleEx(ctx, name, resourceVersion interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) GetRoleOfUser(ctx, username interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) GetToken(ctx, name interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) GetTokenEx(ctx, name, resourceVersion interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) GetUser(ctx, name interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) GetUserEx(ctx, name, resourceVersion, desensitization, includeRole interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) ListLoginRecordEx(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) ListLoginRecords(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) ListRoleBindingEx(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) ListRoleBindings(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) ListRoleEx(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) ListRoles(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) ListTokenEx(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) ListTokens(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) ListUserEx(ctx, query, desensitization, includeRole interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) ListUsers(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) ListUsersByRole(ctx, query, role interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) UpdateRole(ctx, role interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) UpdateRoleBinding(ctx, role interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) UpdateToken(ctx, token interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) UpdateUser(ctx, user interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) WatchLoginRecords(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) WatchRoleBindings(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) WatchRoles(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) WatchTokens(ctx, query interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) WatchUsers(ctx, query interface{}) *gomock.Call
- type MockRoleBindingReader
- func (m *MockRoleBindingReader) EXPECT() *MockRoleBindingReaderMockRecorder
- func (m *MockRoleBindingReader) GetRoleBinding(ctx context.Context, name string) (*v1.GlobalRoleBinding, error)
- func (m *MockRoleBindingReader) GetRoleBindingEx(ctx context.Context, name, resourceVersion string) (*v1.GlobalRoleBinding, error)
- func (m *MockRoleBindingReader) ListRoleBindingEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
- func (m *MockRoleBindingReader) ListRoleBindings(ctx context.Context, query *query.Query) (*v1.GlobalRoleBindingList, error)
- func (m *MockRoleBindingReader) WatchRoleBindings(ctx context.Context, query *query.Query) (watch.Interface, error)
- type MockRoleBindingReaderEx
- func (m *MockRoleBindingReaderEx) EXPECT() *MockRoleBindingReaderExMockRecorder
- func (m *MockRoleBindingReaderEx) GetRoleBindingEx(ctx context.Context, name, resourceVersion string) (*v1.GlobalRoleBinding, error)
- func (m *MockRoleBindingReaderEx) ListRoleBindingEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
- type MockRoleBindingReaderExMockRecorder
- type MockRoleBindingReaderMockRecorder
- func (mr *MockRoleBindingReaderMockRecorder) GetRoleBinding(ctx, name interface{}) *gomock.Call
- func (mr *MockRoleBindingReaderMockRecorder) GetRoleBindingEx(ctx, name, resourceVersion interface{}) *gomock.Call
- func (mr *MockRoleBindingReaderMockRecorder) ListRoleBindingEx(ctx, query interface{}) *gomock.Call
- func (mr *MockRoleBindingReaderMockRecorder) ListRoleBindings(ctx, query interface{}) *gomock.Call
- func (mr *MockRoleBindingReaderMockRecorder) WatchRoleBindings(ctx, query interface{}) *gomock.Call
- type MockRoleBindingWriter
- func (m *MockRoleBindingWriter) CreateRoleBinding(ctx context.Context, role *v1.GlobalRoleBinding) (*v1.GlobalRoleBinding, error)
- func (m *MockRoleBindingWriter) DeleteRoleBinding(ctx context.Context, name string) error
- func (m *MockRoleBindingWriter) EXPECT() *MockRoleBindingWriterMockRecorder
- func (m *MockRoleBindingWriter) UpdateRoleBinding(ctx context.Context, role *v1.GlobalRoleBinding) (*v1.GlobalRoleBinding, error)
- type MockRoleBindingWriterMockRecorder
- type MockRoleReader
- func (m *MockRoleReader) EXPECT() *MockRoleReaderMockRecorder
- func (m *MockRoleReader) GetRole(ctx context.Context, name string) (*v1.GlobalRole, error)
- func (m *MockRoleReader) GetRoleEx(ctx context.Context, name, resourceVersion string) (*v1.GlobalRole, error)
- func (m *MockRoleReader) GetRoleOfUser(ctx context.Context, username string) (*v1.GlobalRole, error)
- func (m *MockRoleReader) ListRoleEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
- func (m *MockRoleReader) ListRoles(ctx context.Context, query *query.Query) (*v1.GlobalRoleList, error)
- func (m *MockRoleReader) WatchRoles(ctx context.Context, query *query.Query) (watch.Interface, error)
- type MockRoleReaderEx
- func (m *MockRoleReaderEx) EXPECT() *MockRoleReaderExMockRecorder
- func (m *MockRoleReaderEx) GetRoleEx(ctx context.Context, name, resourceVersion string) (*v1.GlobalRole, error)
- func (m *MockRoleReaderEx) GetRoleOfUser(ctx context.Context, username string) (*v1.GlobalRole, error)
- func (m *MockRoleReaderEx) ListRoleEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
- type MockRoleReaderExMockRecorder
- type MockRoleReaderMockRecorder
- func (mr *MockRoleReaderMockRecorder) GetRole(ctx, name interface{}) *gomock.Call
- func (mr *MockRoleReaderMockRecorder) GetRoleEx(ctx, name, resourceVersion interface{}) *gomock.Call
- func (mr *MockRoleReaderMockRecorder) GetRoleOfUser(ctx, username interface{}) *gomock.Call
- func (mr *MockRoleReaderMockRecorder) ListRoleEx(ctx, query interface{}) *gomock.Call
- func (mr *MockRoleReaderMockRecorder) ListRoles(ctx, query interface{}) *gomock.Call
- func (mr *MockRoleReaderMockRecorder) WatchRoles(ctx, query interface{}) *gomock.Call
- type MockRoleWriter
- func (m *MockRoleWriter) CreateRole(ctx context.Context, role *v1.GlobalRole) (*v1.GlobalRole, error)
- func (m *MockRoleWriter) DeleteRole(ctx context.Context, name string) error
- func (m *MockRoleWriter) EXPECT() *MockRoleWriterMockRecorder
- func (m *MockRoleWriter) UpdateRole(ctx context.Context, role *v1.GlobalRole) (*v1.GlobalRole, error)
- type MockRoleWriterMockRecorder
- type MockTokenReader
- func (m *MockTokenReader) EXPECT() *MockTokenReaderMockRecorder
- func (m *MockTokenReader) GetToken(ctx context.Context, name string) (*v1.Token, error)
- func (m *MockTokenReader) GetTokenEx(ctx context.Context, name, resourceVersion string) (*v1.Token, error)
- func (m *MockTokenReader) ListTokenEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
- func (m *MockTokenReader) ListTokens(ctx context.Context, query *query.Query) (*v1.TokenList, error)
- func (m *MockTokenReader) WatchTokens(ctx context.Context, query *query.Query) (watch.Interface, error)
- type MockTokenReaderEx
- type MockTokenReaderExMockRecorder
- type MockTokenReaderMockRecorder
- func (mr *MockTokenReaderMockRecorder) GetToken(ctx, name interface{}) *gomock.Call
- func (mr *MockTokenReaderMockRecorder) GetTokenEx(ctx, name, resourceVersion interface{}) *gomock.Call
- func (mr *MockTokenReaderMockRecorder) ListTokenEx(ctx, query interface{}) *gomock.Call
- func (mr *MockTokenReaderMockRecorder) ListTokens(ctx, query interface{}) *gomock.Call
- func (mr *MockTokenReaderMockRecorder) WatchTokens(ctx, query interface{}) *gomock.Call
- type MockTokenWriter
- func (m *MockTokenWriter) CreateToken(ctx context.Context, token *v1.Token) (*v1.Token, error)
- func (m *MockTokenWriter) DeleteToken(ctx context.Context, name string) error
- func (m *MockTokenWriter) DeleteTokenCollection(ctx context.Context, query *query.Query) error
- func (m *MockTokenWriter) EXPECT() *MockTokenWriterMockRecorder
- func (m *MockTokenWriter) UpdateToken(ctx context.Context, token *v1.Token) (*v1.Token, error)
- type MockTokenWriterMockRecorder
- func (mr *MockTokenWriterMockRecorder) CreateToken(ctx, token interface{}) *gomock.Call
- func (mr *MockTokenWriterMockRecorder) DeleteToken(ctx, name interface{}) *gomock.Call
- func (mr *MockTokenWriterMockRecorder) DeleteTokenCollection(ctx, query interface{}) *gomock.Call
- func (mr *MockTokenWriterMockRecorder) UpdateToken(ctx, token interface{}) *gomock.Call
- type MockUserReader
- func (m *MockUserReader) EXPECT() *MockUserReaderMockRecorder
- func (m *MockUserReader) GetUser(ctx context.Context, name string) (*v1.User, error)
- func (m *MockUserReader) GetUserEx(ctx context.Context, name, resourceVersion string, ...) (*v1.User, error)
- func (m *MockUserReader) ListUserEx(ctx context.Context, query *query.Query, desensitization, includeRole bool) (*models.PageableResponse, error)
- func (m *MockUserReader) ListUsers(ctx context.Context, query *query.Query) (*v1.UserList, error)
- func (m *MockUserReader) ListUsersByRole(ctx context.Context, query *query.Query, role string) (*models.PageableResponse, error)
- func (m *MockUserReader) WatchUsers(ctx context.Context, query *query.Query) (watch.Interface, error)
- type MockUserReaderEx
- func (m *MockUserReaderEx) EXPECT() *MockUserReaderExMockRecorder
- func (m *MockUserReaderEx) GetUserEx(ctx context.Context, name, resourceVersion string, ...) (*v1.User, error)
- func (m *MockUserReaderEx) ListUserEx(ctx context.Context, query *query.Query, desensitization, includeRole bool) (*models.PageableResponse, error)
- func (m *MockUserReaderEx) ListUsersByRole(ctx context.Context, query *query.Query, role string) (*models.PageableResponse, error)
- type MockUserReaderExMockRecorder
- func (mr *MockUserReaderExMockRecorder) GetUserEx(ctx, name, resourceVersion, desensitization, includeRole interface{}) *gomock.Call
- func (mr *MockUserReaderExMockRecorder) ListUserEx(ctx, query, desensitization, includeRole interface{}) *gomock.Call
- func (mr *MockUserReaderExMockRecorder) ListUsersByRole(ctx, query, role interface{}) *gomock.Call
- type MockUserReaderMockRecorder
- func (mr *MockUserReaderMockRecorder) GetUser(ctx, name interface{}) *gomock.Call
- func (mr *MockUserReaderMockRecorder) GetUserEx(ctx, name, resourceVersion, desensitization, includeRole interface{}) *gomock.Call
- func (mr *MockUserReaderMockRecorder) ListUserEx(ctx, query, desensitization, includeRole interface{}) *gomock.Call
- func (mr *MockUserReaderMockRecorder) ListUsers(ctx, query interface{}) *gomock.Call
- func (mr *MockUserReaderMockRecorder) ListUsersByRole(ctx, query, role interface{}) *gomock.Call
- func (mr *MockUserReaderMockRecorder) WatchUsers(ctx, query interface{}) *gomock.Call
- type MockUserWriter
- func (m *MockUserWriter) CreateUser(ctx context.Context, user *v1.User) (*v1.User, error)
- func (m *MockUserWriter) DeleteUser(ctx context.Context, name string) error
- func (m *MockUserWriter) EXPECT() *MockUserWriterMockRecorder
- func (m *MockUserWriter) UpdateUser(ctx context.Context, user *v1.User) (*v1.User, error)
- type MockUserWriterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLoginRecordReader ¶
type MockLoginRecordReader struct {
// contains filtered or unexported fields
}
MockLoginRecordReader is a mock of LoginRecordReader interface.
func NewMockLoginRecordReader ¶
func NewMockLoginRecordReader(ctrl *gomock.Controller) *MockLoginRecordReader
NewMockLoginRecordReader creates a new mock instance.
func (*MockLoginRecordReader) EXPECT ¶
func (m *MockLoginRecordReader) EXPECT() *MockLoginRecordReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoginRecordReader) GetLoginRecord ¶
func (m *MockLoginRecordReader) GetLoginRecord(ctx context.Context, name string) (*v1.LoginRecord, error)
GetLoginRecord mocks base method.
func (*MockLoginRecordReader) GetLoginRecordEx ¶
func (m *MockLoginRecordReader) GetLoginRecordEx(ctx context.Context, name, resourceVersion string) (*v1.LoginRecord, error)
GetLoginRecordEx mocks base method.
func (*MockLoginRecordReader) ListLoginRecordEx ¶
func (m *MockLoginRecordReader) ListLoginRecordEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
ListLoginRecordEx mocks base method.
func (*MockLoginRecordReader) ListLoginRecords ¶
func (m *MockLoginRecordReader) ListLoginRecords(ctx context.Context, query *query.Query) (*v1.LoginRecordList, error)
ListLoginRecords mocks base method.
func (*MockLoginRecordReader) WatchLoginRecords ¶
func (m *MockLoginRecordReader) WatchLoginRecords(ctx context.Context, query *query.Query) (watch.Interface, error)
WatchLoginRecords mocks base method.
type MockLoginRecordReaderEx ¶
type MockLoginRecordReaderEx struct {
// contains filtered or unexported fields
}
MockLoginRecordReaderEx is a mock of LoginRecordReaderEx interface.
func NewMockLoginRecordReaderEx ¶
func NewMockLoginRecordReaderEx(ctrl *gomock.Controller) *MockLoginRecordReaderEx
NewMockLoginRecordReaderEx creates a new mock instance.
func (*MockLoginRecordReaderEx) EXPECT ¶
func (m *MockLoginRecordReaderEx) EXPECT() *MockLoginRecordReaderExMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoginRecordReaderEx) GetLoginRecordEx ¶
func (m *MockLoginRecordReaderEx) GetLoginRecordEx(ctx context.Context, name, resourceVersion string) (*v1.LoginRecord, error)
GetLoginRecordEx mocks base method.
func (*MockLoginRecordReaderEx) ListLoginRecordEx ¶
func (m *MockLoginRecordReaderEx) ListLoginRecordEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
ListLoginRecordEx mocks base method.
type MockLoginRecordReaderExMockRecorder ¶
type MockLoginRecordReaderExMockRecorder struct {
// contains filtered or unexported fields
}
MockLoginRecordReaderExMockRecorder is the mock recorder for MockLoginRecordReaderEx.
func (*MockLoginRecordReaderExMockRecorder) GetLoginRecordEx ¶
func (mr *MockLoginRecordReaderExMockRecorder) GetLoginRecordEx(ctx, name, resourceVersion interface{}) *gomock.Call
GetLoginRecordEx indicates an expected call of GetLoginRecordEx.
func (*MockLoginRecordReaderExMockRecorder) ListLoginRecordEx ¶
func (mr *MockLoginRecordReaderExMockRecorder) ListLoginRecordEx(ctx, query interface{}) *gomock.Call
ListLoginRecordEx indicates an expected call of ListLoginRecordEx.
type MockLoginRecordReaderMockRecorder ¶
type MockLoginRecordReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockLoginRecordReaderMockRecorder is the mock recorder for MockLoginRecordReader.
func (*MockLoginRecordReaderMockRecorder) GetLoginRecord ¶
func (mr *MockLoginRecordReaderMockRecorder) GetLoginRecord(ctx, name interface{}) *gomock.Call
GetLoginRecord indicates an expected call of GetLoginRecord.
func (*MockLoginRecordReaderMockRecorder) GetLoginRecordEx ¶
func (mr *MockLoginRecordReaderMockRecorder) GetLoginRecordEx(ctx, name, resourceVersion interface{}) *gomock.Call
GetLoginRecordEx indicates an expected call of GetLoginRecordEx.
func (*MockLoginRecordReaderMockRecorder) ListLoginRecordEx ¶
func (mr *MockLoginRecordReaderMockRecorder) ListLoginRecordEx(ctx, query interface{}) *gomock.Call
ListLoginRecordEx indicates an expected call of ListLoginRecordEx.
func (*MockLoginRecordReaderMockRecorder) ListLoginRecords ¶
func (mr *MockLoginRecordReaderMockRecorder) ListLoginRecords(ctx, query interface{}) *gomock.Call
ListLoginRecords indicates an expected call of ListLoginRecords.
func (*MockLoginRecordReaderMockRecorder) WatchLoginRecords ¶
func (mr *MockLoginRecordReaderMockRecorder) WatchLoginRecords(ctx, query interface{}) *gomock.Call
WatchLoginRecords indicates an expected call of WatchLoginRecords.
type MockLoginRecordWriter ¶
type MockLoginRecordWriter struct {
// contains filtered or unexported fields
}
MockLoginRecordWriter is a mock of LoginRecordWriter interface.
func NewMockLoginRecordWriter ¶
func NewMockLoginRecordWriter(ctrl *gomock.Controller) *MockLoginRecordWriter
NewMockLoginRecordWriter creates a new mock instance.
func (*MockLoginRecordWriter) CreateLoginRecord ¶
func (m *MockLoginRecordWriter) CreateLoginRecord(ctx context.Context, record *v1.LoginRecord) (*v1.LoginRecord, error)
CreateLoginRecord mocks base method.
func (*MockLoginRecordWriter) DeleteLoginRecord ¶
func (m *MockLoginRecordWriter) DeleteLoginRecord(ctx context.Context, name string) error
DeleteLoginRecord mocks base method.
func (*MockLoginRecordWriter) DeleteLoginRecordCollection ¶
func (m *MockLoginRecordWriter) DeleteLoginRecordCollection(ctx context.Context, query *query.Query) error
DeleteLoginRecordCollection mocks base method.
func (*MockLoginRecordWriter) EXPECT ¶
func (m *MockLoginRecordWriter) EXPECT() *MockLoginRecordWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockLoginRecordWriterMockRecorder ¶
type MockLoginRecordWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockLoginRecordWriterMockRecorder is the mock recorder for MockLoginRecordWriter.
func (*MockLoginRecordWriterMockRecorder) CreateLoginRecord ¶
func (mr *MockLoginRecordWriterMockRecorder) CreateLoginRecord(ctx, record interface{}) *gomock.Call
CreateLoginRecord indicates an expected call of CreateLoginRecord.
func (*MockLoginRecordWriterMockRecorder) DeleteLoginRecord ¶
func (mr *MockLoginRecordWriterMockRecorder) DeleteLoginRecord(ctx, name interface{}) *gomock.Call
DeleteLoginRecord indicates an expected call of DeleteLoginRecord.
func (*MockLoginRecordWriterMockRecorder) DeleteLoginRecordCollection ¶
func (mr *MockLoginRecordWriterMockRecorder) DeleteLoginRecordCollection(ctx, query interface{}) *gomock.Call
DeleteLoginRecordCollection indicates an expected call of DeleteLoginRecordCollection.
type MockOperator ¶
type MockOperator struct {
// contains filtered or unexported fields
}
MockOperator is a mock of Operator interface.
func NewMockOperator ¶
func NewMockOperator(ctrl *gomock.Controller) *MockOperator
NewMockOperator creates a new mock instance.
func (*MockOperator) CreateLoginRecord ¶
func (m *MockOperator) CreateLoginRecord(ctx context.Context, record *v1.LoginRecord) (*v1.LoginRecord, error)
CreateLoginRecord mocks base method.
func (*MockOperator) CreateRole ¶
func (m *MockOperator) CreateRole(ctx context.Context, role *v1.GlobalRole) (*v1.GlobalRole, error)
CreateRole mocks base method.
func (*MockOperator) CreateRoleBinding ¶
func (m *MockOperator) CreateRoleBinding(ctx context.Context, role *v1.GlobalRoleBinding) (*v1.GlobalRoleBinding, error)
CreateRoleBinding mocks base method.
func (*MockOperator) CreateToken ¶
CreateToken mocks base method.
func (*MockOperator) CreateUser ¶
CreateUser mocks base method.
func (*MockOperator) DeleteLoginRecord ¶
func (m *MockOperator) DeleteLoginRecord(ctx context.Context, name string) error
DeleteLoginRecord mocks base method.
func (*MockOperator) DeleteLoginRecordCollection ¶
DeleteLoginRecordCollection mocks base method.
func (*MockOperator) DeleteRole ¶
func (m *MockOperator) DeleteRole(ctx context.Context, name string) error
DeleteRole mocks base method.
func (*MockOperator) DeleteRoleBinding ¶
func (m *MockOperator) DeleteRoleBinding(ctx context.Context, name string) error
DeleteRoleBinding mocks base method.
func (*MockOperator) DeleteToken ¶
func (m *MockOperator) DeleteToken(ctx context.Context, name string) error
DeleteToken mocks base method.
func (*MockOperator) DeleteTokenCollection ¶
DeleteTokenCollection mocks base method.
func (*MockOperator) DeleteUser ¶
func (m *MockOperator) DeleteUser(ctx context.Context, name string) error
DeleteUser mocks base method.
func (*MockOperator) EXPECT ¶
func (m *MockOperator) EXPECT() *MockOperatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOperator) GetLoginRecord ¶
func (m *MockOperator) GetLoginRecord(ctx context.Context, name string) (*v1.LoginRecord, error)
GetLoginRecord mocks base method.
func (*MockOperator) GetLoginRecordEx ¶
func (m *MockOperator) GetLoginRecordEx(ctx context.Context, name, resourceVersion string) (*v1.LoginRecord, error)
GetLoginRecordEx mocks base method.
func (*MockOperator) GetRole ¶
func (m *MockOperator) GetRole(ctx context.Context, name string) (*v1.GlobalRole, error)
GetRole mocks base method.
func (*MockOperator) GetRoleBinding ¶
func (m *MockOperator) GetRoleBinding(ctx context.Context, name string) (*v1.GlobalRoleBinding, error)
GetRoleBinding mocks base method.
func (*MockOperator) GetRoleBindingEx ¶
func (m *MockOperator) GetRoleBindingEx(ctx context.Context, name, resourceVersion string) (*v1.GlobalRoleBinding, error)
GetRoleBindingEx mocks base method.
func (*MockOperator) GetRoleEx ¶
func (m *MockOperator) GetRoleEx(ctx context.Context, name, resourceVersion string) (*v1.GlobalRole, error)
GetRoleEx mocks base method.
func (*MockOperator) GetRoleOfUser ¶
func (m *MockOperator) GetRoleOfUser(ctx context.Context, username string) (*v1.GlobalRole, error)
GetRoleOfUser mocks base method.
func (*MockOperator) GetTokenEx ¶
func (m *MockOperator) GetTokenEx(ctx context.Context, name, resourceVersion string) (*v1.Token, error)
GetTokenEx mocks base method.
func (*MockOperator) GetUserEx ¶
func (m *MockOperator) GetUserEx(ctx context.Context, name, resourceVersion string, desensitization, includeRole bool) (*v1.User, error)
GetUserEx mocks base method.
func (*MockOperator) ListLoginRecordEx ¶
func (m *MockOperator) ListLoginRecordEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
ListLoginRecordEx mocks base method.
func (*MockOperator) ListLoginRecords ¶
func (m *MockOperator) ListLoginRecords(ctx context.Context, query *query.Query) (*v1.LoginRecordList, error)
ListLoginRecords mocks base method.
func (*MockOperator) ListRoleBindingEx ¶
func (m *MockOperator) ListRoleBindingEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
ListRoleBindingEx mocks base method.
func (*MockOperator) ListRoleBindings ¶
func (m *MockOperator) ListRoleBindings(ctx context.Context, query *query.Query) (*v1.GlobalRoleBindingList, error)
ListRoleBindings mocks base method.
func (*MockOperator) ListRoleEx ¶
func (m *MockOperator) ListRoleEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
ListRoleEx mocks base method.
func (*MockOperator) ListRoles ¶
func (m *MockOperator) ListRoles(ctx context.Context, query *query.Query) (*v1.GlobalRoleList, error)
ListRoles mocks base method.
func (*MockOperator) ListTokenEx ¶
func (m *MockOperator) ListTokenEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
ListTokenEx mocks base method.
func (*MockOperator) ListTokens ¶
ListTokens mocks base method.
func (*MockOperator) ListUserEx ¶
func (m *MockOperator) ListUserEx(ctx context.Context, query *query.Query, desensitization, includeRole bool) (*models.PageableResponse, error)
ListUserEx mocks base method.
func (*MockOperator) ListUsersByRole ¶
func (m *MockOperator) ListUsersByRole(ctx context.Context, query *query.Query, role string) (*models.PageableResponse, error)
ListUsersByRole mocks base method.
func (*MockOperator) UpdateRole ¶
func (m *MockOperator) UpdateRole(ctx context.Context, role *v1.GlobalRole) (*v1.GlobalRole, error)
UpdateRole mocks base method.
func (*MockOperator) UpdateRoleBinding ¶
func (m *MockOperator) UpdateRoleBinding(ctx context.Context, role *v1.GlobalRoleBinding) (*v1.GlobalRoleBinding, error)
UpdateRoleBinding mocks base method.
func (*MockOperator) UpdateToken ¶
UpdateToken mocks base method.
func (*MockOperator) UpdateUser ¶
UpdateUser mocks base method.
func (*MockOperator) WatchLoginRecords ¶
func (m *MockOperator) WatchLoginRecords(ctx context.Context, query *query.Query) (watch.Interface, error)
WatchLoginRecords mocks base method.
func (*MockOperator) WatchRoleBindings ¶
func (m *MockOperator) WatchRoleBindings(ctx context.Context, query *query.Query) (watch.Interface, error)
WatchRoleBindings mocks base method.
func (*MockOperator) WatchRoles ¶
WatchRoles mocks base method.
func (*MockOperator) WatchTokens ¶
func (m *MockOperator) WatchTokens(ctx context.Context, query *query.Query) (watch.Interface, error)
WatchTokens mocks base method.
func (*MockOperator) WatchUsers ¶
WatchUsers mocks base method.
type MockOperatorMockRecorder ¶
type MockOperatorMockRecorder struct {
// contains filtered or unexported fields
}
MockOperatorMockRecorder is the mock recorder for MockOperator.
func (*MockOperatorMockRecorder) CreateLoginRecord ¶
func (mr *MockOperatorMockRecorder) CreateLoginRecord(ctx, record interface{}) *gomock.Call
CreateLoginRecord indicates an expected call of CreateLoginRecord.
func (*MockOperatorMockRecorder) CreateRole ¶
func (mr *MockOperatorMockRecorder) CreateRole(ctx, role interface{}) *gomock.Call
CreateRole indicates an expected call of CreateRole.
func (*MockOperatorMockRecorder) CreateRoleBinding ¶
func (mr *MockOperatorMockRecorder) CreateRoleBinding(ctx, role interface{}) *gomock.Call
CreateRoleBinding indicates an expected call of CreateRoleBinding.
func (*MockOperatorMockRecorder) CreateToken ¶
func (mr *MockOperatorMockRecorder) CreateToken(ctx, token interface{}) *gomock.Call
CreateToken indicates an expected call of CreateToken.
func (*MockOperatorMockRecorder) CreateUser ¶
func (mr *MockOperatorMockRecorder) CreateUser(ctx, user interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockOperatorMockRecorder) DeleteLoginRecord ¶
func (mr *MockOperatorMockRecorder) DeleteLoginRecord(ctx, name interface{}) *gomock.Call
DeleteLoginRecord indicates an expected call of DeleteLoginRecord.
func (*MockOperatorMockRecorder) DeleteLoginRecordCollection ¶
func (mr *MockOperatorMockRecorder) DeleteLoginRecordCollection(ctx, query interface{}) *gomock.Call
DeleteLoginRecordCollection indicates an expected call of DeleteLoginRecordCollection.
func (*MockOperatorMockRecorder) DeleteRole ¶
func (mr *MockOperatorMockRecorder) DeleteRole(ctx, name interface{}) *gomock.Call
DeleteRole indicates an expected call of DeleteRole.
func (*MockOperatorMockRecorder) DeleteRoleBinding ¶
func (mr *MockOperatorMockRecorder) DeleteRoleBinding(ctx, name interface{}) *gomock.Call
DeleteRoleBinding indicates an expected call of DeleteRoleBinding.
func (*MockOperatorMockRecorder) DeleteToken ¶
func (mr *MockOperatorMockRecorder) DeleteToken(ctx, name interface{}) *gomock.Call
DeleteToken indicates an expected call of DeleteToken.
func (*MockOperatorMockRecorder) DeleteTokenCollection ¶
func (mr *MockOperatorMockRecorder) DeleteTokenCollection(ctx, query interface{}) *gomock.Call
DeleteTokenCollection indicates an expected call of DeleteTokenCollection.
func (*MockOperatorMockRecorder) DeleteUser ¶
func (mr *MockOperatorMockRecorder) DeleteUser(ctx, name interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockOperatorMockRecorder) GetLoginRecord ¶
func (mr *MockOperatorMockRecorder) GetLoginRecord(ctx, name interface{}) *gomock.Call
GetLoginRecord indicates an expected call of GetLoginRecord.
func (*MockOperatorMockRecorder) GetLoginRecordEx ¶
func (mr *MockOperatorMockRecorder) GetLoginRecordEx(ctx, name, resourceVersion interface{}) *gomock.Call
GetLoginRecordEx indicates an expected call of GetLoginRecordEx.
func (*MockOperatorMockRecorder) GetRole ¶
func (mr *MockOperatorMockRecorder) GetRole(ctx, name interface{}) *gomock.Call
GetRole indicates an expected call of GetRole.
func (*MockOperatorMockRecorder) GetRoleBinding ¶
func (mr *MockOperatorMockRecorder) GetRoleBinding(ctx, name interface{}) *gomock.Call
GetRoleBinding indicates an expected call of GetRoleBinding.
func (*MockOperatorMockRecorder) GetRoleBindingEx ¶
func (mr *MockOperatorMockRecorder) GetRoleBindingEx(ctx, name, resourceVersion interface{}) *gomock.Call
GetRoleBindingEx indicates an expected call of GetRoleBindingEx.
func (*MockOperatorMockRecorder) GetRoleEx ¶
func (mr *MockOperatorMockRecorder) GetRoleEx(ctx, name, resourceVersion interface{}) *gomock.Call
GetRoleEx indicates an expected call of GetRoleEx.
func (*MockOperatorMockRecorder) GetRoleOfUser ¶
func (mr *MockOperatorMockRecorder) GetRoleOfUser(ctx, username interface{}) *gomock.Call
GetRoleOfUser indicates an expected call of GetRoleOfUser.
func (*MockOperatorMockRecorder) GetToken ¶
func (mr *MockOperatorMockRecorder) GetToken(ctx, name interface{}) *gomock.Call
GetToken indicates an expected call of GetToken.
func (*MockOperatorMockRecorder) GetTokenEx ¶
func (mr *MockOperatorMockRecorder) GetTokenEx(ctx, name, resourceVersion interface{}) *gomock.Call
GetTokenEx indicates an expected call of GetTokenEx.
func (*MockOperatorMockRecorder) GetUser ¶
func (mr *MockOperatorMockRecorder) GetUser(ctx, name interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockOperatorMockRecorder) GetUserEx ¶
func (mr *MockOperatorMockRecorder) GetUserEx(ctx, name, resourceVersion, desensitization, includeRole interface{}) *gomock.Call
GetUserEx indicates an expected call of GetUserEx.
func (*MockOperatorMockRecorder) ListLoginRecordEx ¶
func (mr *MockOperatorMockRecorder) ListLoginRecordEx(ctx, query interface{}) *gomock.Call
ListLoginRecordEx indicates an expected call of ListLoginRecordEx.
func (*MockOperatorMockRecorder) ListLoginRecords ¶
func (mr *MockOperatorMockRecorder) ListLoginRecords(ctx, query interface{}) *gomock.Call
ListLoginRecords indicates an expected call of ListLoginRecords.
func (*MockOperatorMockRecorder) ListRoleBindingEx ¶
func (mr *MockOperatorMockRecorder) ListRoleBindingEx(ctx, query interface{}) *gomock.Call
ListRoleBindingEx indicates an expected call of ListRoleBindingEx.
func (*MockOperatorMockRecorder) ListRoleBindings ¶
func (mr *MockOperatorMockRecorder) ListRoleBindings(ctx, query interface{}) *gomock.Call
ListRoleBindings indicates an expected call of ListRoleBindings.
func (*MockOperatorMockRecorder) ListRoleEx ¶
func (mr *MockOperatorMockRecorder) ListRoleEx(ctx, query interface{}) *gomock.Call
ListRoleEx indicates an expected call of ListRoleEx.
func (*MockOperatorMockRecorder) ListRoles ¶
func (mr *MockOperatorMockRecorder) ListRoles(ctx, query interface{}) *gomock.Call
ListRoles indicates an expected call of ListRoles.
func (*MockOperatorMockRecorder) ListTokenEx ¶
func (mr *MockOperatorMockRecorder) ListTokenEx(ctx, query interface{}) *gomock.Call
ListTokenEx indicates an expected call of ListTokenEx.
func (*MockOperatorMockRecorder) ListTokens ¶
func (mr *MockOperatorMockRecorder) ListTokens(ctx, query interface{}) *gomock.Call
ListTokens indicates an expected call of ListTokens.
func (*MockOperatorMockRecorder) ListUserEx ¶
func (mr *MockOperatorMockRecorder) ListUserEx(ctx, query, desensitization, includeRole interface{}) *gomock.Call
ListUserEx indicates an expected call of ListUserEx.
func (*MockOperatorMockRecorder) ListUsers ¶
func (mr *MockOperatorMockRecorder) ListUsers(ctx, query interface{}) *gomock.Call
ListUsers indicates an expected call of ListUsers.
func (*MockOperatorMockRecorder) ListUsersByRole ¶
func (mr *MockOperatorMockRecorder) ListUsersByRole(ctx, query, role interface{}) *gomock.Call
ListUsersByRole indicates an expected call of ListUsersByRole.
func (*MockOperatorMockRecorder) UpdateRole ¶
func (mr *MockOperatorMockRecorder) UpdateRole(ctx, role interface{}) *gomock.Call
UpdateRole indicates an expected call of UpdateRole.
func (*MockOperatorMockRecorder) UpdateRoleBinding ¶
func (mr *MockOperatorMockRecorder) UpdateRoleBinding(ctx, role interface{}) *gomock.Call
UpdateRoleBinding indicates an expected call of UpdateRoleBinding.
func (*MockOperatorMockRecorder) UpdateToken ¶
func (mr *MockOperatorMockRecorder) UpdateToken(ctx, token interface{}) *gomock.Call
UpdateToken indicates an expected call of UpdateToken.
func (*MockOperatorMockRecorder) UpdateUser ¶
func (mr *MockOperatorMockRecorder) UpdateUser(ctx, user interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
func (*MockOperatorMockRecorder) WatchLoginRecords ¶
func (mr *MockOperatorMockRecorder) WatchLoginRecords(ctx, query interface{}) *gomock.Call
WatchLoginRecords indicates an expected call of WatchLoginRecords.
func (*MockOperatorMockRecorder) WatchRoleBindings ¶
func (mr *MockOperatorMockRecorder) WatchRoleBindings(ctx, query interface{}) *gomock.Call
WatchRoleBindings indicates an expected call of WatchRoleBindings.
func (*MockOperatorMockRecorder) WatchRoles ¶
func (mr *MockOperatorMockRecorder) WatchRoles(ctx, query interface{}) *gomock.Call
WatchRoles indicates an expected call of WatchRoles.
func (*MockOperatorMockRecorder) WatchTokens ¶
func (mr *MockOperatorMockRecorder) WatchTokens(ctx, query interface{}) *gomock.Call
WatchTokens indicates an expected call of WatchTokens.
func (*MockOperatorMockRecorder) WatchUsers ¶
func (mr *MockOperatorMockRecorder) WatchUsers(ctx, query interface{}) *gomock.Call
WatchUsers indicates an expected call of WatchUsers.
type MockRoleBindingReader ¶
type MockRoleBindingReader struct {
// contains filtered or unexported fields
}
MockRoleBindingReader is a mock of RoleBindingReader interface.
func NewMockRoleBindingReader ¶
func NewMockRoleBindingReader(ctrl *gomock.Controller) *MockRoleBindingReader
NewMockRoleBindingReader creates a new mock instance.
func (*MockRoleBindingReader) EXPECT ¶
func (m *MockRoleBindingReader) EXPECT() *MockRoleBindingReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRoleBindingReader) GetRoleBinding ¶
func (m *MockRoleBindingReader) GetRoleBinding(ctx context.Context, name string) (*v1.GlobalRoleBinding, error)
GetRoleBinding mocks base method.
func (*MockRoleBindingReader) GetRoleBindingEx ¶
func (m *MockRoleBindingReader) GetRoleBindingEx(ctx context.Context, name, resourceVersion string) (*v1.GlobalRoleBinding, error)
GetRoleBindingEx mocks base method.
func (*MockRoleBindingReader) ListRoleBindingEx ¶
func (m *MockRoleBindingReader) ListRoleBindingEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
ListRoleBindingEx mocks base method.
func (*MockRoleBindingReader) ListRoleBindings ¶
func (m *MockRoleBindingReader) ListRoleBindings(ctx context.Context, query *query.Query) (*v1.GlobalRoleBindingList, error)
ListRoleBindings mocks base method.
func (*MockRoleBindingReader) WatchRoleBindings ¶
func (m *MockRoleBindingReader) WatchRoleBindings(ctx context.Context, query *query.Query) (watch.Interface, error)
WatchRoleBindings mocks base method.
type MockRoleBindingReaderEx ¶
type MockRoleBindingReaderEx struct {
// contains filtered or unexported fields
}
MockRoleBindingReaderEx is a mock of RoleBindingReaderEx interface.
func NewMockRoleBindingReaderEx ¶
func NewMockRoleBindingReaderEx(ctrl *gomock.Controller) *MockRoleBindingReaderEx
NewMockRoleBindingReaderEx creates a new mock instance.
func (*MockRoleBindingReaderEx) EXPECT ¶
func (m *MockRoleBindingReaderEx) EXPECT() *MockRoleBindingReaderExMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRoleBindingReaderEx) GetRoleBindingEx ¶
func (m *MockRoleBindingReaderEx) GetRoleBindingEx(ctx context.Context, name, resourceVersion string) (*v1.GlobalRoleBinding, error)
GetRoleBindingEx mocks base method.
func (*MockRoleBindingReaderEx) ListRoleBindingEx ¶
func (m *MockRoleBindingReaderEx) ListRoleBindingEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
ListRoleBindingEx mocks base method.
type MockRoleBindingReaderExMockRecorder ¶
type MockRoleBindingReaderExMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleBindingReaderExMockRecorder is the mock recorder for MockRoleBindingReaderEx.
func (*MockRoleBindingReaderExMockRecorder) GetRoleBindingEx ¶
func (mr *MockRoleBindingReaderExMockRecorder) GetRoleBindingEx(ctx, name, resourceVersion interface{}) *gomock.Call
GetRoleBindingEx indicates an expected call of GetRoleBindingEx.
func (*MockRoleBindingReaderExMockRecorder) ListRoleBindingEx ¶
func (mr *MockRoleBindingReaderExMockRecorder) ListRoleBindingEx(ctx, query interface{}) *gomock.Call
ListRoleBindingEx indicates an expected call of ListRoleBindingEx.
type MockRoleBindingReaderMockRecorder ¶
type MockRoleBindingReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleBindingReaderMockRecorder is the mock recorder for MockRoleBindingReader.
func (*MockRoleBindingReaderMockRecorder) GetRoleBinding ¶
func (mr *MockRoleBindingReaderMockRecorder) GetRoleBinding(ctx, name interface{}) *gomock.Call
GetRoleBinding indicates an expected call of GetRoleBinding.
func (*MockRoleBindingReaderMockRecorder) GetRoleBindingEx ¶
func (mr *MockRoleBindingReaderMockRecorder) GetRoleBindingEx(ctx, name, resourceVersion interface{}) *gomock.Call
GetRoleBindingEx indicates an expected call of GetRoleBindingEx.
func (*MockRoleBindingReaderMockRecorder) ListRoleBindingEx ¶
func (mr *MockRoleBindingReaderMockRecorder) ListRoleBindingEx(ctx, query interface{}) *gomock.Call
ListRoleBindingEx indicates an expected call of ListRoleBindingEx.
func (*MockRoleBindingReaderMockRecorder) ListRoleBindings ¶
func (mr *MockRoleBindingReaderMockRecorder) ListRoleBindings(ctx, query interface{}) *gomock.Call
ListRoleBindings indicates an expected call of ListRoleBindings.
func (*MockRoleBindingReaderMockRecorder) WatchRoleBindings ¶
func (mr *MockRoleBindingReaderMockRecorder) WatchRoleBindings(ctx, query interface{}) *gomock.Call
WatchRoleBindings indicates an expected call of WatchRoleBindings.
type MockRoleBindingWriter ¶
type MockRoleBindingWriter struct {
// contains filtered or unexported fields
}
MockRoleBindingWriter is a mock of RoleBindingWriter interface.
func NewMockRoleBindingWriter ¶
func NewMockRoleBindingWriter(ctrl *gomock.Controller) *MockRoleBindingWriter
NewMockRoleBindingWriter creates a new mock instance.
func (*MockRoleBindingWriter) CreateRoleBinding ¶
func (m *MockRoleBindingWriter) CreateRoleBinding(ctx context.Context, role *v1.GlobalRoleBinding) (*v1.GlobalRoleBinding, error)
CreateRoleBinding mocks base method.
func (*MockRoleBindingWriter) DeleteRoleBinding ¶
func (m *MockRoleBindingWriter) DeleteRoleBinding(ctx context.Context, name string) error
DeleteRoleBinding mocks base method.
func (*MockRoleBindingWriter) EXPECT ¶
func (m *MockRoleBindingWriter) EXPECT() *MockRoleBindingWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRoleBindingWriter) UpdateRoleBinding ¶
func (m *MockRoleBindingWriter) UpdateRoleBinding(ctx context.Context, role *v1.GlobalRoleBinding) (*v1.GlobalRoleBinding, error)
UpdateRoleBinding mocks base method.
type MockRoleBindingWriterMockRecorder ¶
type MockRoleBindingWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleBindingWriterMockRecorder is the mock recorder for MockRoleBindingWriter.
func (*MockRoleBindingWriterMockRecorder) CreateRoleBinding ¶
func (mr *MockRoleBindingWriterMockRecorder) CreateRoleBinding(ctx, role interface{}) *gomock.Call
CreateRoleBinding indicates an expected call of CreateRoleBinding.
func (*MockRoleBindingWriterMockRecorder) DeleteRoleBinding ¶
func (mr *MockRoleBindingWriterMockRecorder) DeleteRoleBinding(ctx, name interface{}) *gomock.Call
DeleteRoleBinding indicates an expected call of DeleteRoleBinding.
func (*MockRoleBindingWriterMockRecorder) UpdateRoleBinding ¶
func (mr *MockRoleBindingWriterMockRecorder) UpdateRoleBinding(ctx, role interface{}) *gomock.Call
UpdateRoleBinding indicates an expected call of UpdateRoleBinding.
type MockRoleReader ¶
type MockRoleReader struct {
// contains filtered or unexported fields
}
MockRoleReader is a mock of RoleReader interface.
func NewMockRoleReader ¶
func NewMockRoleReader(ctrl *gomock.Controller) *MockRoleReader
NewMockRoleReader creates a new mock instance.
func (*MockRoleReader) EXPECT ¶
func (m *MockRoleReader) EXPECT() *MockRoleReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRoleReader) GetRole ¶
func (m *MockRoleReader) GetRole(ctx context.Context, name string) (*v1.GlobalRole, error)
GetRole mocks base method.
func (*MockRoleReader) GetRoleEx ¶
func (m *MockRoleReader) GetRoleEx(ctx context.Context, name, resourceVersion string) (*v1.GlobalRole, error)
GetRoleEx mocks base method.
func (*MockRoleReader) GetRoleOfUser ¶
func (m *MockRoleReader) GetRoleOfUser(ctx context.Context, username string) (*v1.GlobalRole, error)
GetRoleOfUser mocks base method.
func (*MockRoleReader) ListRoleEx ¶
func (m *MockRoleReader) ListRoleEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
ListRoleEx mocks base method.
func (*MockRoleReader) ListRoles ¶
func (m *MockRoleReader) ListRoles(ctx context.Context, query *query.Query) (*v1.GlobalRoleList, error)
ListRoles mocks base method.
func (*MockRoleReader) WatchRoles ¶
func (m *MockRoleReader) WatchRoles(ctx context.Context, query *query.Query) (watch.Interface, error)
WatchRoles mocks base method.
type MockRoleReaderEx ¶
type MockRoleReaderEx struct {
// contains filtered or unexported fields
}
MockRoleReaderEx is a mock of RoleReaderEx interface.
func NewMockRoleReaderEx ¶
func NewMockRoleReaderEx(ctrl *gomock.Controller) *MockRoleReaderEx
NewMockRoleReaderEx creates a new mock instance.
func (*MockRoleReaderEx) EXPECT ¶
func (m *MockRoleReaderEx) EXPECT() *MockRoleReaderExMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRoleReaderEx) GetRoleEx ¶
func (m *MockRoleReaderEx) GetRoleEx(ctx context.Context, name, resourceVersion string) (*v1.GlobalRole, error)
GetRoleEx mocks base method.
func (*MockRoleReaderEx) GetRoleOfUser ¶
func (m *MockRoleReaderEx) GetRoleOfUser(ctx context.Context, username string) (*v1.GlobalRole, error)
GetRoleOfUser mocks base method.
func (*MockRoleReaderEx) ListRoleEx ¶
func (m *MockRoleReaderEx) ListRoleEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
ListRoleEx mocks base method.
type MockRoleReaderExMockRecorder ¶
type MockRoleReaderExMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleReaderExMockRecorder is the mock recorder for MockRoleReaderEx.
func (*MockRoleReaderExMockRecorder) GetRoleEx ¶
func (mr *MockRoleReaderExMockRecorder) GetRoleEx(ctx, name, resourceVersion interface{}) *gomock.Call
GetRoleEx indicates an expected call of GetRoleEx.
func (*MockRoleReaderExMockRecorder) GetRoleOfUser ¶
func (mr *MockRoleReaderExMockRecorder) GetRoleOfUser(ctx, username interface{}) *gomock.Call
GetRoleOfUser indicates an expected call of GetRoleOfUser.
func (*MockRoleReaderExMockRecorder) ListRoleEx ¶
func (mr *MockRoleReaderExMockRecorder) ListRoleEx(ctx, query interface{}) *gomock.Call
ListRoleEx indicates an expected call of ListRoleEx.
type MockRoleReaderMockRecorder ¶
type MockRoleReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleReaderMockRecorder is the mock recorder for MockRoleReader.
func (*MockRoleReaderMockRecorder) GetRole ¶
func (mr *MockRoleReaderMockRecorder) GetRole(ctx, name interface{}) *gomock.Call
GetRole indicates an expected call of GetRole.
func (*MockRoleReaderMockRecorder) GetRoleEx ¶
func (mr *MockRoleReaderMockRecorder) GetRoleEx(ctx, name, resourceVersion interface{}) *gomock.Call
GetRoleEx indicates an expected call of GetRoleEx.
func (*MockRoleReaderMockRecorder) GetRoleOfUser ¶
func (mr *MockRoleReaderMockRecorder) GetRoleOfUser(ctx, username interface{}) *gomock.Call
GetRoleOfUser indicates an expected call of GetRoleOfUser.
func (*MockRoleReaderMockRecorder) ListRoleEx ¶
func (mr *MockRoleReaderMockRecorder) ListRoleEx(ctx, query interface{}) *gomock.Call
ListRoleEx indicates an expected call of ListRoleEx.
func (*MockRoleReaderMockRecorder) ListRoles ¶
func (mr *MockRoleReaderMockRecorder) ListRoles(ctx, query interface{}) *gomock.Call
ListRoles indicates an expected call of ListRoles.
func (*MockRoleReaderMockRecorder) WatchRoles ¶
func (mr *MockRoleReaderMockRecorder) WatchRoles(ctx, query interface{}) *gomock.Call
WatchRoles indicates an expected call of WatchRoles.
type MockRoleWriter ¶
type MockRoleWriter struct {
// contains filtered or unexported fields
}
MockRoleWriter is a mock of RoleWriter interface.
func NewMockRoleWriter ¶
func NewMockRoleWriter(ctrl *gomock.Controller) *MockRoleWriter
NewMockRoleWriter creates a new mock instance.
func (*MockRoleWriter) CreateRole ¶
func (m *MockRoleWriter) CreateRole(ctx context.Context, role *v1.GlobalRole) (*v1.GlobalRole, error)
CreateRole mocks base method.
func (*MockRoleWriter) DeleteRole ¶
func (m *MockRoleWriter) DeleteRole(ctx context.Context, name string) error
DeleteRole mocks base method.
func (*MockRoleWriter) EXPECT ¶
func (m *MockRoleWriter) EXPECT() *MockRoleWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRoleWriter) UpdateRole ¶
func (m *MockRoleWriter) UpdateRole(ctx context.Context, role *v1.GlobalRole) (*v1.GlobalRole, error)
UpdateRole mocks base method.
type MockRoleWriterMockRecorder ¶
type MockRoleWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleWriterMockRecorder is the mock recorder for MockRoleWriter.
func (*MockRoleWriterMockRecorder) CreateRole ¶
func (mr *MockRoleWriterMockRecorder) CreateRole(ctx, role interface{}) *gomock.Call
CreateRole indicates an expected call of CreateRole.
func (*MockRoleWriterMockRecorder) DeleteRole ¶
func (mr *MockRoleWriterMockRecorder) DeleteRole(ctx, name interface{}) *gomock.Call
DeleteRole indicates an expected call of DeleteRole.
func (*MockRoleWriterMockRecorder) UpdateRole ¶
func (mr *MockRoleWriterMockRecorder) UpdateRole(ctx, role interface{}) *gomock.Call
UpdateRole indicates an expected call of UpdateRole.
type MockTokenReader ¶
type MockTokenReader struct {
// contains filtered or unexported fields
}
MockTokenReader is a mock of TokenReader interface.
func NewMockTokenReader ¶
func NewMockTokenReader(ctrl *gomock.Controller) *MockTokenReader
NewMockTokenReader creates a new mock instance.
func (*MockTokenReader) EXPECT ¶
func (m *MockTokenReader) EXPECT() *MockTokenReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTokenReader) GetTokenEx ¶
func (m *MockTokenReader) GetTokenEx(ctx context.Context, name, resourceVersion string) (*v1.Token, error)
GetTokenEx mocks base method.
func (*MockTokenReader) ListTokenEx ¶
func (m *MockTokenReader) ListTokenEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
ListTokenEx mocks base method.
func (*MockTokenReader) ListTokens ¶
func (m *MockTokenReader) ListTokens(ctx context.Context, query *query.Query) (*v1.TokenList, error)
ListTokens mocks base method.
func (*MockTokenReader) WatchTokens ¶
func (m *MockTokenReader) WatchTokens(ctx context.Context, query *query.Query) (watch.Interface, error)
WatchTokens mocks base method.
type MockTokenReaderEx ¶
type MockTokenReaderEx struct {
// contains filtered or unexported fields
}
MockTokenReaderEx is a mock of TokenReaderEx interface.
func NewMockTokenReaderEx ¶
func NewMockTokenReaderEx(ctrl *gomock.Controller) *MockTokenReaderEx
NewMockTokenReaderEx creates a new mock instance.
func (*MockTokenReaderEx) EXPECT ¶
func (m *MockTokenReaderEx) EXPECT() *MockTokenReaderExMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTokenReaderEx) GetTokenEx ¶
func (m *MockTokenReaderEx) GetTokenEx(ctx context.Context, name, resourceVersion string) (*v1.Token, error)
GetTokenEx mocks base method.
func (*MockTokenReaderEx) ListTokenEx ¶
func (m *MockTokenReaderEx) ListTokenEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
ListTokenEx mocks base method.
type MockTokenReaderExMockRecorder ¶
type MockTokenReaderExMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenReaderExMockRecorder is the mock recorder for MockTokenReaderEx.
func (*MockTokenReaderExMockRecorder) GetTokenEx ¶
func (mr *MockTokenReaderExMockRecorder) GetTokenEx(ctx, name, resourceVersion interface{}) *gomock.Call
GetTokenEx indicates an expected call of GetTokenEx.
func (*MockTokenReaderExMockRecorder) ListTokenEx ¶
func (mr *MockTokenReaderExMockRecorder) ListTokenEx(ctx, query interface{}) *gomock.Call
ListTokenEx indicates an expected call of ListTokenEx.
type MockTokenReaderMockRecorder ¶
type MockTokenReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenReaderMockRecorder is the mock recorder for MockTokenReader.
func (*MockTokenReaderMockRecorder) GetToken ¶
func (mr *MockTokenReaderMockRecorder) GetToken(ctx, name interface{}) *gomock.Call
GetToken indicates an expected call of GetToken.
func (*MockTokenReaderMockRecorder) GetTokenEx ¶
func (mr *MockTokenReaderMockRecorder) GetTokenEx(ctx, name, resourceVersion interface{}) *gomock.Call
GetTokenEx indicates an expected call of GetTokenEx.
func (*MockTokenReaderMockRecorder) ListTokenEx ¶
func (mr *MockTokenReaderMockRecorder) ListTokenEx(ctx, query interface{}) *gomock.Call
ListTokenEx indicates an expected call of ListTokenEx.
func (*MockTokenReaderMockRecorder) ListTokens ¶
func (mr *MockTokenReaderMockRecorder) ListTokens(ctx, query interface{}) *gomock.Call
ListTokens indicates an expected call of ListTokens.
func (*MockTokenReaderMockRecorder) WatchTokens ¶
func (mr *MockTokenReaderMockRecorder) WatchTokens(ctx, query interface{}) *gomock.Call
WatchTokens indicates an expected call of WatchTokens.
type MockTokenWriter ¶
type MockTokenWriter struct {
// contains filtered or unexported fields
}
MockTokenWriter is a mock of TokenWriter interface.
func NewMockTokenWriter ¶
func NewMockTokenWriter(ctrl *gomock.Controller) *MockTokenWriter
NewMockTokenWriter creates a new mock instance.
func (*MockTokenWriter) CreateToken ¶
CreateToken mocks base method.
func (*MockTokenWriter) DeleteToken ¶
func (m *MockTokenWriter) DeleteToken(ctx context.Context, name string) error
DeleteToken mocks base method.
func (*MockTokenWriter) DeleteTokenCollection ¶
DeleteTokenCollection mocks base method.
func (*MockTokenWriter) EXPECT ¶
func (m *MockTokenWriter) EXPECT() *MockTokenWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTokenWriter) UpdateToken ¶
UpdateToken mocks base method.
type MockTokenWriterMockRecorder ¶
type MockTokenWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenWriterMockRecorder is the mock recorder for MockTokenWriter.
func (*MockTokenWriterMockRecorder) CreateToken ¶
func (mr *MockTokenWriterMockRecorder) CreateToken(ctx, token interface{}) *gomock.Call
CreateToken indicates an expected call of CreateToken.
func (*MockTokenWriterMockRecorder) DeleteToken ¶
func (mr *MockTokenWriterMockRecorder) DeleteToken(ctx, name interface{}) *gomock.Call
DeleteToken indicates an expected call of DeleteToken.
func (*MockTokenWriterMockRecorder) DeleteTokenCollection ¶
func (mr *MockTokenWriterMockRecorder) DeleteTokenCollection(ctx, query interface{}) *gomock.Call
DeleteTokenCollection indicates an expected call of DeleteTokenCollection.
func (*MockTokenWriterMockRecorder) UpdateToken ¶
func (mr *MockTokenWriterMockRecorder) UpdateToken(ctx, token interface{}) *gomock.Call
UpdateToken indicates an expected call of UpdateToken.
type MockUserReader ¶
type MockUserReader struct {
// contains filtered or unexported fields
}
MockUserReader is a mock of UserReader interface.
func NewMockUserReader ¶
func NewMockUserReader(ctrl *gomock.Controller) *MockUserReader
NewMockUserReader creates a new mock instance.
func (*MockUserReader) EXPECT ¶
func (m *MockUserReader) EXPECT() *MockUserReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserReader) GetUserEx ¶
func (m *MockUserReader) GetUserEx(ctx context.Context, name, resourceVersion string, desensitization, includeRole bool) (*v1.User, error)
GetUserEx mocks base method.
func (*MockUserReader) ListUserEx ¶
func (m *MockUserReader) ListUserEx(ctx context.Context, query *query.Query, desensitization, includeRole bool) (*models.PageableResponse, error)
ListUserEx mocks base method.
func (*MockUserReader) ListUsersByRole ¶
func (m *MockUserReader) ListUsersByRole(ctx context.Context, query *query.Query, role string) (*models.PageableResponse, error)
ListUsersByRole mocks base method.
func (*MockUserReader) WatchUsers ¶
func (m *MockUserReader) WatchUsers(ctx context.Context, query *query.Query) (watch.Interface, error)
WatchUsers mocks base method.
type MockUserReaderEx ¶
type MockUserReaderEx struct {
// contains filtered or unexported fields
}
MockUserReaderEx is a mock of UserReaderEx interface.
func NewMockUserReaderEx ¶
func NewMockUserReaderEx(ctrl *gomock.Controller) *MockUserReaderEx
NewMockUserReaderEx creates a new mock instance.
func (*MockUserReaderEx) EXPECT ¶
func (m *MockUserReaderEx) EXPECT() *MockUserReaderExMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserReaderEx) GetUserEx ¶
func (m *MockUserReaderEx) GetUserEx(ctx context.Context, name, resourceVersion string, desensitization, includeRole bool) (*v1.User, error)
GetUserEx mocks base method.
func (*MockUserReaderEx) ListUserEx ¶
func (m *MockUserReaderEx) ListUserEx(ctx context.Context, query *query.Query, desensitization, includeRole bool) (*models.PageableResponse, error)
ListUserEx mocks base method.
func (*MockUserReaderEx) ListUsersByRole ¶
func (m *MockUserReaderEx) ListUsersByRole(ctx context.Context, query *query.Query, role string) (*models.PageableResponse, error)
ListUsersByRole mocks base method.
type MockUserReaderExMockRecorder ¶
type MockUserReaderExMockRecorder struct {
// contains filtered or unexported fields
}
MockUserReaderExMockRecorder is the mock recorder for MockUserReaderEx.
func (*MockUserReaderExMockRecorder) GetUserEx ¶
func (mr *MockUserReaderExMockRecorder) GetUserEx(ctx, name, resourceVersion, desensitization, includeRole interface{}) *gomock.Call
GetUserEx indicates an expected call of GetUserEx.
func (*MockUserReaderExMockRecorder) ListUserEx ¶
func (mr *MockUserReaderExMockRecorder) ListUserEx(ctx, query, desensitization, includeRole interface{}) *gomock.Call
ListUserEx indicates an expected call of ListUserEx.
func (*MockUserReaderExMockRecorder) ListUsersByRole ¶
func (mr *MockUserReaderExMockRecorder) ListUsersByRole(ctx, query, role interface{}) *gomock.Call
ListUsersByRole indicates an expected call of ListUsersByRole.
type MockUserReaderMockRecorder ¶
type MockUserReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockUserReaderMockRecorder is the mock recorder for MockUserReader.
func (*MockUserReaderMockRecorder) GetUser ¶
func (mr *MockUserReaderMockRecorder) GetUser(ctx, name interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockUserReaderMockRecorder) GetUserEx ¶
func (mr *MockUserReaderMockRecorder) GetUserEx(ctx, name, resourceVersion, desensitization, includeRole interface{}) *gomock.Call
GetUserEx indicates an expected call of GetUserEx.
func (*MockUserReaderMockRecorder) ListUserEx ¶
func (mr *MockUserReaderMockRecorder) ListUserEx(ctx, query, desensitization, includeRole interface{}) *gomock.Call
ListUserEx indicates an expected call of ListUserEx.
func (*MockUserReaderMockRecorder) ListUsers ¶
func (mr *MockUserReaderMockRecorder) ListUsers(ctx, query interface{}) *gomock.Call
ListUsers indicates an expected call of ListUsers.
func (*MockUserReaderMockRecorder) ListUsersByRole ¶
func (mr *MockUserReaderMockRecorder) ListUsersByRole(ctx, query, role interface{}) *gomock.Call
ListUsersByRole indicates an expected call of ListUsersByRole.
func (*MockUserReaderMockRecorder) WatchUsers ¶
func (mr *MockUserReaderMockRecorder) WatchUsers(ctx, query interface{}) *gomock.Call
WatchUsers indicates an expected call of WatchUsers.
type MockUserWriter ¶
type MockUserWriter struct {
// contains filtered or unexported fields
}
MockUserWriter is a mock of UserWriter interface.
func NewMockUserWriter ¶
func NewMockUserWriter(ctrl *gomock.Controller) *MockUserWriter
NewMockUserWriter creates a new mock instance.
func (*MockUserWriter) CreateUser ¶
CreateUser mocks base method.
func (*MockUserWriter) DeleteUser ¶
func (m *MockUserWriter) DeleteUser(ctx context.Context, name string) error
DeleteUser mocks base method.
func (*MockUserWriter) EXPECT ¶
func (m *MockUserWriter) EXPECT() *MockUserWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserWriter) UpdateUser ¶
UpdateUser mocks base method.
type MockUserWriterMockRecorder ¶
type MockUserWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockUserWriterMockRecorder is the mock recorder for MockUserWriter.
func (*MockUserWriterMockRecorder) CreateUser ¶
func (mr *MockUserWriterMockRecorder) CreateUser(ctx, user interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockUserWriterMockRecorder) DeleteUser ¶
func (mr *MockUserWriterMockRecorder) DeleteUser(ctx, name interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockUserWriterMockRecorder) UpdateUser ¶
func (mr *MockUserWriterMockRecorder) UpdateUser(ctx, user interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.