# Functions
FindLink looks up the link in the list of the links from rtnetlink.
FromHostname converts a hostname to Kubernetes Node name.
GenerateRandomNodeAddr generates a random node address within the last 8 bytes of the given prefix.
NewClusterConfigController instanciates the config controller.
NewRebootStatusController creates new controller.
NewRootKubernetesController instanciates the controller.
NewRootOSController instanciates the controller.
WireguardSpec adapter provides encoding/decoding to netlink structures.
# Constants
KubernetesCertificateValidityDuration is the validity duration for the certificates created with this controller.
# Structs
AddressSpecController applies network.AddressSpec to the actual interfaces.
AffiliateMergeController merges raw Affiliates from the RawNamespaceName into final representation in the NamespaceName.
APICertSANsController manages secrets.APICertSANs based on configuration.
APIDController interacts with SideroLink API and brings up the SideroLink Wireguard interface.
DiscoveryServiceController pushes Affiliate resource to the Kubernetes registry.
EtcdController generates node identity.
ExtensionStatusController computes extensions list from the configuration.
GRPCTLSController manages secrets.API based on configuration to provide apid certificate.
HostnameConfigController manages network.HostnameSpec based on machine configuration, kernel cmdline.
HostnameMergeController merges network.HostnameSpec in network.ConfigNamespace and produces final network.HostnameSpec in network.Namespace.
HostnameSpecController applies network.HostnameSpec to the actual interfaces.
KubeconfigController saves admin kubeconfig to the global emulator state in the cluster resource.
KubernetesCertSANsController manages secrets.KubernetesCertSANs based on configuration.
KubernetesController interacts with SideroLink API and brings up the SideroLink Wireguard interface.
KubernetesDynamicCertsController manages secrets.KubernetesDynamicCerts based on configuration.
KubernetesNodeController registers machine in the kubernetes state.
KubernetesSecretsController manages secrets.Kubernetes based on configuration.
LinkSpecController applies network.LinkSpec to the actual interfaces.
LinkStatusController manages secrets.Etcd based on configuration.
LocalAffiliateController builds Affiliate resource for the local node.
LogSinkController configures log sink.
MachineStatusController computes machine state from the existing resources.
MachineTypeController manages config.MachineType based on configuration.
ManagerController interacts with SideroLink API and brings up the SideroLink Wireguard interface.
MemberController converts Affiliates which have Nodename set into Members.
MountStatusController generates node fake mounts.
NodeAddressController simple version of node addresses generator.
NodeIdentityController generates node identity.
NodenameController renders manifests based on templates and config/secrets.
RenderSecretsStaticPodController manages k8s.SecretsReady and renders secrets from secrets.Kubernetes.
StaticPodController renders fake static pod states.
VersionController computes extensions list from the configuration.