installer

package
Version: v0.0.0-...-78c8a47 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 69 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAPIServerIPAddress = "172.20.0.1"
)

Variables

This section is empty.

Functions

func GenerateClientConfigFromRESTConfig

func GenerateClientConfigFromRESTConfig(name string, restConfig *rest.Config) *configapi.Config

GenerateClientConfigFromRESTConfig generates a new kubeconfig using a given rest.Config. The rest.Config may come from in-cluster config (as in a pod) or an existing kubeconfig.

func UninstallCluster

func UninstallCluster(name string) error

Types

type Applier

type Applier struct {
	// contains filtered or unexported fields
}

func NewApplier

func NewApplier(cfg *rest.Config, namespace string) *Applier

func (*Applier) ApplyFile

func (a *Applier) ApplyFile(fileName string) error

type CreateClusterOpts

type CreateClusterOpts struct {
	Directory    string
	ReleaseImage string
	Wait         bool
	DryRun       bool
	AMI          string
}

func (*CreateClusterOpts) Run

func (o *CreateClusterOpts) Run() error

type CreateInstallConfigOpts

type CreateInstallConfigOpts struct {
	Name           string
	Directory      string
	PullSecretFile string
	SSHKeyFile     string
	Local          bool
}

func (*CreateInstallConfigOpts) Run

func (o *CreateInstallConfigOpts) Run() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL