Help us shape the future of Go! Take the 2026 Go Developer Survey

installer

package
v0.29.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageDownloadList

type ImageDownloadList struct {
	Installer map[string]*puller.ImageMeta
	// contains filtered or unexported fields
}

func NewImageDownloadList

func NewImageDownloadList(rootURL string) *ImageDownloadList

func (*ImageDownloadList) FillInstallerImages

func (l *ImageDownloadList) FillInstallerImages(tagsToMirror []string)

type ImageLayouts

type ImageLayouts struct {
	// contains filtered or unexported fields
}

func NewImageLayouts

func NewImageLayouts(rootFolder string) (*ImageLayouts, error)

func (*ImageLayouts) AsList

func (l *ImageLayouts) AsList() []layout.Path

AsList returns a list of layout.Path's in it. Undefined path's are not included in the list.

type Options

type Options struct {
	// TargetTag specifies a specific tag to mirror instead of determining versions automatically
	// it can be:
	// semver f.e. vX.Y.Z
	// channel f.e. alpha/beta/stable
	// any other tag
	TargetTag string
	// BundleDir is the directory to store the bundle
	BundleDir string
	// BundleChunkSize is the max size of bundle chunks in bytes (0 = no chunking)
	BundleChunkSize int64
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(
	registryService *registryservice.Service,
	workingDir string,
	options *Options,
	logger *dkplog.Logger,
	userLogger *log.SLogger,
) *Service

func (*Service) PullInstaller

func (svc *Service) PullInstaller(ctx context.Context) error

PullInstaller pulls the installer image It validates access to the registry and pulls the image

Jump to

Keyboard shortcuts

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