Documentation ¶
Index ¶
- type CfClient
- type ClientHelper
- func (helper *ClientHelper) GetServiceInstancesByUrl(cliConnection plugin.CliConnection, serviceInstancesUrl string) ([]ServiceInstance, error)
- func (helper *ClientHelper) GetServiceSummaryBySpace(cliConnection plugin.CliConnection, spaceUrl string) ([]ServiceSummaryBySpace, error)
- func (helper *ClientHelper) ListOrgs(cliConnection plugin.CliConnection) ([]Org, error)
- func (helper *ClientHelper) ListServicePlans(cliConnection plugin.CliConnection) ([]ServicePlan, error)
- func (helper *ClientHelper) ListServices(cliConnection plugin.CliConnection) ([]Service, error)
- func (helper *ClientHelper) ListSpacesByOrg(cliConnection plugin.CliConnection, spacesUrl string) ([]Space, error)
- type Org
- type Service
- type ServiceInstance
- type ServicePlan
- type ServiceSummaryBySpace
- type Space
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CfClient ¶
type CfClient interface { ListOrgs(cliConnection plugin.CliConnection) ([]Org, error) ListSpacesByOrg(cliConnection plugin.CliConnection, spacesUrl string) ([]Space, error) ListServices(cliConnection plugin.CliConnection) ([]Service, error) ListServicePlans(cliConnection plugin.CliConnection) ([]ServicePlan, error) GetServiceInstancesByUrl(cliConnection plugin.CliConnection, serviceInstancesUrl string) ([]ServiceInstance, error) GetServiceSummaryBySpace(cliConnection plugin.CliConnection, spaceUrl string) ([]ServiceSummaryBySpace, error) }
type ClientHelper ¶
type ClientHelper struct{}
implementation of interface CfClient
func (*ClientHelper) GetServiceInstancesByUrl ¶
func (helper *ClientHelper) GetServiceInstancesByUrl(cliConnection plugin.CliConnection, serviceInstancesUrl string) ([]ServiceInstance, error)
get all service instances from service_instances_url under space response
func (*ClientHelper) GetServiceSummaryBySpace ¶
func (helper *ClientHelper) GetServiceSummaryBySpace(cliConnection plugin.CliConnection, spaceUrl string) ([]ServiceSummaryBySpace, error)
get service summary for specific space to get bound_app_count numbers
func (*ClientHelper) ListOrgs ¶
func (helper *ClientHelper) ListOrgs(cliConnection plugin.CliConnection) ([]Org, error)
list all the orgs in the foundation
func (*ClientHelper) ListServicePlans ¶
func (helper *ClientHelper) ListServicePlans(cliConnection plugin.CliConnection) ([]ServicePlan, error)
list all the service plans
func (*ClientHelper) ListServices ¶
func (helper *ClientHelper) ListServices(cliConnection plugin.CliConnection) ([]Service, error)
list all the services
func (*ClientHelper) ListSpacesByOrg ¶
func (helper *ClientHelper) ListSpacesByOrg(cliConnection plugin.CliConnection, spacesUrl string) ([]Space, error)
list all the spaces under the particular org
type ServiceInstance ¶
type ServicePlan ¶
type ServiceSummaryBySpace ¶
Click to show internal directories.
Click to hide internal directories.