image

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerCertsDir

func DockerCertsDir() string

func PolicyConfPath

func PolicyConfPath() string

func RegistriesConfPath

func RegistriesConfPath() string

func RegistryCertsDir

func RegistryCertsDir() string

Types

type Facade

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

func FacadeSingleton

func FacadeSingleton() *Facade

func (*Facade) GetCompatibleArchitecturesSet

func (i *Facade) GetCompatibleArchitecturesSet(ctx context.Context, imageReference string, skipCache bool, secrets [][]byte) (architectures sets.Set[string], err error)

func (*Facade) StoreGlobalPullSecret

func (i *Facade) StoreGlobalPullSecret(pullSecret []byte)

type ICache

type ICache interface {
	// GetCompatibleArchitecturesSet takes an image reference. a list of secrets and the client to the cluster and
	// returns a set of architectures that are compatible with the image reference.
	GetCompatibleArchitecturesSet(ctx context.Context, imageReference string, skipCache bool, secrets [][]byte) (sets.Set[string], error)
}

type IRegistryInspector

type IRegistryInspector interface {
	ICache
	// contains filtered or unexported methods
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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