Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultUid = 1000 DefaultGid = 1000 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildErr ¶
type BuildErr struct {
Err error
}
BuildErr indicates a general build error occurred.
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
NewBuilder creates a builder instance.
type Credentials ¶ added in v0.47.0
func EmptyCredentialsProvider ¶ added in v0.47.0
func EmptyCredentialsProvider(ctx context.Context, registry string) (Credentials, error)
type CredentialsProvider ¶ added in v0.47.0
type CredentialsProvider func(ctx context.Context, image string) (Credentials, error)
type ErrBuildInProgress ¶
type ErrBuildInProgress struct {
Dir string
}
func (ErrBuildInProgress) Error ¶
func (e ErrBuildInProgress) Error() string
type Opt ¶ added in v0.47.0
type Opt func(*Pusher)
func WithCredentialsProvider ¶ added in v0.47.0
func WithCredentialsProvider(cp CredentialsProvider) Opt
func WithTransport ¶ added in v0.47.0
func WithTransport(transport http.RoundTripper) Opt
func WithVerbose ¶ added in v0.47.0
Click to show internal directories.
Click to hide internal directories.