Versions in this module Expand all Collapse all v0 v0.1.0 Feb 27, 2017 Changes in this version + const AppsPath + var AnsibleAppSpecLabel = "com.redhat.ansibleapp.spec" + var DockerSocket = "unix:///var/run/docker.sock" + var HardcodedClusterConfig = ClusterConfig + var ListImagesScript = "get_images_for_org.sh" + func Deprovision(instance *ServiceInstance, log *logging.Logger) error + func DumpJSON(obj interface{}) (string, error) + func LoadJSON(payload string, obj interface{}) error + func LoadYAML(payload string, obj interface{}) error + func Provision(spec *Spec, parameters *Parameters, clusterConfig ClusterConfig, ...) error + type Client struct + func NewClient(log *logging.Logger) (*Client, error) + func (c *Client) PullImage(imageName string) error + func (c *Client) RunImage(action string, clusterConfig ClusterConfig, spec *Spec, p *Parameters) ([]byte, error) + type ClusterConfig struct + Password string + Target string + User string + type DevRegistry struct + func (r *DevRegistry) Init(config RegistryConfig, log *logging.Logger) error + func (r *DevRegistry) LoadSpecs() ([]*Spec, error) + type DockerHubRegistry struct + ScriptsDir string + func (r *DockerHubRegistry) Init(config RegistryConfig, log *logging.Logger) error + func (r *DockerHubRegistry) LoadSpecs() ([]*Spec, error) + type ImageData struct + Error error + IsAnsibleApp bool + Labels map[string]string + Layers []string + Name string + Tag string + type ParameterDescriptor struct + Default interface{} + Description string + Name string + Required bool + Type string + type Parameters map[string]interface + type RHCCRegistry struct + func (r *RHCCRegistry) Init(config RegistryConfig, log *logging.Logger) error + func (r *RHCCRegistry) LoadSpecs() ([]*Spec, error) + type Registry interface + Init func(RegistryConfig, *logging.Logger) error + LoadSpecs func() ([]*Spec, error) + func NewRegistry(config RegistryConfig, log *logging.Logger) (Registry, error) + type RegistryConfig struct + Name string + Org string + Pass string + Url string + User string + type ServiceInstance struct + Id uuid.UUID + Parameters *Parameters + Spec *Spec + type Spec struct + Async string + Bindable bool + Description string + Id string + Name string + Parameters []*ParameterDescriptor + type SpecManifest map[string]*Spec + func NewSpecManifest(specs []*Spec) SpecManifest