installer

package
v0.0.0-...-a79bcda Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 21 Imported by: 2

Documentation

Index

Constants

View Source
const GcTag = "kube_prod_runtime"

Variables

This section is empty.

Functions

This section is empty.

Types

type InstallCmd

type InstallCmd struct {
	Config             *restclient.Config
	Client             dynamic.Interface
	Mapper             meta.RESTMapper
	Discovery          discovery.DiscoveryInterface
	OnlyGenerate       bool
	PlatformConfig     PlatformConfig
	Platform           string
	PlatformConfigPath string
	ManifestBase       *url.URL
}

InstallCmd represents the install subcommand

func (InstallCmd) ReadPlatformConfig

func (c InstallCmd) ReadPlatformConfig(into interface{}) error

func (InstallCmd) Run

func (c InstallCmd) Run(out io.Writer) error

Run runs the installer

func (InstallCmd) Update

func (c InstallCmd) Update(out io.Writer) error

func (InstallCmd) WritePlatformConfig

func (c InstallCmd) WritePlatformConfig(conf interface{}) error

type PlatformConfig

type PlatformConfig interface {
	Generate(context.Context) error
}

Jump to

Keyboard shortcuts

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