Documentation ¶
Index ¶
- Constants
- type Analysis
- type Analyzer
- func (a *Analyzer) Analyze() (*Analysis, error)
- func (a *Analyzer) EnvVars() []*common.EnvVar
- func (a *Analyzer) FillServices(services *[]*common.Service) error
- func (a *Analyzer) FindDatabases() []common.Database
- func (a *Analyzer) FindVersion() string
- func (a *Analyzer) GuessFramework() string
- func (a *Analyzer) GuessPackages() *common.Lister
- func (a *Analyzer) HasPackage(pack string) bool
- type Detector
- type DockerComposeYAMLContext
- type DockerComposeYAMLWriter
- type DockerfileContext
- type DockerfileWriter
- type Pack
- func (p *Pack) Analyze(rootDir string, environment string, shouldPrompt bool, git_repo string, ...) error
- func (p *Pack) CreateSkycapFiles(outputDir string, templateDir string, branch string) error
- func (p *Pack) Detector() packs.Detector
- func (p *Pack) FilesToBeAnalysed() []string
- func (p *Pack) Framework() string
- func (p *Pack) FrameworkVersion() string
- func (p *Pack) GetDatabases() []string
- func (p *Pack) GetMessages() []string
- func (p *Pack) GetStartCommands() []string
- func (p *Pack) GetSupportedLanguageVersions() []string
- func (p *Pack) LanguageVersion() string
- func (p *Pack) Name() string
- func (p *Pack) SetSupportedLanguageVersions(version []string)
- func (p *Pack) StencilRepositoryPath() string
- func (p *Pack) WriteDockerComposeYAML(templateDir string, outputDir string, shouldPrompt bool) error
- func (p *Pack) WriteDockerfile(templateDir string, outputDir string, shouldPrompt bool) error
- func (p *Pack) WriteKubesConfig(outputDir string, shouldPrompt bool) error
- func (p *Pack) WriteServiceYAML(templateDir string, outputDir string, shouldPrompt bool) error
- type ServiceYAMLContext
- type ServiceYAMLWriter
Constants ¶
View Source
const (
StencilTemplatePath = "" //TODO: still not implemented
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analysis ¶
type Analysis struct { packs.AnalysisBase DockerComposeYAMLContext *DockerComposeYAMLContext ServiceYAMLContext *ServiceYAMLContext DockerfileContext *DockerfileContext }
type Analyzer ¶
type Analyzer struct { packs.AnalyzerBase ComposerJSON string }
func (*Analyzer) FindDatabases ¶
func (*Analyzer) FindVersion ¶
func (*Analyzer) GuessFramework ¶
func (*Analyzer) GuessPackages ¶
func (*Analyzer) HasPackage ¶
type Detector ¶
type Detector struct {
packs.PackElement
}
type DockerComposeYAMLContext ¶
type DockerComposeYAMLContext struct {
packs.DockerComposeYAMLContextBase
}
type DockerComposeYAMLWriter ¶
type DockerComposeYAMLWriter struct {
packs.DockerComposeYAMLWriterBase
}
type DockerfileContext ¶
type DockerfileContext struct {
packs.DockerfileContextBase
}
type DockerfileWriter ¶
type DockerfileWriter struct {
packs.DockerfileWriterBase
}
type Pack ¶
func (*Pack) CreateSkycapFiles ¶
func (*Pack) FilesToBeAnalysed ¶
func (*Pack) FrameworkVersion ¶
func (*Pack) GetDatabases ¶
func (*Pack) GetMessages ¶
func (*Pack) GetStartCommands ¶
func (*Pack) GetSupportedLanguageVersions ¶
func (*Pack) LanguageVersion ¶
func (*Pack) SetSupportedLanguageVersions ¶
func (*Pack) StencilRepositoryPath ¶
func (*Pack) WriteDockerComposeYAML ¶
func (*Pack) WriteDockerfile ¶
func (*Pack) WriteKubesConfig ¶
type ServiceYAMLContext ¶
type ServiceYAMLContext struct {
packs.ServiceYAMLContextBase
}
type ServiceYAMLWriter ¶
type ServiceYAMLWriter struct {
packs.ServiceYAMLWriterBase
}
Click to show internal directories.
Click to hide internal directories.