clusterapi

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: UPL-1.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const ComponentJSONName = "clusterAPI"

ComponentJSONName is the JSON name of the component in CRD

View Source
const ComponentName = "cluster-api"

ComponentName is the name of the component

View Source
const ComponentNamespace = constants.VerrazzanoCAPINamespace

Namespace for CAPI providers

Variables

This section is empty.

Functions

func NewComponent

func NewComponent() spi.Component

func ResetCAPIInitFunc

func ResetCAPIInitFunc()

ResetCAPIInitFunc For unit testing, reset the CAPI init function to its default

func SetCAPIInitFunc

func SetCAPIInitFunc(f CAPIInitFuncType)

SetCAPIInitFunc For unit testing, override the CAPI init function

Types

type CAPIInitFuncType

type CAPIInitFuncType = func(path string, options ...clusterapi.Option) (clusterapi.Client, error)

type ImageConfig

type ImageConfig struct {
	Version    string
	Repository string
	Tag        string
}

type OverridesInterface

type OverridesInterface interface {
	GetGlobalRegistry() string
	GetClusterAPIRepository() string
	GetClusterAPITag() string
	GetClusterAPIURL() string
	GetClusterAPIVersion() string
	GetOCIRepository() string
	GetOCITag() string
	GetOCIURL() string
	GetOCIVersion() string
	GetOCNEBootstrapRepository() string
	GetOCNEBootstrapTag() string
	GetOCNEBootstrapURL() string
	GetOCNEBootstrapVersion() string
	GetOCNEControlPlaneRepository() string
	GetOCNEControlPlaneTag() string
	GetOCNEControlPlaneURL() string
	GetOCNEControlPlaneVersion() string
}

OverridesInterface - interface for retrieving values from the Cluster API overrides

Jump to

Keyboard shortcuts

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