generator

package
v1.1.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateFromDirectory

func GenerateFromDirectory(input, output string)

Types

type ManifestGenerator

type ManifestGenerator struct {
	// Input is the path to directory or file containing the servcie unit config yaml
	Input string

	// Output is the path to the output directory for the kubernetes manifests
	// NOTE: not file name. file names are automatically assigned by service name
	Output            string
	ServiceUnitConfig *model.ServiceUnitConfig
	ClusterConfig     *model.ClusterConfig
}

func NewManifestGenerator

func NewManifestGenerator(input, output string, clusterConfig *model.ClusterConfig) ManifestGenerator

func (ManifestGenerator) GenerateFromFile

func (mg ManifestGenerator) GenerateFromFile()

func (ManifestGenerator) GenerateManifest

func (mg ManifestGenerator) GenerateManifest() core.ManifestErrors

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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