Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitImageRefByRepoAndTag ¶
SplitImageRefByRepoAndTag splits an image reference into repository and tag parts
Types ¶
type ImagePutter ¶
type ImagePutter func(ctx context.Context, tag string, img v1.Image, opts ...pkg.ImagePutOption) error
ImagePutter is a function type for putting images to the registry
type PushConfig ¶
type PushConfig struct {
Name string
ImageSet map[string]struct{}
Layout *regimage.ImageLayout
PutterService registry.Client
}
PushConfig encapsulates the configuration for pushing images
type Service ¶ added in v0.26.4
type Service struct {
// contains filtered or unexported fields
}
Service handles the pushing of images to the registry
func NewService ¶ added in v0.26.4
NewService creates a new pusher service
func (*Service) OpenPackage ¶ added in v0.26.4
func (s *Service) OpenPackage(bundleDir, pkgName string) (io.ReadCloser, error)
OpenPackage opens a package file, trying .tar first, then chunked
func (*Service) PackageExists ¶ added in v0.26.4
PackageExists checks if a package exists (tar or chunked)
Click to show internal directories.
Click to hide internal directories.