mocks

package
v0.6.11-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CiPipelineHistoryRepository

type CiPipelineHistoryRepository struct {
	mock.Mock
}

CiPipelineHistoryRepository is an autogenerated mock type for the CiPipelineHistoryRepository type

func NewCiPipelineHistoryRepository

func NewCiPipelineHistoryRepository(t mockConstructorTestingTNewCiPipelineHistoryRepository) *CiPipelineHistoryRepository

NewCiPipelineHistoryRepository creates a new instance of CiPipelineHistoryRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*CiPipelineHistoryRepository) Save

func (_m *CiPipelineHistoryRepository) Save(ciPipelineHistory *repository.CiPipelineHistory) error

Save provides a mock function with given fields: ciPipelineHistory

type CiTemplateHistoryRepository

type CiTemplateHistoryRepository struct {
	mock.Mock
}

CiTemplateHistoryRepository is an autogenerated mock type for the CiTemplateHistoryRepository type

func NewCiTemplateHistoryRepository

func NewCiTemplateHistoryRepository(t mockConstructorTestingTNewCiTemplateHistoryRepository) *CiTemplateHistoryRepository

NewCiTemplateHistoryRepository creates a new instance of CiTemplateHistoryRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*CiTemplateHistoryRepository) Save

Save provides a mock function with given fields: material

type GitMaterialHistoryRepository

type GitMaterialHistoryRepository struct {
	mock.Mock
}

GitMaterialHistoryRepository is an autogenerated mock type for the GitMaterialHistoryRepository type

func NewGitMaterialHistoryRepository

func NewGitMaterialHistoryRepository(t mockConstructorTestingTNewGitMaterialHistoryRepository) *GitMaterialHistoryRepository

NewGitMaterialHistoryRepository creates a new instance of GitMaterialHistoryRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*GitMaterialHistoryRepository) SaveDeleteMaterialHistory

func (_m *GitMaterialHistoryRepository) SaveDeleteMaterialHistory(materials []*repository.GitMaterialHistory) error

SaveDeleteMaterialHistory provides a mock function with given fields: materials

func (*GitMaterialHistoryRepository) SaveGitMaterialHistory

func (_m *GitMaterialHistoryRepository) SaveGitMaterialHistory(material *repository.GitMaterialHistory) error

SaveGitMaterialHistory provides a mock function with given fields: material

Jump to

Keyboard shortcuts

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