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
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 InfrastructureRefs []*corev1.ObjectReference }
GenerateClusterAssetsOutput is the output of GenerateClusterAssets.
type GenerateMachinesOutput ¶
type GenerateMachinesOutput struct {
Manifests []*asset.RuntimeFile
}
GenerateMachinesOutput is the output of GenerateMachines.
Click to show internal directories.
Click to hide internal directories.