mocks

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContainerLoginBuildPusher

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

MockContainerLoginBuildPusher is a mock of ContainerLoginBuildPusher interface.

func NewMockContainerLoginBuildPusher

func NewMockContainerLoginBuildPusher(ctrl *gomock.Controller) *MockContainerLoginBuildPusher

NewMockContainerLoginBuildPusher creates a new mock instance.

func (*MockContainerLoginBuildPusher) Build

Build mocks base method.

func (*MockContainerLoginBuildPusher) EXPECT

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

func (*MockContainerLoginBuildPusher) IsEcrCredentialHelperEnabled added in v1.8.0

func (m *MockContainerLoginBuildPusher) IsEcrCredentialHelperEnabled(uri string) bool

IsEcrCredentialHelperEnabled mocks base method.

func (*MockContainerLoginBuildPusher) Login

func (m *MockContainerLoginBuildPusher) Login(uri, username, password string) error

Login mocks base method.

func (*MockContainerLoginBuildPusher) Push

func (m *MockContainerLoginBuildPusher) Push(ctx context.Context, uri string, w io.Writer, tags ...string) (string, error)

Push mocks base method.

type MockContainerLoginBuildPusherMockRecorder

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

MockContainerLoginBuildPusherMockRecorder is the mock recorder for MockContainerLoginBuildPusher.

func (*MockContainerLoginBuildPusherMockRecorder) Build

func (mr *MockContainerLoginBuildPusherMockRecorder) Build(ctx, args, w interface{}) *gomock.Call

Build indicates an expected call of Build.

func (*MockContainerLoginBuildPusherMockRecorder) IsEcrCredentialHelperEnabled added in v1.8.0

func (mr *MockContainerLoginBuildPusherMockRecorder) IsEcrCredentialHelperEnabled(uri interface{}) *gomock.Call

IsEcrCredentialHelperEnabled indicates an expected call of IsEcrCredentialHelperEnabled.

func (*MockContainerLoginBuildPusherMockRecorder) Login

func (mr *MockContainerLoginBuildPusherMockRecorder) Login(uri, username, password interface{}) *gomock.Call

Login indicates an expected call of Login.

func (*MockContainerLoginBuildPusherMockRecorder) Push

func (mr *MockContainerLoginBuildPusherMockRecorder) Push(ctx, uri, w interface{}, tags ...interface{}) *gomock.Call

Push indicates an expected call of Push.

type MockRegistry

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

MockRegistry is a mock of Registry interface.

func NewMockRegistry

func NewMockRegistry(ctrl *gomock.Controller) *MockRegistry

NewMockRegistry creates a new mock instance.

func (*MockRegistry) Auth

func (m *MockRegistry) Auth() (string, string, error)

Auth mocks base method.

func (*MockRegistry) EXPECT

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

func (*MockRegistry) RepositoryURI

func (m *MockRegistry) RepositoryURI(name string) (string, error)

RepositoryURI mocks base method.

type MockRegistryMockRecorder

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

MockRegistryMockRecorder is the mock recorder for MockRegistry.

func (*MockRegistryMockRecorder) Auth

func (mr *MockRegistryMockRecorder) Auth() *gomock.Call

Auth indicates an expected call of Auth.

func (*MockRegistryMockRecorder) RepositoryURI

func (mr *MockRegistryMockRecorder) RepositoryURI(name interface{}) *gomock.Call

RepositoryURI indicates an expected call of RepositoryURI.

Jump to

Keyboard shortcuts

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