updating

package
v0.0.0-...-83e6e2d Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package updating is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Count

type Count int

type Image

type Image struct {
	Name string
	Tag  string
}

func (Image) GetGetCompleteName

func (i Image) GetGetCompleteName() string

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) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) Update

func (m *MockService) Update(ctx context.Context, image Image) (Count, error)

Update mocks base method

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) Update

func (mr *MockServiceMockRecorder) Update(ctx, image interface{}) *gomock.Call

Update indicates an expected call of Update

type Service

type Service interface {
	Update(ctx context.Context, image Image) (Count, error)
}

func NewFileUpdatingService

func NewFileUpdatingService(getFilesFun func() ([]string, error)) Service

NewFileUpdatingService init a new Service for updating files which may contain images which need to be updated

Jump to

Keyboard shortcuts

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