cluster

package
v2.2.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: (C) 2025 Intel Corporation SPDX-License-Identifier: Apache-2.0

Index

Constants

View Source
const (
	// HostIdAnnotationKey is the key used to store the host ID in the annotations of the provider machine.
	HostIdAnnotationKey = "intelmachine.infrastructure.cluster.x-k8s.io/host-id"
)

Variables

This section is empty.

Functions

func Nodes

func Nodes(ctx context.Context, cli *k8s.Client, cluster *capi.Cluster) ([]api.NodeInfo, error)

Nodes returns the list of nodes in the cluster.

func Template

func Template(c *capi.Cluster) string

Template returns the cluster template name.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL