parser

package
v0.0.0-...-b2588bf Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateArtifacts

func GenerateArtifacts(chi *ClickHouseInstallation, om ObjectMarshaller) string

GenerateArtifacts returns resulting (composite) manifest

Types

type ClickHouseInstallation

type ClickHouseInstallation struct {
	Metadata struct {
		Name      string `yaml:"name"`
		Namespace string `yaml:"namespace"`
	} `yaml:"metadata"`
	Spec struct {
		Deployment    chiDeployment    `yaml:"deployment"`
		Configuration chiConfiguration `yaml:"configuration"`
		Templates     chiTemplates     `yaml:"templates"`
	} `yaml:"spec"`
}

ClickHouseInstallation defines structure of the Custom Resource Object

type ObjectMarshaller

type ObjectMarshaller interface {
	Marshal(buffer *bytes.Buffer, object interface{})
}

ObjectMarshaller expresses common behaviour of the object marshaling

Jump to

Keyboard shortcuts

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