Documentation ¶
Index ¶
- func CacheImage(image, dst string) error
- func CacheImages(images []string, cacheDir string) error
- func CacheImagesForBootstrapper(version string, clusterBootstrapper string) error
- func GetCommandRunner(h *host.Host) (bootstrapper.CommandRunner, error)
- func LoadFromCacheBlocking(cmd bootstrapper.CommandRunner, src string) error
- func LoadImages(cmd bootstrapper.CommandRunner, images []string, cacheDir string) error
- func NewAPIClient() (libmachine.API, error)
- func NewRPCClient(storePath, certsDir string) libmachine.API
- func StartDriver()
- type CertGenerator
- type ConnChecker
- type LocalClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheImage ¶ added in v0.22.0
func CacheImages ¶ added in v0.22.0
CacheImages will cache images on the host
The cache directory currently caches images using the imagename_tag For example, gcr.io/google-containers-kube-addon-manager:v6.4-beta.2 would be stored at $CACHE_DIR/gcr.io/google-containers/kube-addon-manager_v6.4-beta.2
func CacheImagesForBootstrapper ¶ added in v0.22.0
func GetCommandRunner ¶ added in v0.22.0
func GetCommandRunner(h *host.Host) (bootstrapper.CommandRunner, error)
func LoadFromCacheBlocking ¶ added in v0.22.0
func LoadFromCacheBlocking(cmd bootstrapper.CommandRunner, src string) error
func LoadImages ¶ added in v0.22.0
func LoadImages(cmd bootstrapper.CommandRunner, images []string, cacheDir string) error
func NewAPIClient ¶ added in v0.17.0
func NewAPIClient() (libmachine.API, error)
NewAPIClient gets a new client.
func NewRPCClient ¶ added in v0.20.0
func NewRPCClient(storePath, certsDir string) libmachine.API
func StartDriver ¶
func StartDriver()
Types ¶
type CertGenerator ¶ added in v0.15.0
type CertGenerator struct {
cert.X509CertGenerator
}
CertGenerator is used to override the default machine CertGenerator with a longer timeout.
func (*CertGenerator) ValidateCertificate ¶ added in v0.15.0
ValidateCertificate is a reimplementation of the default generator with a longer timeout.
type ConnChecker ¶ added in v0.16.0
type ConnChecker struct { }
type LocalClient ¶ added in v0.17.0
LocalClient is a non-RPC implemenation of the libmachine API
func (*LocalClient) Close ¶ added in v0.17.0
func (api *LocalClient) Close() error
Click to show internal directories.
Click to hide internal directories.