deploy

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asset

func Asset(path string) ([]byte, error)

Asset returns the content of an embedded file. The path must be relative to the "deploy" dir.

Types

type YamlFile

type YamlFile struct {
	// Name is the unique string which identifies the deployment.
	Name string

	// Kubernetes is the <major>.<minor> version the deployment
	// was written for.
	Kubernetes version.Version

	// Flavor is a variant of the normal deployment for the Kubernetes version.
	// Empty or a string leading with a hyphen.
	Flavor string

	// DeviceMode defines in which mode the deployed driver will
	// operate.
	DeviceMode api.DeviceMode
}

YamlFile contains all objects of a certain deployment.

func ListAll

func ListAll() []YamlFile

ListAll returns information about all embedded YAML files.

Jump to

Keyboard shortcuts

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