auth

package
v0.0.0-...-ab60f3c Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: auth.go

Generated by this command:

mockgen -source=auth.go -package=auth -destination=mock_auth.go

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 MockRegistryAuthGetterFactory

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

MockRegistryAuthGetterFactory is a mock of RegistryAuthGetterFactory interface.

func NewMockRegistryAuthGetterFactory

func NewMockRegistryAuthGetterFactory(ctrl *gomock.Controller) *MockRegistryAuthGetterFactory

NewMockRegistryAuthGetterFactory creates a new mock instance.

func (*MockRegistryAuthGetterFactory) EXPECT

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

func (*MockRegistryAuthGetterFactory) NewClusterAuthGetter

func (m *MockRegistryAuthGetterFactory) NewClusterAuthGetter() RegistryAuthGetter

NewClusterAuthGetter mocks base method.

func (*MockRegistryAuthGetterFactory) NewRegistryAuthGetterFrom

func (m *MockRegistryAuthGetterFactory) NewRegistryAuthGetterFrom(mld *api.ModuleLoaderData) RegistryAuthGetter

NewRegistryAuthGetterFrom mocks base method.

type MockRegistryAuthGetterFactoryMockRecorder

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

MockRegistryAuthGetterFactoryMockRecorder is the mock recorder for MockRegistryAuthGetterFactory.

func (*MockRegistryAuthGetterFactoryMockRecorder) NewClusterAuthGetter

func (mr *MockRegistryAuthGetterFactoryMockRecorder) NewClusterAuthGetter() *gomock.Call

NewClusterAuthGetter indicates an expected call of NewClusterAuthGetter.

func (*MockRegistryAuthGetterFactoryMockRecorder) NewRegistryAuthGetterFrom

func (mr *MockRegistryAuthGetterFactoryMockRecorder) NewRegistryAuthGetterFrom(mld any) *gomock.Call

NewRegistryAuthGetterFrom indicates an expected call of NewRegistryAuthGetterFrom.

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 any) *gomock.Call

GetKeyChain indicates an expected call of GetKeyChain.

type RegistryAuthGetter

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

type RegistryAuthGetterFactory

type RegistryAuthGetterFactory interface {
	NewRegistryAuthGetterFrom(mld *api.ModuleLoaderData) RegistryAuthGetter
	NewClusterAuthGetter() RegistryAuthGetter
}

func NewRegistryAuthGetterFactory

func NewRegistryAuthGetterFactory(client client.Client, coreClientSet k8s.Interface) RegistryAuthGetterFactory

Jump to

Keyboard shortcuts

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