mock_v1alpha2

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_v1alpha2 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) Meshes

func (m *MockClientset) Meshes() v1alpha2.MeshClient

Meshes mocks base method

func (*MockClientset) TrafficTargets

func (m *MockClientset) TrafficTargets() v1alpha2.TrafficTargetClient

TrafficTargets mocks base method

func (*MockClientset) Workloads

func (m *MockClientset) Workloads() v1alpha2.WorkloadClient

Workloads mocks base method

type MockClientsetMockRecorder

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

MockClientsetMockRecorder is the mock recorder for MockClientset

func (*MockClientsetMockRecorder) Meshes

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

Meshes indicates an expected call of Meshes

func (*MockClientsetMockRecorder) TrafficTargets

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

TrafficTargets indicates an expected call of TrafficTargets

func (*MockClientsetMockRecorder) Workloads

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

Workloads indicates an expected call of Workloads

type MockMeshClient

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

MockMeshClient is a mock of MeshClient interface

func NewMockMeshClient

func NewMockMeshClient(ctrl *gomock.Controller) *MockMeshClient

NewMockMeshClient creates a new mock instance

func (*MockMeshClient) CreateMesh

func (m *MockMeshClient) CreateMesh(ctx context.Context, obj *v1alpha2.Mesh, opts ...client.CreateOption) error

CreateMesh mocks base method

func (*MockMeshClient) DeleteAllOfMesh

func (m *MockMeshClient) DeleteAllOfMesh(ctx context.Context, opts ...client.DeleteAllOfOption) error

DeleteAllOfMesh mocks base method

func (*MockMeshClient) DeleteMesh

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

DeleteMesh mocks base method

func (*MockMeshClient) EXPECT

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

func (*MockMeshClient) GetMesh

func (m *MockMeshClient) GetMesh(ctx context.Context, key client.ObjectKey) (*v1alpha2.Mesh, error)

GetMesh mocks base method

func (*MockMeshClient) ListMesh

func (m *MockMeshClient) ListMesh(ctx context.Context, opts ...client.ListOption) (*v1alpha2.MeshList, error)

ListMesh mocks base method

func (*MockMeshClient) PatchMesh

func (m *MockMeshClient) PatchMesh(ctx context.Context, obj *v1alpha2.Mesh, patch client.Patch, opts ...client.PatchOption) error

PatchMesh mocks base method

func (*MockMeshClient) PatchMeshStatus

func (m *MockMeshClient) PatchMeshStatus(ctx context.Context, obj *v1alpha2.Mesh, patch client.Patch, opts ...client.PatchOption) error

PatchMeshStatus mocks base method

func (*MockMeshClient) UpdateMesh

func (m *MockMeshClient) UpdateMesh(ctx context.Context, obj *v1alpha2.Mesh, opts ...client.UpdateOption) error

UpdateMesh mocks base method

func (*MockMeshClient) UpdateMeshStatus

func (m *MockMeshClient) UpdateMeshStatus(ctx context.Context, obj *v1alpha2.Mesh, opts ...client.UpdateOption) error

UpdateMeshStatus mocks base method

func (*MockMeshClient) UpsertMesh

func (m *MockMeshClient) UpsertMesh(ctx context.Context, obj *v1alpha2.Mesh, transitionFuncs ...v1alpha2.MeshTransitionFunction) error

UpsertMesh mocks base method

type MockMeshClientMockRecorder

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

MockMeshClientMockRecorder is the mock recorder for MockMeshClient

func (*MockMeshClientMockRecorder) CreateMesh

func (mr *MockMeshClientMockRecorder) CreateMesh(ctx, obj interface{}, opts ...interface{}) *gomock.Call

CreateMesh indicates an expected call of CreateMesh

func (*MockMeshClientMockRecorder) DeleteAllOfMesh

func (mr *MockMeshClientMockRecorder) DeleteAllOfMesh(ctx interface{}, opts ...interface{}) *gomock.Call

DeleteAllOfMesh indicates an expected call of DeleteAllOfMesh

func (*MockMeshClientMockRecorder) DeleteMesh

func (mr *MockMeshClientMockRecorder) DeleteMesh(ctx, key interface{}, opts ...interface{}) *gomock.Call

DeleteMesh indicates an expected call of DeleteMesh

func (*MockMeshClientMockRecorder) GetMesh

func (mr *MockMeshClientMockRecorder) GetMesh(ctx, key interface{}) *gomock.Call

GetMesh indicates an expected call of GetMesh

func (*MockMeshClientMockRecorder) ListMesh

func (mr *MockMeshClientMockRecorder) ListMesh(ctx interface{}, opts ...interface{}) *gomock.Call

ListMesh indicates an expected call of ListMesh

func (*MockMeshClientMockRecorder) PatchMesh

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

PatchMesh indicates an expected call of PatchMesh

func (*MockMeshClientMockRecorder) PatchMeshStatus

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

PatchMeshStatus indicates an expected call of PatchMeshStatus

func (*MockMeshClientMockRecorder) UpdateMesh

func (mr *MockMeshClientMockRecorder) UpdateMesh(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateMesh indicates an expected call of UpdateMesh

func (*MockMeshClientMockRecorder) UpdateMeshStatus

func (mr *MockMeshClientMockRecorder) UpdateMeshStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateMeshStatus indicates an expected call of UpdateMeshStatus

func (*MockMeshClientMockRecorder) UpsertMesh

func (mr *MockMeshClientMockRecorder) UpsertMesh(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call

UpsertMesh indicates an expected call of UpsertMesh

type MockMeshReader

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

MockMeshReader is a mock of MeshReader interface

func NewMockMeshReader

func NewMockMeshReader(ctrl *gomock.Controller) *MockMeshReader

NewMockMeshReader creates a new mock instance

func (*MockMeshReader) EXPECT

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

func (*MockMeshReader) GetMesh

func (m *MockMeshReader) GetMesh(ctx context.Context, key client.ObjectKey) (*v1alpha2.Mesh, error)

GetMesh mocks base method

func (*MockMeshReader) ListMesh

func (m *MockMeshReader) ListMesh(ctx context.Context, opts ...client.ListOption) (*v1alpha2.MeshList, error)

ListMesh mocks base method

type MockMeshReaderMockRecorder

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

MockMeshReaderMockRecorder is the mock recorder for MockMeshReader

func (*MockMeshReaderMockRecorder) GetMesh

func (mr *MockMeshReaderMockRecorder) GetMesh(ctx, key interface{}) *gomock.Call

GetMesh indicates an expected call of GetMesh

func (*MockMeshReaderMockRecorder) ListMesh

func (mr *MockMeshReaderMockRecorder) ListMesh(ctx interface{}, opts ...interface{}) *gomock.Call

ListMesh indicates an expected call of ListMesh

type MockMeshStatusWriter

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

MockMeshStatusWriter is a mock of MeshStatusWriter interface

func NewMockMeshStatusWriter

func NewMockMeshStatusWriter(ctrl *gomock.Controller) *MockMeshStatusWriter

NewMockMeshStatusWriter creates a new mock instance

func (*MockMeshStatusWriter) EXPECT

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

func (*MockMeshStatusWriter) PatchMeshStatus

func (m *MockMeshStatusWriter) PatchMeshStatus(ctx context.Context, obj *v1alpha2.Mesh, patch client.Patch, opts ...client.PatchOption) error

PatchMeshStatus mocks base method

func (*MockMeshStatusWriter) UpdateMeshStatus

func (m *MockMeshStatusWriter) UpdateMeshStatus(ctx context.Context, obj *v1alpha2.Mesh, opts ...client.UpdateOption) error

UpdateMeshStatus mocks base method

type MockMeshStatusWriterMockRecorder

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

MockMeshStatusWriterMockRecorder is the mock recorder for MockMeshStatusWriter

func (*MockMeshStatusWriterMockRecorder) PatchMeshStatus

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

PatchMeshStatus indicates an expected call of PatchMeshStatus

func (*MockMeshStatusWriterMockRecorder) UpdateMeshStatus

func (mr *MockMeshStatusWriterMockRecorder) UpdateMeshStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateMeshStatus indicates an expected call of UpdateMeshStatus

type MockMeshWriter

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

MockMeshWriter is a mock of MeshWriter interface

func NewMockMeshWriter

func NewMockMeshWriter(ctrl *gomock.Controller) *MockMeshWriter

NewMockMeshWriter creates a new mock instance

func (*MockMeshWriter) CreateMesh

func (m *MockMeshWriter) CreateMesh(ctx context.Context, obj *v1alpha2.Mesh, opts ...client.CreateOption) error

CreateMesh mocks base method

func (*MockMeshWriter) DeleteAllOfMesh

func (m *MockMeshWriter) DeleteAllOfMesh(ctx context.Context, opts ...client.DeleteAllOfOption) error

DeleteAllOfMesh mocks base method

func (*MockMeshWriter) DeleteMesh

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

DeleteMesh mocks base method

func (*MockMeshWriter) EXPECT

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

func (*MockMeshWriter) PatchMesh

func (m *MockMeshWriter) PatchMesh(ctx context.Context, obj *v1alpha2.Mesh, patch client.Patch, opts ...client.PatchOption) error

PatchMesh mocks base method

func (*MockMeshWriter) UpdateMesh

func (m *MockMeshWriter) UpdateMesh(ctx context.Context, obj *v1alpha2.Mesh, opts ...client.UpdateOption) error

UpdateMesh mocks base method

func (*MockMeshWriter) UpsertMesh

func (m *MockMeshWriter) UpsertMesh(ctx context.Context, obj *v1alpha2.Mesh, transitionFuncs ...v1alpha2.MeshTransitionFunction) error

UpsertMesh mocks base method

type MockMeshWriterMockRecorder

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

MockMeshWriterMockRecorder is the mock recorder for MockMeshWriter

func (*MockMeshWriterMockRecorder) CreateMesh

func (mr *MockMeshWriterMockRecorder) CreateMesh(ctx, obj interface{}, opts ...interface{}) *gomock.Call

CreateMesh indicates an expected call of CreateMesh

func (*MockMeshWriterMockRecorder) DeleteAllOfMesh

func (mr *MockMeshWriterMockRecorder) DeleteAllOfMesh(ctx interface{}, opts ...interface{}) *gomock.Call

DeleteAllOfMesh indicates an expected call of DeleteAllOfMesh

func (*MockMeshWriterMockRecorder) DeleteMesh

func (mr *MockMeshWriterMockRecorder) DeleteMesh(ctx, key interface{}, opts ...interface{}) *gomock.Call

DeleteMesh indicates an expected call of DeleteMesh

func (*MockMeshWriterMockRecorder) PatchMesh

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

PatchMesh indicates an expected call of PatchMesh

func (*MockMeshWriterMockRecorder) UpdateMesh

func (mr *MockMeshWriterMockRecorder) UpdateMesh(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateMesh indicates an expected call of UpdateMesh

func (*MockMeshWriterMockRecorder) UpsertMesh

func (mr *MockMeshWriterMockRecorder) UpsertMesh(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call

UpsertMesh indicates an expected call of UpsertMesh

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) (v1alpha2.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 MockMulticlusterMeshClient

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

MockMulticlusterMeshClient is a mock of MulticlusterMeshClient interface

func NewMockMulticlusterMeshClient

func NewMockMulticlusterMeshClient(ctrl *gomock.Controller) *MockMulticlusterMeshClient

NewMockMulticlusterMeshClient creates a new mock instance

func (*MockMulticlusterMeshClient) Cluster

Cluster mocks base method

func (*MockMulticlusterMeshClient) EXPECT

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

type MockMulticlusterMeshClientMockRecorder

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

MockMulticlusterMeshClientMockRecorder is the mock recorder for MockMulticlusterMeshClient

func (*MockMulticlusterMeshClientMockRecorder) Cluster

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

Cluster indicates an expected call of Cluster

type MockMulticlusterTrafficTargetClient

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

MockMulticlusterTrafficTargetClient is a mock of MulticlusterTrafficTargetClient interface

func NewMockMulticlusterTrafficTargetClient

func NewMockMulticlusterTrafficTargetClient(ctrl *gomock.Controller) *MockMulticlusterTrafficTargetClient

NewMockMulticlusterTrafficTargetClient creates a new mock instance

func (*MockMulticlusterTrafficTargetClient) Cluster

Cluster mocks base method

func (*MockMulticlusterTrafficTargetClient) EXPECT

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

type MockMulticlusterTrafficTargetClientMockRecorder

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

MockMulticlusterTrafficTargetClientMockRecorder is the mock recorder for MockMulticlusterTrafficTargetClient

func (*MockMulticlusterTrafficTargetClientMockRecorder) Cluster

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

Cluster indicates an expected call of Cluster

type MockMulticlusterWorkloadClient

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

MockMulticlusterWorkloadClient is a mock of MulticlusterWorkloadClient interface

func NewMockMulticlusterWorkloadClient

func NewMockMulticlusterWorkloadClient(ctrl *gomock.Controller) *MockMulticlusterWorkloadClient

NewMockMulticlusterWorkloadClient creates a new mock instance

func (*MockMulticlusterWorkloadClient) Cluster

Cluster mocks base method

func (*MockMulticlusterWorkloadClient) EXPECT

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

type MockMulticlusterWorkloadClientMockRecorder

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

MockMulticlusterWorkloadClientMockRecorder is the mock recorder for MockMulticlusterWorkloadClient

func (*MockMulticlusterWorkloadClientMockRecorder) Cluster

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

Cluster indicates an expected call of Cluster

type MockTrafficTargetClient

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

MockTrafficTargetClient is a mock of TrafficTargetClient interface

func NewMockTrafficTargetClient

func NewMockTrafficTargetClient(ctrl *gomock.Controller) *MockTrafficTargetClient

NewMockTrafficTargetClient creates a new mock instance

func (*MockTrafficTargetClient) CreateTrafficTarget

func (m *MockTrafficTargetClient) CreateTrafficTarget(ctx context.Context, obj *v1alpha2.TrafficTarget, opts ...client.CreateOption) error

CreateTrafficTarget mocks base method

func (*MockTrafficTargetClient) DeleteAllOfTrafficTarget

func (m *MockTrafficTargetClient) DeleteAllOfTrafficTarget(ctx context.Context, opts ...client.DeleteAllOfOption) error

DeleteAllOfTrafficTarget mocks base method

func (*MockTrafficTargetClient) DeleteTrafficTarget

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

DeleteTrafficTarget mocks base method

func (*MockTrafficTargetClient) EXPECT

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

func (*MockTrafficTargetClient) GetTrafficTarget

GetTrafficTarget mocks base method

func (*MockTrafficTargetClient) ListTrafficTarget

ListTrafficTarget mocks base method

func (*MockTrafficTargetClient) PatchTrafficTarget

func (m *MockTrafficTargetClient) PatchTrafficTarget(ctx context.Context, obj *v1alpha2.TrafficTarget, patch client.Patch, opts ...client.PatchOption) error

PatchTrafficTarget mocks base method

func (*MockTrafficTargetClient) PatchTrafficTargetStatus

func (m *MockTrafficTargetClient) PatchTrafficTargetStatus(ctx context.Context, obj *v1alpha2.TrafficTarget, patch client.Patch, opts ...client.PatchOption) error

PatchTrafficTargetStatus mocks base method

func (*MockTrafficTargetClient) UpdateTrafficTarget

func (m *MockTrafficTargetClient) UpdateTrafficTarget(ctx context.Context, obj *v1alpha2.TrafficTarget, opts ...client.UpdateOption) error

UpdateTrafficTarget mocks base method

func (*MockTrafficTargetClient) UpdateTrafficTargetStatus

func (m *MockTrafficTargetClient) UpdateTrafficTargetStatus(ctx context.Context, obj *v1alpha2.TrafficTarget, opts ...client.UpdateOption) error

UpdateTrafficTargetStatus mocks base method

func (*MockTrafficTargetClient) UpsertTrafficTarget

func (m *MockTrafficTargetClient) UpsertTrafficTarget(ctx context.Context, obj *v1alpha2.TrafficTarget, transitionFuncs ...v1alpha2.TrafficTargetTransitionFunction) error

UpsertTrafficTarget mocks base method

type MockTrafficTargetClientMockRecorder

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

MockTrafficTargetClientMockRecorder is the mock recorder for MockTrafficTargetClient

func (*MockTrafficTargetClientMockRecorder) CreateTrafficTarget

func (mr *MockTrafficTargetClientMockRecorder) CreateTrafficTarget(ctx, obj interface{}, opts ...interface{}) *gomock.Call

CreateTrafficTarget indicates an expected call of CreateTrafficTarget

func (*MockTrafficTargetClientMockRecorder) DeleteAllOfTrafficTarget

func (mr *MockTrafficTargetClientMockRecorder) DeleteAllOfTrafficTarget(ctx interface{}, opts ...interface{}) *gomock.Call

DeleteAllOfTrafficTarget indicates an expected call of DeleteAllOfTrafficTarget

func (*MockTrafficTargetClientMockRecorder) DeleteTrafficTarget

func (mr *MockTrafficTargetClientMockRecorder) DeleteTrafficTarget(ctx, key interface{}, opts ...interface{}) *gomock.Call

DeleteTrafficTarget indicates an expected call of DeleteTrafficTarget

func (*MockTrafficTargetClientMockRecorder) GetTrafficTarget

func (mr *MockTrafficTargetClientMockRecorder) GetTrafficTarget(ctx, key interface{}) *gomock.Call

GetTrafficTarget indicates an expected call of GetTrafficTarget

func (*MockTrafficTargetClientMockRecorder) ListTrafficTarget

func (mr *MockTrafficTargetClientMockRecorder) ListTrafficTarget(ctx interface{}, opts ...interface{}) *gomock.Call

ListTrafficTarget indicates an expected call of ListTrafficTarget

func (*MockTrafficTargetClientMockRecorder) PatchTrafficTarget

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

PatchTrafficTarget indicates an expected call of PatchTrafficTarget

func (*MockTrafficTargetClientMockRecorder) PatchTrafficTargetStatus

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

PatchTrafficTargetStatus indicates an expected call of PatchTrafficTargetStatus

func (*MockTrafficTargetClientMockRecorder) UpdateTrafficTarget

func (mr *MockTrafficTargetClientMockRecorder) UpdateTrafficTarget(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateTrafficTarget indicates an expected call of UpdateTrafficTarget

func (*MockTrafficTargetClientMockRecorder) UpdateTrafficTargetStatus

func (mr *MockTrafficTargetClientMockRecorder) UpdateTrafficTargetStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateTrafficTargetStatus indicates an expected call of UpdateTrafficTargetStatus

func (*MockTrafficTargetClientMockRecorder) UpsertTrafficTarget

func (mr *MockTrafficTargetClientMockRecorder) UpsertTrafficTarget(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call

UpsertTrafficTarget indicates an expected call of UpsertTrafficTarget

type MockTrafficTargetReader

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

MockTrafficTargetReader is a mock of TrafficTargetReader interface

func NewMockTrafficTargetReader

func NewMockTrafficTargetReader(ctrl *gomock.Controller) *MockTrafficTargetReader

NewMockTrafficTargetReader creates a new mock instance

func (*MockTrafficTargetReader) EXPECT

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

func (*MockTrafficTargetReader) GetTrafficTarget

GetTrafficTarget mocks base method

func (*MockTrafficTargetReader) ListTrafficTarget

ListTrafficTarget mocks base method

type MockTrafficTargetReaderMockRecorder

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

MockTrafficTargetReaderMockRecorder is the mock recorder for MockTrafficTargetReader

func (*MockTrafficTargetReaderMockRecorder) GetTrafficTarget

func (mr *MockTrafficTargetReaderMockRecorder) GetTrafficTarget(ctx, key interface{}) *gomock.Call

GetTrafficTarget indicates an expected call of GetTrafficTarget

func (*MockTrafficTargetReaderMockRecorder) ListTrafficTarget

func (mr *MockTrafficTargetReaderMockRecorder) ListTrafficTarget(ctx interface{}, opts ...interface{}) *gomock.Call

ListTrafficTarget indicates an expected call of ListTrafficTarget

type MockTrafficTargetStatusWriter

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

MockTrafficTargetStatusWriter is a mock of TrafficTargetStatusWriter interface

func NewMockTrafficTargetStatusWriter

func NewMockTrafficTargetStatusWriter(ctrl *gomock.Controller) *MockTrafficTargetStatusWriter

NewMockTrafficTargetStatusWriter creates a new mock instance

func (*MockTrafficTargetStatusWriter) EXPECT

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

func (*MockTrafficTargetStatusWriter) PatchTrafficTargetStatus

func (m *MockTrafficTargetStatusWriter) PatchTrafficTargetStatus(ctx context.Context, obj *v1alpha2.TrafficTarget, patch client.Patch, opts ...client.PatchOption) error

PatchTrafficTargetStatus mocks base method

func (*MockTrafficTargetStatusWriter) UpdateTrafficTargetStatus

func (m *MockTrafficTargetStatusWriter) UpdateTrafficTargetStatus(ctx context.Context, obj *v1alpha2.TrafficTarget, opts ...client.UpdateOption) error

UpdateTrafficTargetStatus mocks base method

type MockTrafficTargetStatusWriterMockRecorder

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

MockTrafficTargetStatusWriterMockRecorder is the mock recorder for MockTrafficTargetStatusWriter

func (*MockTrafficTargetStatusWriterMockRecorder) PatchTrafficTargetStatus

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

PatchTrafficTargetStatus indicates an expected call of PatchTrafficTargetStatus

func (*MockTrafficTargetStatusWriterMockRecorder) UpdateTrafficTargetStatus

func (mr *MockTrafficTargetStatusWriterMockRecorder) UpdateTrafficTargetStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateTrafficTargetStatus indicates an expected call of UpdateTrafficTargetStatus

type MockTrafficTargetWriter

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

MockTrafficTargetWriter is a mock of TrafficTargetWriter interface

func NewMockTrafficTargetWriter

func NewMockTrafficTargetWriter(ctrl *gomock.Controller) *MockTrafficTargetWriter

NewMockTrafficTargetWriter creates a new mock instance

func (*MockTrafficTargetWriter) CreateTrafficTarget

func (m *MockTrafficTargetWriter) CreateTrafficTarget(ctx context.Context, obj *v1alpha2.TrafficTarget, opts ...client.CreateOption) error

CreateTrafficTarget mocks base method

func (*MockTrafficTargetWriter) DeleteAllOfTrafficTarget

func (m *MockTrafficTargetWriter) DeleteAllOfTrafficTarget(ctx context.Context, opts ...client.DeleteAllOfOption) error

DeleteAllOfTrafficTarget mocks base method

func (*MockTrafficTargetWriter) DeleteTrafficTarget

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

DeleteTrafficTarget mocks base method

func (*MockTrafficTargetWriter) EXPECT

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

func (*MockTrafficTargetWriter) PatchTrafficTarget

func (m *MockTrafficTargetWriter) PatchTrafficTarget(ctx context.Context, obj *v1alpha2.TrafficTarget, patch client.Patch, opts ...client.PatchOption) error

PatchTrafficTarget mocks base method

func (*MockTrafficTargetWriter) UpdateTrafficTarget

func (m *MockTrafficTargetWriter) UpdateTrafficTarget(ctx context.Context, obj *v1alpha2.TrafficTarget, opts ...client.UpdateOption) error

UpdateTrafficTarget mocks base method

func (*MockTrafficTargetWriter) UpsertTrafficTarget

func (m *MockTrafficTargetWriter) UpsertTrafficTarget(ctx context.Context, obj *v1alpha2.TrafficTarget, transitionFuncs ...v1alpha2.TrafficTargetTransitionFunction) error

UpsertTrafficTarget mocks base method

type MockTrafficTargetWriterMockRecorder

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

MockTrafficTargetWriterMockRecorder is the mock recorder for MockTrafficTargetWriter

func (*MockTrafficTargetWriterMockRecorder) CreateTrafficTarget

func (mr *MockTrafficTargetWriterMockRecorder) CreateTrafficTarget(ctx, obj interface{}, opts ...interface{}) *gomock.Call

CreateTrafficTarget indicates an expected call of CreateTrafficTarget

func (*MockTrafficTargetWriterMockRecorder) DeleteAllOfTrafficTarget

func (mr *MockTrafficTargetWriterMockRecorder) DeleteAllOfTrafficTarget(ctx interface{}, opts ...interface{}) *gomock.Call

DeleteAllOfTrafficTarget indicates an expected call of DeleteAllOfTrafficTarget

func (*MockTrafficTargetWriterMockRecorder) DeleteTrafficTarget

func (mr *MockTrafficTargetWriterMockRecorder) DeleteTrafficTarget(ctx, key interface{}, opts ...interface{}) *gomock.Call

DeleteTrafficTarget indicates an expected call of DeleteTrafficTarget

func (*MockTrafficTargetWriterMockRecorder) PatchTrafficTarget

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

PatchTrafficTarget indicates an expected call of PatchTrafficTarget

func (*MockTrafficTargetWriterMockRecorder) UpdateTrafficTarget

func (mr *MockTrafficTargetWriterMockRecorder) UpdateTrafficTarget(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateTrafficTarget indicates an expected call of UpdateTrafficTarget

func (*MockTrafficTargetWriterMockRecorder) UpsertTrafficTarget

func (mr *MockTrafficTargetWriterMockRecorder) UpsertTrafficTarget(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call

UpsertTrafficTarget indicates an expected call of UpsertTrafficTarget

type MockWorkloadClient

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

MockWorkloadClient is a mock of WorkloadClient interface

func NewMockWorkloadClient

func NewMockWorkloadClient(ctrl *gomock.Controller) *MockWorkloadClient

NewMockWorkloadClient creates a new mock instance

func (*MockWorkloadClient) CreateWorkload

func (m *MockWorkloadClient) CreateWorkload(ctx context.Context, obj *v1alpha2.Workload, opts ...client.CreateOption) error

CreateWorkload mocks base method

func (*MockWorkloadClient) DeleteAllOfWorkload

func (m *MockWorkloadClient) DeleteAllOfWorkload(ctx context.Context, opts ...client.DeleteAllOfOption) error

DeleteAllOfWorkload mocks base method

func (*MockWorkloadClient) DeleteWorkload

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

DeleteWorkload mocks base method

func (*MockWorkloadClient) EXPECT

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

func (*MockWorkloadClient) GetWorkload

GetWorkload mocks base method

func (*MockWorkloadClient) ListWorkload

func (m *MockWorkloadClient) ListWorkload(ctx context.Context, opts ...client.ListOption) (*v1alpha2.WorkloadList, error)

ListWorkload mocks base method

func (*MockWorkloadClient) PatchWorkload

func (m *MockWorkloadClient) PatchWorkload(ctx context.Context, obj *v1alpha2.Workload, patch client.Patch, opts ...client.PatchOption) error

PatchWorkload mocks base method

func (*MockWorkloadClient) PatchWorkloadStatus

func (m *MockWorkloadClient) PatchWorkloadStatus(ctx context.Context, obj *v1alpha2.Workload, patch client.Patch, opts ...client.PatchOption) error

PatchWorkloadStatus mocks base method

func (*MockWorkloadClient) UpdateWorkload

func (m *MockWorkloadClient) UpdateWorkload(ctx context.Context, obj *v1alpha2.Workload, opts ...client.UpdateOption) error

UpdateWorkload mocks base method

func (*MockWorkloadClient) UpdateWorkloadStatus

func (m *MockWorkloadClient) UpdateWorkloadStatus(ctx context.Context, obj *v1alpha2.Workload, opts ...client.UpdateOption) error

UpdateWorkloadStatus mocks base method

func (*MockWorkloadClient) UpsertWorkload

func (m *MockWorkloadClient) UpsertWorkload(ctx context.Context, obj *v1alpha2.Workload, transitionFuncs ...v1alpha2.WorkloadTransitionFunction) error

UpsertWorkload mocks base method

type MockWorkloadClientMockRecorder

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

MockWorkloadClientMockRecorder is the mock recorder for MockWorkloadClient

func (*MockWorkloadClientMockRecorder) CreateWorkload

func (mr *MockWorkloadClientMockRecorder) CreateWorkload(ctx, obj interface{}, opts ...interface{}) *gomock.Call

CreateWorkload indicates an expected call of CreateWorkload

func (*MockWorkloadClientMockRecorder) DeleteAllOfWorkload

func (mr *MockWorkloadClientMockRecorder) DeleteAllOfWorkload(ctx interface{}, opts ...interface{}) *gomock.Call

DeleteAllOfWorkload indicates an expected call of DeleteAllOfWorkload

func (*MockWorkloadClientMockRecorder) DeleteWorkload

func (mr *MockWorkloadClientMockRecorder) DeleteWorkload(ctx, key interface{}, opts ...interface{}) *gomock.Call

DeleteWorkload indicates an expected call of DeleteWorkload

func (*MockWorkloadClientMockRecorder) GetWorkload

func (mr *MockWorkloadClientMockRecorder) GetWorkload(ctx, key interface{}) *gomock.Call

GetWorkload indicates an expected call of GetWorkload

func (*MockWorkloadClientMockRecorder) ListWorkload

func (mr *MockWorkloadClientMockRecorder) ListWorkload(ctx interface{}, opts ...interface{}) *gomock.Call

ListWorkload indicates an expected call of ListWorkload

func (*MockWorkloadClientMockRecorder) PatchWorkload

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

PatchWorkload indicates an expected call of PatchWorkload

func (*MockWorkloadClientMockRecorder) PatchWorkloadStatus

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

PatchWorkloadStatus indicates an expected call of PatchWorkloadStatus

func (*MockWorkloadClientMockRecorder) UpdateWorkload

func (mr *MockWorkloadClientMockRecorder) UpdateWorkload(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateWorkload indicates an expected call of UpdateWorkload

func (*MockWorkloadClientMockRecorder) UpdateWorkloadStatus

func (mr *MockWorkloadClientMockRecorder) UpdateWorkloadStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateWorkloadStatus indicates an expected call of UpdateWorkloadStatus

func (*MockWorkloadClientMockRecorder) UpsertWorkload

func (mr *MockWorkloadClientMockRecorder) UpsertWorkload(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call

UpsertWorkload indicates an expected call of UpsertWorkload

type MockWorkloadReader

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

MockWorkloadReader is a mock of WorkloadReader interface

func NewMockWorkloadReader

func NewMockWorkloadReader(ctrl *gomock.Controller) *MockWorkloadReader

NewMockWorkloadReader creates a new mock instance

func (*MockWorkloadReader) EXPECT

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

func (*MockWorkloadReader) GetWorkload

GetWorkload mocks base method

func (*MockWorkloadReader) ListWorkload

func (m *MockWorkloadReader) ListWorkload(ctx context.Context, opts ...client.ListOption) (*v1alpha2.WorkloadList, error)

ListWorkload mocks base method

type MockWorkloadReaderMockRecorder

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

MockWorkloadReaderMockRecorder is the mock recorder for MockWorkloadReader

func (*MockWorkloadReaderMockRecorder) GetWorkload

func (mr *MockWorkloadReaderMockRecorder) GetWorkload(ctx, key interface{}) *gomock.Call

GetWorkload indicates an expected call of GetWorkload

func (*MockWorkloadReaderMockRecorder) ListWorkload

func (mr *MockWorkloadReaderMockRecorder) ListWorkload(ctx interface{}, opts ...interface{}) *gomock.Call

ListWorkload indicates an expected call of ListWorkload

type MockWorkloadStatusWriter

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

MockWorkloadStatusWriter is a mock of WorkloadStatusWriter interface

func NewMockWorkloadStatusWriter

func NewMockWorkloadStatusWriter(ctrl *gomock.Controller) *MockWorkloadStatusWriter

NewMockWorkloadStatusWriter creates a new mock instance

func (*MockWorkloadStatusWriter) EXPECT

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

func (*MockWorkloadStatusWriter) PatchWorkloadStatus

func (m *MockWorkloadStatusWriter) PatchWorkloadStatus(ctx context.Context, obj *v1alpha2.Workload, patch client.Patch, opts ...client.PatchOption) error

PatchWorkloadStatus mocks base method

func (*MockWorkloadStatusWriter) UpdateWorkloadStatus

func (m *MockWorkloadStatusWriter) UpdateWorkloadStatus(ctx context.Context, obj *v1alpha2.Workload, opts ...client.UpdateOption) error

UpdateWorkloadStatus mocks base method

type MockWorkloadStatusWriterMockRecorder

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

MockWorkloadStatusWriterMockRecorder is the mock recorder for MockWorkloadStatusWriter

func (*MockWorkloadStatusWriterMockRecorder) PatchWorkloadStatus

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

PatchWorkloadStatus indicates an expected call of PatchWorkloadStatus

func (*MockWorkloadStatusWriterMockRecorder) UpdateWorkloadStatus

func (mr *MockWorkloadStatusWriterMockRecorder) UpdateWorkloadStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateWorkloadStatus indicates an expected call of UpdateWorkloadStatus

type MockWorkloadWriter

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

MockWorkloadWriter is a mock of WorkloadWriter interface

func NewMockWorkloadWriter

func NewMockWorkloadWriter(ctrl *gomock.Controller) *MockWorkloadWriter

NewMockWorkloadWriter creates a new mock instance

func (*MockWorkloadWriter) CreateWorkload

func (m *MockWorkloadWriter) CreateWorkload(ctx context.Context, obj *v1alpha2.Workload, opts ...client.CreateOption) error

CreateWorkload mocks base method

func (*MockWorkloadWriter) DeleteAllOfWorkload

func (m *MockWorkloadWriter) DeleteAllOfWorkload(ctx context.Context, opts ...client.DeleteAllOfOption) error

DeleteAllOfWorkload mocks base method

func (*MockWorkloadWriter) DeleteWorkload

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

DeleteWorkload mocks base method

func (*MockWorkloadWriter) EXPECT

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

func (*MockWorkloadWriter) PatchWorkload

func (m *MockWorkloadWriter) PatchWorkload(ctx context.Context, obj *v1alpha2.Workload, patch client.Patch, opts ...client.PatchOption) error

PatchWorkload mocks base method

func (*MockWorkloadWriter) UpdateWorkload

func (m *MockWorkloadWriter) UpdateWorkload(ctx context.Context, obj *v1alpha2.Workload, opts ...client.UpdateOption) error

UpdateWorkload mocks base method

func (*MockWorkloadWriter) UpsertWorkload

func (m *MockWorkloadWriter) UpsertWorkload(ctx context.Context, obj *v1alpha2.Workload, transitionFuncs ...v1alpha2.WorkloadTransitionFunction) error

UpsertWorkload mocks base method

type MockWorkloadWriterMockRecorder

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

MockWorkloadWriterMockRecorder is the mock recorder for MockWorkloadWriter

func (*MockWorkloadWriterMockRecorder) CreateWorkload

func (mr *MockWorkloadWriterMockRecorder) CreateWorkload(ctx, obj interface{}, opts ...interface{}) *gomock.Call

CreateWorkload indicates an expected call of CreateWorkload

func (*MockWorkloadWriterMockRecorder) DeleteAllOfWorkload

func (mr *MockWorkloadWriterMockRecorder) DeleteAllOfWorkload(ctx interface{}, opts ...interface{}) *gomock.Call

DeleteAllOfWorkload indicates an expected call of DeleteAllOfWorkload

func (*MockWorkloadWriterMockRecorder) DeleteWorkload

func (mr *MockWorkloadWriterMockRecorder) DeleteWorkload(ctx, key interface{}, opts ...interface{}) *gomock.Call

DeleteWorkload indicates an expected call of DeleteWorkload

func (*MockWorkloadWriterMockRecorder) PatchWorkload

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

PatchWorkload indicates an expected call of PatchWorkload

func (*MockWorkloadWriterMockRecorder) UpdateWorkload

func (mr *MockWorkloadWriterMockRecorder) UpdateWorkload(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateWorkload indicates an expected call of UpdateWorkload

func (*MockWorkloadWriterMockRecorder) UpsertWorkload

func (mr *MockWorkloadWriterMockRecorder) UpsertWorkload(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call

UpsertWorkload indicates an expected call of UpsertWorkload

Jump to

Keyboard shortcuts

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