Documentation
¶
Index ¶
- func IsErrClusterNotReady(err error) bool
- func NewErrClusterNotReady(err error) error
- func SetResourceFactories(factories ...ResourceFactory)
- type ErrClusterNotReady
- type Project
- func (p *Project) Create(ctx context.Context, options options.Options) error
- func (p *Project) Delete(ctx context.Context) 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 IsErrClusterNotReady ¶ added in v0.15.13
func NewErrClusterNotReady ¶ added in v0.15.13
func SetResourceFactories ¶ added in v0.15.0
func SetResourceFactories(factories ...ResourceFactory)
Types ¶
type ErrClusterNotReady ¶ added in v0.15.13
type ErrClusterNotReady struct {
// contains filtered or unexported fields
}
func (ErrClusterNotReady) Error ¶ added in v0.15.13
func (e ErrClusterNotReady) Error() string
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.