Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Talosconfig ¶
Talosconfig returns the talos admin Talos config.
Types ¶
type CertStrings ¶
CertStrings holds the string representation of a certificate and key.
type Certs ¶
type Certs struct { AdminCert string AdminKey string OsCert string OsKey string K8sCert string K8sKey string }
Certs holds the base64 encoded keys and certificates.
type Input ¶
type Input struct { Certs *Certs MasterIPs []string Index int ClusterName string ServiceDomain string PodNet []string ServiceNet []string Endpoints string KubernetesVersion string KubeadmTokens *KubeadmTokens TrustdInfo *TrustdInfo InitToken *token.Token IP net.IP }
Input holds info about certs, ips, and node type.
type KubeadmTokens ¶
KubeadmTokens holds the senesitve kubeadm data.
type Type ¶
type Type int
Type represents a userdata type.
const ( // TypeInit indicates a userdata type should correspond to the kubeadm // InitConfiguration type. TypeInit Type = iota // TypeControlPlane indicates a userdata type should correspond to the // kubeadm JoinConfiguration type that has the ControlPlane field // defined. TypeControlPlane // TypeJoin indicates a userdata type should correspond to the kubeadm // JoinConfiguration type. TypeJoin )
Click to show internal directories.
Click to hide internal directories.