{"modulePath":"github.com/superfly/flyctl","version":"v0.0.350","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package sourcecode\n\n## Types\n\n```go\ntype InitCommand struct {\n\tCommand     string\n\tArgs        []string\n\tDescription string\n\tCondition   bool\n}\n```\n\n```go\ntype Secret struct {\n\tKey      string\n\tHelp     string\n\tValue    string\n\tGenerate func() (string, error)\n}\n```\n\n```go\ntype SourceFile struct {\n\tPath     string\n\tContents []byte\n}\n```\n\n```go\ntype SourceInfo struct {\n\tFamily                       string\n\tVersion                      string\n\tDockerfilePath               string\n\tBuildArgs                    map[string]string\n\tBuilder                      string\n\tReleaseCmd                   string\n\tDockerCommand                string\n\tDockerEntrypoint             string\n\tKillSignal                   string\n\tBuildpacks                   []string\n\tSecrets                      []Secret\n\tFiles                        []SourceFile\n\tPort                         int\n\tEnv                          map[string]string\n\tStatics                      []Static\n\tProcesses                    map[string]string\n\tDeployDocs                   string\n\tNotice                       string\n\tSkipDeploy                   bool\n\tSkipDatabase                 bool\n\tVolumes                      []Volume\n\tDockerfileAppendix           []string\n\tInitCommands                 []InitCommand\n\tPostgresInitCommands         []InitCommand\n\tPostgresInitCommandCondition bool\n}\n```\n\n```go\nfunc Scan(sourceDir string) (*SourceInfo, error)\n```\n\n```go\ntype Static struct {\n\tGuestPath string `toml:\"guest_path\" json:\"guest_path\"`\n\tUrlPrefix string `toml:\"url_prefix\" json:\"url_prefix\"`\n}\n```\n\n```go\ntype Volume struct {\n\tSource      string `toml:\"source\" json:\"source\"`\n\tDestination string `toml:\"destination\" json:\"destination\"`\n}\n```\n\n","path":"github.com/superfly/flyctl/internal/sourcecode","name":"sourcecode","synopsis":"","isRedistributable":true}
