Documentation
¶
Index ¶
- func AdoptOrphanClaim(ctx context.Context, runtimeClient client.Client, claimName string, ...) error
- func CountOutstandingIPAddressClaimsForMachine(ctx context.Context, runtimeClient client.Client, ...) int
- func EnsureIPAddressClaim(ctx context.Context, runtimeClient client.Client, claimName string, ...) (*ipamv1beta1.IPAddressClaim, error)
- func GetIPAddressClaimName(machine *machinev1.Machine, deviceIdx int, poolIdx int) string
- func HasOutstandingIPAddressClaims(ctx context.Context, runtimeClient client.Client, machine *machinev1.Machine, ...) (int, error)
- func HasStaticIPConfiguration(providerSpec *machinev1.VSphereMachineProviderSpec) bool
- func RemoveFinalizersForIPAddressClaims(ctx context.Context, runtimeClient client.Client, machine machinev1.Machine) error
- func RetrieveBoundIPAddress(ctx context.Context, runtimeClient client.Client, machine *machinev1.Machine, ...) (*ipamv1beta1.IPAddress, error)
- func VerifyIPAddressOwners(ctx context.Context, runtimeClient client.Client, machine *machinev1.Machine, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdoptOrphanClaim ¶
func AdoptOrphanClaim( ctx context.Context, runtimeClient client.Client, claimName string, machine *machinev1.Machine, ipAddressClaim *ipamv1beta1.IPAddressClaim) error
AdoptOrphanClaim updates the IPAddressClaim to belong to the specified machine.
func CountOutstandingIPAddressClaimsForMachine ¶
func CountOutstandingIPAddressClaimsForMachine( ctx context.Context, runtimeClient client.Client, ipAddressClaims []ipamv1beta1.IPAddressClaim) int
CountOutstandingIPAddressClaimsForMachine determines the number of outstanding IP address claims a machine is waiting to be fulfilled.
func EnsureIPAddressClaim ¶
func EnsureIPAddressClaim( ctx context.Context, runtimeClient client.Client, claimName string, machine *machinev1.Machine, pool machinev1.AddressesFromPool) (*ipamv1beta1.IPAddressClaim, error)
EnsureIPAddressClaim ensures an IPAddressClaim exists for the given claim name and pool
func GetIPAddressClaimName ¶
GetIPAddressClaimName returns a consistently named claim name
func HasOutstandingIPAddressClaims ¶
func HasOutstandingIPAddressClaims( ctx context.Context, runtimeClient client.Client, machine *machinev1.Machine, networkDevices []machinev1.NetworkDeviceSpec, ) (int, error)
HasOutstandingIPAddressClaims checks to see if a given machine has outstanding IP address claims
func HasStaticIPConfiguration ¶
func HasStaticIPConfiguration(providerSpec *machinev1.VSphereMachineProviderSpec) bool
HasStaticIPConfiguration returns true if the specified machine has an address pool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.