mock_v1alpha2

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 6 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) TrafficTargets

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

TrafficTargets mocks base method.

type MockClientsetMockRecorder

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

MockClientsetMockRecorder is the mock recorder for MockClientset.

func (*MockClientsetMockRecorder) TrafficTargets

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

TrafficTargets indicates an expected call of TrafficTargets.

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) (v1alpha20.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 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 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 ...v1alpha20.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 ...v1alpha20.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.

Jump to

Keyboard shortcuts

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