automock

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiSpecGetter

type ApiSpecGetter struct {
	mock.Mock
}

ApiSpecGetter is an autogenerated mock type for the ApiSpecGetter type

func (*ApiSpecGetter) Find

func (_m *ApiSpecGetter) Find(kind string, id string) (*storage.ApiSpec, error)

Find provides a mock function with given fields: kind, id

type ApplicationLister

type ApplicationLister struct {
	mock.Mock
}

ApplicationLister is an autogenerated mock type for the ApplicationLister type

func (*ApplicationLister) ListInNamespace

func (_m *ApplicationLister) ListInNamespace(namespace string) ([]*v1alpha1.Application, error)

ListInNamespace provides a mock function with given fields: namespace

func (*ApplicationLister) ListNamespacesFor

func (_m *ApplicationLister) ListNamespacesFor(appName string) ([]string, error)

ListNamespacesFor provides a mock function with given fields: appName

type ApplicationRetriever

type ApplicationRetriever struct {
	mock.Mock
}

ApplicationRetriever is an autogenerated mock type for the ApplicationRetriever type

func (*ApplicationRetriever) Application

func (_m *ApplicationRetriever) Application() shared.ApplicationLister

Application provides a mock function with given fields:

type AsyncApiSpecGetter

type AsyncApiSpecGetter struct {
	mock.Mock
}

AsyncApiSpecGetter is an autogenerated mock type for the AsyncApiSpecGetter type

func (*AsyncApiSpecGetter) Find

func (_m *AsyncApiSpecGetter) Find(kind string, id string) (*storage.AsyncApiSpec, error)

Find provides a mock function with given fields: kind, id

type ContentGetter

type ContentGetter struct {
	mock.Mock
}

ContentGetter is an autogenerated mock type for the ContentGetter type

func (*ContentGetter) Find

func (_m *ContentGetter) Find(kind string, id string) (*storage.Content, error)

Find provides a mock function with given fields: kind, id

type ContentRetriever

type ContentRetriever struct {
	mock.Mock
}

ContentRetriever is an autogenerated mock type for the ContentRetriever type

func (*ContentRetriever) ApiSpec

func (_m *ContentRetriever) ApiSpec() shared.ApiSpecGetter

ApiSpec provides a mock function with given fields:

func (*ContentRetriever) AsyncApiSpec

func (_m *ContentRetriever) AsyncApiSpec() shared.AsyncApiSpecGetter

AsyncApiSpec provides a mock function with given fields:

func (*ContentRetriever) Content

func (_m *ContentRetriever) Content() shared.ContentGetter

Content provides a mock function with given fields:

type ServiceBindingFinderLister

type ServiceBindingFinderLister struct {
	mock.Mock
}

ServiceBindingFinderLister is an autogenerated mock type for the ServiceBindingFinderLister type

func (*ServiceBindingFinderLister) Find

Find provides a mock function with given fields: ns, name

func (*ServiceBindingFinderLister) ListForServiceInstance

func (_m *ServiceBindingFinderLister) ListForServiceInstance(ns string, instanceName string) ([]*v1beta1.ServiceBinding, error)

ListForServiceInstance provides a mock function with given fields: ns, instanceName

type ServiceBindingUsageLister

type ServiceBindingUsageLister struct {
	mock.Mock
}

ServiceBindingUsageLister is an autogenerated mock type for the ServiceBindingUsageLister type

func (*ServiceBindingUsageLister) ListForDeployment

func (_m *ServiceBindingUsageLister) ListForDeployment(ns string, kind string, deploymentName string) ([]*v1alpha1.ServiceBindingUsage, error)

ListForDeployment provides a mock function with given fields: ns, kind, deploymentName

type ServiceCatalogAddonsRetriever

type ServiceCatalogAddonsRetriever struct {
	mock.Mock
}

ServiceCatalogAddonsRetriever is an autogenerated mock type for the ServiceCatalogAddonsRetriever type

func (*ServiceCatalogAddonsRetriever) ServiceBindingUsage

ServiceBindingUsage provides a mock function with given fields:

type ServiceCatalogRetriever

type ServiceCatalogRetriever struct {
	mock.Mock
}

ServiceCatalogRetriever is an autogenerated mock type for the ServiceCatalogRetriever type

func (*ServiceCatalogRetriever) ServiceBinding

ServiceBinding provides a mock function with given fields:

Jump to

Keyboard shortcuts

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