mock_api

package
v0.0.0-...-306b231 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock_api is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockService

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

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) Build

func (m *MockService) Build(imageRefURL string, push bool, repositoryName string, repositoryTags map[string]string, imageTags ...string) error

Build mocks base method.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) Login

func (m *MockService) Login() (*string, error)

Login mocks base method.

func (*MockService) Pull

func (m *MockService) Pull(imageRefURL string) error

Pull mocks base method.

func (*MockService) Push

func (m *MockService) Push(repositoryName string, repositoryTags map[string]string, imageTags ...string) error

Push mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) Build

func (mr *MockServiceMockRecorder) Build(imageRefURL, push, repositoryName, repositoryTags interface{}, imageTags ...interface{}) *gomock.Call

Build indicates an expected call of Build.

func (*MockServiceMockRecorder) Login

func (mr *MockServiceMockRecorder) Login() *gomock.Call

Login indicates an expected call of Login.

func (*MockServiceMockRecorder) Pull

func (mr *MockServiceMockRecorder) Pull(imageRefURL interface{}) *gomock.Call

Pull indicates an expected call of Pull.

func (*MockServiceMockRecorder) Push

func (mr *MockServiceMockRecorder) Push(repositoryName, repositoryTags interface{}, imageTags ...interface{}) *gomock.Call

Push indicates an expected call of Push.

Jump to

Keyboard shortcuts

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