Documentation ¶
Index ¶
- func Delete(opt *DeleteOptions) (error, string, string)
- func DryRunInstall(opt *InstallOptions) (error, string, string, string)
- func ExecuteTemplate(tplStr string, data interface{}) (string, error)
- func GenerateSingleManifest(parsedTemplates map[string]string) string
- func GetKubeObjectsFromTemplate(values map[string]interface{}) (map[string]runtime.Object, map[string]string, error)
- func Install(opt *InstallOptions) (error, string, string, string)
- func KubeObjectsFromTemplates(templatesMap map[string]string, data interface{}) (map[string]runtime.Object, map[string]string, error)
- func ParseTemplates(templatesMap map[string]string, data interface{}) (map[string]string, error)
- type DeleteOptions
- type InstallOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DryRunInstall ¶
func DryRunInstall(opt *InstallOptions) (error, string, string, string)
func ExecuteTemplate ¶
func GenerateSingleManifest ¶
func KubeObjectsFromTemplates ¶
func KubeObjectsFromTemplates(templatesMap map[string]string, data interface{}) (map[string]runtime.Object, map[string]string, error)
KubeObjectsFromTemplates return map of runtime.Objects from templateMap see https://github.com/kubernetes/client-go/issues/193 for examples
Types ¶
type DeleteOptions ¶
type DeleteOptions struct { Templates map[string]string TemplateValues map[string]interface{} KubeClientSet *kubernetes.Clientset KubeCrdClientSet *apixv1beta1client.ApiextensionsV1beta1Client Namespace string KubeBuilder interface { BuildClient() (*kubernetes.Clientset, error) } }
type InstallOptions ¶
type InstallOptions struct { Templates map[string]string TemplateValues map[string]interface{} KubeClientSet *kubernetes.Clientset KubeCrdClientSet *apixv1beta1client.ApiextensionsV1beta1Client Namespace string KubeManifestPath string KubeBuilder interface { BuildClient() (*kubernetes.Clientset, error) } }
Directories ¶
Path | Synopsis |
---|---|
Code generated by go generate; DO NOT EDIT.
|
Code generated by go generate; DO NOT EDIT. |
Click to show internal directories.
Click to hide internal directories.