Versions in this module Expand all Collapse all v1 v1.2.1 Mar 8, 2016 Changes in this version + type Deployer interface + CreateConfiguration func(configuration *common.Configuration) (*common.Configuration, error) + DeleteConfiguration func(configuration *common.Configuration) (*common.Configuration, error) + GetConfiguration func(cached *common.Configuration) (*common.Configuration, error) + PutConfiguration func(configuration *common.Configuration) (*common.Configuration, error) + func NewDeployer(url string) Deployer + type Error struct + func (e *Error) Error() string + type ExpandedTemplate struct + Config *common.Configuration + Layout *common.Layout + type Expander interface + ExpandTemplate func(t *common.Template) (*ExpandedTemplate, error) + func NewExpander(url string, tr TypeResolver) Expander + type ExpansionResponse struct + Config string + Layout string + func (er *ExpansionResponse) Unmarshal() (*ExpandedTemplate, error) + type Manager interface + CreateCredential func(name string, c *common.RegistryCredential) error + CreateDeployment func(t *common.Template) (*common.Deployment, error) + CreateRegistry func(pr *common.Registry) error + DeleteDeployment func(name string, forget bool) (*common.Deployment, error) + DeleteRegistry func(name string) error + Expand func(t *common.Template) (*common.Manifest, error) + GetCredential func(name string) (*common.RegistryCredential, error) + GetDeployment func(name string) (*common.Deployment, error) + GetDownloadURLs func(registryName string, t registry.Type) ([]*url.URL, error) + GetFile func(registryName string, url string) (string, error) + GetManifest func(deploymentName string, manifest string) (*common.Manifest, error) + GetMetadataForType func(typeName string) (string, error) + GetRegistry func(name string) (*common.Registry, error) + GetRegistryForType func(typeName string) (string, error) + ListDeployments func() ([]common.Deployment, error) + ListInstances func(typeName string) ([]*common.TypeInstance, error) + ListManifests func(deploymentName string) (map[string]*common.Manifest, error) + ListRegistries func() ([]*common.Registry, error) + ListRegistryTypes func(registryName string, regex *regexp.Regexp) ([]registry.Type, error) + ListTypes func() ([]string, error) + PutDeployment func(name string, t *common.Template) (*common.Deployment, error) + func NewManager(expander Expander, deployer Deployer, repository repository.Repository, ...) Manager + type TypeResolver interface + ResolveTypes func(config *common.Configuration, imports []*common.ImportFile) ([]*common.ImportFile, error) + func NewTypeResolver(rp registry.RegistryProvider, c util.HTTPClient) TypeResolver