Documentation ¶
Index ¶
Constants ¶
View Source
const (
// VariableName is the external patch variable name.
VariableName = "controlPlaneEndpoint"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { *options.GlobalOptions // contains filtered or unexported fields }
type ControlPlaneVirtualIP ¶
type ControlPlaneVirtualIP struct {
// contains filtered or unexported fields
}
func NewControlPlaneVirtualIP ¶
func NewControlPlaneVirtualIP( cl client.Reader, config *Config, variableName string, variableFieldPath ...string, ) *ControlPlaneVirtualIP
NewControlPlaneVirtualIP is different from other generic handlers. It requires variableName and variableFieldPath to be passed from another provider specific handler. The code is here to be shared across different providers.
func (*ControlPlaneVirtualIP) Mutate ¶
func (h *ControlPlaneVirtualIP) Mutate( ctx context.Context, obj *unstructured.Unstructured, vars map[string]apiextensionsv1.JSON, holderRef runtimehooksv1.HolderReference, _ client.ObjectKey, clusterGetter mutation.ClusterGetter, ) error
Click to show internal directories.
Click to hide internal directories.