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 pkg.RegistryClient
}
PushConfig encapsulates the configuration for pushing images
type PusherService ¶
type PusherService struct {
// contains filtered or unexported fields
}
PusherService handles the pushing of images to the registry
func NewPusherService ¶
func NewPusherService( logger *dkplog.Logger, userLogger *log.SLogger, ) *PusherService
NewPusherService creates a new PusherService
func (*PusherService) PushModules ¶
func (ps *PusherService) PushModules(_ context.Context, bundleDir string, _ interface{}) error
PushModules pushes module packages from the bundle directory
Click to show internal directories.
Click to hide internal directories.