Documentation ¶
Overview ¶
Package mock_v1 is a generated GoMock package.
Index ¶
- type MockClientset
- type MockClientsetMockRecorder
- type MockMulticlusterClientset
- type MockMulticlusterClientsetMockRecorder
- type MockMulticlusterRoleBindingClient
- type MockMulticlusterRoleBindingClientMockRecorder
- type MockMulticlusterRoleClient
- type MockMulticlusterRoleClientMockRecorder
- type MockRoleBindingClient
- func (m *MockRoleBindingClient) CreateRoleBinding(ctx context.Context, obj *v1.RoleBinding, opts ...client.CreateOption) error
- func (m *MockRoleBindingClient) DeleteAllOfRoleBinding(ctx context.Context, opts ...client.DeleteAllOfOption) error
- func (m *MockRoleBindingClient) DeleteRoleBinding(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
- func (m *MockRoleBindingClient) EXPECT() *MockRoleBindingClientMockRecorder
- func (m *MockRoleBindingClient) GetRoleBinding(ctx context.Context, key client.ObjectKey) (*v1.RoleBinding, error)
- func (m *MockRoleBindingClient) ListRoleBinding(ctx context.Context, opts ...client.ListOption) (*v1.RoleBindingList, error)
- func (m *MockRoleBindingClient) PatchRoleBinding(ctx context.Context, obj *v1.RoleBinding, patch client.Patch, ...) error
- func (m *MockRoleBindingClient) PatchRoleBindingStatus(ctx context.Context, obj *v1.RoleBinding, patch client.Patch, ...) error
- func (m *MockRoleBindingClient) UpdateRoleBinding(ctx context.Context, obj *v1.RoleBinding, opts ...client.UpdateOption) error
- func (m *MockRoleBindingClient) UpdateRoleBindingStatus(ctx context.Context, obj *v1.RoleBinding, opts ...client.UpdateOption) error
- func (m *MockRoleBindingClient) UpsertRoleBinding(ctx context.Context, obj *v1.RoleBinding, ...) error
- type MockRoleBindingClientMockRecorder
- func (mr *MockRoleBindingClientMockRecorder) CreateRoleBinding(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleBindingClientMockRecorder) DeleteAllOfRoleBinding(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleBindingClientMockRecorder) DeleteRoleBinding(ctx, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleBindingClientMockRecorder) GetRoleBinding(ctx, key interface{}) *gomock.Call
- func (mr *MockRoleBindingClientMockRecorder) ListRoleBinding(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleBindingClientMockRecorder) PatchRoleBinding(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleBindingClientMockRecorder) PatchRoleBindingStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleBindingClientMockRecorder) UpdateRoleBinding(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleBindingClientMockRecorder) UpdateRoleBindingStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleBindingClientMockRecorder) UpsertRoleBinding(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
- type MockRoleBindingReader
- func (m *MockRoleBindingReader) EXPECT() *MockRoleBindingReaderMockRecorder
- func (m *MockRoleBindingReader) GetRoleBinding(ctx context.Context, key client.ObjectKey) (*v1.RoleBinding, error)
- func (m *MockRoleBindingReader) ListRoleBinding(ctx context.Context, opts ...client.ListOption) (*v1.RoleBindingList, error)
- type MockRoleBindingReaderMockRecorder
- type MockRoleBindingStatusWriter
- func (m *MockRoleBindingStatusWriter) EXPECT() *MockRoleBindingStatusWriterMockRecorder
- func (m *MockRoleBindingStatusWriter) PatchRoleBindingStatus(ctx context.Context, obj *v1.RoleBinding, patch client.Patch, ...) error
- func (m *MockRoleBindingStatusWriter) UpdateRoleBindingStatus(ctx context.Context, obj *v1.RoleBinding, opts ...client.UpdateOption) error
- type MockRoleBindingStatusWriterMockRecorder
- type MockRoleBindingWriter
- func (m *MockRoleBindingWriter) CreateRoleBinding(ctx context.Context, obj *v1.RoleBinding, opts ...client.CreateOption) error
- func (m *MockRoleBindingWriter) DeleteAllOfRoleBinding(ctx context.Context, opts ...client.DeleteAllOfOption) error
- func (m *MockRoleBindingWriter) DeleteRoleBinding(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
- func (m *MockRoleBindingWriter) EXPECT() *MockRoleBindingWriterMockRecorder
- func (m *MockRoleBindingWriter) PatchRoleBinding(ctx context.Context, obj *v1.RoleBinding, patch client.Patch, ...) error
- func (m *MockRoleBindingWriter) UpdateRoleBinding(ctx context.Context, obj *v1.RoleBinding, opts ...client.UpdateOption) error
- func (m *MockRoleBindingWriter) UpsertRoleBinding(ctx context.Context, obj *v1.RoleBinding, ...) error
- type MockRoleBindingWriterMockRecorder
- func (mr *MockRoleBindingWriterMockRecorder) CreateRoleBinding(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleBindingWriterMockRecorder) DeleteAllOfRoleBinding(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleBindingWriterMockRecorder) DeleteRoleBinding(ctx, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleBindingWriterMockRecorder) PatchRoleBinding(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleBindingWriterMockRecorder) UpdateRoleBinding(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleBindingWriterMockRecorder) UpsertRoleBinding(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
- type MockRoleClient
- func (m *MockRoleClient) CreateRole(ctx context.Context, obj *v1.Role, opts ...client.CreateOption) error
- func (m *MockRoleClient) DeleteAllOfRole(ctx context.Context, opts ...client.DeleteAllOfOption) error
- func (m *MockRoleClient) DeleteRole(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
- func (m *MockRoleClient) EXPECT() *MockRoleClientMockRecorder
- func (m *MockRoleClient) GetRole(ctx context.Context, key client.ObjectKey) (*v1.Role, error)
- func (m *MockRoleClient) ListRole(ctx context.Context, opts ...client.ListOption) (*v1.RoleList, error)
- func (m *MockRoleClient) PatchRole(ctx context.Context, obj *v1.Role, patch client.Patch, ...) error
- func (m *MockRoleClient) PatchRoleStatus(ctx context.Context, obj *v1.Role, patch client.Patch, ...) error
- func (m *MockRoleClient) UpdateRole(ctx context.Context, obj *v1.Role, opts ...client.UpdateOption) error
- func (m *MockRoleClient) UpdateRoleStatus(ctx context.Context, obj *v1.Role, opts ...client.UpdateOption) error
- func (m *MockRoleClient) UpsertRole(ctx context.Context, obj *v1.Role, ...) error
- type MockRoleClientMockRecorder
- func (mr *MockRoleClientMockRecorder) CreateRole(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleClientMockRecorder) DeleteAllOfRole(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleClientMockRecorder) DeleteRole(ctx, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleClientMockRecorder) GetRole(ctx, key interface{}) *gomock.Call
- func (mr *MockRoleClientMockRecorder) ListRole(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleClientMockRecorder) PatchRole(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleClientMockRecorder) PatchRoleStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleClientMockRecorder) UpdateRole(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleClientMockRecorder) UpdateRoleStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleClientMockRecorder) UpsertRole(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
- type MockRoleReader
- type MockRoleReaderMockRecorder
- type MockRoleStatusWriter
- func (m *MockRoleStatusWriter) EXPECT() *MockRoleStatusWriterMockRecorder
- func (m *MockRoleStatusWriter) PatchRoleStatus(ctx context.Context, obj *v1.Role, patch client.Patch, ...) error
- func (m *MockRoleStatusWriter) UpdateRoleStatus(ctx context.Context, obj *v1.Role, opts ...client.UpdateOption) error
- type MockRoleStatusWriterMockRecorder
- type MockRoleWriter
- func (m *MockRoleWriter) CreateRole(ctx context.Context, obj *v1.Role, opts ...client.CreateOption) error
- func (m *MockRoleWriter) DeleteAllOfRole(ctx context.Context, opts ...client.DeleteAllOfOption) error
- func (m *MockRoleWriter) DeleteRole(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
- func (m *MockRoleWriter) EXPECT() *MockRoleWriterMockRecorder
- func (m *MockRoleWriter) PatchRole(ctx context.Context, obj *v1.Role, patch client.Patch, ...) error
- func (m *MockRoleWriter) UpdateRole(ctx context.Context, obj *v1.Role, opts ...client.UpdateOption) error
- func (m *MockRoleWriter) UpsertRole(ctx context.Context, obj *v1.Role, ...) error
- type MockRoleWriterMockRecorder
- func (mr *MockRoleWriterMockRecorder) CreateRole(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleWriterMockRecorder) DeleteAllOfRole(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleWriterMockRecorder) DeleteRole(ctx, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleWriterMockRecorder) PatchRole(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleWriterMockRecorder) UpdateRole(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRoleWriterMockRecorder) UpsertRole(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientset ¶
type MockClientset struct {
// contains filtered or unexported fields
}
MockClientset is a mock of Clientset interface
func NewMockClientset ¶
func NewMockClientset(ctrl *gomock.Controller) *MockClientset
NewMockClientset creates a new mock instance
func (*MockClientset) EXPECT ¶
func (m *MockClientset) EXPECT() *MockClientsetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClientset) RoleBindings ¶
func (m *MockClientset) RoleBindings() v1.RoleBindingClient
RoleBindings mocks base method
type MockClientsetMockRecorder ¶
type MockClientsetMockRecorder struct {
// contains filtered or unexported fields
}
MockClientsetMockRecorder is the mock recorder for MockClientset
func (*MockClientsetMockRecorder) RoleBindings ¶
func (mr *MockClientsetMockRecorder) RoleBindings() *gomock.Call
RoleBindings indicates an expected call of RoleBindings
func (*MockClientsetMockRecorder) Roles ¶
func (mr *MockClientsetMockRecorder) Roles() *gomock.Call
Roles indicates an expected call of Roles
type MockMulticlusterClientset ¶
type MockMulticlusterClientset struct {
// contains filtered or unexported fields
}
MockMulticlusterClientset is a mock of MulticlusterClientset interface
func NewMockMulticlusterClientset ¶
func NewMockMulticlusterClientset(ctrl *gomock.Controller) *MockMulticlusterClientset
NewMockMulticlusterClientset creates a new mock instance
func (*MockMulticlusterClientset) Cluster ¶
func (m *MockMulticlusterClientset) Cluster(cluster string) (v1.Clientset, error)
Cluster mocks base method
func (*MockMulticlusterClientset) EXPECT ¶
func (m *MockMulticlusterClientset) EXPECT() *MockMulticlusterClientsetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockMulticlusterClientsetMockRecorder ¶
type MockMulticlusterClientsetMockRecorder struct {
// contains filtered or unexported fields
}
MockMulticlusterClientsetMockRecorder is the mock recorder for MockMulticlusterClientset
func (*MockMulticlusterClientsetMockRecorder) Cluster ¶
func (mr *MockMulticlusterClientsetMockRecorder) Cluster(cluster interface{}) *gomock.Call
Cluster indicates an expected call of Cluster
type MockMulticlusterRoleBindingClient ¶
type MockMulticlusterRoleBindingClient struct {
// contains filtered or unexported fields
}
MockMulticlusterRoleBindingClient is a mock of MulticlusterRoleBindingClient interface
func NewMockMulticlusterRoleBindingClient ¶
func NewMockMulticlusterRoleBindingClient(ctrl *gomock.Controller) *MockMulticlusterRoleBindingClient
NewMockMulticlusterRoleBindingClient creates a new mock instance
func (*MockMulticlusterRoleBindingClient) Cluster ¶
func (m *MockMulticlusterRoleBindingClient) Cluster(cluster string) (v1.RoleBindingClient, error)
Cluster mocks base method
func (*MockMulticlusterRoleBindingClient) EXPECT ¶
func (m *MockMulticlusterRoleBindingClient) EXPECT() *MockMulticlusterRoleBindingClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockMulticlusterRoleBindingClientMockRecorder ¶
type MockMulticlusterRoleBindingClientMockRecorder struct {
// contains filtered or unexported fields
}
MockMulticlusterRoleBindingClientMockRecorder is the mock recorder for MockMulticlusterRoleBindingClient
func (*MockMulticlusterRoleBindingClientMockRecorder) Cluster ¶
func (mr *MockMulticlusterRoleBindingClientMockRecorder) Cluster(cluster interface{}) *gomock.Call
Cluster indicates an expected call of Cluster
type MockMulticlusterRoleClient ¶
type MockMulticlusterRoleClient struct {
// contains filtered or unexported fields
}
MockMulticlusterRoleClient is a mock of MulticlusterRoleClient interface
func NewMockMulticlusterRoleClient ¶
func NewMockMulticlusterRoleClient(ctrl *gomock.Controller) *MockMulticlusterRoleClient
NewMockMulticlusterRoleClient creates a new mock instance
func (*MockMulticlusterRoleClient) Cluster ¶
func (m *MockMulticlusterRoleClient) Cluster(cluster string) (v1.RoleClient, error)
Cluster mocks base method
func (*MockMulticlusterRoleClient) EXPECT ¶
func (m *MockMulticlusterRoleClient) EXPECT() *MockMulticlusterRoleClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockMulticlusterRoleClientMockRecorder ¶
type MockMulticlusterRoleClientMockRecorder struct {
// contains filtered or unexported fields
}
MockMulticlusterRoleClientMockRecorder is the mock recorder for MockMulticlusterRoleClient
func (*MockMulticlusterRoleClientMockRecorder) Cluster ¶
func (mr *MockMulticlusterRoleClientMockRecorder) Cluster(cluster interface{}) *gomock.Call
Cluster indicates an expected call of Cluster
type MockRoleBindingClient ¶
type MockRoleBindingClient struct {
// contains filtered or unexported fields
}
MockRoleBindingClient is a mock of RoleBindingClient interface
func NewMockRoleBindingClient ¶
func NewMockRoleBindingClient(ctrl *gomock.Controller) *MockRoleBindingClient
NewMockRoleBindingClient creates a new mock instance
func (*MockRoleBindingClient) CreateRoleBinding ¶
func (m *MockRoleBindingClient) CreateRoleBinding(ctx context.Context, obj *v1.RoleBinding, opts ...client.CreateOption) error
CreateRoleBinding mocks base method
func (*MockRoleBindingClient) DeleteAllOfRoleBinding ¶
func (m *MockRoleBindingClient) DeleteAllOfRoleBinding(ctx context.Context, opts ...client.DeleteAllOfOption) error
DeleteAllOfRoleBinding mocks base method
func (*MockRoleBindingClient) DeleteRoleBinding ¶
func (m *MockRoleBindingClient) DeleteRoleBinding(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
DeleteRoleBinding mocks base method
func (*MockRoleBindingClient) EXPECT ¶
func (m *MockRoleBindingClient) EXPECT() *MockRoleBindingClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRoleBindingClient) GetRoleBinding ¶
func (m *MockRoleBindingClient) GetRoleBinding(ctx context.Context, key client.ObjectKey) (*v1.RoleBinding, error)
GetRoleBinding mocks base method
func (*MockRoleBindingClient) ListRoleBinding ¶
func (m *MockRoleBindingClient) ListRoleBinding(ctx context.Context, opts ...client.ListOption) (*v1.RoleBindingList, error)
ListRoleBinding mocks base method
func (*MockRoleBindingClient) PatchRoleBinding ¶
func (m *MockRoleBindingClient) PatchRoleBinding(ctx context.Context, obj *v1.RoleBinding, patch client.Patch, opts ...client.PatchOption) error
PatchRoleBinding mocks base method
func (*MockRoleBindingClient) PatchRoleBindingStatus ¶
func (m *MockRoleBindingClient) PatchRoleBindingStatus(ctx context.Context, obj *v1.RoleBinding, patch client.Patch, opts ...client.PatchOption) error
PatchRoleBindingStatus mocks base method
func (*MockRoleBindingClient) UpdateRoleBinding ¶
func (m *MockRoleBindingClient) UpdateRoleBinding(ctx context.Context, obj *v1.RoleBinding, opts ...client.UpdateOption) error
UpdateRoleBinding mocks base method
func (*MockRoleBindingClient) UpdateRoleBindingStatus ¶
func (m *MockRoleBindingClient) UpdateRoleBindingStatus(ctx context.Context, obj *v1.RoleBinding, opts ...client.UpdateOption) error
UpdateRoleBindingStatus mocks base method
func (*MockRoleBindingClient) UpsertRoleBinding ¶
func (m *MockRoleBindingClient) UpsertRoleBinding(ctx context.Context, obj *v1.RoleBinding, transitionFuncs ...v1.RoleBindingTransitionFunction) error
UpsertRoleBinding mocks base method
type MockRoleBindingClientMockRecorder ¶
type MockRoleBindingClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleBindingClientMockRecorder is the mock recorder for MockRoleBindingClient
func (*MockRoleBindingClientMockRecorder) CreateRoleBinding ¶
func (mr *MockRoleBindingClientMockRecorder) CreateRoleBinding(ctx, obj interface{}, opts ...interface{}) *gomock.Call
CreateRoleBinding indicates an expected call of CreateRoleBinding
func (*MockRoleBindingClientMockRecorder) DeleteAllOfRoleBinding ¶
func (mr *MockRoleBindingClientMockRecorder) DeleteAllOfRoleBinding(ctx interface{}, opts ...interface{}) *gomock.Call
DeleteAllOfRoleBinding indicates an expected call of DeleteAllOfRoleBinding
func (*MockRoleBindingClientMockRecorder) DeleteRoleBinding ¶
func (mr *MockRoleBindingClientMockRecorder) DeleteRoleBinding(ctx, key interface{}, opts ...interface{}) *gomock.Call
DeleteRoleBinding indicates an expected call of DeleteRoleBinding
func (*MockRoleBindingClientMockRecorder) GetRoleBinding ¶
func (mr *MockRoleBindingClientMockRecorder) GetRoleBinding(ctx, key interface{}) *gomock.Call
GetRoleBinding indicates an expected call of GetRoleBinding
func (*MockRoleBindingClientMockRecorder) ListRoleBinding ¶
func (mr *MockRoleBindingClientMockRecorder) ListRoleBinding(ctx interface{}, opts ...interface{}) *gomock.Call
ListRoleBinding indicates an expected call of ListRoleBinding
func (*MockRoleBindingClientMockRecorder) PatchRoleBinding ¶
func (mr *MockRoleBindingClientMockRecorder) PatchRoleBinding(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchRoleBinding indicates an expected call of PatchRoleBinding
func (*MockRoleBindingClientMockRecorder) PatchRoleBindingStatus ¶
func (mr *MockRoleBindingClientMockRecorder) PatchRoleBindingStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchRoleBindingStatus indicates an expected call of PatchRoleBindingStatus
func (*MockRoleBindingClientMockRecorder) UpdateRoleBinding ¶
func (mr *MockRoleBindingClientMockRecorder) UpdateRoleBinding(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateRoleBinding indicates an expected call of UpdateRoleBinding
func (*MockRoleBindingClientMockRecorder) UpdateRoleBindingStatus ¶
func (mr *MockRoleBindingClientMockRecorder) UpdateRoleBindingStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateRoleBindingStatus indicates an expected call of UpdateRoleBindingStatus
func (*MockRoleBindingClientMockRecorder) UpsertRoleBinding ¶
func (mr *MockRoleBindingClientMockRecorder) UpsertRoleBinding(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
UpsertRoleBinding indicates an expected call of UpsertRoleBinding
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, key client.ObjectKey) (*v1.RoleBinding, error)
GetRoleBinding mocks base method
func (*MockRoleBindingReader) ListRoleBinding ¶
func (m *MockRoleBindingReader) ListRoleBinding(ctx context.Context, opts ...client.ListOption) (*v1.RoleBindingList, error)
ListRoleBinding mocks base method
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, key interface{}) *gomock.Call
GetRoleBinding indicates an expected call of GetRoleBinding
func (*MockRoleBindingReaderMockRecorder) ListRoleBinding ¶
func (mr *MockRoleBindingReaderMockRecorder) ListRoleBinding(ctx interface{}, opts ...interface{}) *gomock.Call
ListRoleBinding indicates an expected call of ListRoleBinding
type MockRoleBindingStatusWriter ¶
type MockRoleBindingStatusWriter struct {
// contains filtered or unexported fields
}
MockRoleBindingStatusWriter is a mock of RoleBindingStatusWriter interface
func NewMockRoleBindingStatusWriter ¶
func NewMockRoleBindingStatusWriter(ctrl *gomock.Controller) *MockRoleBindingStatusWriter
NewMockRoleBindingStatusWriter creates a new mock instance
func (*MockRoleBindingStatusWriter) EXPECT ¶
func (m *MockRoleBindingStatusWriter) EXPECT() *MockRoleBindingStatusWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRoleBindingStatusWriter) PatchRoleBindingStatus ¶
func (m *MockRoleBindingStatusWriter) PatchRoleBindingStatus(ctx context.Context, obj *v1.RoleBinding, patch client.Patch, opts ...client.PatchOption) error
PatchRoleBindingStatus mocks base method
func (*MockRoleBindingStatusWriter) UpdateRoleBindingStatus ¶
func (m *MockRoleBindingStatusWriter) UpdateRoleBindingStatus(ctx context.Context, obj *v1.RoleBinding, opts ...client.UpdateOption) error
UpdateRoleBindingStatus mocks base method
type MockRoleBindingStatusWriterMockRecorder ¶
type MockRoleBindingStatusWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleBindingStatusWriterMockRecorder is the mock recorder for MockRoleBindingStatusWriter
func (*MockRoleBindingStatusWriterMockRecorder) PatchRoleBindingStatus ¶
func (mr *MockRoleBindingStatusWriterMockRecorder) PatchRoleBindingStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchRoleBindingStatus indicates an expected call of PatchRoleBindingStatus
func (*MockRoleBindingStatusWriterMockRecorder) UpdateRoleBindingStatus ¶
func (mr *MockRoleBindingStatusWriterMockRecorder) UpdateRoleBindingStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateRoleBindingStatus indicates an expected call of UpdateRoleBindingStatus
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, obj *v1.RoleBinding, opts ...client.CreateOption) error
CreateRoleBinding mocks base method
func (*MockRoleBindingWriter) DeleteAllOfRoleBinding ¶
func (m *MockRoleBindingWriter) DeleteAllOfRoleBinding(ctx context.Context, opts ...client.DeleteAllOfOption) error
DeleteAllOfRoleBinding mocks base method
func (*MockRoleBindingWriter) DeleteRoleBinding ¶
func (m *MockRoleBindingWriter) DeleteRoleBinding(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) 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) PatchRoleBinding ¶
func (m *MockRoleBindingWriter) PatchRoleBinding(ctx context.Context, obj *v1.RoleBinding, patch client.Patch, opts ...client.PatchOption) error
PatchRoleBinding mocks base method
func (*MockRoleBindingWriter) UpdateRoleBinding ¶
func (m *MockRoleBindingWriter) UpdateRoleBinding(ctx context.Context, obj *v1.RoleBinding, opts ...client.UpdateOption) error
UpdateRoleBinding mocks base method
func (*MockRoleBindingWriter) UpsertRoleBinding ¶
func (m *MockRoleBindingWriter) UpsertRoleBinding(ctx context.Context, obj *v1.RoleBinding, transitionFuncs ...v1.RoleBindingTransitionFunction) error
UpsertRoleBinding 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, obj interface{}, opts ...interface{}) *gomock.Call
CreateRoleBinding indicates an expected call of CreateRoleBinding
func (*MockRoleBindingWriterMockRecorder) DeleteAllOfRoleBinding ¶
func (mr *MockRoleBindingWriterMockRecorder) DeleteAllOfRoleBinding(ctx interface{}, opts ...interface{}) *gomock.Call
DeleteAllOfRoleBinding indicates an expected call of DeleteAllOfRoleBinding
func (*MockRoleBindingWriterMockRecorder) DeleteRoleBinding ¶
func (mr *MockRoleBindingWriterMockRecorder) DeleteRoleBinding(ctx, key interface{}, opts ...interface{}) *gomock.Call
DeleteRoleBinding indicates an expected call of DeleteRoleBinding
func (*MockRoleBindingWriterMockRecorder) PatchRoleBinding ¶
func (mr *MockRoleBindingWriterMockRecorder) PatchRoleBinding(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchRoleBinding indicates an expected call of PatchRoleBinding
func (*MockRoleBindingWriterMockRecorder) UpdateRoleBinding ¶
func (mr *MockRoleBindingWriterMockRecorder) UpdateRoleBinding(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateRoleBinding indicates an expected call of UpdateRoleBinding
func (*MockRoleBindingWriterMockRecorder) UpsertRoleBinding ¶
func (mr *MockRoleBindingWriterMockRecorder) UpsertRoleBinding(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
UpsertRoleBinding indicates an expected call of UpsertRoleBinding
type MockRoleClient ¶
type MockRoleClient struct {
// contains filtered or unexported fields
}
MockRoleClient is a mock of RoleClient interface
func NewMockRoleClient ¶
func NewMockRoleClient(ctrl *gomock.Controller) *MockRoleClient
NewMockRoleClient creates a new mock instance
func (*MockRoleClient) CreateRole ¶
func (m *MockRoleClient) CreateRole(ctx context.Context, obj *v1.Role, opts ...client.CreateOption) error
CreateRole mocks base method
func (*MockRoleClient) DeleteAllOfRole ¶
func (m *MockRoleClient) DeleteAllOfRole(ctx context.Context, opts ...client.DeleteAllOfOption) error
DeleteAllOfRole mocks base method
func (*MockRoleClient) DeleteRole ¶
func (m *MockRoleClient) DeleteRole(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
DeleteRole mocks base method
func (*MockRoleClient) EXPECT ¶
func (m *MockRoleClient) EXPECT() *MockRoleClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRoleClient) ListRole ¶
func (m *MockRoleClient) ListRole(ctx context.Context, opts ...client.ListOption) (*v1.RoleList, error)
ListRole mocks base method
func (*MockRoleClient) PatchRole ¶
func (m *MockRoleClient) PatchRole(ctx context.Context, obj *v1.Role, patch client.Patch, opts ...client.PatchOption) error
PatchRole mocks base method
func (*MockRoleClient) PatchRoleStatus ¶
func (m *MockRoleClient) PatchRoleStatus(ctx context.Context, obj *v1.Role, patch client.Patch, opts ...client.PatchOption) error
PatchRoleStatus mocks base method
func (*MockRoleClient) UpdateRole ¶
func (m *MockRoleClient) UpdateRole(ctx context.Context, obj *v1.Role, opts ...client.UpdateOption) error
UpdateRole mocks base method
func (*MockRoleClient) UpdateRoleStatus ¶
func (m *MockRoleClient) UpdateRoleStatus(ctx context.Context, obj *v1.Role, opts ...client.UpdateOption) error
UpdateRoleStatus mocks base method
func (*MockRoleClient) UpsertRole ¶
func (m *MockRoleClient) UpsertRole(ctx context.Context, obj *v1.Role, transitionFuncs ...v1.RoleTransitionFunction) error
UpsertRole mocks base method
type MockRoleClientMockRecorder ¶
type MockRoleClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleClientMockRecorder is the mock recorder for MockRoleClient
func (*MockRoleClientMockRecorder) CreateRole ¶
func (mr *MockRoleClientMockRecorder) CreateRole(ctx, obj interface{}, opts ...interface{}) *gomock.Call
CreateRole indicates an expected call of CreateRole
func (*MockRoleClientMockRecorder) DeleteAllOfRole ¶
func (mr *MockRoleClientMockRecorder) DeleteAllOfRole(ctx interface{}, opts ...interface{}) *gomock.Call
DeleteAllOfRole indicates an expected call of DeleteAllOfRole
func (*MockRoleClientMockRecorder) DeleteRole ¶
func (mr *MockRoleClientMockRecorder) DeleteRole(ctx, key interface{}, opts ...interface{}) *gomock.Call
DeleteRole indicates an expected call of DeleteRole
func (*MockRoleClientMockRecorder) GetRole ¶
func (mr *MockRoleClientMockRecorder) GetRole(ctx, key interface{}) *gomock.Call
GetRole indicates an expected call of GetRole
func (*MockRoleClientMockRecorder) ListRole ¶
func (mr *MockRoleClientMockRecorder) ListRole(ctx interface{}, opts ...interface{}) *gomock.Call
ListRole indicates an expected call of ListRole
func (*MockRoleClientMockRecorder) PatchRole ¶
func (mr *MockRoleClientMockRecorder) PatchRole(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchRole indicates an expected call of PatchRole
func (*MockRoleClientMockRecorder) PatchRoleStatus ¶
func (mr *MockRoleClientMockRecorder) PatchRoleStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchRoleStatus indicates an expected call of PatchRoleStatus
func (*MockRoleClientMockRecorder) UpdateRole ¶
func (mr *MockRoleClientMockRecorder) UpdateRole(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateRole indicates an expected call of UpdateRole
func (*MockRoleClientMockRecorder) UpdateRoleStatus ¶
func (mr *MockRoleClientMockRecorder) UpdateRoleStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateRoleStatus indicates an expected call of UpdateRoleStatus
func (*MockRoleClientMockRecorder) UpsertRole ¶
func (mr *MockRoleClientMockRecorder) UpsertRole(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
UpsertRole indicates an expected call of UpsertRole
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) ListRole ¶
func (m *MockRoleReader) ListRole(ctx context.Context, opts ...client.ListOption) (*v1.RoleList, error)
ListRole mocks base method
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, key interface{}) *gomock.Call
GetRole indicates an expected call of GetRole
func (*MockRoleReaderMockRecorder) ListRole ¶
func (mr *MockRoleReaderMockRecorder) ListRole(ctx interface{}, opts ...interface{}) *gomock.Call
ListRole indicates an expected call of ListRole
type MockRoleStatusWriter ¶
type MockRoleStatusWriter struct {
// contains filtered or unexported fields
}
MockRoleStatusWriter is a mock of RoleStatusWriter interface
func NewMockRoleStatusWriter ¶
func NewMockRoleStatusWriter(ctrl *gomock.Controller) *MockRoleStatusWriter
NewMockRoleStatusWriter creates a new mock instance
func (*MockRoleStatusWriter) EXPECT ¶
func (m *MockRoleStatusWriter) EXPECT() *MockRoleStatusWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRoleStatusWriter) PatchRoleStatus ¶
func (m *MockRoleStatusWriter) PatchRoleStatus(ctx context.Context, obj *v1.Role, patch client.Patch, opts ...client.PatchOption) error
PatchRoleStatus mocks base method
func (*MockRoleStatusWriter) UpdateRoleStatus ¶
func (m *MockRoleStatusWriter) UpdateRoleStatus(ctx context.Context, obj *v1.Role, opts ...client.UpdateOption) error
UpdateRoleStatus mocks base method
type MockRoleStatusWriterMockRecorder ¶
type MockRoleStatusWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleStatusWriterMockRecorder is the mock recorder for MockRoleStatusWriter
func (*MockRoleStatusWriterMockRecorder) PatchRoleStatus ¶
func (mr *MockRoleStatusWriterMockRecorder) PatchRoleStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchRoleStatus indicates an expected call of PatchRoleStatus
func (*MockRoleStatusWriterMockRecorder) UpdateRoleStatus ¶
func (mr *MockRoleStatusWriterMockRecorder) UpdateRoleStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateRoleStatus indicates an expected call of UpdateRoleStatus
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, obj *v1.Role, opts ...client.CreateOption) error
CreateRole mocks base method
func (*MockRoleWriter) DeleteAllOfRole ¶
func (m *MockRoleWriter) DeleteAllOfRole(ctx context.Context, opts ...client.DeleteAllOfOption) error
DeleteAllOfRole mocks base method
func (*MockRoleWriter) DeleteRole ¶
func (m *MockRoleWriter) DeleteRole(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) 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) PatchRole ¶
func (m *MockRoleWriter) PatchRole(ctx context.Context, obj *v1.Role, patch client.Patch, opts ...client.PatchOption) error
PatchRole mocks base method
func (*MockRoleWriter) UpdateRole ¶
func (m *MockRoleWriter) UpdateRole(ctx context.Context, obj *v1.Role, opts ...client.UpdateOption) error
UpdateRole mocks base method
func (*MockRoleWriter) UpsertRole ¶
func (m *MockRoleWriter) UpsertRole(ctx context.Context, obj *v1.Role, transitionFuncs ...v1.RoleTransitionFunction) error
UpsertRole 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, obj interface{}, opts ...interface{}) *gomock.Call
CreateRole indicates an expected call of CreateRole
func (*MockRoleWriterMockRecorder) DeleteAllOfRole ¶
func (mr *MockRoleWriterMockRecorder) DeleteAllOfRole(ctx interface{}, opts ...interface{}) *gomock.Call
DeleteAllOfRole indicates an expected call of DeleteAllOfRole
func (*MockRoleWriterMockRecorder) DeleteRole ¶
func (mr *MockRoleWriterMockRecorder) DeleteRole(ctx, key interface{}, opts ...interface{}) *gomock.Call
DeleteRole indicates an expected call of DeleteRole
func (*MockRoleWriterMockRecorder) PatchRole ¶
func (mr *MockRoleWriterMockRecorder) PatchRole(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchRole indicates an expected call of PatchRole
func (*MockRoleWriterMockRecorder) UpdateRole ¶
func (mr *MockRoleWriterMockRecorder) UpdateRole(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateRole indicates an expected call of UpdateRole
func (*MockRoleWriterMockRecorder) UpsertRole ¶
func (mr *MockRoleWriterMockRecorder) UpsertRole(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
UpsertRole indicates an expected call of UpsertRole