Documentation ¶
Overview ¶
Copyright (C) 2020 VMware, Inc. SPDX-License-Identifier: Apache-2.0
Portions Copyright (C) 2020 VMware, Inc. SPDX-License-Identifier: Apache-2.0
Portions Copyright (C) 2020 VMware, Inc. SPDX-License-Identifier: Apache-2.0
Index ¶
- Constants
- type Driver
- func (d *Driver) Bootstrap(ctx context.Context, l progress.Logger) error
- func (d *Driver) Clients(ctx context.Context) (*driver.BuilderClients, error)
- func (d *Driver) Factory() driver.Factory
- func (d *Driver) Features() map[driver.Feature]bool
- func (d *Driver) GetAuthHintMessage() string
- func (d *Driver) GetAuthProvider(secretName string, stderr io.Writer) session.Attachable
- func (d *Driver) GetAuthWrapper(secretName string) imagetools.Auth
- func (d *Driver) GetVersion(ctx context.Context) (string, error)
- func (d *Driver) Info(ctx context.Context) (*driver.Info, error)
- func (d *Driver) List(ctx context.Context) ([]driver.Builder, error)
- func (d *Driver) Rm(ctx context.Context, force bool) error
- func (d *Driver) RuntimeSockProxy(ctx context.Context, name string) (net.Conn, error)
- func (d *Driver) Stop(ctx context.Context, force bool) error
Constants ¶
View Source
const ( // valid values for driver-opt loadbalance LoadbalanceRandom = "random" LoadbalanceSticky = "sticky" // valid values for driver-opt worker WorkerContainerd = "containerd" WorkerRunc = "runc" DefaultContainerdNamespace = "k8s.io" DefaultContainerdSockPath = "/run/containerd/containerd.sock" DefaultDockerSockPath = "/var/run/docker.sock" //DefaultContainerRuntime = "containerd" // TODO figure out a way to autodiscover this if not specified for better UX DefaultContainerRuntime = "docker" // Temporary since most kubernetes clusters are still Docker based today... // TODO - consider adding other default values here to aid users in fine-tuning by editing the configmap post deployment DefaultConfigFileTemplate = `` /* 167-byte string literal not displayed */ )
View Source
const (
DriverName = "kubernetes"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct { driver.InitConfig // contains filtered or unexported fields }
func (*Driver) GetAuthHintMessage ¶
func (*Driver) GetAuthProvider ¶
func (*Driver) GetAuthWrapper ¶
func (d *Driver) GetAuthWrapper(secretName string) imagetools.Auth
func (*Driver) GetVersion ¶ added in v0.1.4
func (*Driver) RuntimeSockProxy ¶
Directories ¶
Path | Synopsis |
---|---|
Portions Copyright (C) 2020 VMware, Inc.
|
Portions Copyright (C) 2020 VMware, Inc. |
Portions Copyright (C) 2020 VMware, Inc.
|
Portions Copyright (C) 2020 VMware, Inc. |
Portions Copyright (C) 2020 VMware, Inc.
|
Portions Copyright (C) 2020 VMware, Inc. |
Click to show internal directories.
Click to hide internal directories.