machine

package
v1.14.16-dcf8320c8c4e Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 25 Imported by: 118

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Master added in v0.2.0

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

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

func (*Master) Dependencies added in v0.2.0

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

Dependencies returns the assets on which the Master asset depends.

func (*Master) Files added in v0.2.0

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

Files returns the files generated by the asset.

func (*Master) Generate added in v0.2.0

func (a *Master) Generate(_ context.Context, dependencies asset.Parents) error

Generate generates the ignition config for the Master asset.

func (*Master) Load added in v0.3.0

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

Load returns the master ignitions from disk.

func (*Master) Name added in v0.2.0

func (a *Master) Name() string

Name returns the human-friendly name of the asset.

type MasterIgnitionCustomizations added in v0.9.2

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 added in v0.9.2

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

Dependencies returns the dependencies for MasterIgnitionCustomizations

func (*MasterIgnitionCustomizations) Files added in v0.9.2

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

Files returns the files generated by the asset.

func (*MasterIgnitionCustomizations) Generate added in v0.9.2

func (a *MasterIgnitionCustomizations) Generate(_ context.Context, dependencies asset.Parents) error

Generate queries for input from the user.

func (*MasterIgnitionCustomizations) Load added in v0.9.2

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

Load does nothing, since we consume the ignition-configs

func (*MasterIgnitionCustomizations) Name added in v0.9.2

Name returns the human-friendly name of the asset.

type Worker added in v0.2.0

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

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

func (*Worker) Dependencies added in v0.2.0

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

Dependencies returns the assets on which the Worker asset depends.

func (*Worker) Files added in v0.2.0

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

Files returns the files generated by the asset.

func (*Worker) Generate added in v0.2.0

func (a *Worker) Generate(_ context.Context, dependencies asset.Parents) error

Generate generates the ignition config for the Worker asset.

func (*Worker) Load added in v0.3.0

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

Load returns the worker ignitions from disk.

func (*Worker) Name added in v0.2.0

func (a *Worker) Name() string

Name returns the human-friendly name of the asset.

type WorkerIgnitionCustomizations added in v0.9.2

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 added in v0.9.2

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

Dependencies returns the dependencies for WorkerIgnitionCustomizations

func (*WorkerIgnitionCustomizations) Files added in v0.9.2

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

Files returns the files generated by the asset.

func (*WorkerIgnitionCustomizations) Generate added in v0.9.2

func (a *WorkerIgnitionCustomizations) Generate(_ context.Context, dependencies asset.Parents) error

Generate queries for input from the user.

func (*WorkerIgnitionCustomizations) Load added in v0.9.2

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

Load does nothing, since we consume the ignition-configs

func (*WorkerIgnitionCustomizations) Name added in v0.9.2

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