Documentation
¶
Index ¶
- func CopyCorrelationID(source, target client.Object)
- func GetAzureStackHCIMachinesInCluster(ctx context.Context, controllerClient client.Client, ...) ([]*infrav1.AzureStackHCIMachine, error)
- func GetNodeName(ctx context.Context, client client.Client, obj metav1.ObjectMeta) (string, error)
- func GetReconcileID(ctx context.Context) types.UID
- func ListVolumeAttachmentOnNode(ctx context.Context, client *kubernetes.Clientset, clusterKey client.ObjectKey, ...) ([]string, error)
- func NewTargetClusterClient(ctx context.Context, controllerClient client.Client, ...) (*kubernetes.Clientset, error)
- func NewTargetClusterConfig(ctx context.Context, controllerClient client.Reader, ...) (*rest.Config, error)
- func RandomAlphaNumericString(n int) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyCorrelationID ¶ added in v1.1.14
func GetAzureStackHCIMachinesInCluster ¶
func GetAzureStackHCIMachinesInCluster(ctx context.Context, controllerClient client.Client, namespace, clusterName string) ([]*infrav1.AzureStackHCIMachine, error)
GetAzureStackHCIMachinesInCluster gets a cluster's AzureStackHCIMachines resources.
func GetNodeName ¶ added in v1.1.18
GetNodeName returns the Node Name from the resource's owning CAPI machine object.
func ListVolumeAttachmentOnNode ¶ added in v1.1.18
func NewTargetClusterClient ¶ added in v1.1.18
func NewTargetClusterConfig ¶ added in v1.1.18
func NewTargetClusterConfig(ctx context.Context, controllerClient client.Reader, clusterKey client.ObjectKey) (*rest.Config, error)
Create a target cluster config based on the secret in the management cluster
func RandomAlphaNumericString ¶ added in v0.3.7
RandomAlphaNumericString returns a random alphanumeric string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.