Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPValidator ¶ added in v0.13.0
type IPValidator struct {
// contains filtered or unexported fields
}
IPValidator defines the struct for control plane IP validations.
func NewIPValidator ¶ added in v0.13.0
func NewIPValidator(opts ...IPValidatorOpt) *IPValidator
NewIPValidator initializes a new IPValidator object.
func (*IPValidator) ValidateControlPlaneIPUniqueness ¶ added in v0.13.0
func (v *IPValidator) ValidateControlPlaneIPUniqueness(cluster *v1alpha1.Cluster) error
ValidateControlPlaneIPUniqueness checks whether or not the control plane endpoint defined in the cluster spec is available.
type IPValidatorOpt ¶ added in v0.13.0
type IPValidatorOpt func(e *IPValidator)
IPValidatorOpt is the type for optional IPValidator configurations.
func CustomNetClient ¶ added in v0.13.0
func CustomNetClient(netClient networkutils.NetClient) IPValidatorOpt
CustomNetClient passes in a custom net client to the IPValidator.
Click to show internal directories.
Click to hide internal directories.