mocks

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2018 License: Apache-2.0 Imports: 11 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 DiscoveryInterface

type DiscoveryInterface struct {
	mock.Mock
}

DiscoveryInterface is an autogenerated mock type for the DiscoveryInterface type

func (*DiscoveryInterface) OpenAPISchema

func (_m *DiscoveryInterface) OpenAPISchema() (*openapi_v2.Document, error)

OpenAPISchema provides a mock function with given fields:

func (*DiscoveryInterface) RESTClient

func (_m *DiscoveryInterface) RESTClient() rest.Interface

RESTClient provides a mock function with given fields:

func (*DiscoveryInterface) ServerGroups

func (_m *DiscoveryInterface) ServerGroups() (*v1.APIGroupList, error)

ServerGroups provides a mock function with given fields:

func (*DiscoveryInterface) ServerPreferredNamespacedResources

func (_m *DiscoveryInterface) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)

ServerPreferredNamespacedResources provides a mock function with given fields:

func (*DiscoveryInterface) ServerPreferredResources

func (_m *DiscoveryInterface) ServerPreferredResources() ([]*v1.APIResourceList, error)

ServerPreferredResources provides a mock function with given fields:

func (*DiscoveryInterface) ServerResources

func (_m *DiscoveryInterface) ServerResources() ([]*v1.APIResourceList, error)

ServerResources provides a mock function with given fields:

func (*DiscoveryInterface) ServerResourcesForGroupVersion

func (_m *DiscoveryInterface) ServerResourcesForGroupVersion(groupVersion string) (*v1.APIResourceList, error)

ServerResourcesForGroupVersion provides a mock function with given fields: groupVersion

func (*DiscoveryInterface) ServerVersion

func (_m *DiscoveryInterface) ServerVersion() (*version.Info, error)

ServerVersion provides a mock function with given fields:

func (*DiscoveryInterface) SwaggerSchema

SwaggerSchema provides a mock function with given fields: _a0

type ObjectInfo

type ObjectInfo struct {
	mock.Mock
}

ObjectInfo is an autogenerated mock type for the ObjectInfo type

func (*ObjectInfo) ResourceName

ResourceName provides a mock function with given fields: d, o

type ResourceClient

type ResourceClient struct {
	mock.Mock
}

ResourceClient is an autogenerated mock type for the ResourceClient type

func (*ResourceClient) Create

func (_m *ResourceClient) Create() (*unstructured.Unstructured, error)

Create provides a mock function with given fields:

func (*ResourceClient) Delete

func (_m *ResourceClient) Delete(options *v1.DeleteOptions) error

Delete provides a mock function with given fields: options

func (*ResourceClient) Get

Get provides a mock function with given fields: options

func (*ResourceClient) Patch

func (_m *ResourceClient) Patch(pt types.PatchType, data []byte) (*unstructured.Unstructured, error)

Patch provides a mock function with given fields: pt, data

Jump to

Keyboard shortcuts

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