mock_appmesh

package
v0.11.0 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: 9 Imported by: 0

Documentation

Overview

Package mock_appmesh 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) AddCluster

func (m *MockBuilder) AddCluster(cluster string)

AddCluster mocks base method

func (*MockBuilder) AddVirtualNodes

func (m *MockBuilder) AddVirtualNodes(virtualNodes ...*v1beta2.VirtualNode)

AddVirtualNodes mocks base method

func (*MockBuilder) AddVirtualRouters

func (m *MockBuilder) AddVirtualRouters(virtualRouters ...*v1beta2.VirtualRouter)

AddVirtualRouters mocks base method

func (*MockBuilder) AddVirtualServices

func (m *MockBuilder) AddVirtualServices(virtualServices ...*v1beta2.VirtualService)

AddVirtualServices mocks base method

func (*MockBuilder) BuildLabelPartitionedSnapshot

func (m *MockBuilder) BuildLabelPartitionedSnapshot(labelKey string) (appmesh.Snapshot, error)

BuildLabelPartitionedSnapshot mocks base method

func (*MockBuilder) BuildSinglePartitionedSnapshot

func (m *MockBuilder) BuildSinglePartitionedSnapshot(snapshotLabels map[string]string) (appmesh.Snapshot, error)

BuildSinglePartitionedSnapshot mocks base method

func (*MockBuilder) Clone

func (m *MockBuilder) Clone() appmesh.Builder

Clone mocks base method

func (*MockBuilder) Clusters

func (m *MockBuilder) Clusters() []string

Clusters mocks base method

func (*MockBuilder) EXPECT

func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder

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

func (*MockBuilder) GetVirtualNodes

func (m *MockBuilder) GetVirtualNodes() v1beta2sets.VirtualNodeSet

GetVirtualNodes mocks base method

func (*MockBuilder) GetVirtualRouters

func (m *MockBuilder) GetVirtualRouters() v1beta2sets.VirtualRouterSet

GetVirtualRouters mocks base method

func (*MockBuilder) GetVirtualServices

func (m *MockBuilder) GetVirtualServices() v1beta2sets.VirtualServiceSet

GetVirtualServices mocks base method

func (*MockBuilder) Merge

func (m *MockBuilder) Merge(other appmesh.Builder)

Merge mocks base method

type MockBuilderMockRecorder

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

MockBuilderMockRecorder is the mock recorder for MockBuilder

func (*MockBuilderMockRecorder) AddCluster

func (mr *MockBuilderMockRecorder) AddCluster(cluster interface{}) *gomock.Call

AddCluster indicates an expected call of AddCluster

func (*MockBuilderMockRecorder) AddVirtualNodes

func (mr *MockBuilderMockRecorder) AddVirtualNodes(virtualNodes ...interface{}) *gomock.Call

AddVirtualNodes indicates an expected call of AddVirtualNodes

func (*MockBuilderMockRecorder) AddVirtualRouters

func (mr *MockBuilderMockRecorder) AddVirtualRouters(virtualRouters ...interface{}) *gomock.Call

AddVirtualRouters indicates an expected call of AddVirtualRouters

func (*MockBuilderMockRecorder) AddVirtualServices

func (mr *MockBuilderMockRecorder) AddVirtualServices(virtualServices ...interface{}) *gomock.Call

AddVirtualServices indicates an expected call of AddVirtualServices

func (*MockBuilderMockRecorder) BuildLabelPartitionedSnapshot

func (mr *MockBuilderMockRecorder) BuildLabelPartitionedSnapshot(labelKey interface{}) *gomock.Call

BuildLabelPartitionedSnapshot indicates an expected call of BuildLabelPartitionedSnapshot

func (*MockBuilderMockRecorder) BuildSinglePartitionedSnapshot

func (mr *MockBuilderMockRecorder) BuildSinglePartitionedSnapshot(snapshotLabels interface{}) *gomock.Call

BuildSinglePartitionedSnapshot indicates an expected call of BuildSinglePartitionedSnapshot

func (*MockBuilderMockRecorder) Clone

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

Clone indicates an expected call of Clone

func (*MockBuilderMockRecorder) Clusters

func (mr *MockBuilderMockRecorder) Clusters() *gomock.Call

Clusters indicates an expected call of Clusters

func (*MockBuilderMockRecorder) GetVirtualNodes

func (mr *MockBuilderMockRecorder) GetVirtualNodes() *gomock.Call

GetVirtualNodes indicates an expected call of GetVirtualNodes

func (*MockBuilderMockRecorder) GetVirtualRouters

func (mr *MockBuilderMockRecorder) GetVirtualRouters() *gomock.Call

GetVirtualRouters indicates an expected call of GetVirtualRouters

func (*MockBuilderMockRecorder) GetVirtualServices

func (mr *MockBuilderMockRecorder) GetVirtualServices() *gomock.Call

GetVirtualServices indicates an expected call of GetVirtualServices

func (*MockBuilderMockRecorder) Merge

func (mr *MockBuilderMockRecorder) Merge(other interface{}) *gomock.Call

Merge indicates an expected call of Merge

type MockLabeledVirtualNodeSet

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

MockLabeledVirtualNodeSet is a mock of LabeledVirtualNodeSet interface

func NewMockLabeledVirtualNodeSet

func NewMockLabeledVirtualNodeSet(ctrl *gomock.Controller) *MockLabeledVirtualNodeSet

NewMockLabeledVirtualNodeSet creates a new mock instance

func (*MockLabeledVirtualNodeSet) EXPECT

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

func (*MockLabeledVirtualNodeSet) Generic

Generic mocks base method

func (*MockLabeledVirtualNodeSet) Labels

func (m *MockLabeledVirtualNodeSet) Labels() map[string]string

Labels mocks base method

func (*MockLabeledVirtualNodeSet) Set

Set mocks base method

type MockLabeledVirtualNodeSetMockRecorder

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

MockLabeledVirtualNodeSetMockRecorder is the mock recorder for MockLabeledVirtualNodeSet

func (*MockLabeledVirtualNodeSetMockRecorder) Generic

Generic indicates an expected call of Generic

func (*MockLabeledVirtualNodeSetMockRecorder) Labels

Labels indicates an expected call of Labels

func (*MockLabeledVirtualNodeSetMockRecorder) Set

Set indicates an expected call of Set

type MockLabeledVirtualRouterSet

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

MockLabeledVirtualRouterSet is a mock of LabeledVirtualRouterSet interface

func NewMockLabeledVirtualRouterSet

func NewMockLabeledVirtualRouterSet(ctrl *gomock.Controller) *MockLabeledVirtualRouterSet

NewMockLabeledVirtualRouterSet creates a new mock instance

func (*MockLabeledVirtualRouterSet) EXPECT

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

func (*MockLabeledVirtualRouterSet) Generic

Generic mocks base method

func (*MockLabeledVirtualRouterSet) Labels

func (m *MockLabeledVirtualRouterSet) Labels() map[string]string

Labels mocks base method

func (*MockLabeledVirtualRouterSet) Set

Set mocks base method

type MockLabeledVirtualRouterSetMockRecorder

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

MockLabeledVirtualRouterSetMockRecorder is the mock recorder for MockLabeledVirtualRouterSet

func (*MockLabeledVirtualRouterSetMockRecorder) Generic

Generic indicates an expected call of Generic

func (*MockLabeledVirtualRouterSetMockRecorder) Labels

Labels indicates an expected call of Labels

func (*MockLabeledVirtualRouterSetMockRecorder) Set

Set indicates an expected call of Set

type MockLabeledVirtualServiceSet

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

MockLabeledVirtualServiceSet is a mock of LabeledVirtualServiceSet interface

func NewMockLabeledVirtualServiceSet

func NewMockLabeledVirtualServiceSet(ctrl *gomock.Controller) *MockLabeledVirtualServiceSet

NewMockLabeledVirtualServiceSet creates a new mock instance

func (*MockLabeledVirtualServiceSet) EXPECT

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

func (*MockLabeledVirtualServiceSet) Generic

Generic mocks base method

func (*MockLabeledVirtualServiceSet) Labels

func (m *MockLabeledVirtualServiceSet) Labels() map[string]string

Labels mocks base method

func (*MockLabeledVirtualServiceSet) Set

Set mocks base method

type MockLabeledVirtualServiceSetMockRecorder

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

MockLabeledVirtualServiceSetMockRecorder is the mock recorder for MockLabeledVirtualServiceSet

func (*MockLabeledVirtualServiceSetMockRecorder) Generic

Generic indicates an expected call of Generic

func (*MockLabeledVirtualServiceSetMockRecorder) Labels

Labels indicates an expected call of Labels

func (*MockLabeledVirtualServiceSetMockRecorder) Set

Set indicates an expected call of Set

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

func (m *MockSnapshot) ApplyLocalCluster(ctx context.Context, clusterClient client.Client, errHandler output.ErrorHandler)

ApplyLocalCluster mocks base method

func (*MockSnapshot) ApplyMultiCluster

func (m *MockSnapshot) ApplyMultiCluster(ctx context.Context, multiClusterClient multicluster.Client, errHandler output.ErrorHandler)

ApplyMultiCluster mocks base method

func (*MockSnapshot) EXPECT

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

func (m *MockSnapshot) VirtualNodes() []appmesh.LabeledVirtualNodeSet

VirtualNodes mocks base method

func (*MockSnapshot) VirtualRouters

func (m *MockSnapshot) VirtualRouters() []appmesh.LabeledVirtualRouterSet

VirtualRouters mocks base method

func (*MockSnapshot) VirtualServices

func (m *MockSnapshot) VirtualServices() []appmesh.LabeledVirtualServiceSet

VirtualServices mocks base method

type MockSnapshotMockRecorder

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

MockSnapshotMockRecorder is the mock recorder for MockSnapshot

func (*MockSnapshotMockRecorder) ApplyLocalCluster

func (mr *MockSnapshotMockRecorder) ApplyLocalCluster(ctx, clusterClient, errHandler interface{}) *gomock.Call

ApplyLocalCluster indicates an expected call of ApplyLocalCluster

func (*MockSnapshotMockRecorder) ApplyMultiCluster

func (mr *MockSnapshotMockRecorder) ApplyMultiCluster(ctx, multiClusterClient, errHandler interface{}) *gomock.Call

ApplyMultiCluster indicates an expected call of ApplyMultiCluster

func (*MockSnapshotMockRecorder) MarshalJSON

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

MarshalJSON indicates an expected call of MarshalJSON

func (*MockSnapshotMockRecorder) VirtualNodes

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

VirtualNodes indicates an expected call of VirtualNodes

func (*MockSnapshotMockRecorder) VirtualRouters

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

VirtualRouters indicates an expected call of VirtualRouters

func (*MockSnapshotMockRecorder) VirtualServices

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

VirtualServices indicates an expected call of VirtualServices

Jump to

Keyboard shortcuts

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