mocks

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 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 ClusterAssetGroupRepository

type ClusterAssetGroupRepository struct {
	mock.Mock
}

ClusterAssetGroupRepository is an autogenerated mock type for the ClusterAssetGroupRepository type

func (*ClusterAssetGroupRepository) Delete

Delete provides a mock function with given fields: id

func (*ClusterAssetGroupRepository) Get

Get provides a mock function with given fields: id

func (*ClusterAssetGroupRepository) Upsert

func (_m *ClusterAssetGroupRepository) Upsert(documentationTopic clusterassetgroup.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 clusterassetgroup.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