key

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FilePath = "/files"
	UnitPath = "/units"

	MasterTemplatePath = "/ignition/master_template.yaml"
	WorkerTemplatePath = "/ignition/worker_template.yaml"
)

Variables

This section is empty.

Functions

func IsWrongTypeError

func IsWrongTypeError(err error) bool

IsWrongTypeError asserts wrongTypeError.

func OperatorVersion

func OperatorVersion(getter LabelsGetter) string

func Render

func Render(values interface{}, filesdir string, b64 bool) (map[string]string, error)

func StatusSecretName

func StatusSecretName(clusterID string, ignitionName string) string

func ToIgnition

func ToIgnition(v interface{}) (v1alpha1.Ignition, error)

Types

type LabelsGetter

type LabelsGetter interface {
	GetLabels() map[string]string
}

Jump to

Keyboard shortcuts

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