Documentation ¶
Overview ¶
Package templates provides a way to load and store an application's helm chart templates.
Currently, an app's templates are stored as a ConfigMap including templates provided by ketch by default.
apiVersion: v1 kind: ConfigMap metadata:
name: <name> namespace: ketch-system
data:
services.yaml: |- .. deployments.yaml: |- ..
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IstioDefaultTemplates = Templates{ Yamls: GeneratedYamls.IstioYamls, } TraefikDefaultTemplates = Templates{ Yamls: GeneratedYamls.TraefikYamls, } NginxDefaultTemplates = Templates{ Yamls: GeneratedYamls.NginxYamls, } JobTemplates = Templates{ Yamls: GeneratedYamls.JobYamls, } )
Functions ¶
func IngressConfigMapName ¶
IngressConfigMapName returns a name of a configmap to store the ingress' templates to render helm chart.
func JobConfigMapName ¶
func JobConfigMapName() string
JobConfigMapName returns a name of a configmap to store the job's templates to render the helm chart
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is an implementation of Client interface.
func NewStorage ¶
NewStorage returns a Storage instance.
Click to show internal directories.
Click to hide internal directories.