Documentation ¶
Index ¶
- func PrepareKubeClient(kubeconfigPath string) (*rest.Config, error)
- func RenderAndApply(name string, template string, context map[string]string, ...) error
- func WaitForAPIServerReachable(kubeconfig *rest.Config, timeout time.Duration) (bool, error)
- func WaitForAllNodes(kubeconfig *rest.Config, timeout time.Duration, ...) (bool, error)
- func WaitForKubeconfig(kubeconfig *rest.Config, cluster string, timeout time.Duration) (bool, error)
- type Cluster
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderAndApply ¶
func WaitForAllNodes ¶
Types ¶
type Cluster ¶
type Cluster interface { // CreateCluster creates a new cluster CreateCluster() error // DeleteCluster deletes a cluster DeleteCluster() error // GetKubeConfig returns the kubeconfig GetKubeConfig() (string, error) // GetClusterStatus returns the status of a cluster GetClusterStatus() (bool, error) // CreateGreeting prints a greeting message after creating a cluster CreateGreeting() }
Click to show internal directories.
Click to hide internal directories.