Documentation
¶
Index ¶
- type App
- type CFPluginAPI
- type Client
- func (c *Client) BindService(appName, serviceName string) error
- func (c *Client) CreateServiceInstance(planType, instanceName string) error
- func (c *Client) CreateTask(app App, command string) (*Task, error)
- func (c *Client) DeleteApp(appName string) error
- func (c *Client) DeleteServiceInstance(instanceName string) error
- func (c *Client) DumpLogs(appName string)
- func (c *Client) GetAppByName(name string) (App, error)
- func (c *Client) GetHostnames(instanceName string) ([]string, error)
- func (c *Client) GetTaskByGUID(guid string) (*Task, error)
- func (c *Client) PushApp(path, appName string) error
- func (c *Client) RenameService(oldName, newName string) error
- func (c *Client) RunTask(appName, command string) error
- func (c *Client) ServiceExists(serviceName string) bool
- func (c *Client) StartApp(appName string) error
- func (c *Client) UpdateServiceConfig(instanceName string, jsonParams string) error
- type Error
- type SleepFunc
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFPluginAPI ¶
type Client ¶
type Client struct { MaxAttempts int Log *log.Logger Sleep SleepFunc // contains filtered or unexported fields }
func NewClient ¶
func NewClient(pluginAPI CFPluginAPI) *Client
func (*Client) BindService ¶
func (*Client) CreateServiceInstance ¶
func (*Client) DeleteServiceInstance ¶
func (*Client) RenameService ¶
func (*Client) ServiceExists ¶
Click to show internal directories.
Click to hide internal directories.