mocks

package
v0.0.0-...-58c3220 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) BeginTransaction

func (_m *Repository) BeginTransaction(ctx context.Context) (*sql.Tx, error)

BeginTransaction provides a mock function with given fields: ctx

func (*Repository) DefaultExists

func (_m *Repository) DefaultExists(ctx context.Context, mdID string, qrr *sql.Tx) (bool, error)

DefaultExists provides a mock function with given fields: ctx, mdID, qrr

func (*Repository) DeleteModelRoute

func (_m *Repository) DeleteModelRoute(ctx context.Context, tx *sql.Tx, name string) error

DeleteModelRoute provides a mock function with given fields: ctx, tx, name

func (*Repository) GetModelRoute

func (_m *Repository) GetModelRoute(ctx context.Context, tx *sql.Tx, name string) (*deployment.ModelRoute, error)

GetModelRoute provides a mock function with given fields: ctx, tx, name

func (*Repository) GetModelRouteList

func (_m *Repository) GetModelRouteList(ctx context.Context, tx *sql.Tx, options ...filter.ListOption) ([]deployment.ModelRoute, error)

GetModelRouteList provides a mock function with given fields: ctx, tx, options

func (*Repository) IsDefault

func (_m *Repository) IsDefault(ctx context.Context, id string, tx *sql.Tx) (bool, error)

IsDefault provides a mock function with given fields: ctx, id, tx

func (*Repository) SaveModelRoute

func (_m *Repository) SaveModelRoute(ctx context.Context, tx *sql.Tx, r *deployment.ModelRoute) error

CreateModelRoute provides a mock function with given fields: ctx, tx, r

func (*Repository) SetDeletionMark

func (_m *Repository) SetDeletionMark(ctx context.Context, tx *sql.Tx, id string, value bool) error

SetDeletionMark provides a mock function with given fields: ctx, tx, id, value

func (*Repository) UpdateModelRoute

func (_m *Repository) UpdateModelRoute(ctx context.Context, tx *sql.Tx, md *deployment.ModelRoute) error

UpdateModelRoute provides a mock function with given fields: ctx, tx, md

func (*Repository) UpdateModelRouteStatus

func (_m *Repository) UpdateModelRouteStatus(ctx context.Context, tx *sql.Tx, id string, s v1alpha1.ModelRouteStatus) error

UpdateModelRouteStatus provides a mock function with given fields: ctx, tx, id, s

Jump to

Keyboard shortcuts

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