Documentation ¶
Overview ¶
Package mock_v1beta1 is a generated GoMock package.
Index ¶
- type MockAuthorizationPolicyClient
- func (m *MockAuthorizationPolicyClient) CreateAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, ...) error
- func (m *MockAuthorizationPolicyClient) DeleteAllOfAuthorizationPolicy(ctx context.Context, opts ...client.DeleteAllOfOption) error
- func (m *MockAuthorizationPolicyClient) DeleteAuthorizationPolicy(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
- func (m *MockAuthorizationPolicyClient) EXPECT() *MockAuthorizationPolicyClientMockRecorder
- func (m *MockAuthorizationPolicyClient) GetAuthorizationPolicy(ctx context.Context, key client.ObjectKey) (*v1beta10.AuthorizationPolicy, error)
- func (m *MockAuthorizationPolicyClient) ListAuthorizationPolicy(ctx context.Context, opts ...client.ListOption) (*v1beta10.AuthorizationPolicyList, error)
- func (m *MockAuthorizationPolicyClient) PatchAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, patch client.Patch, ...) error
- func (m *MockAuthorizationPolicyClient) PatchAuthorizationPolicyStatus(ctx context.Context, obj *v1beta10.AuthorizationPolicy, patch client.Patch, ...) error
- func (m *MockAuthorizationPolicyClient) UpdateAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, ...) error
- func (m *MockAuthorizationPolicyClient) UpdateAuthorizationPolicyStatus(ctx context.Context, obj *v1beta10.AuthorizationPolicy, ...) error
- func (m *MockAuthorizationPolicyClient) UpsertAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, ...) error
- type MockAuthorizationPolicyClientMockRecorder
- func (mr *MockAuthorizationPolicyClientMockRecorder) CreateAuthorizationPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyClientMockRecorder) DeleteAllOfAuthorizationPolicy(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyClientMockRecorder) DeleteAuthorizationPolicy(ctx, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyClientMockRecorder) GetAuthorizationPolicy(ctx, key interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyClientMockRecorder) ListAuthorizationPolicy(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyClientMockRecorder) PatchAuthorizationPolicy(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyClientMockRecorder) PatchAuthorizationPolicyStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyClientMockRecorder) UpdateAuthorizationPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyClientMockRecorder) UpdateAuthorizationPolicyStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyClientMockRecorder) UpsertAuthorizationPolicy(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
- type MockAuthorizationPolicyReader
- func (m *MockAuthorizationPolicyReader) EXPECT() *MockAuthorizationPolicyReaderMockRecorder
- func (m *MockAuthorizationPolicyReader) GetAuthorizationPolicy(ctx context.Context, key client.ObjectKey) (*v1beta10.AuthorizationPolicy, error)
- func (m *MockAuthorizationPolicyReader) ListAuthorizationPolicy(ctx context.Context, opts ...client.ListOption) (*v1beta10.AuthorizationPolicyList, error)
- type MockAuthorizationPolicyReaderMockRecorder
- type MockAuthorizationPolicyStatusWriter
- func (m *MockAuthorizationPolicyStatusWriter) EXPECT() *MockAuthorizationPolicyStatusWriterMockRecorder
- func (m *MockAuthorizationPolicyStatusWriter) PatchAuthorizationPolicyStatus(ctx context.Context, obj *v1beta10.AuthorizationPolicy, patch client.Patch, ...) error
- func (m *MockAuthorizationPolicyStatusWriter) UpdateAuthorizationPolicyStatus(ctx context.Context, obj *v1beta10.AuthorizationPolicy, ...) error
- type MockAuthorizationPolicyStatusWriterMockRecorder
- type MockAuthorizationPolicyWriter
- func (m *MockAuthorizationPolicyWriter) CreateAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, ...) error
- func (m *MockAuthorizationPolicyWriter) DeleteAllOfAuthorizationPolicy(ctx context.Context, opts ...client.DeleteAllOfOption) error
- func (m *MockAuthorizationPolicyWriter) DeleteAuthorizationPolicy(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
- func (m *MockAuthorizationPolicyWriter) EXPECT() *MockAuthorizationPolicyWriterMockRecorder
- func (m *MockAuthorizationPolicyWriter) PatchAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, patch client.Patch, ...) error
- func (m *MockAuthorizationPolicyWriter) UpdateAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, ...) error
- func (m *MockAuthorizationPolicyWriter) UpsertAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, ...) error
- type MockAuthorizationPolicyWriterMockRecorder
- func (mr *MockAuthorizationPolicyWriterMockRecorder) CreateAuthorizationPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyWriterMockRecorder) DeleteAllOfAuthorizationPolicy(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyWriterMockRecorder) DeleteAuthorizationPolicy(ctx, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyWriterMockRecorder) PatchAuthorizationPolicy(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyWriterMockRecorder) UpdateAuthorizationPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyWriterMockRecorder) UpsertAuthorizationPolicy(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
- type MockClientset
- type MockClientsetMockRecorder
- type MockMulticlusterAuthorizationPolicyClient
- type MockMulticlusterAuthorizationPolicyClientMockRecorder
- type MockMulticlusterClientset
- type MockMulticlusterClientsetMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthorizationPolicyClient ¶
type MockAuthorizationPolicyClient struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyClient is a mock of AuthorizationPolicyClient interface
func NewMockAuthorizationPolicyClient ¶
func NewMockAuthorizationPolicyClient(ctrl *gomock.Controller) *MockAuthorizationPolicyClient
NewMockAuthorizationPolicyClient creates a new mock instance
func (*MockAuthorizationPolicyClient) CreateAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyClient) CreateAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, opts ...client.CreateOption) error
CreateAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyClient) DeleteAllOfAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyClient) DeleteAllOfAuthorizationPolicy(ctx context.Context, opts ...client.DeleteAllOfOption) error
DeleteAllOfAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyClient) DeleteAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyClient) DeleteAuthorizationPolicy(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
DeleteAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyClient) EXPECT ¶
func (m *MockAuthorizationPolicyClient) EXPECT() *MockAuthorizationPolicyClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthorizationPolicyClient) GetAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyClient) GetAuthorizationPolicy(ctx context.Context, key client.ObjectKey) (*v1beta10.AuthorizationPolicy, error)
GetAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyClient) ListAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyClient) ListAuthorizationPolicy(ctx context.Context, opts ...client.ListOption) (*v1beta10.AuthorizationPolicyList, error)
ListAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyClient) PatchAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyClient) PatchAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, patch client.Patch, opts ...client.PatchOption) error
PatchAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyClient) PatchAuthorizationPolicyStatus ¶
func (m *MockAuthorizationPolicyClient) PatchAuthorizationPolicyStatus(ctx context.Context, obj *v1beta10.AuthorizationPolicy, patch client.Patch, opts ...client.PatchOption) error
PatchAuthorizationPolicyStatus mocks base method
func (*MockAuthorizationPolicyClient) UpdateAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyClient) UpdateAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, opts ...client.UpdateOption) error
UpdateAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyClient) UpdateAuthorizationPolicyStatus ¶
func (m *MockAuthorizationPolicyClient) UpdateAuthorizationPolicyStatus(ctx context.Context, obj *v1beta10.AuthorizationPolicy, opts ...client.UpdateOption) error
UpdateAuthorizationPolicyStatus mocks base method
func (*MockAuthorizationPolicyClient) UpsertAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyClient) UpsertAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, transitionFuncs ...v1beta1.AuthorizationPolicyTransitionFunction) error
UpsertAuthorizationPolicy mocks base method
type MockAuthorizationPolicyClientMockRecorder ¶
type MockAuthorizationPolicyClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyClientMockRecorder is the mock recorder for MockAuthorizationPolicyClient
func (*MockAuthorizationPolicyClientMockRecorder) CreateAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyClientMockRecorder) CreateAuthorizationPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call
CreateAuthorizationPolicy indicates an expected call of CreateAuthorizationPolicy
func (*MockAuthorizationPolicyClientMockRecorder) DeleteAllOfAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyClientMockRecorder) DeleteAllOfAuthorizationPolicy(ctx interface{}, opts ...interface{}) *gomock.Call
DeleteAllOfAuthorizationPolicy indicates an expected call of DeleteAllOfAuthorizationPolicy
func (*MockAuthorizationPolicyClientMockRecorder) DeleteAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyClientMockRecorder) DeleteAuthorizationPolicy(ctx, key interface{}, opts ...interface{}) *gomock.Call
DeleteAuthorizationPolicy indicates an expected call of DeleteAuthorizationPolicy
func (*MockAuthorizationPolicyClientMockRecorder) GetAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyClientMockRecorder) GetAuthorizationPolicy(ctx, key interface{}) *gomock.Call
GetAuthorizationPolicy indicates an expected call of GetAuthorizationPolicy
func (*MockAuthorizationPolicyClientMockRecorder) ListAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyClientMockRecorder) ListAuthorizationPolicy(ctx interface{}, opts ...interface{}) *gomock.Call
ListAuthorizationPolicy indicates an expected call of ListAuthorizationPolicy
func (*MockAuthorizationPolicyClientMockRecorder) PatchAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyClientMockRecorder) PatchAuthorizationPolicy(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchAuthorizationPolicy indicates an expected call of PatchAuthorizationPolicy
func (*MockAuthorizationPolicyClientMockRecorder) PatchAuthorizationPolicyStatus ¶
func (mr *MockAuthorizationPolicyClientMockRecorder) PatchAuthorizationPolicyStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchAuthorizationPolicyStatus indicates an expected call of PatchAuthorizationPolicyStatus
func (*MockAuthorizationPolicyClientMockRecorder) UpdateAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyClientMockRecorder) UpdateAuthorizationPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateAuthorizationPolicy indicates an expected call of UpdateAuthorizationPolicy
func (*MockAuthorizationPolicyClientMockRecorder) UpdateAuthorizationPolicyStatus ¶
func (mr *MockAuthorizationPolicyClientMockRecorder) UpdateAuthorizationPolicyStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateAuthorizationPolicyStatus indicates an expected call of UpdateAuthorizationPolicyStatus
func (*MockAuthorizationPolicyClientMockRecorder) UpsertAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyClientMockRecorder) UpsertAuthorizationPolicy(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
UpsertAuthorizationPolicy indicates an expected call of UpsertAuthorizationPolicy
type MockAuthorizationPolicyReader ¶
type MockAuthorizationPolicyReader struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyReader is a mock of AuthorizationPolicyReader interface
func NewMockAuthorizationPolicyReader ¶
func NewMockAuthorizationPolicyReader(ctrl *gomock.Controller) *MockAuthorizationPolicyReader
NewMockAuthorizationPolicyReader creates a new mock instance
func (*MockAuthorizationPolicyReader) EXPECT ¶
func (m *MockAuthorizationPolicyReader) EXPECT() *MockAuthorizationPolicyReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthorizationPolicyReader) GetAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyReader) GetAuthorizationPolicy(ctx context.Context, key client.ObjectKey) (*v1beta10.AuthorizationPolicy, error)
GetAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyReader) ListAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyReader) ListAuthorizationPolicy(ctx context.Context, opts ...client.ListOption) (*v1beta10.AuthorizationPolicyList, error)
ListAuthorizationPolicy mocks base method
type MockAuthorizationPolicyReaderMockRecorder ¶
type MockAuthorizationPolicyReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyReaderMockRecorder is the mock recorder for MockAuthorizationPolicyReader
func (*MockAuthorizationPolicyReaderMockRecorder) GetAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyReaderMockRecorder) GetAuthorizationPolicy(ctx, key interface{}) *gomock.Call
GetAuthorizationPolicy indicates an expected call of GetAuthorizationPolicy
func (*MockAuthorizationPolicyReaderMockRecorder) ListAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyReaderMockRecorder) ListAuthorizationPolicy(ctx interface{}, opts ...interface{}) *gomock.Call
ListAuthorizationPolicy indicates an expected call of ListAuthorizationPolicy
type MockAuthorizationPolicyStatusWriter ¶
type MockAuthorizationPolicyStatusWriter struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyStatusWriter is a mock of AuthorizationPolicyStatusWriter interface
func NewMockAuthorizationPolicyStatusWriter ¶
func NewMockAuthorizationPolicyStatusWriter(ctrl *gomock.Controller) *MockAuthorizationPolicyStatusWriter
NewMockAuthorizationPolicyStatusWriter creates a new mock instance
func (*MockAuthorizationPolicyStatusWriter) EXPECT ¶
func (m *MockAuthorizationPolicyStatusWriter) EXPECT() *MockAuthorizationPolicyStatusWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthorizationPolicyStatusWriter) PatchAuthorizationPolicyStatus ¶
func (m *MockAuthorizationPolicyStatusWriter) PatchAuthorizationPolicyStatus(ctx context.Context, obj *v1beta10.AuthorizationPolicy, patch client.Patch, opts ...client.PatchOption) error
PatchAuthorizationPolicyStatus mocks base method
func (*MockAuthorizationPolicyStatusWriter) UpdateAuthorizationPolicyStatus ¶
func (m *MockAuthorizationPolicyStatusWriter) UpdateAuthorizationPolicyStatus(ctx context.Context, obj *v1beta10.AuthorizationPolicy, opts ...client.UpdateOption) error
UpdateAuthorizationPolicyStatus mocks base method
type MockAuthorizationPolicyStatusWriterMockRecorder ¶
type MockAuthorizationPolicyStatusWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyStatusWriterMockRecorder is the mock recorder for MockAuthorizationPolicyStatusWriter
func (*MockAuthorizationPolicyStatusWriterMockRecorder) PatchAuthorizationPolicyStatus ¶
func (mr *MockAuthorizationPolicyStatusWriterMockRecorder) PatchAuthorizationPolicyStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchAuthorizationPolicyStatus indicates an expected call of PatchAuthorizationPolicyStatus
func (*MockAuthorizationPolicyStatusWriterMockRecorder) UpdateAuthorizationPolicyStatus ¶
func (mr *MockAuthorizationPolicyStatusWriterMockRecorder) UpdateAuthorizationPolicyStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateAuthorizationPolicyStatus indicates an expected call of UpdateAuthorizationPolicyStatus
type MockAuthorizationPolicyWriter ¶
type MockAuthorizationPolicyWriter struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyWriter is a mock of AuthorizationPolicyWriter interface
func NewMockAuthorizationPolicyWriter ¶
func NewMockAuthorizationPolicyWriter(ctrl *gomock.Controller) *MockAuthorizationPolicyWriter
NewMockAuthorizationPolicyWriter creates a new mock instance
func (*MockAuthorizationPolicyWriter) CreateAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyWriter) CreateAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, opts ...client.CreateOption) error
CreateAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyWriter) DeleteAllOfAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyWriter) DeleteAllOfAuthorizationPolicy(ctx context.Context, opts ...client.DeleteAllOfOption) error
DeleteAllOfAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyWriter) DeleteAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyWriter) DeleteAuthorizationPolicy(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
DeleteAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyWriter) EXPECT ¶
func (m *MockAuthorizationPolicyWriter) EXPECT() *MockAuthorizationPolicyWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthorizationPolicyWriter) PatchAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyWriter) PatchAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, patch client.Patch, opts ...client.PatchOption) error
PatchAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyWriter) UpdateAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyWriter) UpdateAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, opts ...client.UpdateOption) error
UpdateAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyWriter) UpsertAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyWriter) UpsertAuthorizationPolicy(ctx context.Context, obj *v1beta10.AuthorizationPolicy, transitionFuncs ...v1beta1.AuthorizationPolicyTransitionFunction) error
UpsertAuthorizationPolicy mocks base method
type MockAuthorizationPolicyWriterMockRecorder ¶
type MockAuthorizationPolicyWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyWriterMockRecorder is the mock recorder for MockAuthorizationPolicyWriter
func (*MockAuthorizationPolicyWriterMockRecorder) CreateAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyWriterMockRecorder) CreateAuthorizationPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call
CreateAuthorizationPolicy indicates an expected call of CreateAuthorizationPolicy
func (*MockAuthorizationPolicyWriterMockRecorder) DeleteAllOfAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyWriterMockRecorder) DeleteAllOfAuthorizationPolicy(ctx interface{}, opts ...interface{}) *gomock.Call
DeleteAllOfAuthorizationPolicy indicates an expected call of DeleteAllOfAuthorizationPolicy
func (*MockAuthorizationPolicyWriterMockRecorder) DeleteAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyWriterMockRecorder) DeleteAuthorizationPolicy(ctx, key interface{}, opts ...interface{}) *gomock.Call
DeleteAuthorizationPolicy indicates an expected call of DeleteAuthorizationPolicy
func (*MockAuthorizationPolicyWriterMockRecorder) PatchAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyWriterMockRecorder) PatchAuthorizationPolicy(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchAuthorizationPolicy indicates an expected call of PatchAuthorizationPolicy
func (*MockAuthorizationPolicyWriterMockRecorder) UpdateAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyWriterMockRecorder) UpdateAuthorizationPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateAuthorizationPolicy indicates an expected call of UpdateAuthorizationPolicy
func (*MockAuthorizationPolicyWriterMockRecorder) UpsertAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyWriterMockRecorder) UpsertAuthorizationPolicy(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
UpsertAuthorizationPolicy indicates an expected call of UpsertAuthorizationPolicy
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) AuthorizationPolicies ¶
func (m *MockClientset) AuthorizationPolicies() v1beta1.AuthorizationPolicyClient
AuthorizationPolicies mocks base method
func (*MockClientset) EXPECT ¶
func (m *MockClientset) EXPECT() *MockClientsetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockClientsetMockRecorder ¶
type MockClientsetMockRecorder struct {
// contains filtered or unexported fields
}
MockClientsetMockRecorder is the mock recorder for MockClientset
func (*MockClientsetMockRecorder) AuthorizationPolicies ¶
func (mr *MockClientsetMockRecorder) AuthorizationPolicies() *gomock.Call
AuthorizationPolicies indicates an expected call of AuthorizationPolicies
type MockMulticlusterAuthorizationPolicyClient ¶
type MockMulticlusterAuthorizationPolicyClient struct {
// contains filtered or unexported fields
}
MockMulticlusterAuthorizationPolicyClient is a mock of MulticlusterAuthorizationPolicyClient interface
func NewMockMulticlusterAuthorizationPolicyClient ¶
func NewMockMulticlusterAuthorizationPolicyClient(ctrl *gomock.Controller) *MockMulticlusterAuthorizationPolicyClient
NewMockMulticlusterAuthorizationPolicyClient creates a new mock instance
func (*MockMulticlusterAuthorizationPolicyClient) Cluster ¶
func (m *MockMulticlusterAuthorizationPolicyClient) Cluster(cluster string) (v1beta1.AuthorizationPolicyClient, error)
Cluster mocks base method
func (*MockMulticlusterAuthorizationPolicyClient) EXPECT ¶
func (m *MockMulticlusterAuthorizationPolicyClient) EXPECT() *MockMulticlusterAuthorizationPolicyClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockMulticlusterAuthorizationPolicyClientMockRecorder ¶
type MockMulticlusterAuthorizationPolicyClientMockRecorder struct {
// contains filtered or unexported fields
}
MockMulticlusterAuthorizationPolicyClientMockRecorder is the mock recorder for MockMulticlusterAuthorizationPolicyClient
func (*MockMulticlusterAuthorizationPolicyClientMockRecorder) Cluster ¶
func (mr *MockMulticlusterAuthorizationPolicyClientMockRecorder) Cluster(cluster interface{}) *gomock.Call
Cluster indicates an expected call of Cluster
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) (v1beta1.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