install

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 19 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExistingVersion added in v0.8.1

func ExistingVersion(version string) (bool, error)

ExistingVersion calls the GitHub API to confirm the given version does exist.

func Generate

func Generate(options Options, manifestsBase string) (*manifestgen.Manifest, error)

Generate returns the install manifests as a multi-doc YAML. The manifests are built from a GitHub release or from a Kustomize overlay if the supplied Options.BaseURL is a local path. The manifestsBase should be set to an empty string when Generate is called by consumers that don't embed the manifests.

func GetLatestVersion added in v0.8.0

func GetLatestVersion() (string, error)

GetLatestVersion calls the GitHub API and returns the latest released version.

Types

type Options

type Options struct {
	BaseURL                string
	Version                string
	Namespace              string
	Components             []string
	ComponentsExtra        []string
	EventsAddr             string
	Registry               string
	ImagePullSecret        string
	WatchAllNamespaces     bool
	NetworkPolicy          bool
	LogLevel               string
	NotificationController string
	ManifestFile           string
	Timeout                time.Duration
	TargetPath             string
	ClusterDomain          string
	TolerationKeys         []string
}

func MakeDefaultOptions

func MakeDefaultOptions() Options

Jump to

Keyboard shortcuts

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