mock_v1beta1

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_v1beta1 is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAuthorizationPolicyClient) GetAuthorizationPolicy

GetAuthorizationPolicy mocks base method

func (*MockAuthorizationPolicyClient) ListAuthorizationPolicy

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

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAuthorizationPolicyReader) GetAuthorizationPolicy

GetAuthorizationPolicy mocks base method

func (*MockAuthorizationPolicyReader) ListAuthorizationPolicy

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

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

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

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

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

Cluster mocks base method

func (*MockMulticlusterAuthorizationPolicyClient) EXPECT

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL