mock_input

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 13 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() v1sets0.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) ConfigMaps added in v0.12.6

func (m *MockSnapshot) ConfigMaps() v1sets.ConfigMapSet

ConfigMaps 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() v1sets0.IssuedCertificateSet

IssuedCertificates mocks base method.

func (*MockSnapshot) MarshalJSON

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

MarshalJSON mocks base method.

func (*MockSnapshot) PodBounceDirectives

func (m *MockSnapshot) PodBounceDirectives() v1sets0.PodBounceDirectiveSet

PodBounceDirectives mocks base method.

func (*MockSnapshot) Pods

func (m *MockSnapshot) Pods() v1sets.PodSet

Pods mocks base method.

func (*MockSnapshot) Secrets

func (m *MockSnapshot) Secrets() v1sets.SecretSet

Secrets mocks base method.

func (*MockSnapshot) ServiceAccounts added in v1.1.0

func (m *MockSnapshot) ServiceAccounts() v1sets.ServiceAccountSet

ServiceAccounts 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) ConfigMaps added in v0.12.6

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

ConfigMaps indicates an expected call of ConfigMaps.

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) PodBounceDirectives

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

PodBounceDirectives indicates an expected call of PodBounceDirectives.

func (*MockSnapshotMockRecorder) Pods

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

Pods indicates an expected call of Pods.

func (*MockSnapshotMockRecorder) Secrets

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

Secrets indicates an expected call of Secrets.

func (*MockSnapshotMockRecorder) ServiceAccounts added in v1.1.0

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

ServiceAccounts indicates an expected call of ServiceAccounts.

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) ReconcileConfigMap added in v0.12.6

func (m *MockmultiClusterReconciler) ReconcileConfigMap(clusterName string, obj *v10.ConfigMap) (reconcile.Result, error)

ReconcileConfigMap mocks base method.

func (*MockmultiClusterReconciler) ReconcileIssuedCertificate

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

ReconcileIssuedCertificate mocks base method.

func (*MockmultiClusterReconciler) ReconcilePod

func (m *MockmultiClusterReconciler) ReconcilePod(clusterName string, obj *v10.Pod) (reconcile.Result, error)

ReconcilePod mocks base method.

func (*MockmultiClusterReconciler) ReconcilePodBounceDirective

func (m *MockmultiClusterReconciler) ReconcilePodBounceDirective(clusterName string, obj *v1.PodBounceDirective) (reconcile.Result, error)

ReconcilePodBounceDirective mocks base method.

func (*MockmultiClusterReconciler) ReconcileSecret

func (m *MockmultiClusterReconciler) ReconcileSecret(clusterName string, obj *v10.Secret) (reconcile.Result, error)

ReconcileSecret mocks base method.

func (*MockmultiClusterReconciler) ReconcileServiceAccount added in v1.1.0

func (m *MockmultiClusterReconciler) ReconcileServiceAccount(clusterName string, obj *v10.ServiceAccount) (reconcile.Result, error)

ReconcileServiceAccount 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) ReconcileConfigMap added in v0.12.6

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

ReconcileConfigMap indicates an expected call of ReconcileConfigMap.

func (*MockmultiClusterReconcilerMockRecorder) ReconcileIssuedCertificate

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

ReconcileIssuedCertificate indicates an expected call of ReconcileIssuedCertificate.

func (*MockmultiClusterReconcilerMockRecorder) ReconcilePod

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

ReconcilePod indicates an expected call of ReconcilePod.

func (*MockmultiClusterReconcilerMockRecorder) ReconcilePodBounceDirective

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

ReconcilePodBounceDirective indicates an expected call of ReconcilePodBounceDirective.

func (*MockmultiClusterReconcilerMockRecorder) ReconcileSecret

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

ReconcileSecret indicates an expected call of ReconcileSecret.

func (*MockmultiClusterReconcilerMockRecorder) ReconcileServiceAccount added in v1.1.0

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

ReconcileServiceAccount indicates an expected call of ReconcileServiceAccount.

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) ReconcileConfigMap added in v0.12.6

func (m *MocksingleClusterReconciler) ReconcileConfigMap(obj *v10.ConfigMap) (reconcile.Result, error)

ReconcileConfigMap mocks base method.

func (*MocksingleClusterReconciler) ReconcileIssuedCertificate

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

ReconcileIssuedCertificate mocks base method.

func (*MocksingleClusterReconciler) ReconcilePod

func (m *MocksingleClusterReconciler) ReconcilePod(obj *v10.Pod) (reconcile.Result, error)

ReconcilePod mocks base method.

func (*MocksingleClusterReconciler) ReconcilePodBounceDirective

func (m *MocksingleClusterReconciler) ReconcilePodBounceDirective(obj *v1.PodBounceDirective) (reconcile.Result, error)

ReconcilePodBounceDirective mocks base method.

func (*MocksingleClusterReconciler) ReconcileSecret

func (m *MocksingleClusterReconciler) ReconcileSecret(obj *v10.Secret) (reconcile.Result, error)

ReconcileSecret mocks base method.

func (*MocksingleClusterReconciler) ReconcileServiceAccount added in v1.1.0

func (m *MocksingleClusterReconciler) ReconcileServiceAccount(obj *v10.ServiceAccount) (reconcile.Result, error)

ReconcileServiceAccount 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) ReconcileConfigMap added in v0.12.6

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

ReconcileConfigMap indicates an expected call of ReconcileConfigMap.

func (*MocksingleClusterReconcilerMockRecorder) ReconcileIssuedCertificate

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

ReconcileIssuedCertificate indicates an expected call of ReconcileIssuedCertificate.

func (*MocksingleClusterReconcilerMockRecorder) ReconcilePod

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

ReconcilePod indicates an expected call of ReconcilePod.

func (*MocksingleClusterReconcilerMockRecorder) ReconcilePodBounceDirective

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

ReconcilePodBounceDirective indicates an expected call of ReconcilePodBounceDirective.

func (*MocksingleClusterReconcilerMockRecorder) ReconcileSecret

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

ReconcileSecret indicates an expected call of ReconcileSecret.

func (*MocksingleClusterReconcilerMockRecorder) ReconcileServiceAccount added in v1.1.0

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

ReconcileServiceAccount indicates an expected call of ReconcileServiceAccount.

Jump to

Keyboard shortcuts

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