Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateV3ServiceBinding(r CreateV3ServiceBindingRequest) (*V3JobHandle, error)
- func (c *Client) CreateV3ServiceInstance(r CreateV3ServiceInstanceRequest) (*V3JobHandle, error)
- func (c *Client) DeleteV3ServiceBinding(serviceBindingGUID string) (*V3JobHandle, error)
- func (c *Client) DeleteV3ServiceInstance(serviceInstanceGUID string) (*V3JobHandle, error)
- func (c *Client) GetV3ServiceBindingByGUID(serviceBindingGUID string) (*V3ServiceBinding, error)
- func (c *Client) GetV3ServiceBindingDetails(serviceBindingGUID string) (*V3ServiceBindingDetails, error)
- func (c *Client) GetV3ServiceInstanceByGUID(serviceInstanceGUID string) (*V3ServiceInstance, error)
- func (c *Client) GetV3ServiceOfferingByGUID(serviceOfferingGUID string) (*V3ServiceOffering, error)
- func (c *Client) GetV3ServicePlanByGUID(servicePlanGUID string) (*V3ServicePlan, error)
- func (c *Client) ListV3ServiceBindingsByQuery(query url.Values) ([]V3ServiceBinding, error)
- func (c *Client) ListV3ServiceInstancesByQuery(query url.Values) ([]V3ServiceInstance, error)
- func (c *Client) ListV3ServiceOfferingsByQuery(query url.Values) ([]V3ServiceOffering, error)
- func (c *Client) ListV3ServicePlansByQuery(query url.Values) ([]V3ServicePlan, error)
- func (c *Client) UpdateV3ServiceBinding(serviceBindingGUID string, r UpdateV3ServiceBindingRequest) (*V3JobHandle, error)
- func (c *Client) UpdateV3ServiceInstance(serviceInstanceGUID string, r UpdateV3ServiceInstanceRequest) (*V3JobHandle, error)
- type CloudFoundryLinkV3
- type CloudFoundryWarningV3
- type CreateV3ServiceBindingRequest
- type CreateV3ServiceInstanceRequest
- type MaintenanceInfoV3
- type UpdateV3ServiceBindingRequest
- type UpdateV3ServiceInstanceRequest
- type V3Job
- type V3JobHandle
- type V3LastOperation
- type V3ServiceBinding
- type V3ServiceBindingDetails
- type V3ServiceInstance
- type V3ServiceOffering
- type V3ServiceOfferingBrokerCatalog
- type V3ServiceOfferingBrokerCatalogFeatures
- type V3ServicePlan
- type V3ServicePlanBrokerCatalog
- type V3ServicePlanBrokerCatalogFeatures
- type V3ServicePlanCost
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
cfclient.Client
}
func (*Client) CreateV3ServiceBinding ¶
func (c *Client) CreateV3ServiceBinding(r CreateV3ServiceBindingRequest) (*V3JobHandle, error)
func (*Client) CreateV3ServiceInstance ¶
func (c *Client) CreateV3ServiceInstance(r CreateV3ServiceInstanceRequest) (*V3JobHandle, error)
func (*Client) DeleteV3ServiceBinding ¶
func (c *Client) DeleteV3ServiceBinding(serviceBindingGUID string) (*V3JobHandle, error)
func (*Client) DeleteV3ServiceInstance ¶
func (c *Client) DeleteV3ServiceInstance(serviceInstanceGUID string) (*V3JobHandle, error)
func (*Client) GetV3ServiceBindingByGUID ¶
func (c *Client) GetV3ServiceBindingByGUID(serviceBindingGUID string) (*V3ServiceBinding, error)
func (*Client) GetV3ServiceBindingDetails ¶
func (c *Client) GetV3ServiceBindingDetails(serviceBindingGUID string) (*V3ServiceBindingDetails, error)
func (*Client) GetV3ServiceInstanceByGUID ¶
func (c *Client) GetV3ServiceInstanceByGUID(serviceInstanceGUID string) (*V3ServiceInstance, error)
func (*Client) GetV3ServiceOfferingByGUID ¶
func (c *Client) GetV3ServiceOfferingByGUID(serviceOfferingGUID string) (*V3ServiceOffering, error)
func (*Client) GetV3ServicePlanByGUID ¶
func (c *Client) GetV3ServicePlanByGUID(servicePlanGUID string) (*V3ServicePlan, error)
func (*Client) ListV3ServiceBindingsByQuery ¶
func (c *Client) ListV3ServiceBindingsByQuery(query url.Values) ([]V3ServiceBinding, error)
func (*Client) ListV3ServiceInstancesByQuery ¶
func (c *Client) ListV3ServiceInstancesByQuery(query url.Values) ([]V3ServiceInstance, error)
func (*Client) ListV3ServiceOfferingsByQuery ¶
func (c *Client) ListV3ServiceOfferingsByQuery(query url.Values) ([]V3ServiceOffering, error)
func (*Client) ListV3ServicePlansByQuery ¶
func (c *Client) ListV3ServicePlansByQuery(query url.Values) ([]V3ServicePlan, error)
func (*Client) UpdateV3ServiceBinding ¶
func (c *Client) UpdateV3ServiceBinding(serviceBindingGUID string, r UpdateV3ServiceBindingRequest) (*V3JobHandle, error)
func (*Client) UpdateV3ServiceInstance ¶
func (c *Client) UpdateV3ServiceInstance(serviceInstanceGUID string, r UpdateV3ServiceInstanceRequest) (*V3JobHandle, error)
type CloudFoundryLinkV3 ¶
type CloudFoundryWarningV3 ¶
type CloudFoundryWarningV3 struct {
Detail string `json:"detail"`
}
type MaintenanceInfoV3 ¶
type UpdateV3ServiceBindingRequest ¶
type UpdateV3ServiceBindingRequest struct {
Metadata *cfclient.V3Metadata
}
type V3Job ¶
type V3Job struct { GUID string `json:"guid"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` Operation string `json:"operation"` State string `json:"state"` Errors []cfclient.CloudFoundryErrorV3 `json:"errors,omitempty"` Warnings []CloudFoundryWarningV3 `json:"warnings,omitempty"` Links map[string]CloudFoundryLinkV3 `json:"links,omitempty"` }
type V3JobHandle ¶
type V3JobHandle struct {
// contains filtered or unexported fields
}
func (*V3JobHandle) Refresh ¶
func (h *V3JobHandle) Refresh() (*V3Job, error)
type V3LastOperation ¶
type V3ServiceBinding ¶
type V3ServiceBinding struct { GUID string `json:"guid"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` Name string `json:"name"` LastOperation V3LastOperation `json:"last_operation"` RelationShips map[string]cfclient.V3ToOneRelationship `json:"relationships,omitempty"` Metadata cfclient.V3Metadata `json:"metadata,omitempty"` Links map[string]CloudFoundryLinkV3 `json:"links,omitempty"` }
type V3ServiceBindingDetails ¶
type V3ServiceInstance ¶
type V3ServiceInstance struct { GUID string `json:"guid"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` Name string `json:"name"` Tags []string `json:"tags,omitempty"` MaintenanceInfo MaintenanceInfoV3 `json:"maintenance_info,omitempty"` DashboardUrl string `json:"dashboard_url,omitempty"` LastOperation V3LastOperation `json:"last_operation"` RelationShips map[string]cfclient.V3ToOneRelationship `json:"relationships,omitempty"` Metadata cfclient.V3Metadata `json:"metadata,omitempty"` Links map[string]CloudFoundryLinkV3 `json:"links,omitempty"` }
type V3ServiceOffering ¶
type V3ServiceOffering struct { GUID string `json:"guid"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` Name string `json:"name"` Description string `json:"description,omitempty"` Available bool `json:"available"` Tags []string `json:"tags,omitempty"` Requires []string `json:"requires,omitempty"` DocumentationUrl string `json:"documentation_url,omitempty"` BrokerCatalog V3ServiceOfferingBrokerCatalog `json:"broker_catalog,omitempty"` RelationShips map[string]cfclient.V3ToOneRelationship `json:"relationships,omitempty"` Metadata cfclient.V3Metadata `json:"metadata,omitempty"` Links map[string]CloudFoundryLinkV3 `json:"links,omitempty"` }
type V3ServiceOfferingBrokerCatalog ¶
type V3ServiceOfferingBrokerCatalog struct { Id string `json:"id"` Metadata map[string]interface{} `json:"metadata,omitempty"` Feature V3ServiceOfferingBrokerCatalogFeatures `json:"features,omitempty"` }
type V3ServicePlan ¶
type V3ServicePlan struct { GUID string `json:"guid"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` Name string `json:"name"` VisibilityType string `json:"visibility_type"` Available bool `json:"available"` Free bool `json:"free"` Costs []V3ServicePlanCost `json:"costs,omitempty"` Description string `json:"description,omitempty"` MaintenanceInfo MaintenanceInfoV3 `json:"maintenance_info,omitempty"` BrokerCatalog V3ServicePlanBrokerCatalog `json:"broker_catalog,omitempty"` RelationShips map[string]cfclient.V3ToOneRelationship `json:"relationships,omitempty"` Metadata cfclient.V3Metadata `json:"metadata,omitempty"` Links map[string]CloudFoundryLinkV3 `json:"links,omitempty"` }
type V3ServicePlanBrokerCatalog ¶
type V3ServicePlanBrokerCatalog struct { Id string `json:"id"` Metadata map[string]interface{} `json:"metadata,omitempty"` MaximumPollingDuration int64 `json:"maximum_polling_duration"` Feature V3ServicePlanBrokerCatalogFeatures `json:"features,omitempty"` }
type V3ServicePlanCost ¶
Click to show internal directories.
Click to hide internal directories.