Help us shape the future of Go! Take the 2026 Go Developer Survey

images

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package images is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRegistryAuthAPI

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

MockRegistryAuthAPI is a mock of RegistryAuthAPI interface.

func NewMockRegistryAuthAPI

func NewMockRegistryAuthAPI(ctrl *gomock.Controller) *MockRegistryAuthAPI

NewMockRegistryAuthAPI creates a new mock instance.

func (*MockRegistryAuthAPI) EXPECT

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

func (*MockRegistryAuthAPI) GetAuthFileFromSecret

func (m *MockRegistryAuthAPI) GetAuthFileFromSecret(arg0 context.Context, arg1, arg2 string) (string, error)

GetAuthFileFromSecret mocks base method.

type MockRegistryAuthAPIMockRecorder

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

MockRegistryAuthAPIMockRecorder is the mock recorder for MockRegistryAuthAPI.

func (*MockRegistryAuthAPIMockRecorder) GetAuthFileFromSecret

func (mr *MockRegistryAuthAPIMockRecorder) GetAuthFileFromSecret(arg0, arg1, arg2 interface{}) *gomock.Call

GetAuthFileFromSecret indicates an expected call of GetAuthFileFromSecret.

type RegistryAuth

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

func NewRegistryAuth

func NewRegistryAuth(k8sClient client.Client) *RegistryAuth

func (*RegistryAuth) GetAuthFileFromSecret

func (r *RegistryAuth) GetAuthFileFromSecret(ctx context.Context, namespace, name string) (string, error)

type RegistryAuthAPI

type RegistryAuthAPI interface {
	GetAuthFileFromSecret(ctx context.Context, namespace, name string) (string, error)
}

Jump to

Keyboard shortcuts

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