Documentation ¶
Index ¶
- func FS(ctx context.Context, src fs.FS) (packagecontent.Files, error)
- func Folder(ctx context.Context, path string) (packagecontent.Files, error)
- func Image(ctx context.Context, image v1.Image) (m packagecontent.Files, err error)
- func PulledImage(ctx context.Context, ref string) (packagecontent.Files, error)
- type PullConfig
- type PullOption
- type Puller
- type Registry
- type WithInsecure
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PulledImage ¶
Types ¶
type PullConfig ¶ added in v1.7.0
type PullConfig struct {
Insecure bool
}
func (*PullConfig) Option ¶ added in v1.7.0
func (c *PullConfig) Option(opts ...PullOption)
type PullOption ¶ added in v1.7.0
type PullOption interface {
ConfigurePull(*PullConfig)
}
type Puller ¶ added in v1.7.0
type Puller struct{}
func (*Puller) Pull ¶ added in v1.7.0
func (p *Puller) Pull(ctx context.Context, ref string, opts ...PullOption) (packagecontent.Files, error)
type Registry ¶ added in v1.6.0
type Registry struct {
// contains filtered or unexported fields
}
Registry handles pulling images from a registry during PKO runtime.
func NewRegistry ¶ added in v1.6.0
type WithInsecure ¶ added in v1.7.0
type WithInsecure bool
func (WithInsecure) ConfigurePull ¶ added in v1.7.0
func (w WithInsecure) ConfigurePull(c *PullConfig)
Click to show internal directories.
Click to hide internal directories.