Documentation
¶
Index ¶
- func CreateSkycapFiles(outputDir string, templateRepository string, branch string, packName string, ...) error
- type BundleBaseTemplates
- type BundleHelmRelease
- type BundlePolicy
- type BundleStencil
- type BundleStencilGroup
- type BundleTransformer
- type ManifestBundle
- type Metadata
- type PolicyTemplate
- type StencilTemplate
- type TemplateJSON
- type TemplatesStruct
- type TransformersTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BundleBaseTemplates ¶
type BundleBaseTemplates struct { Name string `json:"name"` Repo string `json:"repo"` Branch string `json:"branch"` Stencils []*BundleStencil `json:"stencils"` Policies []*BundlePolicy `json:"policies"` Transformers []*BundleTransformer `json:"transformers"` }
type BundleHelmRelease ¶
type BundlePolicy ¶
type BundleStencil ¶
type BundleStencilGroup ¶
type BundleTransformer ¶
type ManifestBundle ¶
type ManifestBundle struct { Version string `json:"version"` Metadata *Metadata `json:"metadata"` UID string `json:"uid"` Name string `json:"name"` StencilGroups []*BundleStencilGroup `json:"stencil_groups"` BaseTemplates []*BundleBaseTemplates `json:"base_template"` Tags []string `json:"tags"` HelmReleases []*BundleHelmRelease `json:"helm_releases"` Configurations []string `json:"configuration"` }
type PolicyTemplate ¶
type PolicyTemplate struct{}
type StencilTemplate ¶
type StencilTemplate struct { Name string `json:"name"` FilenamePattern string `json:"filename_pattern"` Filename string `json:"filename"` Description string `json:"description"` ContextType string `json:"context_type"` Tags []string `json:"tags"` PreferredSequence int `json:"preferred_sequence"` Suggested bool `json:"suggested"` MinUsage int `json:"min_usage"` MaxUsage int `json:"max_usage"` }
type TemplateJSON ¶
type TemplatesStruct ¶
type TemplatesStruct struct { Stencils []*StencilTemplate `json:"stencils"` Policies []*PolicyTemplate `json:"policies"` Transformers []*TransformersTemplate `json:"transformers"` }
type TransformersTemplate ¶
type TransformersTemplate struct{}
Click to show internal directories.
Click to hide internal directories.