mock_v1alpha1

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 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) Telemetries

func (m *MockClientset) Telemetries() v1alpha1.TelemetryClient

Telemetries mocks base method.

type MockClientsetMockRecorder

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

MockClientsetMockRecorder is the mock recorder for MockClientset.

func (*MockClientsetMockRecorder) Telemetries

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

Telemetries indicates an expected call of Telemetries.

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) (v1alpha1.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 MockMulticlusterTelemetryClient

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

MockMulticlusterTelemetryClient is a mock of MulticlusterTelemetryClient interface.

func NewMockMulticlusterTelemetryClient

func NewMockMulticlusterTelemetryClient(ctrl *gomock.Controller) *MockMulticlusterTelemetryClient

NewMockMulticlusterTelemetryClient creates a new mock instance.

func (*MockMulticlusterTelemetryClient) Cluster

Cluster mocks base method.

func (*MockMulticlusterTelemetryClient) EXPECT

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

type MockMulticlusterTelemetryClientMockRecorder

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

MockMulticlusterTelemetryClientMockRecorder is the mock recorder for MockMulticlusterTelemetryClient.

func (*MockMulticlusterTelemetryClientMockRecorder) Cluster

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

Cluster indicates an expected call of Cluster.

type MockTelemetryClient

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

MockTelemetryClient is a mock of TelemetryClient interface.

func NewMockTelemetryClient

func NewMockTelemetryClient(ctrl *gomock.Controller) *MockTelemetryClient

NewMockTelemetryClient creates a new mock instance.

func (*MockTelemetryClient) CreateTelemetry

func (m *MockTelemetryClient) CreateTelemetry(ctx context.Context, obj *v1alpha10.Telemetry, opts ...client.CreateOption) error

CreateTelemetry mocks base method.

func (*MockTelemetryClient) DeleteAllOfTelemetry

func (m *MockTelemetryClient) DeleteAllOfTelemetry(ctx context.Context, opts ...client.DeleteAllOfOption) error

DeleteAllOfTelemetry mocks base method.

func (*MockTelemetryClient) DeleteTelemetry

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

DeleteTelemetry mocks base method.

func (*MockTelemetryClient) EXPECT

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

func (*MockTelemetryClient) GetTelemetry

GetTelemetry mocks base method.

func (*MockTelemetryClient) ListTelemetry

func (m *MockTelemetryClient) ListTelemetry(ctx context.Context, opts ...client.ListOption) (*v1alpha10.TelemetryList, error)

ListTelemetry mocks base method.

func (*MockTelemetryClient) PatchTelemetry

func (m *MockTelemetryClient) PatchTelemetry(ctx context.Context, obj *v1alpha10.Telemetry, patch client.Patch, opts ...client.PatchOption) error

PatchTelemetry mocks base method.

func (*MockTelemetryClient) PatchTelemetryStatus

func (m *MockTelemetryClient) PatchTelemetryStatus(ctx context.Context, obj *v1alpha10.Telemetry, patch client.Patch, opts ...client.SubResourcePatchOption) error

PatchTelemetryStatus mocks base method.

func (*MockTelemetryClient) UpdateTelemetry

func (m *MockTelemetryClient) UpdateTelemetry(ctx context.Context, obj *v1alpha10.Telemetry, opts ...client.UpdateOption) error

UpdateTelemetry mocks base method.

func (*MockTelemetryClient) UpdateTelemetryStatus

func (m *MockTelemetryClient) UpdateTelemetryStatus(ctx context.Context, obj *v1alpha10.Telemetry, opts ...client.SubResourceUpdateOption) error

UpdateTelemetryStatus mocks base method.

func (*MockTelemetryClient) UpsertTelemetry

func (m *MockTelemetryClient) UpsertTelemetry(ctx context.Context, obj *v1alpha10.Telemetry, transitionFuncs ...v1alpha1.TelemetryTransitionFunction) error

UpsertTelemetry mocks base method.

type MockTelemetryClientMockRecorder

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

MockTelemetryClientMockRecorder is the mock recorder for MockTelemetryClient.

func (*MockTelemetryClientMockRecorder) CreateTelemetry

func (mr *MockTelemetryClientMockRecorder) CreateTelemetry(ctx, obj interface{}, opts ...interface{}) *gomock.Call

CreateTelemetry indicates an expected call of CreateTelemetry.

func (*MockTelemetryClientMockRecorder) DeleteAllOfTelemetry

func (mr *MockTelemetryClientMockRecorder) DeleteAllOfTelemetry(ctx interface{}, opts ...interface{}) *gomock.Call

DeleteAllOfTelemetry indicates an expected call of DeleteAllOfTelemetry.

func (*MockTelemetryClientMockRecorder) DeleteTelemetry

func (mr *MockTelemetryClientMockRecorder) DeleteTelemetry(ctx, key interface{}, opts ...interface{}) *gomock.Call

DeleteTelemetry indicates an expected call of DeleteTelemetry.

func (*MockTelemetryClientMockRecorder) GetTelemetry

func (mr *MockTelemetryClientMockRecorder) GetTelemetry(ctx, key interface{}) *gomock.Call

GetTelemetry indicates an expected call of GetTelemetry.

func (*MockTelemetryClientMockRecorder) ListTelemetry

func (mr *MockTelemetryClientMockRecorder) ListTelemetry(ctx interface{}, opts ...interface{}) *gomock.Call

ListTelemetry indicates an expected call of ListTelemetry.

func (*MockTelemetryClientMockRecorder) PatchTelemetry

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

PatchTelemetry indicates an expected call of PatchTelemetry.

func (*MockTelemetryClientMockRecorder) PatchTelemetryStatus

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

PatchTelemetryStatus indicates an expected call of PatchTelemetryStatus.

func (*MockTelemetryClientMockRecorder) UpdateTelemetry

func (mr *MockTelemetryClientMockRecorder) UpdateTelemetry(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateTelemetry indicates an expected call of UpdateTelemetry.

func (*MockTelemetryClientMockRecorder) UpdateTelemetryStatus

func (mr *MockTelemetryClientMockRecorder) UpdateTelemetryStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateTelemetryStatus indicates an expected call of UpdateTelemetryStatus.

func (*MockTelemetryClientMockRecorder) UpsertTelemetry

func (mr *MockTelemetryClientMockRecorder) UpsertTelemetry(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call

UpsertTelemetry indicates an expected call of UpsertTelemetry.

type MockTelemetryReader

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

MockTelemetryReader is a mock of TelemetryReader interface.

func NewMockTelemetryReader

func NewMockTelemetryReader(ctrl *gomock.Controller) *MockTelemetryReader

NewMockTelemetryReader creates a new mock instance.

func (*MockTelemetryReader) EXPECT

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

func (*MockTelemetryReader) GetTelemetry

GetTelemetry mocks base method.

func (*MockTelemetryReader) ListTelemetry

func (m *MockTelemetryReader) ListTelemetry(ctx context.Context, opts ...client.ListOption) (*v1alpha10.TelemetryList, error)

ListTelemetry mocks base method.

type MockTelemetryReaderMockRecorder

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

MockTelemetryReaderMockRecorder is the mock recorder for MockTelemetryReader.

func (*MockTelemetryReaderMockRecorder) GetTelemetry

func (mr *MockTelemetryReaderMockRecorder) GetTelemetry(ctx, key interface{}) *gomock.Call

GetTelemetry indicates an expected call of GetTelemetry.

func (*MockTelemetryReaderMockRecorder) ListTelemetry

func (mr *MockTelemetryReaderMockRecorder) ListTelemetry(ctx interface{}, opts ...interface{}) *gomock.Call

ListTelemetry indicates an expected call of ListTelemetry.

type MockTelemetryStatusWriter

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

MockTelemetryStatusWriter is a mock of TelemetryStatusWriter interface.

func NewMockTelemetryStatusWriter

func NewMockTelemetryStatusWriter(ctrl *gomock.Controller) *MockTelemetryStatusWriter

NewMockTelemetryStatusWriter creates a new mock instance.

func (*MockTelemetryStatusWriter) EXPECT

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

func (*MockTelemetryStatusWriter) PatchTelemetryStatus

func (m *MockTelemetryStatusWriter) PatchTelemetryStatus(ctx context.Context, obj *v1alpha10.Telemetry, patch client.Patch, opts ...client.SubResourcePatchOption) error

PatchTelemetryStatus mocks base method.

func (*MockTelemetryStatusWriter) UpdateTelemetryStatus

func (m *MockTelemetryStatusWriter) UpdateTelemetryStatus(ctx context.Context, obj *v1alpha10.Telemetry, opts ...client.SubResourceUpdateOption) error

UpdateTelemetryStatus mocks base method.

type MockTelemetryStatusWriterMockRecorder

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

MockTelemetryStatusWriterMockRecorder is the mock recorder for MockTelemetryStatusWriter.

func (*MockTelemetryStatusWriterMockRecorder) PatchTelemetryStatus

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

PatchTelemetryStatus indicates an expected call of PatchTelemetryStatus.

func (*MockTelemetryStatusWriterMockRecorder) UpdateTelemetryStatus

func (mr *MockTelemetryStatusWriterMockRecorder) UpdateTelemetryStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateTelemetryStatus indicates an expected call of UpdateTelemetryStatus.

type MockTelemetryWriter

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

MockTelemetryWriter is a mock of TelemetryWriter interface.

func NewMockTelemetryWriter

func NewMockTelemetryWriter(ctrl *gomock.Controller) *MockTelemetryWriter

NewMockTelemetryWriter creates a new mock instance.

func (*MockTelemetryWriter) CreateTelemetry

func (m *MockTelemetryWriter) CreateTelemetry(ctx context.Context, obj *v1alpha10.Telemetry, opts ...client.CreateOption) error

CreateTelemetry mocks base method.

func (*MockTelemetryWriter) DeleteAllOfTelemetry

func (m *MockTelemetryWriter) DeleteAllOfTelemetry(ctx context.Context, opts ...client.DeleteAllOfOption) error

DeleteAllOfTelemetry mocks base method.

func (*MockTelemetryWriter) DeleteTelemetry

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

DeleteTelemetry mocks base method.

func (*MockTelemetryWriter) EXPECT

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

func (*MockTelemetryWriter) PatchTelemetry

func (m *MockTelemetryWriter) PatchTelemetry(ctx context.Context, obj *v1alpha10.Telemetry, patch client.Patch, opts ...client.PatchOption) error

PatchTelemetry mocks base method.

func (*MockTelemetryWriter) UpdateTelemetry

func (m *MockTelemetryWriter) UpdateTelemetry(ctx context.Context, obj *v1alpha10.Telemetry, opts ...client.UpdateOption) error

UpdateTelemetry mocks base method.

func (*MockTelemetryWriter) UpsertTelemetry

func (m *MockTelemetryWriter) UpsertTelemetry(ctx context.Context, obj *v1alpha10.Telemetry, transitionFuncs ...v1alpha1.TelemetryTransitionFunction) error

UpsertTelemetry mocks base method.

type MockTelemetryWriterMockRecorder

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

MockTelemetryWriterMockRecorder is the mock recorder for MockTelemetryWriter.

func (*MockTelemetryWriterMockRecorder) CreateTelemetry

func (mr *MockTelemetryWriterMockRecorder) CreateTelemetry(ctx, obj interface{}, opts ...interface{}) *gomock.Call

CreateTelemetry indicates an expected call of CreateTelemetry.

func (*MockTelemetryWriterMockRecorder) DeleteAllOfTelemetry

func (mr *MockTelemetryWriterMockRecorder) DeleteAllOfTelemetry(ctx interface{}, opts ...interface{}) *gomock.Call

DeleteAllOfTelemetry indicates an expected call of DeleteAllOfTelemetry.

func (*MockTelemetryWriterMockRecorder) DeleteTelemetry

func (mr *MockTelemetryWriterMockRecorder) DeleteTelemetry(ctx, key interface{}, opts ...interface{}) *gomock.Call

DeleteTelemetry indicates an expected call of DeleteTelemetry.

func (*MockTelemetryWriterMockRecorder) PatchTelemetry

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

PatchTelemetry indicates an expected call of PatchTelemetry.

func (*MockTelemetryWriterMockRecorder) UpdateTelemetry

func (mr *MockTelemetryWriterMockRecorder) UpdateTelemetry(ctx, obj interface{}, opts ...interface{}) *gomock.Call

UpdateTelemetry indicates an expected call of UpdateTelemetry.

func (*MockTelemetryWriterMockRecorder) UpsertTelemetry

func (mr *MockTelemetryWriterMockRecorder) UpsertTelemetry(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call

UpsertTelemetry indicates an expected call of UpsertTelemetry.

Jump to

Keyboard shortcuts

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