Documentation ¶
Index ¶
- func ConvertJSONToYAML(jsonBytes []byte) ([]byte, error)
- func ConvertYAMLToJSON(yamlBytes []byte) ([]byte, error)
- func GetModulesImages() map[string]interface{}
- func ManifestStringToUnstructed(doc string) *unstructured.Unstructured
- type Config
- func (hec *Config) HelmRender(options ...Option)
- func (hec *Config) KubernetesGlobalResource(kind, name string) object_store.KubeObject
- func (hec *Config) KubernetesResource(kind, namespace, name string) object_store.KubeObject
- func (hec Config) ValuesGet(path string) library.KubeResult
- func (hec *Config) ValuesSet(path string, value interface{})
- func (hec *Config) ValuesSetFromYaml(path, value string)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertJSONToYAML ¶
func ConvertYAMLToJSON ¶
func GetModulesImages ¶ added in v1.39.0
func GetModulesImages() map[string]interface{}
func ManifestStringToUnstructed ¶ added in v1.49.0
func ManifestStringToUnstructed(doc string) *unstructured.Unstructured
Types ¶
type Config ¶
type Config struct { RenderError error ValuesValidator *values_validation.ValuesValidator // contains filtered or unexported fields }
func SetupHelmConfig ¶
func (*Config) HelmRender ¶
func (*Config) KubernetesGlobalResource ¶
func (hec *Config) KubernetesGlobalResource(kind, name string) object_store.KubeObject
func (*Config) KubernetesResource ¶
func (hec *Config) KubernetesResource(kind, namespace, name string) object_store.KubeObject
func (*Config) ValuesSetFromYaml ¶
type Option ¶ added in v1.38.0
type Option func(options *configOptions)
func WithFilteredRenderOutput ¶ added in v1.38.0
WithFilteredRenderOutput same as WithRenderOutput but filters files which contain `filter` pattern
func WithRenderOutput ¶ added in v1.38.0
WithRenderOutput output rendered files in a format: $filename: $renderedTemplates (splitted with ---)
Click to show internal directories.
Click to hide internal directories.