Documentation ¶
Overview ¶
Package mock_appmesh is a generated GoMock package.
Index ¶
- type MockBuilder
- func (m *MockBuilder) AddCluster(cluster string)
- func (m *MockBuilder) AddVirtualNodes(virtualNodes ...*v1beta2.VirtualNode)
- func (m *MockBuilder) AddVirtualRouters(virtualRouters ...*v1beta2.VirtualRouter)
- func (m *MockBuilder) AddVirtualServices(virtualServices ...*v1beta2.VirtualService)
- func (m *MockBuilder) BuildLabelPartitionedSnapshot(labelKey string, gvk schema.GroupVersionKind) (appmesh.Snapshot, error)
- func (m *MockBuilder) BuildSinglePartitionedSnapshot(snapshotLabels map[string]string) (appmesh.Snapshot, error)
- func (m *MockBuilder) Clone() appmesh.Builder
- func (m *MockBuilder) Clusters() []string
- func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder
- func (m *MockBuilder) ForEachObject(handleObject func(string, schema.GroupVersionKind, resource.TypedObject))
- func (m *MockBuilder) Generic() resource.ClusterSnapshot
- func (m *MockBuilder) GetVirtualNodes() v1beta2sets.VirtualNodeSet
- func (m *MockBuilder) GetVirtualRouters() v1beta2sets.VirtualRouterSet
- func (m *MockBuilder) GetVirtualServices() v1beta2sets.VirtualServiceSet
- func (m *MockBuilder) Merge(other appmesh.Builder)
- type MockBuilderMockRecorder
- func (mr *MockBuilderMockRecorder) AddCluster(cluster interface{}) *gomock.Call
- func (mr *MockBuilderMockRecorder) AddVirtualNodes(virtualNodes ...interface{}) *gomock.Call
- func (mr *MockBuilderMockRecorder) AddVirtualRouters(virtualRouters ...interface{}) *gomock.Call
- func (mr *MockBuilderMockRecorder) AddVirtualServices(virtualServices ...interface{}) *gomock.Call
- func (mr *MockBuilderMockRecorder) BuildLabelPartitionedSnapshot(labelKey, gvk interface{}) *gomock.Call
- func (mr *MockBuilderMockRecorder) BuildSinglePartitionedSnapshot(snapshotLabels interface{}) *gomock.Call
- func (mr *MockBuilderMockRecorder) Clone() *gomock.Call
- func (mr *MockBuilderMockRecorder) Clusters() *gomock.Call
- func (mr *MockBuilderMockRecorder) ForEachObject(handleObject interface{}) *gomock.Call
- func (mr *MockBuilderMockRecorder) Generic() *gomock.Call
- func (mr *MockBuilderMockRecorder) GetVirtualNodes() *gomock.Call
- func (mr *MockBuilderMockRecorder) GetVirtualRouters() *gomock.Call
- func (mr *MockBuilderMockRecorder) GetVirtualServices() *gomock.Call
- func (mr *MockBuilderMockRecorder) Merge(other interface{}) *gomock.Call
- type MockLabeledVirtualNodeSet
- type MockLabeledVirtualNodeSetMockRecorder
- type MockLabeledVirtualRouterSet
- type MockLabeledVirtualRouterSetMockRecorder
- type MockLabeledVirtualServiceSet
- type MockLabeledVirtualServiceSetMockRecorder
- type MockSnapshot
- func (m *MockSnapshot) ApplyLocalCluster(ctx context.Context, clusterClient client.Client, opts output.OutputOpts)
- func (m *MockSnapshot) ApplyMultiCluster(ctx context.Context, multiClusterClient multicluster.Client, ...)
- func (m *MockSnapshot) EXPECT() *MockSnapshotMockRecorder
- func (m *MockSnapshot) ForEachObject(handleObject func(string, schema.GroupVersionKind, resource.TypedObject))
- func (m *MockSnapshot) Generic() resource.ClusterSnapshot
- func (m *MockSnapshot) MarshalJSON() ([]byte, error)
- func (m *MockSnapshot) VirtualNodes() []appmesh.LabeledVirtualNodeSet
- func (m *MockSnapshot) VirtualRouters() []appmesh.LabeledVirtualRouterSet
- func (m *MockSnapshot) VirtualServices() []appmesh.LabeledVirtualServiceSet
- type MockSnapshotMockRecorder
- func (mr *MockSnapshotMockRecorder) ApplyLocalCluster(ctx, clusterClient, opts interface{}) *gomock.Call
- func (mr *MockSnapshotMockRecorder) ApplyMultiCluster(ctx, multiClusterClient, opts interface{}) *gomock.Call
- func (mr *MockSnapshotMockRecorder) ForEachObject(handleObject interface{}) *gomock.Call
- func (mr *MockSnapshotMockRecorder) Generic() *gomock.Call
- func (mr *MockSnapshotMockRecorder) MarshalJSON() *gomock.Call
- func (mr *MockSnapshotMockRecorder) VirtualNodes() *gomock.Call
- func (mr *MockSnapshotMockRecorder) VirtualRouters() *gomock.Call
- func (mr *MockSnapshotMockRecorder) VirtualServices() *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) 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, gvk schema.GroupVersionKind) (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) 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) ForEachObject ¶ added in v1.1.0
func (m *MockBuilder) ForEachObject(handleObject func(string, schema.GroupVersionKind, resource.TypedObject))
ForEachObject mocks base method.
func (*MockBuilder) Generic ¶ added in v0.12.7
func (m *MockBuilder) Generic() resource.ClusterSnapshot
Generic mocks base method.
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, gvk 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) ForEachObject ¶ added in v1.1.0
func (mr *MockBuilderMockRecorder) ForEachObject(handleObject interface{}) *gomock.Call
ForEachObject indicates an expected call of ForEachObject.
func (*MockBuilderMockRecorder) Generic ¶ added in v0.12.7
func (mr *MockBuilderMockRecorder) Generic() *gomock.Call
Generic indicates an expected call of Generic.
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 ¶
func (m *MockLabeledVirtualNodeSet) EXPECT() *MockLabeledVirtualNodeSetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLabeledVirtualNodeSet) Generic ¶
func (m *MockLabeledVirtualNodeSet) Generic() output.ResourceList
Generic mocks base method.
func (*MockLabeledVirtualNodeSet) Labels ¶
func (m *MockLabeledVirtualNodeSet) Labels() map[string]string
Labels mocks base method.
func (*MockLabeledVirtualNodeSet) Set ¶
func (m *MockLabeledVirtualNodeSet) Set() v1beta2sets.VirtualNodeSet
Set mocks base method.
type MockLabeledVirtualNodeSetMockRecorder ¶
type MockLabeledVirtualNodeSetMockRecorder struct {
// contains filtered or unexported fields
}
MockLabeledVirtualNodeSetMockRecorder is the mock recorder for MockLabeledVirtualNodeSet.
func (*MockLabeledVirtualNodeSetMockRecorder) Generic ¶
func (mr *MockLabeledVirtualNodeSetMockRecorder) Generic() *gomock.Call
Generic indicates an expected call of Generic.
func (*MockLabeledVirtualNodeSetMockRecorder) Labels ¶
func (mr *MockLabeledVirtualNodeSetMockRecorder) Labels() *gomock.Call
Labels indicates an expected call of Labels.
func (*MockLabeledVirtualNodeSetMockRecorder) Set ¶
func (mr *MockLabeledVirtualNodeSetMockRecorder) Set() *gomock.Call
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 ¶
func (m *MockLabeledVirtualRouterSet) EXPECT() *MockLabeledVirtualRouterSetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLabeledVirtualRouterSet) Generic ¶
func (m *MockLabeledVirtualRouterSet) Generic() output.ResourceList
Generic mocks base method.
func (*MockLabeledVirtualRouterSet) Labels ¶
func (m *MockLabeledVirtualRouterSet) Labels() map[string]string
Labels mocks base method.
func (*MockLabeledVirtualRouterSet) Set ¶
func (m *MockLabeledVirtualRouterSet) Set() v1beta2sets.VirtualRouterSet
Set mocks base method.
type MockLabeledVirtualRouterSetMockRecorder ¶
type MockLabeledVirtualRouterSetMockRecorder struct {
// contains filtered or unexported fields
}
MockLabeledVirtualRouterSetMockRecorder is the mock recorder for MockLabeledVirtualRouterSet.
func (*MockLabeledVirtualRouterSetMockRecorder) Generic ¶
func (mr *MockLabeledVirtualRouterSetMockRecorder) Generic() *gomock.Call
Generic indicates an expected call of Generic.
func (*MockLabeledVirtualRouterSetMockRecorder) Labels ¶
func (mr *MockLabeledVirtualRouterSetMockRecorder) Labels() *gomock.Call
Labels indicates an expected call of Labels.
func (*MockLabeledVirtualRouterSetMockRecorder) Set ¶
func (mr *MockLabeledVirtualRouterSetMockRecorder) Set() *gomock.Call
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 ¶
func (m *MockLabeledVirtualServiceSet) EXPECT() *MockLabeledVirtualServiceSetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLabeledVirtualServiceSet) Generic ¶
func (m *MockLabeledVirtualServiceSet) Generic() output.ResourceList
Generic mocks base method.
func (*MockLabeledVirtualServiceSet) Labels ¶
func (m *MockLabeledVirtualServiceSet) Labels() map[string]string
Labels mocks base method.
func (*MockLabeledVirtualServiceSet) Set ¶
func (m *MockLabeledVirtualServiceSet) Set() v1beta2sets.VirtualServiceSet
Set mocks base method.
type MockLabeledVirtualServiceSetMockRecorder ¶
type MockLabeledVirtualServiceSetMockRecorder struct {
// contains filtered or unexported fields
}
MockLabeledVirtualServiceSetMockRecorder is the mock recorder for MockLabeledVirtualServiceSet.
func (*MockLabeledVirtualServiceSetMockRecorder) Generic ¶
func (mr *MockLabeledVirtualServiceSetMockRecorder) Generic() *gomock.Call
Generic indicates an expected call of Generic.
func (*MockLabeledVirtualServiceSetMockRecorder) Labels ¶
func (mr *MockLabeledVirtualServiceSetMockRecorder) Labels() *gomock.Call
Labels indicates an expected call of Labels.
func (*MockLabeledVirtualServiceSetMockRecorder) Set ¶
func (mr *MockLabeledVirtualServiceSetMockRecorder) Set() *gomock.Call
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, opts output.OutputOpts)
ApplyLocalCluster mocks base method.
func (*MockSnapshot) ApplyMultiCluster ¶
func (m *MockSnapshot) ApplyMultiCluster(ctx context.Context, multiClusterClient multicluster.Client, opts output.OutputOpts)
ApplyMultiCluster 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) 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) 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, opts interface{}) *gomock.Call
ApplyLocalCluster indicates an expected call of ApplyLocalCluster.
func (*MockSnapshotMockRecorder) ApplyMultiCluster ¶
func (mr *MockSnapshotMockRecorder) ApplyMultiCluster(ctx, multiClusterClient, opts interface{}) *gomock.Call
ApplyMultiCluster indicates an expected call of ApplyMultiCluster.
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) 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.