mock_input

package
v0.10.10 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 16 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) AccessPolicies

func (m *MockSnapshot) AccessPolicies() v1alpha2sets0.AccessPolicySet

AccessPolicies mocks base method

func (*MockSnapshot) EXPECT

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

func (*MockSnapshot) FailoverServices

func (m *MockSnapshot) FailoverServices() v1alpha2sets0.FailoverServiceSet

FailoverServices mocks base method

func (*MockSnapshot) KubernetesClusters

func (m *MockSnapshot) KubernetesClusters() v1alpha1sets.KubernetesClusterSet

KubernetesClusters mocks base method

func (*MockSnapshot) MarshalJSON

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

MarshalJSON mocks base method

func (*MockSnapshot) Meshes

func (m *MockSnapshot) Meshes() v1alpha2sets.MeshSet

Meshes mocks base method

func (*MockSnapshot) Secrets

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

Secrets mocks base method

func (*MockSnapshot) Settings

func (m *MockSnapshot) Settings() v1alpha2sets1.SettingsSet

Settings 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) TrafficPolicies

func (m *MockSnapshot) TrafficPolicies() v1alpha2sets0.TrafficPolicySet

TrafficPolicies mocks base method

func (*MockSnapshot) TrafficTargets

func (m *MockSnapshot) TrafficTargets() v1alpha2sets.TrafficTargetSet

TrafficTargets mocks base method

func (*MockSnapshot) VirtualMeshes

func (m *MockSnapshot) VirtualMeshes() v1alpha2sets0.VirtualMeshSet

VirtualMeshes mocks base method

func (*MockSnapshot) Workloads

func (m *MockSnapshot) Workloads() v1alpha2sets.WorkloadSet

Workloads mocks base method

type MockSnapshotMockRecorder

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

MockSnapshotMockRecorder is the mock recorder for MockSnapshot

func (*MockSnapshotMockRecorder) AccessPolicies

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

AccessPolicies indicates an expected call of AccessPolicies

func (*MockSnapshotMockRecorder) FailoverServices

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

FailoverServices indicates an expected call of FailoverServices

func (*MockSnapshotMockRecorder) KubernetesClusters

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

KubernetesClusters indicates an expected call of KubernetesClusters

func (*MockSnapshotMockRecorder) MarshalJSON

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

MarshalJSON indicates an expected call of MarshalJSON

func (*MockSnapshotMockRecorder) Meshes

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

Meshes indicates an expected call of Meshes

func (*MockSnapshotMockRecorder) Secrets

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

Secrets indicates an expected call of Secrets

func (*MockSnapshotMockRecorder) Settings

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

Settings indicates an expected call of Settings

func (*MockSnapshotMockRecorder) SyncStatuses

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

SyncStatuses indicates an expected call of SyncStatuses

func (*MockSnapshotMockRecorder) TrafficPolicies

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

TrafficPolicies indicates an expected call of TrafficPolicies

func (*MockSnapshotMockRecorder) TrafficTargets

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

TrafficTargets indicates an expected call of TrafficTargets

func (*MockSnapshotMockRecorder) VirtualMeshes

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

VirtualMeshes indicates an expected call of VirtualMeshes

func (*MockSnapshotMockRecorder) Workloads

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

Workloads indicates an expected call of Workloads

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

func (m *MockmultiClusterReconciler) ReconcileAccessPolicy(clusterName string, obj *v1alpha20.AccessPolicy) (reconcile.Result, error)

ReconcileAccessPolicy mocks base method

func (*MockmultiClusterReconciler) ReconcileFailoverService

func (m *MockmultiClusterReconciler) ReconcileFailoverService(clusterName string, obj *v1alpha20.FailoverService) (reconcile.Result, error)

ReconcileFailoverService mocks base method

func (*MockmultiClusterReconciler) ReconcileKubernetesCluster

func (m *MockmultiClusterReconciler) ReconcileKubernetesCluster(clusterName string, obj *v1alpha1.KubernetesCluster) (reconcile.Result, error)

ReconcileKubernetesCluster mocks base method

func (*MockmultiClusterReconciler) ReconcileMesh

func (m *MockmultiClusterReconciler) ReconcileMesh(clusterName string, obj *v1alpha2.Mesh) (reconcile.Result, error)

ReconcileMesh mocks base method

func (*MockmultiClusterReconciler) ReconcileSecret

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

ReconcileSecret mocks base method

func (*MockmultiClusterReconciler) ReconcileSettings

func (m *MockmultiClusterReconciler) ReconcileSettings(clusterName string, obj *v1alpha21.Settings) (reconcile.Result, error)

ReconcileSettings mocks base method

func (*MockmultiClusterReconciler) ReconcileTrafficPolicy

func (m *MockmultiClusterReconciler) ReconcileTrafficPolicy(clusterName string, obj *v1alpha20.TrafficPolicy) (reconcile.Result, error)

ReconcileTrafficPolicy mocks base method

func (*MockmultiClusterReconciler) ReconcileTrafficTarget

func (m *MockmultiClusterReconciler) ReconcileTrafficTarget(clusterName string, obj *v1alpha2.TrafficTarget) (reconcile.Result, error)

ReconcileTrafficTarget mocks base method

func (*MockmultiClusterReconciler) ReconcileVirtualMesh

func (m *MockmultiClusterReconciler) ReconcileVirtualMesh(clusterName string, obj *v1alpha20.VirtualMesh) (reconcile.Result, error)

ReconcileVirtualMesh mocks base method

func (*MockmultiClusterReconciler) ReconcileWorkload

func (m *MockmultiClusterReconciler) ReconcileWorkload(clusterName string, obj *v1alpha2.Workload) (reconcile.Result, error)

ReconcileWorkload mocks base method

type MockmultiClusterReconcilerMockRecorder

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

MockmultiClusterReconcilerMockRecorder is the mock recorder for MockmultiClusterReconciler

func (*MockmultiClusterReconcilerMockRecorder) ReconcileAccessPolicy

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

ReconcileAccessPolicy indicates an expected call of ReconcileAccessPolicy

func (*MockmultiClusterReconcilerMockRecorder) ReconcileFailoverService

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

ReconcileFailoverService indicates an expected call of ReconcileFailoverService

func (*MockmultiClusterReconcilerMockRecorder) ReconcileKubernetesCluster

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

ReconcileKubernetesCluster indicates an expected call of ReconcileKubernetesCluster

func (*MockmultiClusterReconcilerMockRecorder) ReconcileMesh

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

ReconcileMesh indicates an expected call of ReconcileMesh

func (*MockmultiClusterReconcilerMockRecorder) ReconcileSecret

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

ReconcileSecret indicates an expected call of ReconcileSecret

func (*MockmultiClusterReconcilerMockRecorder) ReconcileSettings

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

ReconcileSettings indicates an expected call of ReconcileSettings

func (*MockmultiClusterReconcilerMockRecorder) ReconcileTrafficPolicy

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

ReconcileTrafficPolicy indicates an expected call of ReconcileTrafficPolicy

func (*MockmultiClusterReconcilerMockRecorder) ReconcileTrafficTarget

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

ReconcileTrafficTarget indicates an expected call of ReconcileTrafficTarget

func (*MockmultiClusterReconcilerMockRecorder) ReconcileVirtualMesh

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

ReconcileVirtualMesh indicates an expected call of ReconcileVirtualMesh

func (*MockmultiClusterReconcilerMockRecorder) ReconcileWorkload

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

ReconcileWorkload indicates an expected call of ReconcileWorkload

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

func (m *MocksingleClusterReconciler) ReconcileAccessPolicy(obj *v1alpha20.AccessPolicy) (reconcile.Result, error)

ReconcileAccessPolicy mocks base method

func (*MocksingleClusterReconciler) ReconcileFailoverService

func (m *MocksingleClusterReconciler) ReconcileFailoverService(obj *v1alpha20.FailoverService) (reconcile.Result, error)

ReconcileFailoverService mocks base method

func (*MocksingleClusterReconciler) ReconcileKubernetesCluster

func (m *MocksingleClusterReconciler) ReconcileKubernetesCluster(obj *v1alpha1.KubernetesCluster) (reconcile.Result, error)

ReconcileKubernetesCluster mocks base method

func (*MocksingleClusterReconciler) ReconcileMesh

func (m *MocksingleClusterReconciler) ReconcileMesh(obj *v1alpha2.Mesh) (reconcile.Result, error)

ReconcileMesh mocks base method

func (*MocksingleClusterReconciler) ReconcileSecret

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

ReconcileSecret mocks base method

func (*MocksingleClusterReconciler) ReconcileSettings

func (m *MocksingleClusterReconciler) ReconcileSettings(obj *v1alpha21.Settings) (reconcile.Result, error)

ReconcileSettings mocks base method

func (*MocksingleClusterReconciler) ReconcileTrafficPolicy

func (m *MocksingleClusterReconciler) ReconcileTrafficPolicy(obj *v1alpha20.TrafficPolicy) (reconcile.Result, error)

ReconcileTrafficPolicy mocks base method

func (*MocksingleClusterReconciler) ReconcileTrafficTarget

func (m *MocksingleClusterReconciler) ReconcileTrafficTarget(obj *v1alpha2.TrafficTarget) (reconcile.Result, error)

ReconcileTrafficTarget mocks base method

func (*MocksingleClusterReconciler) ReconcileVirtualMesh

func (m *MocksingleClusterReconciler) ReconcileVirtualMesh(obj *v1alpha20.VirtualMesh) (reconcile.Result, error)

ReconcileVirtualMesh mocks base method

func (*MocksingleClusterReconciler) ReconcileWorkload

func (m *MocksingleClusterReconciler) ReconcileWorkload(obj *v1alpha2.Workload) (reconcile.Result, error)

ReconcileWorkload mocks base method

type MocksingleClusterReconcilerMockRecorder

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

MocksingleClusterReconcilerMockRecorder is the mock recorder for MocksingleClusterReconciler

func (*MocksingleClusterReconcilerMockRecorder) ReconcileAccessPolicy

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

ReconcileAccessPolicy indicates an expected call of ReconcileAccessPolicy

func (*MocksingleClusterReconcilerMockRecorder) ReconcileFailoverService

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

ReconcileFailoverService indicates an expected call of ReconcileFailoverService

func (*MocksingleClusterReconcilerMockRecorder) ReconcileKubernetesCluster

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

ReconcileKubernetesCluster indicates an expected call of ReconcileKubernetesCluster

func (*MocksingleClusterReconcilerMockRecorder) ReconcileMesh

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

ReconcileMesh indicates an expected call of ReconcileMesh

func (*MocksingleClusterReconcilerMockRecorder) ReconcileSecret

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

ReconcileSecret indicates an expected call of ReconcileSecret

func (*MocksingleClusterReconcilerMockRecorder) ReconcileSettings

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

ReconcileSettings indicates an expected call of ReconcileSettings

func (*MocksingleClusterReconcilerMockRecorder) ReconcileTrafficPolicy

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

ReconcileTrafficPolicy indicates an expected call of ReconcileTrafficPolicy

func (*MocksingleClusterReconcilerMockRecorder) ReconcileTrafficTarget

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

ReconcileTrafficTarget indicates an expected call of ReconcileTrafficTarget

func (*MocksingleClusterReconcilerMockRecorder) ReconcileVirtualMesh

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

ReconcileVirtualMesh indicates an expected call of ReconcileVirtualMesh

func (*MocksingleClusterReconcilerMockRecorder) ReconcileWorkload

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

ReconcileWorkload indicates an expected call of ReconcileWorkload

Jump to

Keyboard shortcuts

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