Documentation ¶
Index ¶
- type Catalog
- type CloudFormationBroker
- func (b *CloudFormationBroker) Bind(instanceID, bindingID string, details brokerapi.BindDetails) (brokerapi.BindingResponse, error)
- func (b *CloudFormationBroker) Deprovision(instanceID string, details brokerapi.DeprovisionDetails, ...) (bool, error)
- func (b *CloudFormationBroker) LastOperation(instanceID string) (brokerapi.LastOperationResponse, error)
- func (b *CloudFormationBroker) Provision(instanceID string, details brokerapi.ProvisionDetails, acceptsIncomplete bool) (brokerapi.ProvisioningResponse, bool, error)
- func (b *CloudFormationBroker) Services() brokerapi.CatalogResponse
- func (b *CloudFormationBroker) Unbind(instanceID, bindingID string, details brokerapi.UnbindDetails) error
- func (b *CloudFormationBroker) Update(instanceID string, details brokerapi.UpdateDetails, acceptsIncomplete bool) (bool, error)
- type CloudFormationProperties
- type Config
- type Cost
- type DashboardClient
- type ProvisionParameters
- type Service
- type ServiceMetadata
- type ServicePlan
- type ServicePlanMetadata
- type UpdateParameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog struct {
Services []Service `json:"services,omitempty"`
}
func (Catalog) FindService ¶
func (Catalog) FindServicePlan ¶
func (c Catalog) FindServicePlan(planID string) (plan ServicePlan, found bool)
type CloudFormationBroker ¶
type CloudFormationBroker struct {
// contains filtered or unexported fields
}
func (*CloudFormationBroker) Bind ¶
func (b *CloudFormationBroker) Bind(instanceID, bindingID string, details brokerapi.BindDetails) (brokerapi.BindingResponse, error)
func (*CloudFormationBroker) Deprovision ¶
func (b *CloudFormationBroker) Deprovision(instanceID string, details brokerapi.DeprovisionDetails, acceptsIncomplete bool) (bool, error)
func (*CloudFormationBroker) LastOperation ¶
func (b *CloudFormationBroker) LastOperation(instanceID string) (brokerapi.LastOperationResponse, error)
func (*CloudFormationBroker) Provision ¶
func (b *CloudFormationBroker) Provision(instanceID string, details brokerapi.ProvisionDetails, acceptsIncomplete bool) (brokerapi.ProvisioningResponse, bool, error)
func (*CloudFormationBroker) Services ¶
func (b *CloudFormationBroker) Services() brokerapi.CatalogResponse
func (*CloudFormationBroker) Unbind ¶
func (b *CloudFormationBroker) Unbind(instanceID, bindingID string, details brokerapi.UnbindDetails) error
func (*CloudFormationBroker) Update ¶
func (b *CloudFormationBroker) Update(instanceID string, details brokerapi.UpdateDetails, acceptsIncomplete bool) (bool, error)
type CloudFormationProperties ¶
type CloudFormationProperties struct { Capabilities []string `json:"capabilities,omitempty"` DisableRollback bool `json:"disable_rollback,omitempty"` NotificationARNs []string `json:"notification_arns,omitempty"` OnFailure string `json:"on_failure,omitempty"` Parameters map[string]string `json:"parameters,omitempty"` ResourceTypes []string `json:"resource_types,omitempty"` StackPolicyURL string `json:"stack_policy_url,omitempty"` TemplateURL string `json:"template_url"` TimeoutInMinutes int64 `json:"timeout_in_minutes,omitempty"` }
func (CloudFormationProperties) Validate ¶
func (cp CloudFormationProperties) Validate() error
type Config ¶
type DashboardClient ¶
type ProvisionParameters ¶
type Service ¶
type Service struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` Bindable bool `json:"bindable,omitempty"` Tags []string `json:"tags,omitempty"` Metadata *ServiceMetadata `json:"metadata,omitempty"` Requires []string `json:"requires,omitempty"` PlanUpdateable bool `json:"plan_updateable"` Plans []ServicePlan `json:"plans,omitempty"` DashboardClient *DashboardClient `json:"dashboard_client,omitempty"` }
type ServiceMetadata ¶
type ServiceMetadata struct { DisplayName string `json:"displayName,omitempty"` ImageURL string `json:"imageUrl,omitempty"` LongDescription string `json:"longDescription,omitempty"` ProviderDisplayName string `json:"providerDisplayName,omitempty"` DocumentationURL string `json:"documentationUrl,omitempty"` SupportURL string `json:"supportUrl,omitempty"` }
type ServicePlan ¶
type ServicePlan struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` Metadata *ServicePlanMetadata `json:"metadata,omitempty"` Free bool `json:"free"` CloudFormationProperties CloudFormationProperties `json:"cloudformation_properties,omitempty"` }
func (ServicePlan) Validate ¶
func (sp ServicePlan) Validate() error
type ServicePlanMetadata ¶
type UpdateParameters ¶
Click to show internal directories.
Click to hide internal directories.