Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindGitignores ¶ added in v0.0.416
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
}
func Scan ¶
func Scan(sourceDir string, config *ScannerConfig) (*SourceInfo, error)
Click to show internal directories.
Click to hide internal directories.