Documentation ¶
Index ¶
- func GetServiceBindRepository() (api.ServiceBindingRepository, error)
- type Client
- func (c *Client) CfClient() *ccv3.Client
- func (c *Client) CloudControllerURL() interface{}
- func (c *Client) CreateApplicationDeployment(appGuid string, dropletGuid string) (string, error)
- func (c *Client) CreateApplicationProcessScale(guid string, p resources.Process) (proc resources.Process, err error)
- func (c *Client) CreateBuild(packageGuid string) (resources.Build, error)
- func (c *Client) CreatePackage(pkg resources.Package) (resources.Package, error)
- func (c *Client) CreateRoute(route resources.Route) (resources.Route, error)
- func (c *Client) DeleteApplication(guid string) (ccv3.JobURL, error)
- func (c *Client) DeleteRoute(guid string) (ccv3.JobURL, error)
- func (c *Client) GetApplicationProcesses(appGuid string) (processes []resources.Process, err error)
- func (c *Client) GetApplicationRoutes(guid string) ([]resources.Route, error)
- func (c *Client) GetApplications(orgGuid string, spaceGuid string, appName string) (apps []resources.Application, err error)
- func (c *Client) GetApplicationsByLabels(orgGuid string, spaceGuid string, labels []string) (apps []resources.Application, err error)
- func (c *Client) GetBuild(buildGuid string) (resources.Build, error)
- func (c *Client) GetDomains(domains ...string) ([]resources.Domain, error)
- func (c *Client) GetDomainsByName(names ...string) (domains []resources.Domain, err error)
- func (c *Client) GetHealthByGUID(appGuid string) (result *proto.StatusReport, err error)
- func (c *Client) GetOrganization(name string) (resources.Organization, error)
- func (c *Client) GetProcessInstances(guid string) ([]ccv3.ProcessInstance, error)
- func (c *Client) GetRoute(guid string) (route resources.Route, err error)
- func (c *Client) GetServiceInstances(spaceGuid string, serviceName string) (resources.ServiceInstance, error)
- func (c *Client) GetSpaceByName(spaceName string, orgGuid string) (space resources.Space, err error)
- func (c *Client) MapRoute(routeGuid string, appGuid string) error
- func (c *Client) SelectOrgAndSpace(orgName string, spaceName string) (org resources.Organization, space resources.Space, err error)
- func (c *Client) StopApplication(guid string) (resources.Application, error)
- func (c *Client) UnmapRoute(routeGuid string, appGuid string) error
- func (c *Client) UpdateApplicationEnvironmentVariables(appGuid string, vars resources.EnvironmentVariables) (resources.EnvironmentVariables, error)
- func (c *Client) UpdateApplicationProcess(p resources.Process) (proc resources.Process, err error)
- func (c *Client) UpsertRoute(hostname string, domain resources.Domain, spaceGuid string) (route resources.Route, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServiceBindRepository ¶
func GetServiceBindRepository() (api.ServiceBindingRepository, error)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CloudControllerURL ¶
func (c *Client) CloudControllerURL() interface{}
func (*Client) CreateApplicationDeployment ¶
func (*Client) CreateApplicationProcessScale ¶
func (*Client) CreateBuild ¶
func (*Client) CreatePackage ¶
func (*Client) CreateRoute ¶
func (*Client) DeleteApplication ¶
func (*Client) GetApplicationProcesses ¶
func (*Client) GetApplicationRoutes ¶
func (*Client) GetApplications ¶
func (*Client) GetApplicationsByLabels ¶
func (*Client) GetDomains ¶
func (*Client) GetDomainsByName ¶
func (*Client) GetHealthByGUID ¶
func (c *Client) GetHealthByGUID(appGuid string) (result *proto.StatusReport, err error)
func (*Client) GetOrganization ¶
func (c *Client) GetOrganization(name string) (resources.Organization, error)
func (*Client) GetProcessInstances ¶
func (c *Client) GetProcessInstances(guid string) ([]ccv3.ProcessInstance, error)
func (*Client) GetServiceInstances ¶
func (*Client) GetSpaceByName ¶
func (*Client) SelectOrgAndSpace ¶
func (*Client) StopApplication ¶
func (c *Client) StopApplication(guid string) (resources.Application, error)
func (*Client) UpdateApplicationEnvironmentVariables ¶
func (c *Client) UpdateApplicationEnvironmentVariables( appGuid string, vars resources.EnvironmentVariables, ) (resources.EnvironmentVariables, error)
func (*Client) UpdateApplicationProcess ¶
Click to show internal directories.
Click to hide internal directories.