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
Click to show internal directories.
Click to hide internal directories.