mockserving

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: Apache-2.0 Imports: 10 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) Networking added in v0.3.0

Networking provides a mock function with given fields:

func (*Interface) NetworkingV1alpha1 added in v0.3.0

func (_m *Interface) NetworkingV1alpha1() networkingv1alpha1.NetworkingV1alpha1Interface

NetworkingV1alpha1 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 RevisionInterface added in v0.3.0

type RevisionInterface struct {
	mock.Mock
}

RevisionInterface is an autogenerated mock type for the RevisionInterface type

func (*RevisionInterface) Create added in v0.3.0

Create provides a mock function with given fields: _a0

func (*RevisionInterface) Delete added in v0.3.0

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

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

func (*RevisionInterface) DeleteCollection added in v0.3.0

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

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

func (*RevisionInterface) Get added in v0.3.0

func (_m *RevisionInterface) Get(name string, options v1.GetOptions) (*v1alpha1.Revision, error)

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

func (*RevisionInterface) List added in v0.3.0

List provides a mock function with given fields: opts

func (*RevisionInterface) Patch added in v0.3.0

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

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

func (*RevisionInterface) Update added in v0.3.0

Update provides a mock function with given fields: _a0

func (*RevisionInterface) UpdateStatus added in v0.3.0

func (_m *RevisionInterface) UpdateStatus(_a0 *v1alpha1.Revision) (*v1alpha1.Revision, error)

UpdateStatus provides a mock function with given fields: _a0

func (*RevisionInterface) Watch added in v0.3.0

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

Watch provides a mock function with given fields: opts

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