Documentation
¶
Index ¶
- type Provider
- func (p Provider) DestroyBootstrap(ctx context.Context, in clusterapi.BootstrapDestroyInput) error
- func (p Provider) Ignition(ctx context.Context, in clusterapi.IgnitionInput) ([]*corev1.Secret, error)
- func (p Provider) InfraReady(ctx context.Context, in clusterapi.InfraReadyInput) error
- func (p Provider) Name() string
- func (p Provider) NetworkTimeout() time.Duration
- func (p Provider) PostProvision(ctx context.Context, in clusterapi.PostProvisionInput) error
- func (p Provider) PreProvision(ctx context.Context, in clusterapi.PreProvisionInput) error
- func (p Provider) ProvisionTimeout() time.Duration
- func (Provider) PublicGatherEndpoint() clusterapi.GatherEndpoint
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) DestroyBootstrap ¶
func (p Provider) DestroyBootstrap(ctx context.Context, in clusterapi.BootstrapDestroyInput) error
DestroyBootstrap destroys the remaining temporary bootstrap resources.
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) NetworkTimeout ¶
NetworkTimeout allows platform provider to override the timeout when waiting for the network infrastructure to become ready.
func (Provider) PostProvision ¶
func (p Provider) PostProvision(ctx context.Context, in clusterapi.PostProvisionInput) error
PostProvision is called once Infrastructure provisioning is completed, including machines.
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 ¶
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.