mock_input

package
v1.1.0-beta28 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package mock_input is a generated GoMock package.

Package mock_input is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBuilder

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

MockBuilder is a mock of Builder interface.

func NewMockBuilder

func NewMockBuilder(ctrl *gomock.Controller) *MockBuilder

NewMockBuilder creates a new mock instance.

func (*MockBuilder) BuildSnapshot

func (m *MockBuilder) BuildSnapshot(ctx context.Context, name string, opts input.BuildOptions) (input.Snapshot, error)

BuildSnapshot mocks base method.

func (*MockBuilder) EXPECT

func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder

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

type MockBuilderMockRecorder

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

MockBuilderMockRecorder is the mock recorder for MockBuilder.

func (*MockBuilderMockRecorder) BuildSnapshot

func (mr *MockBuilderMockRecorder) BuildSnapshot(ctx, name, opts interface{}) *gomock.Call

BuildSnapshot indicates an expected call of BuildSnapshot.

type MockSnapshot

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

MockSnapshot is a mock of Snapshot interface.

func NewMockSnapshot

func NewMockSnapshot(ctrl *gomock.Controller) *MockSnapshot

NewMockSnapshot creates a new mock instance.

func (*MockSnapshot) CertificateRequests

func (m *MockSnapshot) CertificateRequests() v1sets.CertificateRequestSet

CertificateRequests mocks base method.

func (*MockSnapshot) Clone added in v1.1.0

func (m *MockSnapshot) Clone() input.Snapshot

Clone mocks base method.

func (*MockSnapshot) EXPECT

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

func (*MockSnapshot) ForEachObject added in v1.1.0

func (m *MockSnapshot) ForEachObject(handleObject func(string, schema.GroupVersionKind, resource.TypedObject))

ForEachObject mocks base method.

func (*MockSnapshot) Generic added in v1.1.0

func (m *MockSnapshot) Generic() resource.ClusterSnapshot

Generic mocks base method.

func (*MockSnapshot) IssuedCertificates

func (m *MockSnapshot) IssuedCertificates() v1sets.IssuedCertificateSet

IssuedCertificates mocks base method.

func (*MockSnapshot) MarshalJSON

func (m *MockSnapshot) MarshalJSON() ([]byte, error)

MarshalJSON mocks base method.

func (*MockSnapshot) SyncStatuses

func (m *MockSnapshot) SyncStatuses(ctx context.Context, c client.Client, opts input.SyncStatusOptions) error

SyncStatuses mocks base method.

func (*MockSnapshot) SyncStatusesMultiCluster

func (m *MockSnapshot) SyncStatusesMultiCluster(ctx context.Context, mcClient multicluster.Client, opts input.SyncStatusOptions) error

SyncStatusesMultiCluster mocks base method.

type MockSnapshotMockRecorder

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

MockSnapshotMockRecorder is the mock recorder for MockSnapshot.

func (*MockSnapshotMockRecorder) CertificateRequests

func (mr *MockSnapshotMockRecorder) CertificateRequests() *gomock.Call

CertificateRequests indicates an expected call of CertificateRequests.

func (*MockSnapshotMockRecorder) Clone added in v1.1.0

func (mr *MockSnapshotMockRecorder) Clone() *gomock.Call

Clone indicates an expected call of Clone.

func (*MockSnapshotMockRecorder) ForEachObject added in v1.1.0

func (mr *MockSnapshotMockRecorder) ForEachObject(handleObject interface{}) *gomock.Call

ForEachObject indicates an expected call of ForEachObject.

func (*MockSnapshotMockRecorder) Generic added in v1.1.0

func (mr *MockSnapshotMockRecorder) Generic() *gomock.Call

Generic indicates an expected call of Generic.

func (*MockSnapshotMockRecorder) IssuedCertificates

func (mr *MockSnapshotMockRecorder) IssuedCertificates() *gomock.Call

IssuedCertificates indicates an expected call of IssuedCertificates.

func (*MockSnapshotMockRecorder) MarshalJSON

func (mr *MockSnapshotMockRecorder) MarshalJSON() *gomock.Call

MarshalJSON indicates an expected call of MarshalJSON.

func (*MockSnapshotMockRecorder) SyncStatuses

func (mr *MockSnapshotMockRecorder) SyncStatuses(ctx, c, opts interface{}) *gomock.Call

SyncStatuses indicates an expected call of SyncStatuses.

func (*MockSnapshotMockRecorder) SyncStatusesMultiCluster

func (mr *MockSnapshotMockRecorder) SyncStatusesMultiCluster(ctx, mcClient, opts interface{}) *gomock.Call

SyncStatusesMultiCluster indicates an expected call of SyncStatusesMultiCluster.

type MockmultiClusterReconciler

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

MockmultiClusterReconciler is a mock of multiClusterReconciler interface.

func NewMockmultiClusterReconciler

func NewMockmultiClusterReconciler(ctrl *gomock.Controller) *MockmultiClusterReconciler

NewMockmultiClusterReconciler creates a new mock instance.

func (*MockmultiClusterReconciler) EXPECT

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

func (*MockmultiClusterReconciler) ReconcileCertificateRequest

func (m *MockmultiClusterReconciler) ReconcileCertificateRequest(clusterName string, obj *v1.CertificateRequest) (reconcile.Result, error)

ReconcileCertificateRequest mocks base method.

func (*MockmultiClusterReconciler) ReconcileIssuedCertificate

func (m *MockmultiClusterReconciler) ReconcileIssuedCertificate(clusterName string, obj *v1.IssuedCertificate) (reconcile.Result, error)

ReconcileIssuedCertificate mocks base method.

type MockmultiClusterReconcilerMockRecorder

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

MockmultiClusterReconcilerMockRecorder is the mock recorder for MockmultiClusterReconciler.

func (*MockmultiClusterReconcilerMockRecorder) ReconcileCertificateRequest

func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileCertificateRequest(clusterName, obj interface{}) *gomock.Call

ReconcileCertificateRequest indicates an expected call of ReconcileCertificateRequest.

func (*MockmultiClusterReconcilerMockRecorder) ReconcileIssuedCertificate

func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileIssuedCertificate(clusterName, obj interface{}) *gomock.Call

ReconcileIssuedCertificate indicates an expected call of ReconcileIssuedCertificate.

type MocksingleClusterReconciler

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

MocksingleClusterReconciler is a mock of singleClusterReconciler interface.

func NewMocksingleClusterReconciler

func NewMocksingleClusterReconciler(ctrl *gomock.Controller) *MocksingleClusterReconciler

NewMocksingleClusterReconciler creates a new mock instance.

func (*MocksingleClusterReconciler) EXPECT

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

func (*MocksingleClusterReconciler) ReconcileCertificateRequest

func (m *MocksingleClusterReconciler) ReconcileCertificateRequest(obj *v1.CertificateRequest) (reconcile.Result, error)

ReconcileCertificateRequest mocks base method.

func (*MocksingleClusterReconciler) ReconcileIssuedCertificate

func (m *MocksingleClusterReconciler) ReconcileIssuedCertificate(obj *v1.IssuedCertificate) (reconcile.Result, error)

ReconcileIssuedCertificate mocks base method.

type MocksingleClusterReconcilerMockRecorder

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

MocksingleClusterReconcilerMockRecorder is the mock recorder for MocksingleClusterReconciler.

func (*MocksingleClusterReconcilerMockRecorder) ReconcileCertificateRequest

func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileCertificateRequest(obj interface{}) *gomock.Call

ReconcileCertificateRequest indicates an expected call of ReconcileCertificateRequest.

func (*MocksingleClusterReconcilerMockRecorder) ReconcileIssuedCertificate

func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileIssuedCertificate(obj interface{}) *gomock.Call

ReconcileIssuedCertificate indicates an expected call of ReconcileIssuedCertificate.

Jump to

Keyboard shortcuts

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