capiutils

package
v1.4.16 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// ManifestDir defines the directory name for Cluster API manifests.
	ManifestDir = "cluster-api"
)
View Source
const (
	// Namespace is the namespace for the cluster-api manifests.
	Namespace = "openshift-cluster-api-guests"
)

Variables

This section is empty.

Functions

func CIDRFromInstallConfig

func CIDRFromInstallConfig(installConfig *installconfig.InstallConfig) *ipnet.IPNet

CIDRFromInstallConfig generates the CIDR from the install config, or returns the default CIDR if none is found.

func GenerateBoostrapMachineName added in v0.90.0

func GenerateBoostrapMachineName(infraID string) string

GenerateBoostrapMachineName generates the Cluster API Machine used for bootstrapping from the cluster ID and machine type.

func IsEnabled

func IsEnabled(installConfig *installconfig.InstallConfig) bool

IsEnabled returns true if the feature gate is enabled.

Types

type GenerateClusterAssetsOutput

type GenerateClusterAssetsOutput struct {
	Manifests         []*asset.RuntimeFile
	InfrastructureRef *corev1.ObjectReference
}

GenerateClusterAssetsOutput is the output of GenerateClusterAssets.

type GenerateMachinesOutput

type GenerateMachinesOutput struct {
	Manifests []*asset.RuntimeFile
}

GenerateMachinesOutput is the output of GenerateMachines.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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