Versions in this module Expand all Collapse all v0 v0.1.1 May 27, 2026 v0.1.0 May 26, 2026 Changes in this version + func CalculateClusterIP(clusterName, nodeName string) string + func CalculateClusterIPExcluding(clusterName, nodeName string, usedIPs []string) string + func CalculateClusterMAC(clusterName, nodeName string) string + type CloudInitData struct + ClusterDomain string + ClusterIP string + DNSIP string + NodeName string + RegistryHostname string + RegistryPort int + RegistryStaticIP string + SSHPubKey string + SSHUser string + ServiceCIDR string + UpstreamDNS1 string + UpstreamDNS2 string + type Node struct + APIPort int + AssignedAPIPort int + BaseDisk string + ClusterIP string + ClusterImagesVolume string + ClusterMAC string + ClusterName string + ContainerName string + DNSIP string + IsControlPlane bool + MaxMemory int + Memory int + Name string + NodeImage string + VCPUs int + func New(name string, isControlPlane bool, opts ...NodeOption) (*Node, error) + func (n *Node) Cleanup() error + func (n *Node) Create(ctx context.Context) error + func (n *Node) Exists(ctx context.Context) (bool, error) + type NodeOption func(*Node) error + func WithAPIPort(port int) NodeOption + func WithClusterImagesVolume(volumeName string) NodeOption + func WithClusterName(name string) NodeOption + func WithDNSIP(ip string) NodeOption + func WithMaxMemory(maxMemory int) NodeOption + func WithMemory(memory int) NodeOption + func WithNodeImage(image string) NodeOption + func WithUsedIPs(ips []string) NodeOption