Documentation ¶
Overview ¶
Package mock_input is a generated GoMock package.
Package mock_input is a generated GoMock package.
Index ¶
- type MockBuilder
- type MockBuilderMockRecorder
- type MockSnapshot
- func (m *MockSnapshot) ConfigMaps() v1sets0.ConfigMapSet
- func (m *MockSnapshot) DaemonSets() v1sets.DaemonSetSet
- func (m *MockSnapshot) Deployments() v1sets.DeploymentSet
- func (m *MockSnapshot) EXPECT() *MockSnapshotMockRecorder
- func (m *MockSnapshot) MarshalJSON() ([]byte, error)
- func (m *MockSnapshot) Meshes() v1beta2sets.MeshSet
- func (m *MockSnapshot) Nodes() v1sets0.NodeSet
- func (m *MockSnapshot) Pods() v1sets0.PodSet
- func (m *MockSnapshot) ReplicaSets() v1sets.ReplicaSetSet
- func (m *MockSnapshot) Services() v1sets0.ServiceSet
- func (m *MockSnapshot) StatefulSets() v1sets.StatefulSetSet
- type MockSnapshotMockRecorder
- func (mr *MockSnapshotMockRecorder) ConfigMaps() *gomock.Call
- func (mr *MockSnapshotMockRecorder) DaemonSets() *gomock.Call
- func (mr *MockSnapshotMockRecorder) Deployments() *gomock.Call
- func (mr *MockSnapshotMockRecorder) MarshalJSON() *gomock.Call
- func (mr *MockSnapshotMockRecorder) Meshes() *gomock.Call
- func (mr *MockSnapshotMockRecorder) Nodes() *gomock.Call
- func (mr *MockSnapshotMockRecorder) Pods() *gomock.Call
- func (mr *MockSnapshotMockRecorder) ReplicaSets() *gomock.Call
- func (mr *MockSnapshotMockRecorder) Services() *gomock.Call
- func (mr *MockSnapshotMockRecorder) StatefulSets() *gomock.Call
- type MockmultiClusterReconciler
- func (m *MockmultiClusterReconciler) EXPECT() *MockmultiClusterReconcilerMockRecorder
- func (m *MockmultiClusterReconciler) ReconcileConfigMap(clusterName string, obj *v10.ConfigMap) (reconcile.Result, error)
- func (m *MockmultiClusterReconciler) ReconcileDaemonSet(clusterName string, obj *v1.DaemonSet) (reconcile.Result, error)
- func (m *MockmultiClusterReconciler) ReconcileDeployment(clusterName string, obj *v1.Deployment) (reconcile.Result, error)
- func (m *MockmultiClusterReconciler) ReconcileMesh(clusterName string, obj *v1beta2.Mesh) (reconcile.Result, error)
- func (m *MockmultiClusterReconciler) ReconcileNode(clusterName string, obj *v10.Node) (reconcile.Result, error)
- func (m *MockmultiClusterReconciler) ReconcilePod(clusterName string, obj *v10.Pod) (reconcile.Result, error)
- func (m *MockmultiClusterReconciler) ReconcileReplicaSet(clusterName string, obj *v1.ReplicaSet) (reconcile.Result, error)
- func (m *MockmultiClusterReconciler) ReconcileService(clusterName string, obj *v10.Service) (reconcile.Result, error)
- func (m *MockmultiClusterReconciler) ReconcileStatefulSet(clusterName string, obj *v1.StatefulSet) (reconcile.Result, error)
- type MockmultiClusterReconcilerMockRecorder
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileConfigMap(clusterName, obj interface{}) *gomock.Call
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileDaemonSet(clusterName, obj interface{}) *gomock.Call
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileDeployment(clusterName, obj interface{}) *gomock.Call
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileMesh(clusterName, obj interface{}) *gomock.Call
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileNode(clusterName, obj interface{}) *gomock.Call
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcilePod(clusterName, obj interface{}) *gomock.Call
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileReplicaSet(clusterName, obj interface{}) *gomock.Call
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileService(clusterName, obj interface{}) *gomock.Call
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileStatefulSet(clusterName, obj interface{}) *gomock.Call
- type MocksingleClusterReconciler
- func (m *MocksingleClusterReconciler) EXPECT() *MocksingleClusterReconcilerMockRecorder
- func (m *MocksingleClusterReconciler) ReconcileConfigMap(obj *v10.ConfigMap) (reconcile.Result, error)
- func (m *MocksingleClusterReconciler) ReconcileDaemonSet(obj *v1.DaemonSet) (reconcile.Result, error)
- func (m *MocksingleClusterReconciler) ReconcileDeployment(obj *v1.Deployment) (reconcile.Result, error)
- func (m *MocksingleClusterReconciler) ReconcileMesh(obj *v1beta2.Mesh) (reconcile.Result, error)
- func (m *MocksingleClusterReconciler) ReconcileNode(obj *v10.Node) (reconcile.Result, error)
- func (m *MocksingleClusterReconciler) ReconcilePod(obj *v10.Pod) (reconcile.Result, error)
- func (m *MocksingleClusterReconciler) ReconcileReplicaSet(obj *v1.ReplicaSet) (reconcile.Result, error)
- func (m *MocksingleClusterReconciler) ReconcileService(obj *v10.Service) (reconcile.Result, error)
- func (m *MocksingleClusterReconciler) ReconcileStatefulSet(obj *v1.StatefulSet) (reconcile.Result, error)
- type MocksingleClusterReconcilerMockRecorder
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileConfigMap(obj interface{}) *gomock.Call
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileDaemonSet(obj interface{}) *gomock.Call
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileDeployment(obj interface{}) *gomock.Call
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileMesh(obj interface{}) *gomock.Call
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileNode(obj interface{}) *gomock.Call
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcilePod(obj interface{}) *gomock.Call
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileReplicaSet(obj interface{}) *gomock.Call
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileService(obj interface{}) *gomock.Call
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileStatefulSet(obj interface{}) *gomock.Call
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) ConfigMaps ¶
func (m *MockSnapshot) ConfigMaps() v1sets0.ConfigMapSet
ConfigMaps mocks base method
func (*MockSnapshot) DaemonSets ¶
func (m *MockSnapshot) DaemonSets() v1sets.DaemonSetSet
DaemonSets mocks base method
func (*MockSnapshot) Deployments ¶
func (m *MockSnapshot) Deployments() v1sets.DeploymentSet
Deployments mocks base method
func (*MockSnapshot) EXPECT ¶
func (m *MockSnapshot) EXPECT() *MockSnapshotMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSnapshot) MarshalJSON ¶
func (m *MockSnapshot) MarshalJSON() ([]byte, error)
MarshalJSON mocks base method
func (*MockSnapshot) Meshes ¶
func (m *MockSnapshot) Meshes() v1beta2sets.MeshSet
Meshes mocks base method
func (*MockSnapshot) ReplicaSets ¶
func (m *MockSnapshot) ReplicaSets() v1sets.ReplicaSetSet
ReplicaSets mocks base method
func (*MockSnapshot) Services ¶
func (m *MockSnapshot) Services() v1sets0.ServiceSet
Services mocks base method
func (*MockSnapshot) StatefulSets ¶
func (m *MockSnapshot) StatefulSets() v1sets.StatefulSetSet
StatefulSets mocks base method
type MockSnapshotMockRecorder ¶
type MockSnapshotMockRecorder struct {
// contains filtered or unexported fields
}
MockSnapshotMockRecorder is the mock recorder for MockSnapshot
func (*MockSnapshotMockRecorder) ConfigMaps ¶
func (mr *MockSnapshotMockRecorder) ConfigMaps() *gomock.Call
ConfigMaps indicates an expected call of ConfigMaps
func (*MockSnapshotMockRecorder) DaemonSets ¶
func (mr *MockSnapshotMockRecorder) DaemonSets() *gomock.Call
DaemonSets indicates an expected call of DaemonSets
func (*MockSnapshotMockRecorder) Deployments ¶
func (mr *MockSnapshotMockRecorder) Deployments() *gomock.Call
Deployments indicates an expected call of Deployments
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) Nodes ¶
func (mr *MockSnapshotMockRecorder) Nodes() *gomock.Call
Nodes indicates an expected call of Nodes
func (*MockSnapshotMockRecorder) Pods ¶
func (mr *MockSnapshotMockRecorder) Pods() *gomock.Call
Pods indicates an expected call of Pods
func (*MockSnapshotMockRecorder) ReplicaSets ¶
func (mr *MockSnapshotMockRecorder) ReplicaSets() *gomock.Call
ReplicaSets indicates an expected call of ReplicaSets
func (*MockSnapshotMockRecorder) Services ¶
func (mr *MockSnapshotMockRecorder) Services() *gomock.Call
Services indicates an expected call of Services
func (*MockSnapshotMockRecorder) StatefulSets ¶
func (mr *MockSnapshotMockRecorder) StatefulSets() *gomock.Call
StatefulSets indicates an expected call of StatefulSets
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 ¶
func (m *MockmultiClusterReconciler) EXPECT() *MockmultiClusterReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockmultiClusterReconciler) ReconcileConfigMap ¶
func (m *MockmultiClusterReconciler) ReconcileConfigMap(clusterName string, obj *v10.ConfigMap) (reconcile.Result, error)
ReconcileConfigMap mocks base method
func (*MockmultiClusterReconciler) ReconcileDaemonSet ¶
func (m *MockmultiClusterReconciler) ReconcileDaemonSet(clusterName string, obj *v1.DaemonSet) (reconcile.Result, error)
ReconcileDaemonSet mocks base method
func (*MockmultiClusterReconciler) ReconcileDeployment ¶
func (m *MockmultiClusterReconciler) ReconcileDeployment(clusterName string, obj *v1.Deployment) (reconcile.Result, error)
ReconcileDeployment mocks base method
func (*MockmultiClusterReconciler) ReconcileMesh ¶
func (m *MockmultiClusterReconciler) ReconcileMesh(clusterName string, obj *v1beta2.Mesh) (reconcile.Result, error)
ReconcileMesh mocks base method
func (*MockmultiClusterReconciler) ReconcileNode ¶
func (m *MockmultiClusterReconciler) ReconcileNode(clusterName string, obj *v10.Node) (reconcile.Result, error)
ReconcileNode mocks base method
func (*MockmultiClusterReconciler) ReconcilePod ¶
func (m *MockmultiClusterReconciler) ReconcilePod(clusterName string, obj *v10.Pod) (reconcile.Result, error)
ReconcilePod mocks base method
func (*MockmultiClusterReconciler) ReconcileReplicaSet ¶
func (m *MockmultiClusterReconciler) ReconcileReplicaSet(clusterName string, obj *v1.ReplicaSet) (reconcile.Result, error)
ReconcileReplicaSet mocks base method
func (*MockmultiClusterReconciler) ReconcileService ¶
func (m *MockmultiClusterReconciler) ReconcileService(clusterName string, obj *v10.Service) (reconcile.Result, error)
ReconcileService mocks base method
func (*MockmultiClusterReconciler) ReconcileStatefulSet ¶
func (m *MockmultiClusterReconciler) ReconcileStatefulSet(clusterName string, obj *v1.StatefulSet) (reconcile.Result, error)
ReconcileStatefulSet mocks base method
type MockmultiClusterReconcilerMockRecorder ¶
type MockmultiClusterReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MockmultiClusterReconcilerMockRecorder is the mock recorder for MockmultiClusterReconciler
func (*MockmultiClusterReconcilerMockRecorder) ReconcileConfigMap ¶
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileConfigMap(clusterName, obj interface{}) *gomock.Call
ReconcileConfigMap indicates an expected call of ReconcileConfigMap
func (*MockmultiClusterReconcilerMockRecorder) ReconcileDaemonSet ¶
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileDaemonSet(clusterName, obj interface{}) *gomock.Call
ReconcileDaemonSet indicates an expected call of ReconcileDaemonSet
func (*MockmultiClusterReconcilerMockRecorder) ReconcileDeployment ¶
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileDeployment(clusterName, obj interface{}) *gomock.Call
ReconcileDeployment indicates an expected call of ReconcileDeployment
func (*MockmultiClusterReconcilerMockRecorder) ReconcileMesh ¶
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileMesh(clusterName, obj interface{}) *gomock.Call
ReconcileMesh indicates an expected call of ReconcileMesh
func (*MockmultiClusterReconcilerMockRecorder) ReconcileNode ¶
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileNode(clusterName, obj interface{}) *gomock.Call
ReconcileNode indicates an expected call of ReconcileNode
func (*MockmultiClusterReconcilerMockRecorder) ReconcilePod ¶
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcilePod(clusterName, obj interface{}) *gomock.Call
ReconcilePod indicates an expected call of ReconcilePod
func (*MockmultiClusterReconcilerMockRecorder) ReconcileReplicaSet ¶
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileReplicaSet(clusterName, obj interface{}) *gomock.Call
ReconcileReplicaSet indicates an expected call of ReconcileReplicaSet
func (*MockmultiClusterReconcilerMockRecorder) ReconcileService ¶
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileService(clusterName, obj interface{}) *gomock.Call
ReconcileService indicates an expected call of ReconcileService
func (*MockmultiClusterReconcilerMockRecorder) ReconcileStatefulSet ¶
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileStatefulSet(clusterName, obj interface{}) *gomock.Call
ReconcileStatefulSet indicates an expected call of ReconcileStatefulSet
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 ¶
func (m *MocksingleClusterReconciler) EXPECT() *MocksingleClusterReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MocksingleClusterReconciler) ReconcileConfigMap ¶
func (m *MocksingleClusterReconciler) ReconcileConfigMap(obj *v10.ConfigMap) (reconcile.Result, error)
ReconcileConfigMap mocks base method
func (*MocksingleClusterReconciler) ReconcileDaemonSet ¶
func (m *MocksingleClusterReconciler) ReconcileDaemonSet(obj *v1.DaemonSet) (reconcile.Result, error)
ReconcileDaemonSet mocks base method
func (*MocksingleClusterReconciler) ReconcileDeployment ¶
func (m *MocksingleClusterReconciler) ReconcileDeployment(obj *v1.Deployment) (reconcile.Result, error)
ReconcileDeployment mocks base method
func (*MocksingleClusterReconciler) ReconcileMesh ¶
ReconcileMesh mocks base method
func (*MocksingleClusterReconciler) ReconcileNode ¶
ReconcileNode mocks base method
func (*MocksingleClusterReconciler) ReconcilePod ¶
ReconcilePod mocks base method
func (*MocksingleClusterReconciler) ReconcileReplicaSet ¶
func (m *MocksingleClusterReconciler) ReconcileReplicaSet(obj *v1.ReplicaSet) (reconcile.Result, error)
ReconcileReplicaSet mocks base method
func (*MocksingleClusterReconciler) ReconcileService ¶
ReconcileService mocks base method
func (*MocksingleClusterReconciler) ReconcileStatefulSet ¶
func (m *MocksingleClusterReconciler) ReconcileStatefulSet(obj *v1.StatefulSet) (reconcile.Result, error)
ReconcileStatefulSet mocks base method
type MocksingleClusterReconcilerMockRecorder ¶
type MocksingleClusterReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MocksingleClusterReconcilerMockRecorder is the mock recorder for MocksingleClusterReconciler
func (*MocksingleClusterReconcilerMockRecorder) ReconcileConfigMap ¶
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileConfigMap(obj interface{}) *gomock.Call
ReconcileConfigMap indicates an expected call of ReconcileConfigMap
func (*MocksingleClusterReconcilerMockRecorder) ReconcileDaemonSet ¶
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileDaemonSet(obj interface{}) *gomock.Call
ReconcileDaemonSet indicates an expected call of ReconcileDaemonSet
func (*MocksingleClusterReconcilerMockRecorder) ReconcileDeployment ¶
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileDeployment(obj interface{}) *gomock.Call
ReconcileDeployment indicates an expected call of ReconcileDeployment
func (*MocksingleClusterReconcilerMockRecorder) ReconcileMesh ¶
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileMesh(obj interface{}) *gomock.Call
ReconcileMesh indicates an expected call of ReconcileMesh
func (*MocksingleClusterReconcilerMockRecorder) ReconcileNode ¶
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileNode(obj interface{}) *gomock.Call
ReconcileNode indicates an expected call of ReconcileNode
func (*MocksingleClusterReconcilerMockRecorder) ReconcilePod ¶
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcilePod(obj interface{}) *gomock.Call
ReconcilePod indicates an expected call of ReconcilePod
func (*MocksingleClusterReconcilerMockRecorder) ReconcileReplicaSet ¶
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileReplicaSet(obj interface{}) *gomock.Call
ReconcileReplicaSet indicates an expected call of ReconcileReplicaSet
func (*MocksingleClusterReconcilerMockRecorder) ReconcileService ¶
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileService(obj interface{}) *gomock.Call
ReconcileService indicates an expected call of ReconcileService
func (*MocksingleClusterReconcilerMockRecorder) ReconcileStatefulSet ¶
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileStatefulSet(obj interface{}) *gomock.Call
ReconcileStatefulSet indicates an expected call of ReconcileStatefulSet