mockserving

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface struct {
	mock.Mock
}

Interface is an autogenerated mock type for the Interface type

func (*Interface) Autoscaling

Autoscaling provides a mock function with given fields:

func (*Interface) AutoscalingV1alpha1

func (_m *Interface) AutoscalingV1alpha1() v1alpha1.AutoscalingV1alpha1Interface

AutoscalingV1alpha1 provides a mock function with given fields:

func (*Interface) Discovery

func (_m *Interface) Discovery() discovery.DiscoveryInterface

Discovery provides a mock function with given fields:

func (*Interface) Serving

Serving provides a mock function with given fields:

func (*Interface) ServingV1alpha1

func (_m *Interface) ServingV1alpha1() servingv1alpha1.ServingV1alpha1Interface

ServingV1alpha1 provides a mock function with given fields:

type ServiceInterface

type ServiceInterface struct {
	mock.Mock
}

ServiceInterface is an autogenerated mock type for the ServiceInterface type

func (*ServiceInterface) Create

func (_m *ServiceInterface) Create(_a0 *v1alpha1.Service) (*v1alpha1.Service, error)

Create provides a mock function with given fields: _a0

func (*ServiceInterface) Delete

func (_m *ServiceInterface) Delete(name string, options *v1.DeleteOptions) error

Delete provides a mock function with given fields: name, options

func (*ServiceInterface) DeleteCollection

func (_m *ServiceInterface) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection provides a mock function with given fields: options, listOptions

func (*ServiceInterface) Get

func (_m *ServiceInterface) Get(name string, options v1.GetOptions) (*v1alpha1.Service, error)

Get provides a mock function with given fields: name, options

func (*ServiceInterface) List

List provides a mock function with given fields: opts

func (*ServiceInterface) Patch

func (_m *ServiceInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1alpha1.Service, error)

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

func (*ServiceInterface) Update

func (_m *ServiceInterface) Update(_a0 *v1alpha1.Service) (*v1alpha1.Service, error)

Update provides a mock function with given fields: _a0

func (*ServiceInterface) UpdateStatus

func (_m *ServiceInterface) UpdateStatus(_a0 *v1alpha1.Service) (*v1alpha1.Service, error)

UpdateStatus provides a mock function with given fields: _a0

func (*ServiceInterface) Watch

func (_m *ServiceInterface) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch provides a mock function with given fields: opts

type ServingV1alpha1Interface

type ServingV1alpha1Interface struct {
	mock.Mock
}

ServingV1alpha1Interface is an autogenerated mock type for the ServingV1alpha1Interface type

func (*ServingV1alpha1Interface) Configurations

func (_m *ServingV1alpha1Interface) Configurations(namespace string) v1alpha1.ConfigurationInterface

Configurations provides a mock function with given fields: namespace

func (*ServingV1alpha1Interface) RESTClient

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

RESTClient provides a mock function with given fields:

func (*ServingV1alpha1Interface) Revisions

func (_m *ServingV1alpha1Interface) Revisions(namespace string) v1alpha1.RevisionInterface

Revisions provides a mock function with given fields: namespace

func (*ServingV1alpha1Interface) Routes

Routes provides a mock function with given fields: namespace

func (*ServingV1alpha1Interface) Services

func (_m *ServingV1alpha1Interface) Services(namespace string) v1alpha1.ServiceInterface

Services provides a mock function with given fields: namespace

Jump to

Keyboard shortcuts

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