Documentation ¶
Index ¶
- Constants
- type AppContext
- func (c *AppContext) BaseKustomizeFolderForNS(namespace string) string
- func (c *AppContext) ExportFolderForNS(namespace string) string
- func (c *AppContext) InitAppFolderForUid(uid string) string
- func (c *AppContext) KustomizationFileFrom(folder string) string
- func (c *AppContext) KustomizeParamsFolderForNS(namespace string) string
- func (c *AppContext) KustomizeSecretsFolderForNS(namespace string) string
- func (c *AppContext) KustomizeTemplateFolderForNS(namespace string) string
- func (c *AppContext) KustomizeTemplateParamsFolderForNS(namespace string) string
- func (c *AppContext) OutputFolderForNS(namespace string) string
- func (c *AppContext) RootFolder() string
- func (c *AppContext) TmpParamsFolderForNS(namespace string) string
- func (c *AppContext) TmpSecretsFolderForNS(namespace string) string
- func (c *AppContext) TransformFolderForNS(namespace string) string
- type AppExporter
- type AppExporterOutput
- type Installer
- type Parametrizer
- type SccForSA
Constants ¶
View Source
const ( ApplicationsFolder = "applications" CraneFolder = "crane" SecretsFolder = "secrets" KustomizeFolder = "kustomize" BaseFolder = "base" TemplateFolder = "template" ParamsFolder = "params" NoValue = "__DEFAULT__" MandatoryValue = "__MANDATORY__" KustomizationFile = "kustomization.yaml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppContext ¶
type AppContext struct { context.ExporterContext AppConfig *config.ApplicationConfig AppFolder string }
func NewAppContextFromConfig ¶
func NewAppContextFromConfig(config *config.Config, exporterConfig *config.ExporterConfig, connectionStatus *connect.ConnectionStatus, logger *logrus.Logger) *AppContext
func (*AppContext) BaseKustomizeFolderForNS ¶
func (c *AppContext) BaseKustomizeFolderForNS(namespace string) string
func (*AppContext) ExportFolderForNS ¶
func (c *AppContext) ExportFolderForNS(namespace string) string
func (*AppContext) InitAppFolderForUid ¶
func (c *AppContext) InitAppFolderForUid(uid string) string
func (*AppContext) KustomizationFileFrom ¶
func (c *AppContext) KustomizationFileFrom(folder string) string
func (*AppContext) KustomizeParamsFolderForNS ¶
func (c *AppContext) KustomizeParamsFolderForNS(namespace string) string
func (*AppContext) KustomizeSecretsFolderForNS ¶
func (c *AppContext) KustomizeSecretsFolderForNS(namespace string) string
func (*AppContext) KustomizeTemplateFolderForNS ¶
func (c *AppContext) KustomizeTemplateFolderForNS(namespace string) string
func (*AppContext) KustomizeTemplateParamsFolderForNS ¶
func (c *AppContext) KustomizeTemplateParamsFolderForNS(namespace string) string
func (*AppContext) OutputFolderForNS ¶
func (c *AppContext) OutputFolderForNS(namespace string) string
func (*AppContext) RootFolder ¶
func (c *AppContext) RootFolder() string
func (*AppContext) TmpParamsFolderForNS ¶
func (c *AppContext) TmpParamsFolderForNS(namespace string) string
func (*AppContext) TmpSecretsFolderForNS ¶
func (c *AppContext) TmpSecretsFolderForNS(namespace string) string
func (*AppContext) TransformFolderForNS ¶
func (c *AppContext) TransformFolderForNS(namespace string) string
type AppExporter ¶
type AppExporter struct {
// contains filtered or unexported fields
}
func NewAppExporterFromConfig ¶
func NewAppExporterFromConfig(config *config.Config, exporterConfig *config.ExporterConfig, connectionStatus *connect.ConnectionStatus, logger *logrus.Logger) *AppExporter
func (*AppExporter) Export ¶
func (e *AppExporter) Export() AppExporterOutput
func (*AppExporter) ExportWithCrane ¶
func (e *AppExporter) ExportWithCrane() error
func (*AppExporter) PrepareOutput ¶
func (e *AppExporter) PrepareOutput() error
type AppExporterOutput ¶
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
func NewInstallerFromConfig ¶
func NewInstallerFromConfig(appContext *AppContext) *Installer
func (*Installer) BuildKustomizeInstaller ¶
type Parametrizer ¶
type Parametrizer struct {
// contains filtered or unexported fields
}
func NewParametrizerFromConfig ¶
func NewParametrizerFromConfig(appContext *AppContext) *Parametrizer
func (*Parametrizer) ExposeParameters ¶
func (p *Parametrizer) ExposeParameters() error
Click to show internal directories.
Click to hide internal directories.