Documentation
¶
Index ¶
- type Provider
- 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 {
clusterapi.InfraProvider
// contains filtered or unexported fields
}
Provider is the PowerVS implementation of the clusterapi InfraProvider.
func (Provider) InfraReady ¶
func (p Provider) InfraReady(ctx context.Context, in clusterapi.InfraReadyInput) error
InfraReady is called once cluster.Status.InfrastructureReady is true, typically after load balancers have been provisioned. It can be used to create DNS records.
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 should be called to add or update PowerVS resources after provisioning has completed.
func (*Provider) PreProvision ¶
func (p *Provider) PreProvision(ctx context.Context, in clusterapi.PreProvisionInput) error
PreProvision reads install-config fields needed before CAPI provisioning begins.
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.