config

package
v0.8.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DraftConfig added in v0.8.0

type DraftConfig struct {
	Basedomain   string
	Image        string
	Ingress      bool
	RegistryURL  string
	RegistryAuth string
}

func FromClientConfig

func FromClientConfig(config clientcmd.ClientConfig) (*DraftConfig, string, error)

FromClientConfig reads a kubernetes client config, searching for information that may indicate this is a minikube/Azure Container Services/Google Container Engine cluster and return configuration optimized for that cloud, as well as the cloud provider name. Currently only supports minikube

Jump to

Keyboard shortcuts

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