clusterapi

package
v1.4.19-ec3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{}

Provider implements IBM Cloud CAPI installation.

func (Provider) Ignition

func (p Provider) Ignition(ctx context.Context, in clusterapi.IgnitionInput) ([]*corev1.Secret, error)

Ignition provisions the IBM Cloud COS Bucket and Object containing the Ignition based configuration. The Bootstrap ignition data is too large to be passed as userdata to the IBM Cloud VPC VSI, so instead it is pulled from COS.

func (Provider) InfraReady

func (p Provider) InfraReady(ctx context.Context, in clusterapi.InfraReadyInput) error

InfraReady is called once cluster.Status.InfrastructureReady is true.

func (Provider) Name

func (p Provider) Name() string

Name returns the IBM Cloud provider name.

func (Provider) NetworkTimeout

func (p Provider) NetworkTimeout() time.Duration

NetworkTimeout allows platform provider to override the timeout when waiting for the network infrastructure to become ready.

func (Provider) PreProvision

func (p Provider) PreProvision(ctx context.Context, in clusterapi.PreProvisionInput) error

PreProvision creates the IBM Cloud objects required prior to running capibmcloud.

func (Provider) ProvisionTimeout

func (p Provider) ProvisionTimeout() time.Duration

ProvisionTimeout allows platform provider to override the timeout when waiting for the machines to provision.

func (Provider) PublicGatherEndpoint added in v0.90.17

func (Provider) PublicGatherEndpoint() clusterapi.GatherEndpoint

PublicGatherEndpoint indicates that machine ready checks should NOT wait for an ExternalIP in the status when declaring machines ready.

Jump to

Keyboard shortcuts

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