Documentation
¶
Index ¶
- func DownloadSELinuxRPMsSigningKey(gpgKeysDir string) error
- func IsIPv6Priority(serverConfig map[string]any) bool
- func IsNodeIPSet(serverConfig map[string]any) bool
- func ParseKubernetesConfig(configFile string) (map[string]any, error)
- func SELinuxPackage(version string, sources *image.ArtifactSources) (string, error)
- func SELinuxRepository(version string, sources *image.ArtifactSources) (image.AddRepo, error)
- func ServersCount(nodes []image.Node) int
- type ArtefactDownloader
- type Cluster
- type ScriptDownloader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsIPv6Priority ¶ added in v1.2.0
func IsNodeIPSet ¶ added in v1.2.0
func SELinuxPackage ¶
func SELinuxPackage(version string, sources *image.ArtifactSources) (string, error)
func SELinuxRepository ¶
func ServersCount ¶
Types ¶
type ArtefactDownloader ¶
func (ArtefactDownloader) DownloadK3sArtefacts ¶
func (d ArtefactDownloader) DownloadK3sArtefacts(arch image.Arch, version, installPath, imagesPath string) error
func (ArtefactDownloader) DownloadRKE2Artefacts ¶
type Cluster ¶
type Cluster struct { // InitialiserName is the hostname of the initialiser node. // Defaults to the first configured server if not explicitly selected. InitialiserName string // InitialiserConfig contains the server configuration for the node initialising a multi node cluster. InitialiserConfig map[string]any // ServerConfig contains the server configurations for a single node cluster // or the additional server nodes in a multi node cluster. ServerConfig map[string]any // AgentConfig contains the agent configurations in multi node clusters. AgentConfig map[string]any }
func NewCluster ¶
func NewCluster(kubernetes *image.Kubernetes, configPath string) (*Cluster, error)
type ScriptDownloader ¶
type ScriptDownloader struct{}
func (ScriptDownloader) DownloadInstallScript ¶
func (d ScriptDownloader) DownloadInstallScript(distribution, destinationPath string) (string, error)
Click to show internal directories.
Click to hide internal directories.