Documentation ¶
Index ¶
- type Config
- type Driver
- func (d *Driver) Create() error
- func (d *Driver) DriverName() string
- func (d *Driver) GetIP() (string, error)
- func (d *Driver) GetSSHHostname() (string, error)
- func (d *Driver) GetSSHPort() (int, error)
- func (d *Driver) GetState() (state.State, error)
- func (d *Driver) GetURL() (string, error)
- func (d *Driver) Kill() error
- func (d *Driver) PreCreateCheck() error
- func (d *Driver) Remove() error
- func (d *Driver) Restart() error
- func (d *Driver) RunSSHCommandFromDriver() error
- func (d *Driver) Start() error
- func (d *Driver) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct { *drivers.BaseDriver *pkgdrivers.CommonDriver URL string // contains filtered or unexported fields }
Driver is a driver designed to run kubeadm w/o VM management, and assumes systemctl. https://github.com/kubernetes/minikube/blob/master/docs/vmdriver-none.md
func (*Driver) DriverName ¶
DriverName returns the name of the driver
func (*Driver) GetSSHHostname ¶
GetSSHHostname returns hostname for use with ssh
func (*Driver) GetSSHPort ¶
GetSSHPort returns port for use with ssh
func (*Driver) GetURL ¶
GetURL returns a Docker compatible host URL for connecting to this host e.g. tcp://1.2.3.4:2376
func (*Driver) PreCreateCheck ¶
PreCreateCheck checks for correct privileges and dependencies
func (*Driver) RunSSHCommandFromDriver ¶
RunSSHCommandFromDriver implements direct ssh control to the driver
Click to show internal directories.
Click to hide internal directories.