resourcemanagers

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

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