install

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 53 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Container = struct {
	BlockUntilKeyCanRead func(string, *ssh.PublicKeys, string)
	GetSSHHostname       func(_ *url.URL) string
	QueryConfigKey       func(configKey string, _ func() (any, error)) error
	CreateFluxManifest   func() (*manifestgen.Manifest, error)
	Apply                func(ctx context.Context, rcg genericclioptions.RESTClientGetter, opts *runclient.Options, root, manifestPath string) (string, error)
	Create               func(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
}{
	BlockUntilKeyCanRead: blockUntilKeyCanRead,
	GetSSHHostname:       getSSHHostname,
	QueryConfigKey:       common.QueryConfigKey,
	CreateFluxManifest:   createFluxManifest,
	Apply:                utils.Apply,
}

Functions

func Install

func Install(kubeconfig string, isDryRun bool) error

func UnmarshalKeConfig

func UnmarshalKeConfig(config *KeConfig) error

unmarshalKeConfig ...

Types

type KeConfig

type KeConfig struct {
	Version          string              `yaml:"version"`
	BaseCluster      baseClusterConfig   `yaml:"baseCluster"`
	Admin            admin               `yaml:"admin"`
	ClusterIdentity  string              `yaml:"clusterIdentity"`
	Gardener         gardenerConfig      `yaml:"gardener"`
	Gardenlet        gardenletConfig     `yaml:"gardenlet"`
	KubeApiServer    kubeApiServerConfig `yaml:"kubeApiServer"`
	Dashboard        dashboardConfig     `yaml:"dashboard"`
	Issuer           issuerConfig        `yaml:"issuer"`
	DomainConfig     domainConfiguration `yaml:"domainConfig,omitempty"`
	ExtensionsConfig extensionsConfig    `yaml:"extensions"`
}

Jump to

Keyboard shortcuts

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