kotsadm

package
v1.5.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: Apache-2.0 Imports: 27 Imported by: 3

Documentation

Index

Constants

View Source
const (
	None      = ""
	Cluster   = "cluster"
	Namespace = "namespace"
)

Variables

View Source
var (
	OverrideVersion   = ""
	OverrideRegistry  = ""
	OverrideNamespace = ""
)

Functions

func Deploy

func Deploy(deployOptions DeployOptions) error

func Upgrade

func Upgrade(upgradeOptions UpgradeOptions) error

func YAML

func YAML(deployOptions DeployOptions) (map[string][]byte, error)

YAML will return a map containing the YAML needed to run the admin console

Types

type DeployOptions added in v0.9.0

type DeployOptions struct {
	Namespace              string
	Kubeconfig             string
	IncludeShip            bool
	IncludeGitHub          bool
	SharedPassword         string
	SharedPasswordBcrypt   string
	S3AccessKey            string
	S3SecretKey            string
	JWT                    string
	PostgresPassword       string
	APIEncryptionKey       string
	AutoCreateClusterToken string
	ServiceType            string
	NodePort               int32
	Hostname               string
	ApplicationMetadata    []byte
}

type RoleScope added in v1.5.0

type RoleScope string

type UpgradeOptions added in v0.9.14

type UpgradeOptions struct {
	Namespace  string
	Kubeconfig string
}

Jump to

Keyboard shortcuts

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