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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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