Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExistingVersion ¶ added in v0.8.1
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
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
Click to show internal directories.
Click to hide internal directories.