pusher

package
v0.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitImageRefByRepoAndTag

func SplitImageRefByRepoAndTag(imageReferenceString string) (string, string)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL