Documentation ¶
Index ¶
- func ConvertHelmValsToMap(a []struct{ ... }) map[string]string
- func DoSSA(ctx context.Context, cfg *rest.Config, yaml []byte) error
- func DownloadFileString(url string) (string, error)
- func GetDefaultRuntime() cluster.ProviderOption
- func GetRestConfig(kubeConfigPath string) (*rest.Config, error)
- func IsDeploymentRunning(c kubernetes.Interface, ns string, depl string) wait.ConditionWithContextFunc
- func LabelWorkers(c kubernetes.Interface) error
- func NewClient(kubeConfigPath string) (kubernetes.Interface, error)
- func PostInstallManifests(manifests []string, ctx context.Context, cfg *rest.Config) error
- func SplitYAML(resources []byte) ([][]byte, error)
- func WaitForDeployment(c kubernetes.Interface, namespace string, deployment string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertHelmValsToMap ¶
ConvertHelmValsToMap converts a slice of strings to a map of strings
func DownloadFileString ¶
DownloadFileString will load the contents of a url to a string and return it
func GetDefaultRuntime ¶
func GetDefaultRuntime() cluster.ProviderOption
GetDefault selected the default runtime from the environment override
func GetRestConfig ¶
GetRestConfig returns a *rest.Config
func IsDeploymentRunning ¶
func IsDeploymentRunning(c kubernetes.Interface, ns string, depl string) wait.ConditionWithContextFunc
check to see if the named deployment is running func IsDeploymentRunning(c kubernetes.Interface, ns string, depl string) wait.ConditionFunc {
func LabelWorkers ¶
func LabelWorkers(c kubernetes.Interface) error
LabelWorkers will label the workers nodes as such
func NewClient ¶
func NewClient(kubeConfigPath string) (kubernetes.Interface, error)
NewClient returns a kubernetes.Interface
func PostInstallManifests ¶
PostInstallManifests will install the manifests after cluster has been created and setup. It is currently best effort/garbage in garbage out
func WaitForDeployment ¶
func WaitForDeployment(c kubernetes.Interface, namespace string, deployment string, timeout time.Duration) error
Poll up to timeout seconds for pod to enter running state.
Types ¶
This section is empty.