Versions in this module Expand all Collapse all v0 v0.1.0 Feb 27, 2017 Changes in this version + func ProjectRoot() string + func RunCommand(bin string, args ...string) + type AnsibleBroker struct + func NewAnsibleBroker(dao *dao.Dao, log *logging.Logger, clusterConfig ansibleapp.ClusterConfig, ...) (*AnsibleBroker, error) + func (a AnsibleBroker) Bind(instanceUUID uuid.UUID, bindingUUID uuid.UUID, req *BindRequest) (*BindResponse, error) + func (a AnsibleBroker) Bootstrap() (*BootstrapResponse, error) + func (a AnsibleBroker) Catalog() (*CatalogResponse, error) + func (a AnsibleBroker) Deprovision(instanceUUID uuid.UUID) (*DeprovisionResponse, error) + func (a AnsibleBroker) Provision(instanceUUID uuid.UUID, req *ProvisionRequest) (*ProvisionResponse, error) + func (a AnsibleBroker) Unbind(instanceUUID uuid.UUID, bindingUUID uuid.UUID) error + func (a AnsibleBroker) Update(instanceUUID uuid.UUID, req *UpdateRequest) (*UpdateResponse, error) + type BindRequest struct + AppID uuid.UUID + BindResource struct{ ... } + Parameters map[string]string + PlanID uuid.UUID + ServiceID uuid.UUID + type BindResponse struct + Credentials map[string]interface{} + RouteServiceURL string + SyslogDrainURL string + VolumeMounts []interface{} + type BootstrapResponse struct + SpecCount int + type Broker interface + Bind func(uuid.UUID, uuid.UUID, *BindRequest) (*BindResponse, error) + Bootstrap func() (*BootstrapResponse, error) + Catalog func() (*CatalogResponse, error) + Deprovision func(uuid.UUID) (*DeprovisionResponse, error) + Provision func(uuid.UUID, *ProvisionRequest) (*ProvisionResponse, error) + Unbind func(uuid.UUID, uuid.UUID) error + Update func(uuid.UUID, *UpdateRequest) (*UpdateResponse, error) + type CatalogResponse struct + Services []Service + type DashboardClient struct + ID string + RedirectURI string + Secret string + type DeprovisionResponse struct + Operation string + type ErrorResponse struct + Description string + type LastOperationRequest struct + Operation string + PlanID uuid.UUID + ServiceID uuid.UUID + type LastOperationResponse struct + Description string + State LastOperationState + type LastOperationState string + const LastOperationStateFailed + const LastOperationStateInProgress + const LastOperationStateSucceeded + type Plan struct + Description string + Free bool + ID uuid.UUID + Metadata map[string]interface{} + Name string + type ProvisionRequest struct + AcceptsIncomplete bool + OrganizationID uuid.UUID + Parameters map[string]string + PlanID uuid.UUID + ServiceID uuid.UUID + SpaceID uuid.UUID + type ProvisionResponse struct + DashboardURL string + Operation string + type Service struct + Bindable bool + DashboardClient *DashboardClient + Description string + ID uuid.UUID + Metadata map[string]interface{} + Name string + PlanUpdatable bool + Plans []Plan + Requires []string + Tags []string + func SpecToService(spec *ansibleapp.Spec) Service + type UpdateRequest struct + AcceptsIncomplete bool + Parameters map[string]string + PlanID uuid.UUID + PreviousValues struct{ ... } + ServiceID uuid.UUID + type UpdateResponse struct + Operation string