Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Puller ¶
type Puller interface { // Pull the artifact at the given reference. Pull(ctx context.Context, ref string) ([]byte, error) }
Puller is an interface to abstract interaction with OCI registries or other storage services.
type RegistryPuller ¶
type RegistryPuller struct{}
RegistryPuller handles pulling OCI artifacts from an OCI registry (i.e. bundles)
func NewRegistryPuller ¶
func NewRegistryPuller() *RegistryPuller
NewRegistryPuller creates and initializes a RegistryPuller.
It assumes AWS ECR, and uses a password that exists in the ECR_PASSWORD environment variable.
Click to show internal directories.
Click to hide internal directories.