blueprints

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImportExpression

func GetImportExpression(paramName string) string

func GetTargetNameExpression

func GetTargetNameExpression(clusterParamName string) string

func GetTargetNamespaceExpression

func GetTargetNamespaceExpression(clusterParamName string) string

Types

type BlueprintBuilder

type BlueprintBuilder struct {
	// contains filtered or unexported fields
}

func NewBlueprintBuilder

func NewBlueprintBuilder(blueprint *v1alpha1.Blueprint) *BlueprintBuilder

func (*BlueprintBuilder) AddDeployExecution

func (b *BlueprintBuilder) AddDeployExecution(deployItemName string)

func (*BlueprintBuilder) AddExport added in v0.3.0

func (b *BlueprintBuilder) AddExport(exportDefinition *v1alpha1.ExportDefinition)

func (*BlueprintBuilder) AddExportExecution added in v0.3.0

func (b *BlueprintBuilder) AddExportExecution(deployItemName string, exportDefinitions map[string]*v1alpha1.ExportDefinition)

AddExportExecution adds one export executions for all export parameters of one deployitem: exportExecutions:

  • name: [name of the export execution, here equal to the deployitem name] type: GoTemplate template: | exports: [parameter name]: {{ index .values "deployitems" "[deployitem name]" "[internal parameter name]" }}

func (*BlueprintBuilder) AddExportsFromMap added in v0.3.0

func (b *BlueprintBuilder) AddExportsFromMap(exportDefinitions map[string]*v1alpha1.ExportDefinition)

func (*BlueprintBuilder) AddImport

func (b *BlueprintBuilder) AddImport(importDefinition *v1alpha1.ImportDefinition)

func (*BlueprintBuilder) AddImportForElementaryType

func (b *BlueprintBuilder) AddImportForElementaryType(paramName, paramType string)

func (*BlueprintBuilder) AddImportForTarget

func (b *BlueprintBuilder) AddImportForTarget(paramName string)

func (*BlueprintBuilder) AddImportsFromMap added in v0.3.0

func (b *BlueprintBuilder) AddImportsFromMap(importDefinitions map[string]*v1alpha1.ImportDefinition)

func (*BlueprintBuilder) ExistsDeployExecution

func (b *BlueprintBuilder) ExistsDeployExecution(executionName string) bool

type BlueprintReader

type BlueprintReader struct {
	// contains filtered or unexported fields
}

func NewBlueprintReader

func NewBlueprintReader(blueprintPath string) *BlueprintReader

func (*BlueprintReader) Read

func (r *BlueprintReader) Read() (*v1alpha1.Blueprint, error)

type BlueprintWriter

type BlueprintWriter struct {
	// contains filtered or unexported fields
}

func NewBlueprintWriter

func NewBlueprintWriter(blueprintPath string) *BlueprintWriter

func (*BlueprintWriter) Write

func (w *BlueprintWriter) Write(blueprint *v1alpha1.Blueprint) error

Jump to

Keyboard shortcuts

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