Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster holds configuration info about the nested cluster.
func New ¶
func New(numNodes int, externalProxy, image, masterConfigDir, networkName, nodeImageFile, version string, timeout time.Duration) (*Cluster, error)
New instantiates a new cluster.
Uses NewEnvClient() to create the docker client. Assumes kubecfg lives at admin.conf in masterConfigDir.
Returns an error if it cannot create the docker client.
Click to show internal directories.
Click to hide internal directories.