mocks

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocsTopicRepository

type DocsTopicRepository struct {
	mock.Mock
}

DocsTopicRepository is an autogenerated mock type for the DocsTopicRepository type

func (*DocsTopicRepository) Delete

Delete provides a mock function with given fields: id

func (*DocsTopicRepository) Get

Get provides a mock function with given fields: id

func (*DocsTopicRepository) Upsert

func (_m *DocsTopicRepository) Upsert(documentationTopic docstopic.Entry) apperrors.AppError

Upsert provides a mock function with given fields: documentationTopic

type ResourceInterface

type ResourceInterface struct {
	mock.Mock
}

ResourceInterface is an autogenerated mock type for the ResourceInterface type

func (*ResourceInterface) Create

func (_m *ResourceInterface) Create(obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string) (*unstructured.Unstructured, error)

Create provides a mock function with given fields: obj, options, subresources

func (*ResourceInterface) Delete

func (_m *ResourceInterface) Delete(name string, opts *v1.DeleteOptions, subresources ...string) error

Delete provides a mock function with given fields: name, opts, subresources

func (*ResourceInterface) Get

func (_m *ResourceInterface) Get(name string, opts v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)

Get provides a mock function with given fields: name, opts, subresources

func (*ResourceInterface) Update

func (_m *ResourceInterface) Update(obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)

Update provides a mock function with given fields: obj, options, subresources

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, apiType docstopic.ApiType, documentation []byte, apiSpec []byte, eventsSpec []byte) apperrors.AppError

Put provides a mock function with given fields: id, apiType, 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