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

mirror

package
v0.22.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TmpMirrorFolderName     = "mirror"
	TmpMirrorPullFolderName = "pull"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageLayouts added in v0.22.1

type ImageLayouts struct {
	DeckhousePlatform *platform.ImageLayouts

	TrivyDB           layout.Path
	TrivyDBImages     map[string]struct{}
	TrivyBDU          layout.Path
	TrivyBDUImages    map[string]struct{}
	TrivyJavaDB       layout.Path
	TrivyJavaDBImages map[string]struct{}
	TrivyChecks       layout.Path
	TrivyChecksImages map[string]struct{}

	Modules map[string]ModuleImageLayout
	// contains filtered or unexported fields
}

func NewImageLayouts added in v0.22.1

func NewImageLayouts() *ImageLayouts

type ModuleImageLayout added in v0.22.1

type ModuleImageLayout struct {
	ModuleLayout layout.Path
	ModuleImages map[string]struct{}

	ReleasesLayout layout.Path
	ReleaseImages  map[string]ModuleRelease

	ExtraLayout layout.Path
	ExtraImages map[string]struct{}
}

type ModuleRelease added in v0.22.1

type ModuleRelease struct {
	Version string
}

type PullService added in v0.22.1

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

func NewPullService added in v0.22.1

func NewPullService(
	registryService *registryservice.Service,
	tmpDir string,
	targetTag string,
	ignoreSuspendedChannels bool,
	logger *dkplog.Logger,
	userLogger *log.SLogger,
) *PullService

func (*PullService) Pull added in v0.22.1

func (svc *PullService) Pull(ctx context.Context) error

Pull

type PushService added in v0.22.1

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

func NewPushService added in v0.22.1

func NewPushService(registryService registryservice.Service, logger *dkplog.Logger, userLogger *log.SLogger) *PushService

Directories

Path Synopsis
api
cmd

Jump to

Keyboard shortcuts

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