machine

package
v1.4.19-ec3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 26 Imported by: 119

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arbiter

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

Arbiter is an asset that generates the ignition config for arbiter nodes.

func (*Arbiter) Dependencies

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

Dependencies returns the assets on which the Arbiter asset depends.

func (*Arbiter) Files

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

Files returns the files generated by the asset.

func (*Arbiter) Generate

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

Generate generates the ignition config for the Arbiter asset.

func (*Arbiter) Load

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

Load returns the arbiter ignitions from disk.

func (*Arbiter) Name

func (a *Arbiter) Name() string

Name returns the human-friendly name of the asset.

type ArbiterIgnitionCustomizations

type ArbiterIgnitionCustomizations struct {
	File *asset.File
}

ArbiterIgnitionCustomizations 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 (*ArbiterIgnitionCustomizations) Dependencies

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

Dependencies returns the dependencies for ArbiterIgnitionCustomizations.

func (*ArbiterIgnitionCustomizations) Files

Files returns the files generated by the asset.

func (*ArbiterIgnitionCustomizations) Generate

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

Generate queries for input from the user.

func (*ArbiterIgnitionCustomizations) Load

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

Load does nothing, since we consume the ignition-configs.

func (*ArbiterIgnitionCustomizations) Name

Name returns the human-friendly name of the asset.

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.4.15

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.4.15

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

Dependencies returns the dependencies for MasterIgnitionCustomizations

func (*MasterIgnitionCustomizations) Files added in v0.4.15

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

Files returns the files generated by the asset.

func (*MasterIgnitionCustomizations) Generate added in v0.4.15

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

Generate queries for input from the user.

func (*MasterIgnitionCustomizations) Load added in v0.4.15

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.4.15

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.4.15

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.4.15

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

Dependencies returns the dependencies for WorkerIgnitionCustomizations

func (*WorkerIgnitionCustomizations) Files added in v0.4.15

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

Files returns the files generated by the asset.

func (*WorkerIgnitionCustomizations) Generate added in v0.4.15

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

Generate queries for input from the user.

func (*WorkerIgnitionCustomizations) Load added in v0.4.15

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.4.15

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