Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceTopologyManager ¶
type InstanceTopologyManager interface {
GetNodeTopology(ctx context.Context, instanceType string, region string, instanceID string) (*types.InstanceTopology, error)
}
InstanceTopologyManager enables mocking the InstanceTopologyManager.
func NewInstanceTopologyManager ¶
func NewInstanceTopologyManager(ec2 services.Ec2SdkV2) InstanceTopologyManager
NewInstanceTopologyManager generates a new InstanceTopologyManager.
type MockedInstanceTopologyManager ¶
type MockedInstanceTopologyManager struct { InstanceTopologyManager mock.Mock }
MockedInstanceTopologyManager creates an InstanceTopologyManager mock.
func (*MockedInstanceTopologyManager) GetNodeTopology ¶
func (m *MockedInstanceTopologyManager) GetNodeTopology(ctx context.Context, instanceType string, region string, instanceID string) (*types.InstanceTopology, error)
GetNodeTopology mocks InstanceTopologyManager.GetNodeTopology.
Click to show internal directories.
Click to hide internal directories.