types

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2015 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 Command

type Command struct {
	Stdout, Stderr io.Writer
	// contains filtered or unexported fields
}

Command struct to execute commands.

type Cron

type Cron struct {
	Frequency string
	Code      func()
}

Cron struct executes code with a time interval

type CurrentBoot

type CurrentBoot struct {
	ConfdNodes []string
	EtcdClient *etcd.Client
	EtcdPath   string
	EtcdPort   int
	EtcdPeers  string
	EtcdURL    []string
	Host       net.IP
	Port       int
	Timeout    time.Duration
	TTL        time.Duration
}

CurrentBoot information about the boot process related to the component

type Script

type Script struct {
	Name    string
	Params  map[string]string
	Content func(string) ([]byte, error)
}

Script struct to specify a script.

type ServiceDaemon

type ServiceDaemon struct {
	Command string
	Args    []string
}

ServiceDaemon struct to a service daemon.

Jump to

Keyboard shortcuts

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