Documentation ¶
Index ¶
- type IPAddressClaimHandler
- func (h *IPAddressClaimHandler) EnsureAddress(ctx context.Context, address *ipamv1.IPAddress) (*ctrl.Result, error)
- func (h *IPAddressClaimHandler) FetchPool(ctx context.Context) (client.Object, *ctrl.Result, error)
- func (h *IPAddressClaimHandler) ReleaseAddress(ctx context.Context) (*ctrl.Result, error)
- type PHPIPAMProviderAdapter
- func (v *PHPIPAMProviderAdapter) ClaimHandlerFor(_ client.Client, claim *ipamv1.IPAddressClaim) ipamutil.ClaimHandler
- func (v *PHPIPAMProviderAdapter) IPPoolToIPClaims() func(context.Context, client.Object) []reconcile.Request
- func (v *PHPIPAMProviderAdapter) SetupWithManager(_ context.Context, b *ctrl.Builder) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPAddressClaimHandler ¶
IPAddressClaimHandler reconciles an IPAddress Claim getting the right address from the right pool
func (*IPAddressClaimHandler) EnsureAddress ¶
func (h *IPAddressClaimHandler) EnsureAddress(ctx context.Context, address *ipamv1.IPAddress) (*ctrl.Result, error)
EnsureAddress ensures that the IPAddress contains a valid address.
func (*IPAddressClaimHandler) ReleaseAddress ¶
ReleaseAddress releases the ip address.
type PHPIPAMProviderAdapter ¶
type PHPIPAMProviderAdapter struct { Client client.Client IPAMClient *ipamclient.IPAMClient }
PHPIPAMProviderAdapter is used as middle layer for provider integration.
func (*PHPIPAMProviderAdapter) ClaimHandlerFor ¶
func (v *PHPIPAMProviderAdapter) ClaimHandlerFor(_ client.Client, claim *ipamv1.IPAddressClaim) ipamutil.ClaimHandler
ClaimHandlerFor returns a claim handler for a specific claim.
func (*PHPIPAMProviderAdapter) IPPoolToIPClaims ¶
func (*PHPIPAMProviderAdapter) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.