testhelpers

package
v0.17.0-pre.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleImageStrategy

type SimpleImageStrategy struct{}

func (*SimpleImageStrategy) CheckReadAccess

func (t *SimpleImageStrategy) CheckReadAccess(repo string, keychain authn.Keychain) (bool, error)

type StubImageStrategy

type StubImageStrategy struct {
	AllowedRepo string
}

func (*StubImageStrategy) CheckReadAccess

func (s *StubImageStrategy) CheckReadAccess(repo string, _ authn.Keychain) (bool, error)

type TestResource

type TestResource struct {
	Repo string
}

func (*TestResource) RegistryStr

func (t *TestResource) RegistryStr() string

func (*TestResource) String

func (t *TestResource) String() string

Jump to

Keyboard shortcuts

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