auth

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package auth is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRegistryAuthGetter

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

MockRegistryAuthGetter is a mock of RegistryAuthGetter interface.

func NewMockRegistryAuthGetter

func NewMockRegistryAuthGetter(ctrl *gomock.Controller) *MockRegistryAuthGetter

NewMockRegistryAuthGetter creates a new mock instance.

func (*MockRegistryAuthGetter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRegistryAuthGetter) GetKeyChain

func (m *MockRegistryAuthGetter) GetKeyChain(ctx context.Context) (authn.Keychain, error)

GetKeyChain mocks base method.

type MockRegistryAuthGetterMockRecorder

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

MockRegistryAuthGetterMockRecorder is the mock recorder for MockRegistryAuthGetter.

func (*MockRegistryAuthGetterMockRecorder) GetKeyChain

func (mr *MockRegistryAuthGetterMockRecorder) GetKeyChain(ctx interface{}) *gomock.Call

GetKeyChain indicates an expected call of GetKeyChain.

type RegistryAuthGetter

type RegistryAuthGetter interface {
	GetKeyChain(ctx context.Context) (authn.Keychain, error)
}

func NewRegistryAuthGetter

func NewRegistryAuthGetter(client client.Client, namespacedName types.NamespacedName) RegistryAuthGetter

func NewRegistryAuthGetterFrom

func NewRegistryAuthGetterFrom(client client.Client, mld *api.ModuleLoaderData) RegistryAuthGetter

Jump to

Keyboard shortcuts

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