adapto

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 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 AdaptoGenerator

type AdaptoGenerator struct {
	// ServiceUnitConfigs is a map containing ServiceUnitConfigs keyed by the input path
	ServiceUnitConfigs map[string]*model.ServiceUnitConfig
	ClusterConfig      *model.ClusterConfig
	Graph              *graph.Graph
}

func (*AdaptoGenerator) GenerateGraph

func (ag *AdaptoGenerator) GenerateGraph()

generate generates GraphML compatible Graph

func (*AdaptoGenerator) PatchServiceUnitConfigs

func (ag *AdaptoGenerator) PatchServiceUnitConfigs()

generate generates GraphML compatible Graph

func (*AdaptoGenerator) RewriteYAML

func (ag *AdaptoGenerator) RewriteYAML()

RewriteYAML rewrites service unit configs with patched fields

Jump to

Keyboard shortcuts

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