Documentation ¶
Index ¶
- func ConvertChartTemplates(tpls []appapi.ChartTemplate, format meta_util.DataFormat) ([]appapi.ChartTemplateOutput, error)
- func CreateChartOrder(reg *repo.Registry, opts appapi.ChartOrder) (*v1alpha1.Order, error)
- func EditorChartValueManifest(kc client.Client, app *v1beta1.Application, mt appapi.ObjectMeta, ...) (*appapi.EditorTemplate, error)
- func GenerateEditorModel(kc client.Client, reg *repo.Registry, opts map[string]interface{}) (*unstructured.Unstructured, error)
- func ListResources(chartName string, data []byte) ([]appapi.ResourceObject, error)
- func LoadEditorModel(kc client.Client, reg *repo.Registry, opts appapi.ModelMetadata) (*appapi.EditorTemplate, error)
- func RenderChartTemplate(kc client.Client, reg *repo.Registry, opts map[string]interface{}) (string, *appapi.ChartTemplate, error)
- func RenderOrderTemplate(bs *lib.BlobStore, reg *repo.Registry, order v1alpha1.Order) (string, []appapi.ChartTemplate, error)
- func ResourceFilename(apiVersion, kind, chartName, name string) (string, string, string)
- func ResourceKey(apiVersion, kind, chartName, name string) (string, error)
- type EditorModelGenerator
- type TemplateRenderer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertChartTemplates ¶
func ConvertChartTemplates(tpls []appapi.ChartTemplate, format meta_util.DataFormat) ([]appapi.ChartTemplateOutput, error)
func CreateChartOrder ¶
func EditorChartValueManifest ¶
func EditorChartValueManifest(kc client.Client, app *v1beta1.Application, mt appapi.ObjectMeta, chrt *chart.Chart) (*appapi.EditorTemplate, error)
func GenerateEditorModel ¶
func GenerateEditorModel(kc client.Client, reg *repo.Registry, opts map[string]interface{}) (*unstructured.Unstructured, error)
func ListResources ¶ added in v0.0.2
func ListResources(chartName string, data []byte) ([]appapi.ResourceObject, error)
func LoadEditorModel ¶
func LoadEditorModel(kc client.Client, reg *repo.Registry, opts appapi.ModelMetadata) (*appapi.EditorTemplate, error)
func RenderChartTemplate ¶
func RenderOrderTemplate ¶
func ResourceFilename ¶
func ResourceKey ¶
Types ¶
type EditorModelGenerator ¶
type TemplateRenderer ¶
type TemplateRenderer struct { Registry *repo.Registry ChartRef v1alpha1.ChartRef Version string ReleaseName string Namespace string KubeVersion string ValuesFile string ValuesPatch *runtime.RawExtension Values map[string]interface{} BucketURL string UID string PublicURL string CRDs []appapi.BucketFile Manifest *appapi.BucketFile }
func (*TemplateRenderer) Do ¶
func (x *TemplateRenderer) Do() error
func (*TemplateRenderer) Result ¶
func (x *TemplateRenderer) Result() (crds []appapi.BucketFile, manifest *appapi.BucketFile)
Click to show internal directories.
Click to hide internal directories.