Documentation
¶
Index ¶
- type Controller
- func (c *Controller) DeployBosh() error
- func (c *Controller) DeployService(service Service, dockerRegistries []string) error
- func (c *Controller) DeployServices(ui UI, services []Service, dockerRegistries []string) error
- func (c *Controller) GetWhiteListedService(serviceName string, whiteList []Service) (*Service, error)
- func (c *Controller) Ping(duration time.Duration) error
- func (c *Controller) WhiteListServices(whiteList string, services []Service) ([]Service, error)
- type SSH
- func (s *SSH) CopyFile(filePath string, remoteFilePath string, address SSHAddress, privateKey []byte, ...) error
- func (s *SSH) RetrieveFile(filePath string, remoteFilePath string, address SSHAddress, privateKey []byte, ...) error
- func (s *SSH) RunSSHCommand(command string, addresses SSHAddress, privateKey []byte, timeout time.Duration, ...) (err error)
- func (s *SSH) WaitForSSH(addresses SSHAddress, privateKey []byte, timeout time.Duration) error
- type SSHAddress
- type Service
- type UI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
func NewController ¶
func NewController(config config.Config) *Controller
func (*Controller) DeployBosh ¶
func (c *Controller) DeployBosh() error
func (*Controller) DeployService ¶
func (c *Controller) DeployService(service Service, dockerRegistries []string) error
func (*Controller) DeployServices ¶
func (c *Controller) DeployServices(ui UI, services []Service, dockerRegistries []string) error
func (*Controller) GetWhiteListedService ¶ added in v0.0.13
func (c *Controller) GetWhiteListedService(serviceName string, whiteList []Service) (*Service, error)
func (*Controller) WhiteListServices ¶
func (c *Controller) WhiteListServices(whiteList string, services []Service) ([]Service, error)
type SSH ¶ added in v0.0.14
type SSH struct{}
func (*SSH) RetrieveFile ¶ added in v0.0.14
func (*SSH) RunSSHCommand ¶ added in v0.0.14
func (*SSH) WaitForSSH ¶ added in v0.0.14
type SSHAddress ¶ added in v0.0.14
Click to show internal directories.
Click to hide internal directories.