fake

package
v0.0.0-...-2e60148 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SingleArchAmd64Image = "my-registry.io/library/single-arch-amd64-image:latest"
	SingleArchArm64Image = "my-registry.io/library/single-arch-arm64-image:latest"
	MultiArchImage       = "my-registry.io/library/multi-arch-image:latest"
	MultiArchImage2      = "my-registry.io/library/multi-arch-image2:latest"
)

Variables

This section is empty.

Functions

func MockImagesArchitectureMap

func MockImagesArchitectureMap() map[string]sets.Set[string]

MockImagesArchitectureMap returns a map of image references to their supported architectures We use a function instead of a global variable to force immutability

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,
	secrets [][]byte) (architectures sets.Set[string], err error)

Directories

Path Synopsis
auth/htpasswd
Package htpasswd provides a simple authentication scheme that checks for the user credential hash in an htpasswd formatted file in a configuration-determined location.
Package htpasswd provides a simple authentication scheme that checks for the user credential hash in an htpasswd formatted file in a configuration-determined location.

Jump to

Keyboard shortcuts

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