machine

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Master added in v0.3.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.3.0

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

Dependencies returns the assets on which the Master asset depends.

func (*Master) Files added in v0.3.0

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

Files returns the files generated by the asset.

func (*Master) Generate added in v0.3.0

func (a *Master) Generate(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.3.0

func (a *Master) Name() string

Name returns the human-friendly name of the asset.

type Worker added in v0.3.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.3.0

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

Dependencies returns the assets on which the Worker asset depends.

func (*Worker) Files added in v0.3.0

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

Files returns the files generated by the asset.

func (*Worker) Generate added in v0.3.0

func (a *Worker) Generate(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.3.0

func (a *Worker) Name() string

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