mock_cache

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCredentialsCache

type MockCredentialsCache struct {
	GetFn       func(registry string) *cache.AuthEntry
	GetPublicFn func() *cache.AuthEntry
	SetFn       func(registry string, entry *cache.AuthEntry)
	ListFn      func() []*cache.AuthEntry
	ClearFn     func()
}

func (MockCredentialsCache) Clear

func (m MockCredentialsCache) Clear()

func (MockCredentialsCache) Get

func (m MockCredentialsCache) Get(registry string) *cache.AuthEntry

func (MockCredentialsCache) GetPublic

func (m MockCredentialsCache) GetPublic() *cache.AuthEntry

func (MockCredentialsCache) List

func (m MockCredentialsCache) List() []*cache.AuthEntry

func (MockCredentialsCache) Set

func (m MockCredentialsCache) Set(registry string, entry *cache.AuthEntry)

Jump to

Keyboard shortcuts

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