kubernetes

package
v0.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 25 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// valid values for driver-opt loadbalance
	LoadbalanceRandom = "random"
	LoadbalanceSticky = "sticky"
)
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) Bootstrap

func (d *Driver) Bootstrap(ctx context.Context, l progress.Logger) error

func (*Driver) Client

func (d *Driver) Client(ctx context.Context, opts ...client.ClientOpt) (*client.Client, error)

func (*Driver) Config added in v0.5.0

func (d *Driver) Config() driver.InitConfig

func (*Driver) Dial added in v0.13.0

func (d *Driver) Dial(ctx context.Context) (net.Conn, error)

func (*Driver) Factory

func (d *Driver) Factory() driver.Factory

func (*Driver) Features

func (d *Driver) Features(_ context.Context) map[driver.Feature]bool

func (*Driver) HostGatewayIP added in v0.12.0

func (d *Driver) HostGatewayIP(_ context.Context) (net.IP, error)

func (*Driver) Info

func (d *Driver) Info(ctx context.Context) (*driver.Info, error)

func (*Driver) IsMobyDriver added in v0.5.0

func (d *Driver) IsMobyDriver() bool

func (*Driver) Rm

func (d *Driver) Rm(ctx context.Context, force, rmVolume, rmDaemon bool) error

func (*Driver) Stop

func (d *Driver) Stop(ctx context.Context, force bool) error

func (*Driver) Version added in v0.9.0

func (d *Driver) Version(ctx context.Context) (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL