machine

package
v0.0.0-...-c53fdc3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Master

type Master struct {
	Config *igntypes.Config
	File   *asset.File
}

Master is an asset that generates the ignition config for master nodes.

func (*Master) Dependencies

func (a *Master) Dependencies() []asset.Asset

Dependencies returns the assets on which the Master asset depends.

func (*Master) Files

func (a *Master) Files() []*asset.File

Files returns the files generated by the asset.

func (*Master) Generate

func (a *Master) Generate(dependencies asset.Parents) error

Generate generates the ignition config for the Master asset.

func (*Master) Load

func (a *Master) Load(f asset.FileFetcher) (found bool, err error)

Load returns the master ignitions from disk.

func (*Master) Name

func (a *Master) Name() string

Name returns the human-friendly name of the asset.

type MasterIgnitionCustomizations

type MasterIgnitionCustomizations struct {
	File *asset.File
}

MasterIgnitionCustomizations is an asset that checks for any customizations a user might have made to the pointer ignition configs before creating the cluster. If customizations are made, then the updates are reconciled as a MachineConfig file

func (*MasterIgnitionCustomizations) Dependencies

func (a *MasterIgnitionCustomizations) Dependencies() []asset.Asset

Dependencies returns the dependencies for MasterIgnitionCustomizations

func (*MasterIgnitionCustomizations) Files

func (a *MasterIgnitionCustomizations) Files() []*asset.File

Files returns the files generated by the asset.

func (*MasterIgnitionCustomizations) Generate

func (a *MasterIgnitionCustomizations) Generate(dependencies asset.Parents) error

Generate queries for input from the user.

func (*MasterIgnitionCustomizations) Load

func (a *MasterIgnitionCustomizations) Load(f asset.FileFetcher) (found bool, err error)

Load does nothing, since we consume the ignition-configs

func (*MasterIgnitionCustomizations) Name

Name returns the human-friendly name of the asset.

type Worker

type Worker struct {
	Config *igntypes.Config
	File   *asset.File
}

Worker is an asset that generates the ignition config for worker nodes.

func (*Worker) Dependencies

func (a *Worker) Dependencies() []asset.Asset

Dependencies returns the assets on which the Worker asset depends.

func (*Worker) Files

func (a *Worker) Files() []*asset.File

Files returns the files generated by the asset.

func (*Worker) Generate

func (a *Worker) Generate(dependencies asset.Parents) error

Generate generates the ignition config for the Worker asset.

func (*Worker) Load

func (a *Worker) Load(f asset.FileFetcher) (found bool, err error)

Load returns the worker ignitions from disk.

func (*Worker) Name

func (a *Worker) Name() string

Name returns the human-friendly name of the asset.

type WorkerIgnitionCustomizations

type WorkerIgnitionCustomizations struct {
	File *asset.File
}

WorkerIgnitionCustomizations is an asset that checks for any customizations a user might have made to the pointer ignition configs before creating the cluster. If customizations are made, then the updates are reconciled as a MachineConfig file

func (*WorkerIgnitionCustomizations) Dependencies

func (a *WorkerIgnitionCustomizations) Dependencies() []asset.Asset

Dependencies returns the dependencies for WorkerIgnitionCustomizations

func (*WorkerIgnitionCustomizations) Files

func (a *WorkerIgnitionCustomizations) Files() []*asset.File

Files returns the files generated by the asset.

func (*WorkerIgnitionCustomizations) Generate

func (a *WorkerIgnitionCustomizations) Generate(dependencies asset.Parents) error

Generate queries for input from the user.

func (*WorkerIgnitionCustomizations) Load

func (a *WorkerIgnitionCustomizations) Load(f asset.FileFetcher) (found bool, err error)

Load does nothing, since we consume the ignition-configs

func (*WorkerIgnitionCustomizations) Name

Name returns the human-friendly name of the asset.

Jump to

Keyboard shortcuts

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