utils

package
Version: v0.0.0-...-f560b78 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

This package is for low-level utility functions used by both controllers and CloudClient interface implementations.

This package is for low-level utility functions used by both controllers and CloudClient interface implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterBaseDomain

func GetClusterBaseDomain(kclient client.Client) (string, error)

GetClusterBaseDomain returns the installed clsuter's base domain name

func GetClusterName

func GetClusterName(kclient client.Client) (string, error)

GetClusterName returns the installed cluster's name (max 27 characters)

func GetInfrastructureObject

func GetInfrastructureObject(kclient client.Client) (*configv1.Infrastructure, error)

GetInfrastructureObject returns the canonical Infrastructure object

func GetMasterMachines

func GetMasterMachines(kclient client.Client) (*machineapi.MachineList, error)

GetMasterMachines returns a MachineList object whose .Items can be iterated over to perform actions on/with information from each master machine object.

func GetPlatformType

func GetPlatformType(kclient client.Client) (*configv1.PlatformType, error)

GetPlatformType returns the cloud platform type for the cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL