mocks

package
v0.0.0-...-1ac4f16 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) BucketExists

func (_m *Client) BucketExists(bucketName string) (bool, error)

BucketExists provides a mock function with given fields: bucketName

func (*Client) GetObjectWithContext

func (_m *Client) GetObjectWithContext(ctx context.Context, bucketName string, objectName string, opts minio_go.GetObjectOptions) (*minio_go.Object, error)

GetObjectWithContext provides a mock function with given fields: ctx, bucketName, objectName, opts

func (*Client) MakeBucket

func (_m *Client) MakeBucket(bucketName string, location string) error

MakeBucket provides a mock function with given fields: bucketName, location

func (*Client) PutObjectWithContext

func (_m *Client) PutObjectWithContext(ctx context.Context, bucketName string, objectName string, reader io.Reader, objectSize int64, opts minio_go.PutObjectOptions) (int64, error)

PutObjectWithContext provides a mock function with given fields: ctx, bucketName, objectName, reader, objectSize, opts

func (*Client) RemoveObject

func (_m *Client) RemoveObject(bucketName string, objectName string) error

RemoveObject provides a mock function with given fields: bucketName, objectName

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) Get

func (_m *Repository) Get(bucketName string, objectName string) ([]byte, apperrors.AppError)

Get provides a mock function with given fields: bucketName, objectName

func (*Repository) Put

func (_m *Repository) Put(bucketName string, objectName string, resource []byte) apperrors.AppError

Put provides a mock function with given fields: bucketName, objectName, resource

func (*Repository) Remove

func (_m *Repository) Remove(bucketName string, objectName string) apperrors.AppError

Remove provides a mock function with given fields: bucketName, objectName

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) Get

func (_m *Service) Get(id string) ([]byte, []byte, []byte, apperrors.AppError)

Get provides a mock function with given fields: id

func (*Service) Put

func (_m *Service) Put(id string, documentation []byte, apiSpec []byte, eventsSpec []byte) apperrors.AppError

Put provides a mock function with given fields: id, documentation, apiSpec, eventsSpec

func (*Service) Remove

func (_m *Service) Remove(id string) apperrors.AppError

Remove provides a mock function with given fields: id

Jump to

Keyboard shortcuts

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