Documentation ¶
Index ¶
- func FindGitignores(root string) []string
- func NodeFrameworkCallback(srcInfo *SourceInfo, options map[string]bool) error
- func RailsCallback(srcInfo *SourceInfo, options map[string]bool) error
- type ComposerLock
- type InitCommand
- type PhpVersion
- type ScannerConfig
- type Secret
- type SourceFile
- type SourceInfo
- type Static
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindGitignores ¶ added in v0.0.416
func NodeFrameworkCallback ¶ added in v0.1.6
func NodeFrameworkCallback(srcInfo *SourceInfo, options map[string]bool) error
func RailsCallback ¶ added in v0.0.451
func RailsCallback(srcInfo *SourceInfo, options map[string]bool) error
Types ¶
type ComposerLock ¶ added in v0.0.370
type ComposerLock struct {
Platform PhpVersion `json:"platform,omitempty"`
}
type InitCommand ¶
type PhpVersion ¶ added in v0.0.370
type PhpVersion struct {
Version string `json:"php"`
}
type ScannerConfig ¶ added in v0.0.440
type SourceFile ¶
type SourceInfo ¶
type SourceInfo struct { Family string Version string DockerfilePath string BuildArgs map[string]string Builder string ReleaseCmd string DockerCommand string DockerEntrypoint string KillSignal string Buildpacks []string Secrets []Secret Files []SourceFile Port int Env map[string]string Statics []Static Processes map[string]string DeployDocs string Notice string SkipDeploy bool SkipDatabase bool Volumes []Volume DockerfileAppendix []string InitCommands []InitCommand PostgresInitCommands []InitCommand PostgresInitCommandCondition bool Concurrency map[string]int Callback func(srcInfo *SourceInfo, options map[string]bool) error HttpCheckPath string ConsoleCommand string }
func Scan ¶
func Scan(sourceDir string, config *ScannerConfig) (*SourceInfo, error)
func ScanDockerfile ¶ added in v0.0.532
func ScanDockerfile(dockerfilePath string, config *ScannerConfig) (*SourceInfo, error)
Click to show internal directories.
Click to hide internal directories.