capiutils

package
v1.4.15 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

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 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