Documentation ¶
Index ¶
- type Builder
- type MakeBuilderOption
- func DestinationDirectory(destDir string) MakeBuilderOption
- func ImageName(name string) MakeBuilderOption
- func LocalImage() MakeBuilderOption
- func PreferredPackageDirectory(pkgDir string) MakeBuilderOption
- func RemoveContainer(remove bool) MakeBuilderOption
- func SourceDirectory(srcDir string) MakeBuilderOption
- func Version(version string) MakeBuilderOption
- func WithClient(cli *client.Client) MakeBuilderOption
- func WithContext(ctx context.Context) MakeBuilderOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func MakeBuilder ¶
func MakeBuilder(opts ...MakeBuilderOption) (*Builder, error)
type MakeBuilderOption ¶
type MakeBuilderOption func(*Builder)
func DestinationDirectory ¶
func DestinationDirectory(destDir string) MakeBuilderOption
func ImageName ¶
func ImageName(name string) MakeBuilderOption
func LocalImage ¶
func LocalImage() MakeBuilderOption
func PreferredPackageDirectory ¶
func PreferredPackageDirectory(pkgDir string) MakeBuilderOption
func RemoveContainer ¶
func RemoveContainer(remove bool) MakeBuilderOption
func SourceDirectory ¶
func SourceDirectory(srcDir string) MakeBuilderOption
func Version ¶
func Version(version string) MakeBuilderOption
func WithClient ¶
func WithClient(cli *client.Client) MakeBuilderOption
func WithContext ¶
func WithContext(ctx context.Context) MakeBuilderOption
Click to show internal directories.
Click to hide internal directories.