ignition

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package ignition aggregates all Ignition flavors into a single package to be consumed by the bootstrap provider by exposing an API similar to 'bootstrap/internal/ignition' package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInitControlPlane

func NewInitControlPlane(input *ControlPlaneInput) ([]byte, error)

NewInitControlPlane returns Ignition configuration for bootstrapping new cluster.

func NewJoinControlPlane

func NewJoinControlPlane(input *ControlPlaneInput) ([]byte, error)

NewJoinControlPlane returns Ignition configuration for new controlplane node joining the cluster.

func NewJoinWorker

func NewJoinWorker(input *JoinWorkerInput) ([]byte, error)

NewJoinWorker returns Ignition configuration for new worker node joining the cluster.

Types

type ControlPlaneInput

type ControlPlaneInput struct {
	*cloudinit.ControlPlaneInput

	AdditionalIgnition *bootstrapv1.AdditionalUserData
}

ControlPlaneInput defines the context to generate a controlplane instance user data.

type JoinWorkerInput

type JoinWorkerInput struct {
	*cloudinit.BaseUserData

	AdditionalIgnition *bootstrapv1.AdditionalUserData
}

JoinWorkerInput defines the context to generate a node user data.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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