Versions in this module Expand all Collapse all v0 v0.1.0 Jun 13, 2025 Changes in this version + type Cluster struct + Cluster *clusterv1.Cluster + ScalewayClient *scwClient.Client + ScalewayCluster *infrav1.ScalewayCluster + func NewCluster(ctx context.Context, params *ClusterParams) (*Cluster, error) + func (c *Cluster) Close(ctx context.Context) error + func (c *Cluster) ControlPlaneHost() string + func (c *Cluster) ControlPlaneLoadBalancerAllowedRanges() []string + func (c *Cluster) ControlPlaneLoadBalancerIPs() []string + func (c *Cluster) ControlPlaneLoadBalancerPort() int32 + func (c *Cluster) HasControlPlaneDNS() bool + func (c *Cluster) HasPrivateNetwork() bool + func (c *Cluster) PatchObject(ctx context.Context) error + func (c *Cluster) PrivateNetworkID() (string, error) + func (c *Cluster) ResourceName(suffixes ...string) string + func (c *Cluster) ResourceTags(additional ...string) []string + func (c *Cluster) SetFailureDomains(zones []scw.Zone) + func (c *Cluster) SetStatusExtraLoadBalancerIPs(ips []string) + func (c *Cluster) SetStatusLoadBalancerIP(ip string) + func (c *Cluster) SetStatusPrivateNetworkID(pnID string) + func (c *Cluster) ShouldManagePrivateNetwork() bool + type ClusterParams struct + Client client.Client + Cluster *clusterv1.Cluster + ScalewayCluster *infrav1.ScalewayCluster + type Machine struct + Client client.Client + Machine *clusterv1.Machine + ScalewayMachine *infrav1.ScalewayMachine + func NewMachine(params *MachineParams) (*Machine, error) + func (m *Machine) Close(ctx context.Context) error + func (m *Machine) GetBootstrapData(ctx context.Context) ([]byte, error) + func (m *Machine) HasJoinedCluster() bool + func (m *Machine) HasPublicIPv4() bool + func (m *Machine) HasPublicIPv6() bool + func (m *Machine) IsControlPlane() bool + func (m *Machine) PatchObject(ctx context.Context) error + func (m *Machine) ResourceName() string + func (m *Machine) ResourceTags() []string + func (m *Machine) RootVolumeIOPS() *int64 + func (m *Machine) RootVolumeSize() scw.Size + func (m *Machine) RootVolumeType() (instance.VolumeVolumeType, error) + func (m *Machine) SetAddresses(addresses []clusterv1.MachineAddress) + func (m *Machine) SetProviderID(providerID string) + func (m *Machine) Zone() (scw.Zone, error) + type MachineParams struct + Client client.Client + ClusterScope *Cluster + Machine *clusterv1.Machine + ScalewayMachine *infrav1.ScalewayMachine