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)
func (Credentials) Authorization ¶ added in v0.47.1
func (c Credentials) Authorization() (*authn.AuthConfig, error)
type CredentialsProvider ¶ added in v0.47.0
type CredentialsProvider func(ctx context.Context, image string) (Credentials, error)
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
type Pusher ¶
type Pusher struct {
Anonymous bool
Insecure bool
Verbose bool
// contains filtered or unexported fields
}
Pusher of OCI multi-arch layout directories.
type Scaffolder ¶ added in v0.48.0
type Scaffolder struct {
// contains filtered or unexported fields
}
Scaffolder for host (OCI) builder
func NewScaffolder ¶ added in v0.48.0
func NewScaffolder(verbose bool) *Scaffolder
Source Files
¶
Click to show internal directories.
Click to hide internal directories.