Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultGroup is used, when a legacy config does not specify a group. All // new configs are required to be in a group. DefaultGroup = "default" )
Variables ¶
This section is empty.
Functions ¶
func Convert ¶
func Convert(context ConverterContext, environments map[string]*v1environment.EnvironmentV1, projects []projectV1.Project) (manifest.Manifest, []projectV2.Project, []error)
Convert takes v1 environments and projects and converts them into a v2 manifest and projects
Types ¶
type ConvertConfigError ¶
type ConvertConfigError struct { Location coordinate.Coordinate `json:"location"` Reason string `json:"reason"` }
func (ConvertConfigError) Coordinates ¶
func (e ConvertConfigError) Coordinates() coordinate.Coordinate
func (ConvertConfigError) Error ¶
func (e ConvertConfigError) Error() string
type ConverterContext ¶
type ReferenceParseError ¶
type ReferenceParseError struct { Location coordinate.Coordinate `json:"location"` ParameterName string `json:"parameterName"` Reason string `json:"reason"` }
func (ReferenceParseError) Coordinates ¶
func (e ReferenceParseError) Coordinates() coordinate.Coordinate
func (ReferenceParseError) Error ¶
func (e ReferenceParseError) Error() string
type TemplateConversionError ¶
type TemplateConversionError struct { TemplatePath string `json:"templatePath"` Reason string `json:"reason"` }
func (TemplateConversionError) Error ¶
func (e TemplateConversionError) Error() string
Click to show internal directories.
Click to hide internal directories.