Documentation ¶
Index ¶
- Variables
- func IsNotFound(err error) bool
- type Event
- type FleetConfig
- type FleetTunnel
- func (f *FleetTunnel) Cat(unitName string) (string, error)
- func (f *FleetTunnel) Destroy(events chan Event, unitNames ...string) error
- func (f *FleetTunnel) List() ([]string, error)
- func (f *FleetTunnel) Start(events chan Event, units UnitDataList) error
- func (f *FleetTunnel) Status() (StatusMap, error)
- func (f *FleetTunnel) Stop(events chan Event, unitNames ...string) (StopStats, error)
- type StatusMap
- type StopStats
- type UnitData
- type UnitDataList
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NotFoundError = errgo.New("not found")
)
Functions ¶
func IsNotFound ¶
Types ¶
type FleetConfig ¶
type FleetConfig struct { Tunnel string SSHUserName string SSHTimeout time.Duration StrictHostKeyChecking bool KnownHostsFile string CAFile string CertFile string KeyFile string EndPoint string RequestTimeout time.Duration EtcdKeyPrefix string NoBlock bool BlockAttempts int }
func DefaultConfig ¶
func DefaultConfig() FleetConfig
type FleetTunnel ¶
type FleetTunnel struct { FleetConfig // contains filtered or unexported fields }
func NewTunnel ¶
func NewTunnel(config FleetConfig) (*FleetTunnel, error)
func (*FleetTunnel) Destroy ¶
func (f *FleetTunnel) Destroy(events chan Event, unitNames ...string) error
func (*FleetTunnel) List ¶
func (f *FleetTunnel) List() ([]string, error)
func (*FleetTunnel) Start ¶
func (f *FleetTunnel) Start(events chan Event, units UnitDataList) error
func (*FleetTunnel) Status ¶
func (f *FleetTunnel) Status() (StatusMap, error)
type UnitDataList ¶
Click to show internal directories.
Click to hide internal directories.