mock_v1alpha1

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_v1alpha1 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) TrafficSplits

func (m *MockClientset) TrafficSplits() v1alpha10.TrafficSplitClient

TrafficSplits mocks base method.

type MockClientsetMockRecorder

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

MockClientsetMockRecorder is the mock recorder for MockClientset.

func (*MockClientsetMockRecorder) TrafficSplits

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

TrafficSplits indicates an expected call of TrafficSplits.

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) (v1alpha10.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 MockMulticlusterTrafficSplitClient

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

MockMulticlusterTrafficSplitClient is a mock of MulticlusterTrafficSplitClient interface.

func NewMockMulticlusterTrafficSplitClient

func NewMockMulticlusterTrafficSplitClient(ctrl *gomock.Controller) *MockMulticlusterTrafficSplitClient

NewMockMulticlusterTrafficSplitClient creates a new mock instance.

func (*MockMulticlusterTrafficSplitClient) Cluster

Cluster mocks base method.

func (*MockMulticlusterTrafficSplitClient) EXPECT

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

type MockMulticlusterTrafficSplitClientMockRecorder

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

MockMulticlusterTrafficSplitClientMockRecorder is the mock recorder for MockMulticlusterTrafficSplitClient.

func (*MockMulticlusterTrafficSplitClientMockRecorder) Cluster

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

Cluster indicates an expected call of Cluster.

type MockTrafficSplitClient

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

MockTrafficSplitClient is a mock of TrafficSplitClient interface.

func NewMockTrafficSplitClient

func NewMockTrafficSplitClient(ctrl *gomock.Controller) *MockTrafficSplitClient

NewMockTrafficSplitClient creates a new mock instance.

func (*MockTrafficSplitClient) CreateTrafficSplit

func (m *MockTrafficSplitClient) CreateTrafficSplit(ctx context.Context, obj *v1alpha1.TrafficSplit, opts ...client.CreateOption) error

CreateTrafficSplit mocks base method.

func (*MockTrafficSplitClient) DeleteAllOfTrafficSplit

func (m *MockTrafficSplitClient) DeleteAllOfTrafficSplit(ctx context.Context, opts ...client.DeleteAllOfOption) error

DeleteAllOfTrafficSplit mocks base method.

func (*MockTrafficSplitClient) DeleteTrafficSplit

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

DeleteTrafficSplit mocks base method.

func (*MockTrafficSplitClient) EXPECT

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

func (*MockTrafficSplitClient) GetTrafficSplit

GetTrafficSplit mocks base method.

func (*MockTrafficSplitClient) ListTrafficSplit

func (m *MockTrafficSplitClient) ListTrafficSplit(ctx context.Context, opts ...client.ListOption) (*v1alpha1.TrafficSplitList, error)

ListTrafficSplit mocks base method.

func (*MockTrafficSplitClient) PatchTrafficSplit

func (m *MockTrafficSplitClient) PatchTrafficSplit(ctx context.Context, obj *v1alpha1.TrafficSplit, patch client.Patch, opts ...client.PatchOption) error

PatchTrafficSplit mocks base method.

func (*MockTrafficSplitClient) PatchTrafficSplitStatus

func (m *MockTrafficSplitClient) PatchTrafficSplitStatus(ctx context.Context, obj *v1alpha1.TrafficSplit, patch client.Patch, opts ...client.SubResourcePatchOption) error

PatchTrafficSplitStatus mocks base method.

func (*MockTrafficSplitClient) UpdateTrafficSplit

func (m *MockTrafficSplitClient) UpdateTrafficSplit(ctx context.Context, obj *v1alpha1.TrafficSplit, opts ...client.UpdateOption) error

UpdateTrafficSplit mocks base method.

func (*MockTrafficSplitClient) UpdateTrafficSplitStatus

func (m *MockTrafficSplitClient) UpdateTrafficSplitStatus(ctx context.Context, obj *v1alpha1.TrafficSplit, opts ...client.SubResourceUpdateOption) error

UpdateTrafficSplitStatus mocks base method.

func (*MockTrafficSplitClient) UpsertTrafficSplit

func (m *MockTrafficSplitClient) UpsertTrafficSplit(ctx context.Context, obj *v1alpha1.TrafficSplit, transitionFuncs ...v1alpha10.TrafficSplitTransitionFunction) error

UpsertTrafficSplit mocks base method.

type MockTrafficSplitClientMockRecorder

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

MockTrafficSplitClientMockRecorder is the mock recorder for MockTrafficSplitClient.

func (*MockTrafficSplitClientMockRecorder) CreateTrafficSplit

func (mr *MockTrafficSplitClientMockRecorder) CreateTrafficSplit(ctx, obj interface{}, opts ...interface{}) *gomock.Call

CreateTrafficSplit indicates an expected call of CreateTrafficSplit.

func (*MockTrafficSplitClientMockRecorder) DeleteAllOfTrafficSplit

func (mr *MockTrafficSplitClientMockRecorder) DeleteAllOfTrafficSplit(ctx interface{}, opts ...interface{}) *gomock.Call

DeleteAllOfTrafficSplit indicates an expected call of DeleteAllOfTrafficSplit.

func (*MockTrafficSplitClientMockRecorder) DeleteTrafficSplit

func (mr *MockTrafficSplitClientMockRecorder) DeleteTrafficSplit(ctx, key interface{}, opts ...interface{}) *gomock.Call

DeleteTrafficSplit indicates an expected call of DeleteTrafficSplit.

func (*MockTrafficSplitClientMockRecorder) GetTrafficSplit

func (mr *MockTrafficSplitClientMockRecorder) GetTrafficSplit(ctx, key interface{}) *gomock.Call

GetTrafficSplit indicates an expected call of GetTrafficSplit.

func (*MockTrafficSplitClientMockRecorder) ListTrafficSplit

func (mr *MockTrafficSplitClientMockRecorder) ListTrafficSplit(ctx interface{}, opts ...interface{}) *gomock.Call

ListTrafficSplit indicates an expected call of ListTrafficSplit.

func (*MockTrafficSplitClientMockRecorder) PatchTrafficSplit

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

PatchTrafficSplit indicates an expected call of PatchTrafficSplit.

func (*MockTrafficSplitClientMockRecorder) PatchTrafficSplitStatus

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

PatchTrafficSplitStatus indicates an expected call of PatchTrafficSplitStatus.

func (*MockTrafficSplitClientMockRecorder) UpdateTrafficSplit

func (mr *MockTrafficSplitClientMockRecorder) UpdateTrafficSplit(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateTrafficSplit indicates an expected call of UpdateTrafficSplit.

func (*MockTrafficSplitClientMockRecorder) UpdateTrafficSplitStatus

func (mr *MockTrafficSplitClientMockRecorder) UpdateTrafficSplitStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateTrafficSplitStatus indicates an expected call of UpdateTrafficSplitStatus.

func (*MockTrafficSplitClientMockRecorder) UpsertTrafficSplit

func (mr *MockTrafficSplitClientMockRecorder) UpsertTrafficSplit(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call

UpsertTrafficSplit indicates an expected call of UpsertTrafficSplit.

type MockTrafficSplitReader

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

MockTrafficSplitReader is a mock of TrafficSplitReader interface.

func NewMockTrafficSplitReader

func NewMockTrafficSplitReader(ctrl *gomock.Controller) *MockTrafficSplitReader

NewMockTrafficSplitReader creates a new mock instance.

func (*MockTrafficSplitReader) EXPECT

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

func (*MockTrafficSplitReader) GetTrafficSplit

GetTrafficSplit mocks base method.

func (*MockTrafficSplitReader) ListTrafficSplit

func (m *MockTrafficSplitReader) ListTrafficSplit(ctx context.Context, opts ...client.ListOption) (*v1alpha1.TrafficSplitList, error)

ListTrafficSplit mocks base method.

type MockTrafficSplitReaderMockRecorder

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

MockTrafficSplitReaderMockRecorder is the mock recorder for MockTrafficSplitReader.

func (*MockTrafficSplitReaderMockRecorder) GetTrafficSplit

func (mr *MockTrafficSplitReaderMockRecorder) GetTrafficSplit(ctx, key interface{}) *gomock.Call

GetTrafficSplit indicates an expected call of GetTrafficSplit.

func (*MockTrafficSplitReaderMockRecorder) ListTrafficSplit

func (mr *MockTrafficSplitReaderMockRecorder) ListTrafficSplit(ctx interface{}, opts ...interface{}) *gomock.Call

ListTrafficSplit indicates an expected call of ListTrafficSplit.

type MockTrafficSplitStatusWriter

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

MockTrafficSplitStatusWriter is a mock of TrafficSplitStatusWriter interface.

func NewMockTrafficSplitStatusWriter

func NewMockTrafficSplitStatusWriter(ctrl *gomock.Controller) *MockTrafficSplitStatusWriter

NewMockTrafficSplitStatusWriter creates a new mock instance.

func (*MockTrafficSplitStatusWriter) EXPECT

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

func (*MockTrafficSplitStatusWriter) PatchTrafficSplitStatus

func (m *MockTrafficSplitStatusWriter) PatchTrafficSplitStatus(ctx context.Context, obj *v1alpha1.TrafficSplit, patch client.Patch, opts ...client.SubResourcePatchOption) error

PatchTrafficSplitStatus mocks base method.

func (*MockTrafficSplitStatusWriter) UpdateTrafficSplitStatus

func (m *MockTrafficSplitStatusWriter) UpdateTrafficSplitStatus(ctx context.Context, obj *v1alpha1.TrafficSplit, opts ...client.SubResourceUpdateOption) error

UpdateTrafficSplitStatus mocks base method.

type MockTrafficSplitStatusWriterMockRecorder

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

MockTrafficSplitStatusWriterMockRecorder is the mock recorder for MockTrafficSplitStatusWriter.

func (*MockTrafficSplitStatusWriterMockRecorder) PatchTrafficSplitStatus

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

PatchTrafficSplitStatus indicates an expected call of PatchTrafficSplitStatus.

func (*MockTrafficSplitStatusWriterMockRecorder) UpdateTrafficSplitStatus

func (mr *MockTrafficSplitStatusWriterMockRecorder) UpdateTrafficSplitStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateTrafficSplitStatus indicates an expected call of UpdateTrafficSplitStatus.

type MockTrafficSplitWriter

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

MockTrafficSplitWriter is a mock of TrafficSplitWriter interface.

func NewMockTrafficSplitWriter

func NewMockTrafficSplitWriter(ctrl *gomock.Controller) *MockTrafficSplitWriter

NewMockTrafficSplitWriter creates a new mock instance.

func (*MockTrafficSplitWriter) CreateTrafficSplit

func (m *MockTrafficSplitWriter) CreateTrafficSplit(ctx context.Context, obj *v1alpha1.TrafficSplit, opts ...client.CreateOption) error

CreateTrafficSplit mocks base method.

func (*MockTrafficSplitWriter) DeleteAllOfTrafficSplit

func (m *MockTrafficSplitWriter) DeleteAllOfTrafficSplit(ctx context.Context, opts ...client.DeleteAllOfOption) error

DeleteAllOfTrafficSplit mocks base method.

func (*MockTrafficSplitWriter) DeleteTrafficSplit

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

DeleteTrafficSplit mocks base method.

func (*MockTrafficSplitWriter) EXPECT

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

func (*MockTrafficSplitWriter) PatchTrafficSplit

func (m *MockTrafficSplitWriter) PatchTrafficSplit(ctx context.Context, obj *v1alpha1.TrafficSplit, patch client.Patch, opts ...client.PatchOption) error

PatchTrafficSplit mocks base method.

func (*MockTrafficSplitWriter) UpdateTrafficSplit

func (m *MockTrafficSplitWriter) UpdateTrafficSplit(ctx context.Context, obj *v1alpha1.TrafficSplit, opts ...client.UpdateOption) error

UpdateTrafficSplit mocks base method.

func (*MockTrafficSplitWriter) UpsertTrafficSplit

func (m *MockTrafficSplitWriter) UpsertTrafficSplit(ctx context.Context, obj *v1alpha1.TrafficSplit, transitionFuncs ...v1alpha10.TrafficSplitTransitionFunction) error

UpsertTrafficSplit mocks base method.

type MockTrafficSplitWriterMockRecorder

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

MockTrafficSplitWriterMockRecorder is the mock recorder for MockTrafficSplitWriter.

func (*MockTrafficSplitWriterMockRecorder) CreateTrafficSplit

func (mr *MockTrafficSplitWriterMockRecorder) CreateTrafficSplit(ctx, obj interface{}, opts ...interface{}) *gomock.Call

CreateTrafficSplit indicates an expected call of CreateTrafficSplit.

func (*MockTrafficSplitWriterMockRecorder) DeleteAllOfTrafficSplit

func (mr *MockTrafficSplitWriterMockRecorder) DeleteAllOfTrafficSplit(ctx interface{}, opts ...interface{}) *gomock.Call

DeleteAllOfTrafficSplit indicates an expected call of DeleteAllOfTrafficSplit.

func (*MockTrafficSplitWriterMockRecorder) DeleteTrafficSplit

func (mr *MockTrafficSplitWriterMockRecorder) DeleteTrafficSplit(ctx, key interface{}, opts ...interface{}) *gomock.Call

DeleteTrafficSplit indicates an expected call of DeleteTrafficSplit.

func (*MockTrafficSplitWriterMockRecorder) PatchTrafficSplit

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

PatchTrafficSplit indicates an expected call of PatchTrafficSplit.

func (*MockTrafficSplitWriterMockRecorder) UpdateTrafficSplit

func (mr *MockTrafficSplitWriterMockRecorder) UpdateTrafficSplit(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateTrafficSplit indicates an expected call of UpdateTrafficSplit.

func (*MockTrafficSplitWriterMockRecorder) UpsertTrafficSplit

func (mr *MockTrafficSplitWriterMockRecorder) UpsertTrafficSplit(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call

UpsertTrafficSplit indicates an expected call of UpsertTrafficSplit.

Jump to

Keyboard shortcuts

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