mock_v2

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_v2 is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCiliumNetworkPolicyClient

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

MockCiliumNetworkPolicyClient is a mock of CiliumNetworkPolicyClient interface.

func NewMockCiliumNetworkPolicyClient

func NewMockCiliumNetworkPolicyClient(ctrl *gomock.Controller) *MockCiliumNetworkPolicyClient

NewMockCiliumNetworkPolicyClient creates a new mock instance.

func (*MockCiliumNetworkPolicyClient) CreateCiliumNetworkPolicy

func (m *MockCiliumNetworkPolicyClient) CreateCiliumNetworkPolicy(ctx context.Context, obj *v2.CiliumNetworkPolicy, opts ...client.CreateOption) error

CreateCiliumNetworkPolicy mocks base method.

func (*MockCiliumNetworkPolicyClient) DeleteAllOfCiliumNetworkPolicy

func (m *MockCiliumNetworkPolicyClient) DeleteAllOfCiliumNetworkPolicy(ctx context.Context, opts ...client.DeleteAllOfOption) error

DeleteAllOfCiliumNetworkPolicy mocks base method.

func (*MockCiliumNetworkPolicyClient) DeleteCiliumNetworkPolicy

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

DeleteCiliumNetworkPolicy mocks base method.

func (*MockCiliumNetworkPolicyClient) EXPECT

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

func (*MockCiliumNetworkPolicyClient) GetCiliumNetworkPolicy

func (m *MockCiliumNetworkPolicyClient) GetCiliumNetworkPolicy(ctx context.Context, key client.ObjectKey) (*v2.CiliumNetworkPolicy, error)

GetCiliumNetworkPolicy mocks base method.

func (*MockCiliumNetworkPolicyClient) ListCiliumNetworkPolicy

func (m *MockCiliumNetworkPolicyClient) ListCiliumNetworkPolicy(ctx context.Context, opts ...client.ListOption) (*v2.CiliumNetworkPolicyList, error)

ListCiliumNetworkPolicy mocks base method.

func (*MockCiliumNetworkPolicyClient) PatchCiliumNetworkPolicy

func (m *MockCiliumNetworkPolicyClient) PatchCiliumNetworkPolicy(ctx context.Context, obj *v2.CiliumNetworkPolicy, patch client.Patch, opts ...client.PatchOption) error

PatchCiliumNetworkPolicy mocks base method.

func (*MockCiliumNetworkPolicyClient) PatchCiliumNetworkPolicyStatus

func (m *MockCiliumNetworkPolicyClient) PatchCiliumNetworkPolicyStatus(ctx context.Context, obj *v2.CiliumNetworkPolicy, patch client.Patch, opts ...client.SubResourcePatchOption) error

PatchCiliumNetworkPolicyStatus mocks base method.

func (*MockCiliumNetworkPolicyClient) UpdateCiliumNetworkPolicy

func (m *MockCiliumNetworkPolicyClient) UpdateCiliumNetworkPolicy(ctx context.Context, obj *v2.CiliumNetworkPolicy, opts ...client.UpdateOption) error

UpdateCiliumNetworkPolicy mocks base method.

func (*MockCiliumNetworkPolicyClient) UpdateCiliumNetworkPolicyStatus

func (m *MockCiliumNetworkPolicyClient) UpdateCiliumNetworkPolicyStatus(ctx context.Context, obj *v2.CiliumNetworkPolicy, opts ...client.SubResourceUpdateOption) error

UpdateCiliumNetworkPolicyStatus mocks base method.

func (*MockCiliumNetworkPolicyClient) UpsertCiliumNetworkPolicy

func (m *MockCiliumNetworkPolicyClient) UpsertCiliumNetworkPolicy(ctx context.Context, obj *v2.CiliumNetworkPolicy, transitionFuncs ...v20.CiliumNetworkPolicyTransitionFunction) error

UpsertCiliumNetworkPolicy mocks base method.

type MockCiliumNetworkPolicyClientMockRecorder

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

MockCiliumNetworkPolicyClientMockRecorder is the mock recorder for MockCiliumNetworkPolicyClient.

func (*MockCiliumNetworkPolicyClientMockRecorder) CreateCiliumNetworkPolicy

func (mr *MockCiliumNetworkPolicyClientMockRecorder) CreateCiliumNetworkPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call

CreateCiliumNetworkPolicy indicates an expected call of CreateCiliumNetworkPolicy.

func (*MockCiliumNetworkPolicyClientMockRecorder) DeleteAllOfCiliumNetworkPolicy

func (mr *MockCiliumNetworkPolicyClientMockRecorder) DeleteAllOfCiliumNetworkPolicy(ctx interface{}, opts ...interface{}) *gomock.Call

DeleteAllOfCiliumNetworkPolicy indicates an expected call of DeleteAllOfCiliumNetworkPolicy.

func (*MockCiliumNetworkPolicyClientMockRecorder) DeleteCiliumNetworkPolicy

func (mr *MockCiliumNetworkPolicyClientMockRecorder) DeleteCiliumNetworkPolicy(ctx, key interface{}, opts ...interface{}) *gomock.Call

DeleteCiliumNetworkPolicy indicates an expected call of DeleteCiliumNetworkPolicy.

func (*MockCiliumNetworkPolicyClientMockRecorder) GetCiliumNetworkPolicy

func (mr *MockCiliumNetworkPolicyClientMockRecorder) GetCiliumNetworkPolicy(ctx, key interface{}) *gomock.Call

GetCiliumNetworkPolicy indicates an expected call of GetCiliumNetworkPolicy.

func (*MockCiliumNetworkPolicyClientMockRecorder) ListCiliumNetworkPolicy

func (mr *MockCiliumNetworkPolicyClientMockRecorder) ListCiliumNetworkPolicy(ctx interface{}, opts ...interface{}) *gomock.Call

ListCiliumNetworkPolicy indicates an expected call of ListCiliumNetworkPolicy.

func (*MockCiliumNetworkPolicyClientMockRecorder) PatchCiliumNetworkPolicy

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

PatchCiliumNetworkPolicy indicates an expected call of PatchCiliumNetworkPolicy.

func (*MockCiliumNetworkPolicyClientMockRecorder) PatchCiliumNetworkPolicyStatus

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

PatchCiliumNetworkPolicyStatus indicates an expected call of PatchCiliumNetworkPolicyStatus.

func (*MockCiliumNetworkPolicyClientMockRecorder) UpdateCiliumNetworkPolicy

func (mr *MockCiliumNetworkPolicyClientMockRecorder) UpdateCiliumNetworkPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateCiliumNetworkPolicy indicates an expected call of UpdateCiliumNetworkPolicy.

func (*MockCiliumNetworkPolicyClientMockRecorder) UpdateCiliumNetworkPolicyStatus

func (mr *MockCiliumNetworkPolicyClientMockRecorder) UpdateCiliumNetworkPolicyStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateCiliumNetworkPolicyStatus indicates an expected call of UpdateCiliumNetworkPolicyStatus.

func (*MockCiliumNetworkPolicyClientMockRecorder) UpsertCiliumNetworkPolicy

func (mr *MockCiliumNetworkPolicyClientMockRecorder) UpsertCiliumNetworkPolicy(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call

UpsertCiliumNetworkPolicy indicates an expected call of UpsertCiliumNetworkPolicy.

type MockCiliumNetworkPolicyReader

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

MockCiliumNetworkPolicyReader is a mock of CiliumNetworkPolicyReader interface.

func NewMockCiliumNetworkPolicyReader

func NewMockCiliumNetworkPolicyReader(ctrl *gomock.Controller) *MockCiliumNetworkPolicyReader

NewMockCiliumNetworkPolicyReader creates a new mock instance.

func (*MockCiliumNetworkPolicyReader) EXPECT

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

func (*MockCiliumNetworkPolicyReader) GetCiliumNetworkPolicy

func (m *MockCiliumNetworkPolicyReader) GetCiliumNetworkPolicy(ctx context.Context, key client.ObjectKey) (*v2.CiliumNetworkPolicy, error)

GetCiliumNetworkPolicy mocks base method.

func (*MockCiliumNetworkPolicyReader) ListCiliumNetworkPolicy

func (m *MockCiliumNetworkPolicyReader) ListCiliumNetworkPolicy(ctx context.Context, opts ...client.ListOption) (*v2.CiliumNetworkPolicyList, error)

ListCiliumNetworkPolicy mocks base method.

type MockCiliumNetworkPolicyReaderMockRecorder

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

MockCiliumNetworkPolicyReaderMockRecorder is the mock recorder for MockCiliumNetworkPolicyReader.

func (*MockCiliumNetworkPolicyReaderMockRecorder) GetCiliumNetworkPolicy

func (mr *MockCiliumNetworkPolicyReaderMockRecorder) GetCiliumNetworkPolicy(ctx, key interface{}) *gomock.Call

GetCiliumNetworkPolicy indicates an expected call of GetCiliumNetworkPolicy.

func (*MockCiliumNetworkPolicyReaderMockRecorder) ListCiliumNetworkPolicy

func (mr *MockCiliumNetworkPolicyReaderMockRecorder) ListCiliumNetworkPolicy(ctx interface{}, opts ...interface{}) *gomock.Call

ListCiliumNetworkPolicy indicates an expected call of ListCiliumNetworkPolicy.

type MockCiliumNetworkPolicyStatusWriter

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

MockCiliumNetworkPolicyStatusWriter is a mock of CiliumNetworkPolicyStatusWriter interface.

func NewMockCiliumNetworkPolicyStatusWriter

func NewMockCiliumNetworkPolicyStatusWriter(ctrl *gomock.Controller) *MockCiliumNetworkPolicyStatusWriter

NewMockCiliumNetworkPolicyStatusWriter creates a new mock instance.

func (*MockCiliumNetworkPolicyStatusWriter) EXPECT

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

func (*MockCiliumNetworkPolicyStatusWriter) PatchCiliumNetworkPolicyStatus

func (m *MockCiliumNetworkPolicyStatusWriter) PatchCiliumNetworkPolicyStatus(ctx context.Context, obj *v2.CiliumNetworkPolicy, patch client.Patch, opts ...client.SubResourcePatchOption) error

PatchCiliumNetworkPolicyStatus mocks base method.

func (*MockCiliumNetworkPolicyStatusWriter) UpdateCiliumNetworkPolicyStatus

func (m *MockCiliumNetworkPolicyStatusWriter) UpdateCiliumNetworkPolicyStatus(ctx context.Context, obj *v2.CiliumNetworkPolicy, opts ...client.SubResourceUpdateOption) error

UpdateCiliumNetworkPolicyStatus mocks base method.

type MockCiliumNetworkPolicyStatusWriterMockRecorder

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

MockCiliumNetworkPolicyStatusWriterMockRecorder is the mock recorder for MockCiliumNetworkPolicyStatusWriter.

func (*MockCiliumNetworkPolicyStatusWriterMockRecorder) PatchCiliumNetworkPolicyStatus

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

PatchCiliumNetworkPolicyStatus indicates an expected call of PatchCiliumNetworkPolicyStatus.

func (*MockCiliumNetworkPolicyStatusWriterMockRecorder) UpdateCiliumNetworkPolicyStatus

func (mr *MockCiliumNetworkPolicyStatusWriterMockRecorder) UpdateCiliumNetworkPolicyStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateCiliumNetworkPolicyStatus indicates an expected call of UpdateCiliumNetworkPolicyStatus.

type MockCiliumNetworkPolicyWriter

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

MockCiliumNetworkPolicyWriter is a mock of CiliumNetworkPolicyWriter interface.

func NewMockCiliumNetworkPolicyWriter

func NewMockCiliumNetworkPolicyWriter(ctrl *gomock.Controller) *MockCiliumNetworkPolicyWriter

NewMockCiliumNetworkPolicyWriter creates a new mock instance.

func (*MockCiliumNetworkPolicyWriter) CreateCiliumNetworkPolicy

func (m *MockCiliumNetworkPolicyWriter) CreateCiliumNetworkPolicy(ctx context.Context, obj *v2.CiliumNetworkPolicy, opts ...client.CreateOption) error

CreateCiliumNetworkPolicy mocks base method.

func (*MockCiliumNetworkPolicyWriter) DeleteAllOfCiliumNetworkPolicy

func (m *MockCiliumNetworkPolicyWriter) DeleteAllOfCiliumNetworkPolicy(ctx context.Context, opts ...client.DeleteAllOfOption) error

DeleteAllOfCiliumNetworkPolicy mocks base method.

func (*MockCiliumNetworkPolicyWriter) DeleteCiliumNetworkPolicy

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

DeleteCiliumNetworkPolicy mocks base method.

func (*MockCiliumNetworkPolicyWriter) EXPECT

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

func (*MockCiliumNetworkPolicyWriter) PatchCiliumNetworkPolicy

func (m *MockCiliumNetworkPolicyWriter) PatchCiliumNetworkPolicy(ctx context.Context, obj *v2.CiliumNetworkPolicy, patch client.Patch, opts ...client.PatchOption) error

PatchCiliumNetworkPolicy mocks base method.

func (*MockCiliumNetworkPolicyWriter) UpdateCiliumNetworkPolicy

func (m *MockCiliumNetworkPolicyWriter) UpdateCiliumNetworkPolicy(ctx context.Context, obj *v2.CiliumNetworkPolicy, opts ...client.UpdateOption) error

UpdateCiliumNetworkPolicy mocks base method.

func (*MockCiliumNetworkPolicyWriter) UpsertCiliumNetworkPolicy

func (m *MockCiliumNetworkPolicyWriter) UpsertCiliumNetworkPolicy(ctx context.Context, obj *v2.CiliumNetworkPolicy, transitionFuncs ...v20.CiliumNetworkPolicyTransitionFunction) error

UpsertCiliumNetworkPolicy mocks base method.

type MockCiliumNetworkPolicyWriterMockRecorder

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

MockCiliumNetworkPolicyWriterMockRecorder is the mock recorder for MockCiliumNetworkPolicyWriter.

func (*MockCiliumNetworkPolicyWriterMockRecorder) CreateCiliumNetworkPolicy

func (mr *MockCiliumNetworkPolicyWriterMockRecorder) CreateCiliumNetworkPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call

CreateCiliumNetworkPolicy indicates an expected call of CreateCiliumNetworkPolicy.

func (*MockCiliumNetworkPolicyWriterMockRecorder) DeleteAllOfCiliumNetworkPolicy

func (mr *MockCiliumNetworkPolicyWriterMockRecorder) DeleteAllOfCiliumNetworkPolicy(ctx interface{}, opts ...interface{}) *gomock.Call

DeleteAllOfCiliumNetworkPolicy indicates an expected call of DeleteAllOfCiliumNetworkPolicy.

func (*MockCiliumNetworkPolicyWriterMockRecorder) DeleteCiliumNetworkPolicy

func (mr *MockCiliumNetworkPolicyWriterMockRecorder) DeleteCiliumNetworkPolicy(ctx, key interface{}, opts ...interface{}) *gomock.Call

DeleteCiliumNetworkPolicy indicates an expected call of DeleteCiliumNetworkPolicy.

func (*MockCiliumNetworkPolicyWriterMockRecorder) PatchCiliumNetworkPolicy

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

PatchCiliumNetworkPolicy indicates an expected call of PatchCiliumNetworkPolicy.

func (*MockCiliumNetworkPolicyWriterMockRecorder) UpdateCiliumNetworkPolicy

func (mr *MockCiliumNetworkPolicyWriterMockRecorder) UpdateCiliumNetworkPolicy(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateCiliumNetworkPolicy indicates an expected call of UpdateCiliumNetworkPolicy.

func (*MockCiliumNetworkPolicyWriterMockRecorder) UpsertCiliumNetworkPolicy

func (mr *MockCiliumNetworkPolicyWriterMockRecorder) UpsertCiliumNetworkPolicy(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call

UpsertCiliumNetworkPolicy indicates an expected call of UpsertCiliumNetworkPolicy.

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) CiliumNetworkPolicies

func (m *MockClientset) CiliumNetworkPolicies() v20.CiliumNetworkPolicyClient

CiliumNetworkPolicies 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) CiliumNetworkPolicies

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

CiliumNetworkPolicies indicates an expected call of CiliumNetworkPolicies.

type MockMulticlusterCiliumNetworkPolicyClient

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

MockMulticlusterCiliumNetworkPolicyClient is a mock of MulticlusterCiliumNetworkPolicyClient interface.

func NewMockMulticlusterCiliumNetworkPolicyClient

func NewMockMulticlusterCiliumNetworkPolicyClient(ctrl *gomock.Controller) *MockMulticlusterCiliumNetworkPolicyClient

NewMockMulticlusterCiliumNetworkPolicyClient creates a new mock instance.

func (*MockMulticlusterCiliumNetworkPolicyClient) Cluster

Cluster mocks base method.

func (*MockMulticlusterCiliumNetworkPolicyClient) EXPECT

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

type MockMulticlusterCiliumNetworkPolicyClientMockRecorder

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

MockMulticlusterCiliumNetworkPolicyClientMockRecorder is the mock recorder for MockMulticlusterCiliumNetworkPolicyClient.

func (*MockMulticlusterCiliumNetworkPolicyClientMockRecorder) Cluster

func (mr *MockMulticlusterCiliumNetworkPolicyClientMockRecorder) 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) (v20.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