machineconfig

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForAuthorizedKeys

func ForAuthorizedKeys(key string, role string) *mcfgv1.MachineConfig

ForAuthorizedKeys creates the MachineConfig to set the authorized key for `core` user.

func IsManifest

func IsManifest(filename string) (bool, error)

IsManifest tests whether the specified filename is a MachineConfig manifest.

func Load

func Load(f asset.FileFetcher, role, directory string) ([]*asset.File, error)

Load loads the MachineConfig manifests.

func Manifests

func Manifests(configs []*mcfgv1.MachineConfig, role, directory string) ([]*asset.File, error)

Manifests creates manifest files containing the MachineConfigs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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