cmd

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2018 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ERROR_IN_USE    = uint8(48)
	ERROR_NOT_AVAIL = uint8(49)
	ERROR_DENIED    = uint8(71)
	ERROR_UNKNOWN   = uint8(66)
)
View Source
const BOSH_IP = "10.245.0.2"
View Source
const BindType = uint8(6)
View Source
const GOROUTER_IP = "10.144.0.34"
View Source
const UninstallType = uint8(1)

Variables

This section is empty.

Functions

This section is empty.

Types

type BindCommand

type BindCommand struct {
	Addr *net.TCPAddr
}

func UnmarshalBindCommand

func UnmarshalBindCommand(conn io.Reader) (*BindCommand, error)

func (*BindCommand) Execute

func (b *BindCommand) Execute(conn *net.UnixConn) error

type Command

type Command interface {
	Execute(*net.UnixConn) error
}

func UnmarshalCommand

func UnmarshalCommand(conn io.Reader) (Command, error)

type Launchd

type Launchd interface {
	RemoveDaemon(spec launchd.DaemonSpec) error
}

type UnimplementedCommand

type UnimplementedCommand struct {
	Instruction uint8
}

func (*UnimplementedCommand) Execute

func (u *UnimplementedCommand) Execute(conn *net.UnixConn) error

type UninstallCommand

type UninstallCommand struct {
	Launchd Launchd
}

func (*UninstallCommand) Execute

func (u *UninstallCommand) Execute(conn *net.UnixConn) 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