cloud

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudProvider

type CloudProvider interface {
	GetVMSpecs(ctx context.Context, vmType string) *VMSpec

	SetupDisasterRecovery(ctx context.Context)

	UpdateCapiClusterValuesFileWithCloudSpecificDetails(ctx context.Context,
		capiClusterValuesFilePath string,
		_updates any,
	)

	UpdateMachineTemplate(ctx context.Context, clusterClient client.Client, _updates any)
}

type VMSpec

type VMSpec struct {
	CPU    uint32
	Memory uint32 // (in GiB).

	// Only used in case of HCloud, since the root volume size is fixed unlike in case of other
	// hyper-scalars like AWS / Azure.
	RootVolumeSize *uint32
}

Directories

Path Synopsis
aws

Jump to

Keyboard shortcuts

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