stop

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analytics

type Analytics interface {
	Event(event string, data ...map[string]interface{}) error
}

type AnalyticsD

type AnalyticsD interface {
	Stop() error
	Destroy() error
}

type CfdevdClient

type CfdevdClient interface {
	Uninstall() (string, error)
	RemoveIPAlias() (string, error)
}

type Host

type Host interface {
	CheckRequirements() error
}

type HostNet

type HostNet interface {
	RemoveLoopbackAliases(...string) error
}

type Hypervisor

type Hypervisor interface {
	Stop(vmName string) error
	Destroy(vmName string) error
}

type Stop

type Stop struct {
	Hypervisor   Hypervisor
	VpnKit       VpnKit
	Config       config.Config
	CfdevdClient CfdevdClient
	Analytics    Analytics
	HostNet      HostNet
	AnalyticsD   AnalyticsD
	Host         Host
}

func (*Stop) Cmd

func (s *Stop) Cmd() *cobra.Command

func (*Stop) RunE

func (s *Stop) RunE(cmd *cobra.Command, args []string) error

type UI

type UI interface {
	Say(message string, args ...interface{})
}

type VpnKit

type VpnKit interface {
	Stop() error
	Destroy() error
}

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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