Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
func Apply(template *PrTemplate) error
Types ¶
type CreateSpec ¶
type CreateSpec struct {
ExternalDir string
Templates []*CreateTemplate `json:"templates"`
}
type CreateTemplate ¶ added in v0.8.4
type PrTemplate ¶
type PrTemplate struct {
ApiVersion string `json:"apiVersion"`
Kind string `json:"kind"`
Metadata map[string]interface{} `json:"metadata"`
Context map[string]interface{} `json:"context"`
Spec PrTemplateSpec `json:"spec"`
}
func Build ¶
func Build(path string) (*PrTemplate, error)
type PrTemplateSpec ¶
type PrTemplateSpec struct {
Updates *UpdateSpec `json:"updates"`
Creates *CreateSpec `json:"creates"`
}
Click to show internal directories.
Click to hide internal directories.