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