Documentation ¶ Index ¶ Constants func Build(ctx context.Context, cwd string, pathToMain string, bOpts Options) error func GetReadme(p string) (string, error) func Push(ctx context.Context, opts PushOpts) error type Options type PushOpts type ScannerOutput Constants ¶ View Source const ( ReadmeFile = "README.md" ) Variables ¶ This section is empty. Functions ¶ func Build ¶ func Build(ctx context.Context, cwd string, pathToMain string, bOpts Options) error func GetReadme ¶ added in v0.1.2 func GetReadme(p string) (string, error) func Push ¶ func Push(ctx context.Context, opts PushOpts) error Types ¶ type Options ¶ type Options struct { TargetOs string TargetArch string Repo string Tag string VersionID string } type PushOpts ¶ added in v0.1.14 type PushOpts struct { Image string Username string Password string TargetOs string TargetArch string } type ScannerOutput ¶ added in v0.1.139 type ScannerOutput struct { Stream string `json:"stream"` Error string `json:"error"` } Source Files ¶ View all Source files build.gopush.goreadme.go Click to show internal directories. Click to hide internal directories.