mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 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

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 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, remotePath string) ([]byte, apperrors.AppError)

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

func (*Repository) Put

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

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

func (*Repository) Remove

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

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

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