# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

CreateNetBoxIPs takes a slice of IP addresses in string form and creates NetBoxIPs according to the configuration specified by config The IP addresses are returned in the form of an IPs struct.
DeclareOwner sets the provided object as the controller of the given NetBoxIP.
HasPublishLabels checks if the given object labels contain any of the publish labels (i.e.
NetBoxIPName derives NetBoxIP name from the object's metadata.
Scheme returns the name of the scheme of the given IP (ipv4 or ipv6), or an empty string if ip is not a valid IP address.
UpsertNetBoxIP creates or updates (if exists) the NetBoxIP provided.
WithClusterDomain sets the k8s cluster domain name.
WithDualStackIP enables registering both IPv6 and IPv4 address in netbox for dual stack pods and services.
WithKubernetesClient sets the Kubernetes client to be used by the controller.
WithLabels sets the k8s object labels that are added to the description of every IP published by the controller.
WithLogger sets the logger to be used by the controller.
WithNetBoxClient sets the NetBox client to be used by the controller.
WithTags sets the tags that are applied to every IP published by the controller.

# Variables

OnCreateAndUpdateFilter is an event filter that keeps only create and update events, and not deletes.

# Structs

IPs is a struct used to store the NetBoxIPs belonging to a pod or service.
NetBoxIPConfig is a struct used to pass configuration parameters for the NetBoxIPs created by CreateNetBoxIPs.
Settings specify configuration of a controller.

# Interfaces

Controller is responsible for updating IPs of a single k8s resource.

# Type aliases

Option can be used to tune controller settings.