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.Lister, error)
- func (a *Analyzer) FindVersion() string
- func (a *Analyzer) GuessPackages() *common.Lister
- func (a *Analyzer) HasPackage(pack string) bool
- type Detector
- type DockerfileContext
- type DockerfileWriter
- type Pack
- func (p *Pack) Analyze(rootDir string, environment string, shouldPrompt bool) error
- func (p *Pack) CreateSkycapFiles(outputDir string, templateDir string, branch string) error
- func (p *Pack) Detector() packs.Detector
- func (p *Pack) GetMessages() []string
- func (p *Pack) LanguageVersion() string
- func (p *Pack) Name() string
- func (p *Pack) StencilRepositoryPath() string
- 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 ServiceYAMLContext *ServiceYAMLContext DockerfileContext *DockerfileContext }
type Analyzer ¶
type Analyzer struct { packs.AnalyzerBase RequirementsTxt string SettingsPy string WSGIFile string PythonPackages []string }
func (*Analyzer) FindVersion ¶
func (*Analyzer) GuessPackages ¶
func (*Analyzer) HasPackage ¶
type Detector ¶
type Detector struct {
packs.PackElement
}
type DockerfileContext ¶
type DockerfileContext struct { packs.DockerfileContextBase RequirementsTxt string }
type DockerfileWriter ¶
type DockerfileWriter struct {
packs.DockerfileWriterBase
}
type Pack ¶
func (*Pack) CreateSkycapFiles ¶
func (*Pack) GetMessages ¶
func (*Pack) LanguageVersion ¶
func (*Pack) StencilRepositoryPath ¶
func (*Pack) WriteDockerfile ¶
func (*Pack) WriteKubesConfig ¶
type ServiceYAMLContext ¶
type ServiceYAMLContext struct {
packs.ServiceYAMLContextBase
}
type ServiceYAMLWriter ¶
type ServiceYAMLWriter struct {
packs.ServiceYAMLWriterBase
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.