Documentation ¶
Index ¶
- func GetImportExpression(paramName string) string
- func GetTargetNameExpression(clusterParamName string) string
- func GetTargetNamespaceExpression(clusterParamName string) string
- type BlueprintBuilder
- func (b *BlueprintBuilder) AddDeployExecution(deployItemName string)
- func (b *BlueprintBuilder) AddExport(exportDefinition *v1alpha1.ExportDefinition)
- func (b *BlueprintBuilder) AddExportExecution(deployItemName string, exportDefinitions map[string]*v1alpha1.ExportDefinition)
- func (b *BlueprintBuilder) AddExportsFromMap(exportDefinitions map[string]*v1alpha1.ExportDefinition)
- func (b *BlueprintBuilder) AddImport(importDefinition *v1alpha1.ImportDefinition)
- func (b *BlueprintBuilder) AddImportForElementaryType(paramName, paramType string)
- func (b *BlueprintBuilder) AddImportForTarget(paramName string)
- func (b *BlueprintBuilder) AddImportsFromMap(importDefinitions map[string]*v1alpha1.ImportDefinition)
- func (b *BlueprintBuilder) ExistsDeployExecution(executionName string) bool
- type BlueprintReader
- type BlueprintWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetImportExpression ¶
func GetTargetNameExpression ¶
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
type BlueprintWriter ¶
type BlueprintWriter struct {
// contains filtered or unexported fields
}
func NewBlueprintWriter ¶
func NewBlueprintWriter(blueprintPath string) *BlueprintWriter
Click to show internal directories.
Click to hide internal directories.