Documentation ¶
Overview ¶
Package mustload loads minikube clusters, exiting with user-friendly messages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExampleCmd ¶
ExampleCmd Return a minikube command containing the current profile name
func Partial ¶
func Partial(name string, miniHome ...string) (libmachine.API, *config.ClusterConfig)
Partial is a cmd-friendly way to load a cluster which may or may not be running
Types ¶
type ClusterController ¶
type ClusterController struct { Config *config.ClusterConfig API libmachine.API CP ControlPlane }
ClusterController holds all the needed information for a minikube cluster
func Healthy ¶
func Healthy(name string) ClusterController
Healthy is a cmd-friendly way to load a healthy cluster.
func Running ¶
func Running(name string) ClusterController
Running is a cmd-friendly way to load a running cluster.
type ControlPlane ¶ added in v1.9.1
type ControlPlane struct { // Host is the libmachine host object Host *host.Host // Node is our internal control object Node *config.Node // Runner provides command execution Runner command.Runner // Hostname is the host-accesible target for the apiserver Hostname string // Port is the host-accessible port for the apiserver Port int // IP is the host-accessible IP for the control plane IP net.IP }
ControlPlane holds all the needed information for the k8s control plane
Click to show internal directories.
Click to hide internal directories.