Documentation ¶
Index ¶
- type FakeClient
- func (f *FakeClient) AddImage(repoName string, image v1.Image, keychain authn.Keychain)
- func (f *FakeClient) AddSaveKeychain(tag string, keychain authn.Keychain)
- func (f *FakeClient) Fetch(keychain authn.Keychain, repoName string) (v1.Image, string, error)
- func (f *FakeClient) Save(keychain authn.Keychain, tag string, image v1.Image) (string, error)
- func (f *FakeClient) SavedImages() map[string]v1.Image
- func (f *FakeClient) SetFetchError(err error)
- type FakeKeychain
- type FakeKeychainFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct {
// contains filtered or unexported fields
}
func NewFakeClient ¶
func NewFakeClient() *FakeClient
func (*FakeClient) AddSaveKeychain ¶
func (f *FakeClient) AddSaveKeychain(tag string, keychain authn.Keychain)
func (*FakeClient) SavedImages ¶
func (f *FakeClient) SavedImages() map[string]v1.Image
func (*FakeClient) SetFetchError ¶
func (f *FakeClient) SetFetchError(err error)
type FakeKeychain ¶
type FakeKeychain struct {
Name string
}
func (*FakeKeychain) Resolve ¶
func (f *FakeKeychain) Resolve(authn.Resource) (authn.Authenticator, error)
type FakeKeychainFactory ¶
type FakeKeychainFactory struct {
// contains filtered or unexported fields
}
func (*FakeKeychainFactory) AddKeychainForSecretRef ¶
func (*FakeKeychainFactory) KeychainForSecretRef ¶
Click to show internal directories.
Click to hide internal directories.