mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactRepo

type ArtifactRepo struct {
	mock.Mock
}

ArtifactRepo is an autogenerated mock type for the ArtifactRepo type

func (*ArtifactRepo) Create

func (_m *ArtifactRepo) Create(ctx context.Context, in models.Artifact) error

Create provides a mock function with given fields: ctx, in

func (*ArtifactRepo) Get

Get provides a mock function with given fields: ctx, in

type DataCatalogRepo

type DataCatalogRepo struct {
	MockDatasetRepo  *DatasetRepo
	MockArtifactRepo *ArtifactRepo
	MockTagRepo      *TagRepo
}

func (*DataCatalogRepo) ArtifactRepo

func (m *DataCatalogRepo) ArtifactRepo() interfaces.ArtifactRepo

func (*DataCatalogRepo) DatasetRepo

func (m *DataCatalogRepo) DatasetRepo() interfaces.DatasetRepo

func (*DataCatalogRepo) TagRepo

func (m *DataCatalogRepo) TagRepo() interfaces.TagRepo

type DatasetRepo

type DatasetRepo struct {
	mock.Mock
}

DatasetRepo is an autogenerated mock type for the DatasetRepo type

func (*DatasetRepo) Create

func (_m *DatasetRepo) Create(ctx context.Context, in models.Dataset) error

Create provides a mock function with given fields: ctx, in

func (*DatasetRepo) Get

Get provides a mock function with given fields: ctx, in

type TagRepo

type TagRepo struct {
	mock.Mock
}

TagRepo is an autogenerated mock type for the TagRepo type

func (*TagRepo) Create

func (_m *TagRepo) Create(ctx context.Context, in models.Tag) error

Create provides a mock function with given fields: ctx, in

func (*TagRepo) Get

func (_m *TagRepo) Get(ctx context.Context, in models.TagKey) (models.Tag, error)

Get provides a mock function with given fields: ctx, in

Jump to

Keyboard shortcuts

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