mock_v1

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_v1 is a generated GoMock package.

Index

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

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

func (*MockClientset) NetworkPolicies

func (m *MockClientset) NetworkPolicies() v1.NetworkPolicyClient

NetworkPolicies mocks base method.

type MockClientsetMockRecorder

type MockClientsetMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientsetMockRecorder is the mock recorder for MockClientset.

func (*MockClientsetMockRecorder) NetworkPolicies

func (mr *MockClientsetMockRecorder) NetworkPolicies() *gomock.Call

NetworkPolicies indicates an expected call of NetworkPolicies.

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

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 MockMulticlusterNetworkPolicyClient

type MockMulticlusterNetworkPolicyClient struct {
	// contains filtered or unexported fields
}

MockMulticlusterNetworkPolicyClient is a mock of MulticlusterNetworkPolicyClient interface.

func NewMockMulticlusterNetworkPolicyClient

func NewMockMulticlusterNetworkPolicyClient(ctrl *gomock.Controller) *MockMulticlusterNetworkPolicyClient

NewMockMulticlusterNetworkPolicyClient creates a new mock instance.

func (*MockMulticlusterNetworkPolicyClient) Cluster

Cluster mocks base method.

func (*MockMulticlusterNetworkPolicyClient) EXPECT

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

type MockMulticlusterNetworkPolicyClientMockRecorder

type MockMulticlusterNetworkPolicyClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockMulticlusterNetworkPolicyClientMockRecorder is the mock recorder for MockMulticlusterNetworkPolicyClient.

func (*MockMulticlusterNetworkPolicyClientMockRecorder) Cluster

func (mr *MockMulticlusterNetworkPolicyClientMockRecorder) Cluster(cluster interface{}) *gomock.Call

Cluster indicates an expected call of Cluster.

type MockNetworkPolicyClient

type MockNetworkPolicyClient struct {
	// contains filtered or unexported fields
}

MockNetworkPolicyClient is a mock of NetworkPolicyClient interface.

func NewMockNetworkPolicyClient

func NewMockNetworkPolicyClient(ctrl *gomock.Controller) *MockNetworkPolicyClient

NewMockNetworkPolicyClient creates a new mock instance.

func (*MockNetworkPolicyClient) CreateNetworkPolicy

func (m *MockNetworkPolicyClient) CreateNetworkPolicy(ctx context.Context, obj *v10.NetworkPolicy, opts ...client.CreateOption) error

CreateNetworkPolicy mocks base method.

func (*MockNetworkPolicyClient) DeleteAllOfNetworkPolicy

func (m *MockNetworkPolicyClient) DeleteAllOfNetworkPolicy(ctx context.Context, opts ...client.DeleteAllOfOption) error

DeleteAllOfNetworkPolicy mocks base method.

func (*MockNetworkPolicyClient) DeleteNetworkPolicy

func (m *MockNetworkPolicyClient) DeleteNetworkPolicy(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error

DeleteNetworkPolicy mocks base method.

func (*MockNetworkPolicyClient) EXPECT

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

func (*MockNetworkPolicyClient) GetNetworkPolicy

func (m *MockNetworkPolicyClient) GetNetworkPolicy(ctx context.Context, key client.ObjectKey) (*v10.NetworkPolicy, error)

GetNetworkPolicy mocks base method.

func (*MockNetworkPolicyClient) ListNetworkPolicy

func (m *MockNetworkPolicyClient) ListNetworkPolicy(ctx context.Context, opts ...client.ListOption) (*v10.NetworkPolicyList, error)

ListNetworkPolicy mocks base method.

func (*MockNetworkPolicyClient) PatchNetworkPolicy

func (m *MockNetworkPolicyClient) PatchNetworkPolicy(ctx context.Context, obj *v10.NetworkPolicy, patch client.Patch, opts ...client.PatchOption) error

PatchNetworkPolicy mocks base method.

func (*MockNetworkPolicyClient) PatchNetworkPolicyStatus

func (m *MockNetworkPolicyClient) PatchNetworkPolicyStatus(ctx context.Context, obj *v10.NetworkPolicy, patch client.Patch, opts ...client.SubResourcePatchOption) error

PatchNetworkPolicyStatus mocks base method.

func (*MockNetworkPolicyClient) UpdateNetworkPolicy

func (m *MockNetworkPolicyClient) UpdateNetworkPolicy(ctx context.Context, obj *v10.NetworkPolicy, opts ...client.UpdateOption) error

UpdateNetworkPolicy mocks base method.

func (*MockNetworkPolicyClient) UpdateNetworkPolicyStatus

func (m *MockNetworkPolicyClient) UpdateNetworkPolicyStatus(ctx context.Context, obj *v10.NetworkPolicy, opts ...client.SubResourceUpdateOption) error

UpdateNetworkPolicyStatus mocks base method.

func (*MockNetworkPolicyClient) UpsertNetworkPolicy

func (m *MockNetworkPolicyClient) UpsertNetworkPolicy(ctx context.Context, obj *v10.NetworkPolicy, transitionFuncs ...v1.NetworkPolicyTransitionFunction) error

UpsertNetworkPolicy mocks base method.

type MockNetworkPolicyClientMockRecorder

type MockNetworkPolicyClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockNetworkPolicyClientMockRecorder is the mock recorder for MockNetworkPolicyClient.

func (*MockNetworkPolicyClientMockRecorder) CreateNetworkPolicy

func (mr *MockNetworkPolicyClientMockRecorder) CreateNetworkPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call

CreateNetworkPolicy indicates an expected call of CreateNetworkPolicy.

func (*MockNetworkPolicyClientMockRecorder) DeleteAllOfNetworkPolicy

func (mr *MockNetworkPolicyClientMockRecorder) DeleteAllOfNetworkPolicy(ctx interface{}, opts ...interface{}) *gomock.Call

DeleteAllOfNetworkPolicy indicates an expected call of DeleteAllOfNetworkPolicy.

func (*MockNetworkPolicyClientMockRecorder) DeleteNetworkPolicy

func (mr *MockNetworkPolicyClientMockRecorder) DeleteNetworkPolicy(ctx, key interface{}, opts ...interface{}) *gomock.Call

DeleteNetworkPolicy indicates an expected call of DeleteNetworkPolicy.

func (*MockNetworkPolicyClientMockRecorder) GetNetworkPolicy

func (mr *MockNetworkPolicyClientMockRecorder) GetNetworkPolicy(ctx, key interface{}) *gomock.Call

GetNetworkPolicy indicates an expected call of GetNetworkPolicy.

func (*MockNetworkPolicyClientMockRecorder) ListNetworkPolicy

func (mr *MockNetworkPolicyClientMockRecorder) ListNetworkPolicy(ctx interface{}, opts ...interface{}) *gomock.Call

ListNetworkPolicy indicates an expected call of ListNetworkPolicy.

func (*MockNetworkPolicyClientMockRecorder) PatchNetworkPolicy

func (mr *MockNetworkPolicyClientMockRecorder) PatchNetworkPolicy(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call

PatchNetworkPolicy indicates an expected call of PatchNetworkPolicy.

func (*MockNetworkPolicyClientMockRecorder) PatchNetworkPolicyStatus

func (mr *MockNetworkPolicyClientMockRecorder) PatchNetworkPolicyStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call

PatchNetworkPolicyStatus indicates an expected call of PatchNetworkPolicyStatus.

func (*MockNetworkPolicyClientMockRecorder) UpdateNetworkPolicy

func (mr *MockNetworkPolicyClientMockRecorder) UpdateNetworkPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateNetworkPolicy indicates an expected call of UpdateNetworkPolicy.

func (*MockNetworkPolicyClientMockRecorder) UpdateNetworkPolicyStatus

func (mr *MockNetworkPolicyClientMockRecorder) UpdateNetworkPolicyStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateNetworkPolicyStatus indicates an expected call of UpdateNetworkPolicyStatus.

func (*MockNetworkPolicyClientMockRecorder) UpsertNetworkPolicy

func (mr *MockNetworkPolicyClientMockRecorder) UpsertNetworkPolicy(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call

UpsertNetworkPolicy indicates an expected call of UpsertNetworkPolicy.

type MockNetworkPolicyReader

type MockNetworkPolicyReader struct {
	// contains filtered or unexported fields
}

MockNetworkPolicyReader is a mock of NetworkPolicyReader interface.

func NewMockNetworkPolicyReader

func NewMockNetworkPolicyReader(ctrl *gomock.Controller) *MockNetworkPolicyReader

NewMockNetworkPolicyReader creates a new mock instance.

func (*MockNetworkPolicyReader) EXPECT

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

func (*MockNetworkPolicyReader) GetNetworkPolicy

func (m *MockNetworkPolicyReader) GetNetworkPolicy(ctx context.Context, key client.ObjectKey) (*v10.NetworkPolicy, error)

GetNetworkPolicy mocks base method.

func (*MockNetworkPolicyReader) ListNetworkPolicy

func (m *MockNetworkPolicyReader) ListNetworkPolicy(ctx context.Context, opts ...client.ListOption) (*v10.NetworkPolicyList, error)

ListNetworkPolicy mocks base method.

type MockNetworkPolicyReaderMockRecorder

type MockNetworkPolicyReaderMockRecorder struct {
	// contains filtered or unexported fields
}

MockNetworkPolicyReaderMockRecorder is the mock recorder for MockNetworkPolicyReader.

func (*MockNetworkPolicyReaderMockRecorder) GetNetworkPolicy

func (mr *MockNetworkPolicyReaderMockRecorder) GetNetworkPolicy(ctx, key interface{}) *gomock.Call

GetNetworkPolicy indicates an expected call of GetNetworkPolicy.

func (*MockNetworkPolicyReaderMockRecorder) ListNetworkPolicy

func (mr *MockNetworkPolicyReaderMockRecorder) ListNetworkPolicy(ctx interface{}, opts ...interface{}) *gomock.Call

ListNetworkPolicy indicates an expected call of ListNetworkPolicy.

type MockNetworkPolicyStatusWriter

type MockNetworkPolicyStatusWriter struct {
	// contains filtered or unexported fields
}

MockNetworkPolicyStatusWriter is a mock of NetworkPolicyStatusWriter interface.

func NewMockNetworkPolicyStatusWriter

func NewMockNetworkPolicyStatusWriter(ctrl *gomock.Controller) *MockNetworkPolicyStatusWriter

NewMockNetworkPolicyStatusWriter creates a new mock instance.

func (*MockNetworkPolicyStatusWriter) EXPECT

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

func (*MockNetworkPolicyStatusWriter) PatchNetworkPolicyStatus

func (m *MockNetworkPolicyStatusWriter) PatchNetworkPolicyStatus(ctx context.Context, obj *v10.NetworkPolicy, patch client.Patch, opts ...client.SubResourcePatchOption) error

PatchNetworkPolicyStatus mocks base method.

func (*MockNetworkPolicyStatusWriter) UpdateNetworkPolicyStatus

func (m *MockNetworkPolicyStatusWriter) UpdateNetworkPolicyStatus(ctx context.Context, obj *v10.NetworkPolicy, opts ...client.SubResourceUpdateOption) error

UpdateNetworkPolicyStatus mocks base method.

type MockNetworkPolicyStatusWriterMockRecorder

type MockNetworkPolicyStatusWriterMockRecorder struct {
	// contains filtered or unexported fields
}

MockNetworkPolicyStatusWriterMockRecorder is the mock recorder for MockNetworkPolicyStatusWriter.

func (*MockNetworkPolicyStatusWriterMockRecorder) PatchNetworkPolicyStatus

func (mr *MockNetworkPolicyStatusWriterMockRecorder) PatchNetworkPolicyStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call

PatchNetworkPolicyStatus indicates an expected call of PatchNetworkPolicyStatus.

func (*MockNetworkPolicyStatusWriterMockRecorder) UpdateNetworkPolicyStatus

func (mr *MockNetworkPolicyStatusWriterMockRecorder) UpdateNetworkPolicyStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateNetworkPolicyStatus indicates an expected call of UpdateNetworkPolicyStatus.

type MockNetworkPolicyWriter

type MockNetworkPolicyWriter struct {
	// contains filtered or unexported fields
}

MockNetworkPolicyWriter is a mock of NetworkPolicyWriter interface.

func NewMockNetworkPolicyWriter

func NewMockNetworkPolicyWriter(ctrl *gomock.Controller) *MockNetworkPolicyWriter

NewMockNetworkPolicyWriter creates a new mock instance.

func (*MockNetworkPolicyWriter) CreateNetworkPolicy

func (m *MockNetworkPolicyWriter) CreateNetworkPolicy(ctx context.Context, obj *v10.NetworkPolicy, opts ...client.CreateOption) error

CreateNetworkPolicy mocks base method.

func (*MockNetworkPolicyWriter) DeleteAllOfNetworkPolicy

func (m *MockNetworkPolicyWriter) DeleteAllOfNetworkPolicy(ctx context.Context, opts ...client.DeleteAllOfOption) error

DeleteAllOfNetworkPolicy mocks base method.

func (*MockNetworkPolicyWriter) DeleteNetworkPolicy

func (m *MockNetworkPolicyWriter) DeleteNetworkPolicy(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error

DeleteNetworkPolicy mocks base method.

func (*MockNetworkPolicyWriter) EXPECT

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

func (*MockNetworkPolicyWriter) PatchNetworkPolicy

func (m *MockNetworkPolicyWriter) PatchNetworkPolicy(ctx context.Context, obj *v10.NetworkPolicy, patch client.Patch, opts ...client.PatchOption) error

PatchNetworkPolicy mocks base method.

func (*MockNetworkPolicyWriter) UpdateNetworkPolicy

func (m *MockNetworkPolicyWriter) UpdateNetworkPolicy(ctx context.Context, obj *v10.NetworkPolicy, opts ...client.UpdateOption) error

UpdateNetworkPolicy mocks base method.

func (*MockNetworkPolicyWriter) UpsertNetworkPolicy

func (m *MockNetworkPolicyWriter) UpsertNetworkPolicy(ctx context.Context, obj *v10.NetworkPolicy, transitionFuncs ...v1.NetworkPolicyTransitionFunction) error

UpsertNetworkPolicy mocks base method.

type MockNetworkPolicyWriterMockRecorder

type MockNetworkPolicyWriterMockRecorder struct {
	// contains filtered or unexported fields
}

MockNetworkPolicyWriterMockRecorder is the mock recorder for MockNetworkPolicyWriter.

func (*MockNetworkPolicyWriterMockRecorder) CreateNetworkPolicy

func (mr *MockNetworkPolicyWriterMockRecorder) CreateNetworkPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call

CreateNetworkPolicy indicates an expected call of CreateNetworkPolicy.

func (*MockNetworkPolicyWriterMockRecorder) DeleteAllOfNetworkPolicy

func (mr *MockNetworkPolicyWriterMockRecorder) DeleteAllOfNetworkPolicy(ctx interface{}, opts ...interface{}) *gomock.Call

DeleteAllOfNetworkPolicy indicates an expected call of DeleteAllOfNetworkPolicy.

func (*MockNetworkPolicyWriterMockRecorder) DeleteNetworkPolicy

func (mr *MockNetworkPolicyWriterMockRecorder) DeleteNetworkPolicy(ctx, key interface{}, opts ...interface{}) *gomock.Call

DeleteNetworkPolicy indicates an expected call of DeleteNetworkPolicy.

func (*MockNetworkPolicyWriterMockRecorder) PatchNetworkPolicy

func (mr *MockNetworkPolicyWriterMockRecorder) PatchNetworkPolicy(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call

PatchNetworkPolicy indicates an expected call of PatchNetworkPolicy.

func (*MockNetworkPolicyWriterMockRecorder) UpdateNetworkPolicy

func (mr *MockNetworkPolicyWriterMockRecorder) UpdateNetworkPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateNetworkPolicy indicates an expected call of UpdateNetworkPolicy.

func (*MockNetworkPolicyWriterMockRecorder) UpsertNetworkPolicy

func (mr *MockNetworkPolicyWriterMockRecorder) UpsertNetworkPolicy(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call

UpsertNetworkPolicy indicates an expected call of UpsertNetworkPolicy.

Jump to

Keyboard shortcuts

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