yamlexporter

package
v0.2.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 7 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

View Source
var YAMLOutputDir string

YAMLOutputDir where the zookeeper YAML resources will get generated

Functions

func CreateOutputSubDir

func CreateOutputSubDir(clusterName string, compName string) (string, error)

CreateOutputSubDir creates a subdirectories where we want create the YAML file

func CreateYAMLOutputDir

func CreateYAMLOutputDir(maindir string) error

CreateYAMLOutputDir create output directory for YAML output

func GenerateOutputYAMLFile

func GenerateOutputYAMLFile(subdir string, depType string, data interface{}) error

GenerateOutputYAMLFile writes YAML output for a resource

func ReadInputClusterYAMLFile

func ReadInputClusterYAMLFile(inyamlfile string) (*v1beta1.ZookeeperCluster, error)

ReadInputClusterYAMLFile will read input YAML file and returns Go struct for ZookeeperCluster

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL