runnablefakes

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDiscoveryInterface added in v0.3.0

type FakeDiscoveryInterface struct {
	OpenAPISchemaStub func() (*openapi_v2.Document, error)

	RESTClientStub func() rest.Interface

	ServerGroupsStub func() (*v1.APIGroupList, error)

	ServerGroupsAndResourcesStub func() ([]*v1.APIGroup, []*v1.APIResourceList, error)

	ServerPreferredNamespacedResourcesStub func() ([]*v1.APIResourceList, error)

	ServerPreferredResourcesStub func() ([]*v1.APIResourceList, error)

	ServerResourcesStub func() ([]*v1.APIResourceList, error)

	ServerResourcesForGroupVersionStub func(string) (*v1.APIResourceList, error)

	ServerVersionStub func() (*version.Info, error)
	// contains filtered or unexported fields
}

func (*FakeDiscoveryInterface) Invocations added in v0.3.0

func (fake *FakeDiscoveryInterface) Invocations() map[string][][]interface{}

func (*FakeDiscoveryInterface) OpenAPISchema added in v0.3.0

func (fake *FakeDiscoveryInterface) OpenAPISchema() (*openapi_v2.Document, error)

func (*FakeDiscoveryInterface) OpenAPISchemaCallCount added in v0.3.0

func (fake *FakeDiscoveryInterface) OpenAPISchemaCallCount() int

func (*FakeDiscoveryInterface) OpenAPISchemaCalls added in v0.3.0

func (fake *FakeDiscoveryInterface) OpenAPISchemaCalls(stub func() (*openapi_v2.Document, error))

func (*FakeDiscoveryInterface) OpenAPISchemaReturns added in v0.3.0

func (fake *FakeDiscoveryInterface) OpenAPISchemaReturns(result1 *openapi_v2.Document, result2 error)

func (*FakeDiscoveryInterface) OpenAPISchemaReturnsOnCall added in v0.3.0

func (fake *FakeDiscoveryInterface) OpenAPISchemaReturnsOnCall(i int, result1 *openapi_v2.Document, result2 error)

func (*FakeDiscoveryInterface) RESTClient added in v0.3.0

func (fake *FakeDiscoveryInterface) RESTClient() rest.Interface

func (*FakeDiscoveryInterface) RESTClientCallCount added in v0.3.0

func (fake *FakeDiscoveryInterface) RESTClientCallCount() int

func (*FakeDiscoveryInterface) RESTClientCalls added in v0.3.0

func (fake *FakeDiscoveryInterface) RESTClientCalls(stub func() rest.Interface)

func (*FakeDiscoveryInterface) RESTClientReturns added in v0.3.0

func (fake *FakeDiscoveryInterface) RESTClientReturns(result1 rest.Interface)

func (*FakeDiscoveryInterface) RESTClientReturnsOnCall added in v0.3.0

func (fake *FakeDiscoveryInterface) RESTClientReturnsOnCall(i int, result1 rest.Interface)

func (*FakeDiscoveryInterface) ServerGroups added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerGroups() (*v1.APIGroupList, error)

func (*FakeDiscoveryInterface) ServerGroupsAndResources added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerGroupsAndResources() ([]*v1.APIGroup, []*v1.APIResourceList, error)

func (*FakeDiscoveryInterface) ServerGroupsAndResourcesCallCount added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerGroupsAndResourcesCallCount() int

func (*FakeDiscoveryInterface) ServerGroupsAndResourcesCalls added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerGroupsAndResourcesCalls(stub func() ([]*v1.APIGroup, []*v1.APIResourceList, error))

func (*FakeDiscoveryInterface) ServerGroupsAndResourcesReturns added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerGroupsAndResourcesReturns(result1 []*v1.APIGroup, result2 []*v1.APIResourceList, result3 error)

func (*FakeDiscoveryInterface) ServerGroupsAndResourcesReturnsOnCall added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerGroupsAndResourcesReturnsOnCall(i int, result1 []*v1.APIGroup, result2 []*v1.APIResourceList, result3 error)

func (*FakeDiscoveryInterface) ServerGroupsCallCount added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerGroupsCallCount() int

func (*FakeDiscoveryInterface) ServerGroupsCalls added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerGroupsCalls(stub func() (*v1.APIGroupList, error))

func (*FakeDiscoveryInterface) ServerGroupsReturns added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerGroupsReturns(result1 *v1.APIGroupList, result2 error)

func (*FakeDiscoveryInterface) ServerGroupsReturnsOnCall added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerGroupsReturnsOnCall(i int, result1 *v1.APIGroupList, result2 error)

func (*FakeDiscoveryInterface) ServerPreferredNamespacedResources added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)

func (*FakeDiscoveryInterface) ServerPreferredNamespacedResourcesCallCount added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerPreferredNamespacedResourcesCallCount() int

func (*FakeDiscoveryInterface) ServerPreferredNamespacedResourcesCalls added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerPreferredNamespacedResourcesCalls(stub func() ([]*v1.APIResourceList, error))

func (*FakeDiscoveryInterface) ServerPreferredNamespacedResourcesReturns added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerPreferredNamespacedResourcesReturns(result1 []*v1.APIResourceList, result2 error)

func (*FakeDiscoveryInterface) ServerPreferredNamespacedResourcesReturnsOnCall added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerPreferredNamespacedResourcesReturnsOnCall(i int, result1 []*v1.APIResourceList, result2 error)

func (*FakeDiscoveryInterface) ServerPreferredResources added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerPreferredResources() ([]*v1.APIResourceList, error)

func (*FakeDiscoveryInterface) ServerPreferredResourcesCallCount added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerPreferredResourcesCallCount() int

func (*FakeDiscoveryInterface) ServerPreferredResourcesCalls added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerPreferredResourcesCalls(stub func() ([]*v1.APIResourceList, error))

func (*FakeDiscoveryInterface) ServerPreferredResourcesReturns added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerPreferredResourcesReturns(result1 []*v1.APIResourceList, result2 error)

func (*FakeDiscoveryInterface) ServerPreferredResourcesReturnsOnCall added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerPreferredResourcesReturnsOnCall(i int, result1 []*v1.APIResourceList, result2 error)

func (*FakeDiscoveryInterface) ServerResources added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerResources() ([]*v1.APIResourceList, error)

func (*FakeDiscoveryInterface) ServerResourcesCallCount added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerResourcesCallCount() int

func (*FakeDiscoveryInterface) ServerResourcesCalls added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerResourcesCalls(stub func() ([]*v1.APIResourceList, error))

func (*FakeDiscoveryInterface) ServerResourcesForGroupVersion added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerResourcesForGroupVersion(arg1 string) (*v1.APIResourceList, error)

func (*FakeDiscoveryInterface) ServerResourcesForGroupVersionArgsForCall added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerResourcesForGroupVersionArgsForCall(i int) string

func (*FakeDiscoveryInterface) ServerResourcesForGroupVersionCallCount added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerResourcesForGroupVersionCallCount() int

func (*FakeDiscoveryInterface) ServerResourcesForGroupVersionCalls added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerResourcesForGroupVersionCalls(stub func(string) (*v1.APIResourceList, error))

func (*FakeDiscoveryInterface) ServerResourcesForGroupVersionReturns added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerResourcesForGroupVersionReturns(result1 *v1.APIResourceList, result2 error)

func (*FakeDiscoveryInterface) ServerResourcesForGroupVersionReturnsOnCall added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerResourcesForGroupVersionReturnsOnCall(i int, result1 *v1.APIResourceList, result2 error)

func (*FakeDiscoveryInterface) ServerResourcesReturns added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerResourcesReturns(result1 []*v1.APIResourceList, result2 error)

func (*FakeDiscoveryInterface) ServerResourcesReturnsOnCall added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerResourcesReturnsOnCall(i int, result1 []*v1.APIResourceList, result2 error)

func (*FakeDiscoveryInterface) ServerVersion added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerVersion() (*version.Info, error)

func (*FakeDiscoveryInterface) ServerVersionCallCount added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerVersionCallCount() int

func (*FakeDiscoveryInterface) ServerVersionCalls added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerVersionCalls(stub func() (*version.Info, error))

func (*FakeDiscoveryInterface) ServerVersionReturns added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerVersionReturns(result1 *version.Info, result2 error)

func (*FakeDiscoveryInterface) ServerVersionReturnsOnCall added in v0.3.0

func (fake *FakeDiscoveryInterface) ServerVersionReturnsOnCall(i int, result1 *version.Info, result2 error)

type FakeRealizer

type FakeRealizer struct {
	RealizeStub func(context.Context, *v1alpha1.Runnable, repository.Repository, repository.Repository, discovery.DiscoveryInterface) (*unstructured.Unstructured, templates.Outputs, error)
	// contains filtered or unexported fields
}

func (*FakeRealizer) Invocations

func (fake *FakeRealizer) Invocations() map[string][][]interface{}

func (*FakeRealizer) RealizeCallCount

func (fake *FakeRealizer) RealizeCallCount() int

func (*FakeRealizer) RealizeReturns

func (fake *FakeRealizer) RealizeReturns(result1 *unstructured.Unstructured, result2 templates.Outputs, result3 error)

func (*FakeRealizer) RealizeReturnsOnCall

func (fake *FakeRealizer) RealizeReturnsOnCall(i int, result1 *unstructured.Unstructured, result2 templates.Outputs, result3 error)

Jump to

Keyboard shortcuts

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