Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindingFinder ¶
type BindingFinder struct {
// contains filtered or unexported fields
}
func NewBindingFinder ¶
func NewBindingFinder(cfClient Client) *BindingFinder
func (*BindingFinder) FindBindings ¶
func (bf *BindingFinder) FindBindings(serviceLabel string) ([]Binding, error)
type Client ¶
type Client interface { GetAppByGuid(guid string) (cfclient.App, error) GetOrgByGuid(spaceGUID string) (cfclient.Org, error) GetSpaceByGuid(spaceGUID string) (cfclient.Space, error) ListServicesByQuery(query url.Values) ([]cfclient.Service, error) ListServiceBindingsByQuery(query url.Values) ([]cfclient.ServiceBinding, error) ListServicePlansByQuery(query url.Values) ([]cfclient.ServicePlan, error) ListServiceKeysByQuery(query url.Values) ([]cfclient.ServiceKey, error) ListServiceInstancesByQuery(query url.Values) ([]cfclient.ServiceInstance, error) }
Click to show internal directories.
Click to hide internal directories.