fakeregistry

package
v0.13.17 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 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 FakeRegistry

type FakeRegistry struct {
	GetContentTrustTokenStub func(oauthEndpoint string, username string, password string, service string, scope string) (string, error)
	// contains filtered or unexported fields
}

FakeRegistry .

func (*FakeRegistry) GetContentTrustToken

func (fake *FakeRegistry) GetContentTrustToken(oauthEndpoint string, username string, password string, service string, scope string) (string, error)

GetContentTrustToken ...

func (*FakeRegistry) GetContentTrustTokenReturns

func (fake *FakeRegistry) GetContentTrustTokenReturns(token string, err error)

GetContentTrustTokenReturns ...

func (*FakeRegistry) GetRegistryToken

func (fake *FakeRegistry) GetRegistryToken(oauthEndpoint string, username string, password string, service string, scope string) (string, error)

GetRegistryToken ...

func (*FakeRegistry) NoAnonymousContentTrustTokenStub

func (fake *FakeRegistry) NoAnonymousContentTrustTokenStub(oauthEndpoint string, username string, password string, service string, scope string) (string, error)

NoAnonymousContentTrustTokenStub ...

Jump to

Keyboard shortcuts

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