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 ¶
type PullConfig struct {
Insecure bool
}
func (*PullConfig) Option ¶
func (c *PullConfig) Option(opts ...PullOption)
type PullOption ¶
type PullOption interface {
ConfigurePull(*PullConfig)
}
type Puller ¶
type Puller struct{}
func (*Puller) Pull ¶
func (p *Puller) Pull(ctx context.Context, ref string, opts ...PullOption) (packagecontent.Files, error)
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry handles pulling images from a registry during PKO runtime.
func NewRegistry ¶
type WithInsecure ¶
type WithInsecure bool
func (WithInsecure) ConfigurePull ¶
func (w WithInsecure) ConfigurePull(c *PullConfig)
Click to show internal directories.
Click to hide internal directories.