automock

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetService

type AssetService struct {
	mock.Mock
}

AssetService is an autogenerated mock type for the AssetService type

func (*AssetService) Create

func (_m *AssetService) Create(ctx context.Context, docsTopic v1.Object, commonAsset docstopic.CommonAsset) error

Create provides a mock function with given fields: ctx, docsTopic, commonAsset

func (*AssetService) Delete

func (_m *AssetService) Delete(ctx context.Context, commonAsset docstopic.CommonAsset) error

Delete provides a mock function with given fields: ctx, commonAsset

func (*AssetService) List

func (_m *AssetService) List(ctx context.Context, namespace string, labels map[string]string) ([]docstopic.CommonAsset, error)

List provides a mock function with given fields: ctx, namespace, labels

func (*AssetService) Update

func (_m *AssetService) Update(ctx context.Context, commonAsset docstopic.CommonAsset) error

Update provides a mock function with given fields: ctx, commonAsset

type BucketService

type BucketService struct {
	mock.Mock
}

BucketService is an autogenerated mock type for the BucketService type

func (*BucketService) Create

func (_m *BucketService) Create(ctx context.Context, namespacedName types.NamespacedName, private bool, labels map[string]string) error

Create provides a mock function with given fields: ctx, namespacedName, private, labels

func (*BucketService) List

func (_m *BucketService) List(ctx context.Context, namespace string, labels map[string]string) ([]string, error)

List provides a mock function with given fields: ctx, namespace, labels

Jump to

Keyboard shortcuts

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