fake

package
v1.102.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

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

Registry implements oci.Interface and returns the artifacts previously added via `.SetArtifact()`.

func NewRegistry

func NewRegistry() *Registry

NewRegistry returns a new registry

func (*Registry) AddArtifact

func (r *Registry) AddArtifact(oci *gardencorev1.OCIRepository, data []byte)

AddArtifact adds an artifact to the fake registry.

func (*Registry) Pull

Pull implements oci.Interface

Jump to

Keyboard shortcuts

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