Documentation ¶
Index ¶
- func SetResourceFactories(factories ...ResourceFactory)
- type Project
- func (p *Project) Create(ctx context.Context, options options.Options) error
- func (p *Project) Load(templates map[string]string, answers map[string]string) error
- func (p *Project) LoadFromTemplateVersion(templateVersion catalog.TemplateVersion, answers map[string]string) error
- func (p *Project) Up(ctx context.Context, options options.Options) error
- type ResourceFactory
- type ResourceSet
- type Starter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetResourceFactories ¶ added in v0.15.0
func SetResourceFactories(factories ...ResourceFactory)
Types ¶
type Project ¶
type Project struct { Name string Config *config.Config Templates map[string][]byte Answers map[string]string Version string ResourceLookup lookup.ResourceLookup ServerResourceLookup lookup.ServerResourceLookup Project *Project TemplateVersion *catalog.TemplateVersion Client *client.RancherClient Stack *client.Stack Cluster *client.Cluster }
func NewProject ¶
func (*Project) LoadFromTemplateVersion ¶ added in v0.15.0
type ResourceFactory ¶ added in v0.15.0
type ResourceFactory func(p *Project) (ResourceSet, error)
Optionally ResourceSet can implement Starter
type ResourceSet ¶ added in v0.15.0
Click to show internal directories.
Click to hide internal directories.