fake

package
v3.11.0+incompatible Latest Latest
Warning

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

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

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeOperatorStatuses

type FakeOperatorStatuses struct {
	Fake *FakeOperatorstatusV1
	// contains filtered or unexported fields
}

FakeOperatorStatuses implements OperatorStatusInterface

func (*FakeOperatorStatuses) Create

Create takes the representation of a operatorStatus and creates it. Returns the server's representation of the operatorStatus, and an error, if there is any.

func (*FakeOperatorStatuses) Delete

func (c *FakeOperatorStatuses) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the operatorStatus and deletes it. Returns an error if one occurs.

func (*FakeOperatorStatuses) DeleteCollection

func (c *FakeOperatorStatuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeOperatorStatuses) Get

Get takes name of the operatorStatus, and returns the corresponding operatorStatus object, and an error if there is any.

func (*FakeOperatorStatuses) List

List takes label and field selectors, and returns the list of OperatorStatuses that match those selectors.

func (*FakeOperatorStatuses) Patch

func (c *FakeOperatorStatuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *operatorstatusopenshiftiov1.OperatorStatus, err error)

Patch applies the patch and returns the patched operatorStatus.

func (*FakeOperatorStatuses) Update

Update takes the representation of a operatorStatus and updates it. Returns the server's representation of the operatorStatus, and an error, if there is any.

func (*FakeOperatorStatuses) Watch

Watch returns a watch.Interface that watches the requested operatorStatuses.

type FakeOperatorstatusV1

type FakeOperatorstatusV1 struct {
	*testing.Fake
}

func (*FakeOperatorstatusV1) OperatorStatuses

func (c *FakeOperatorstatusV1) OperatorStatuses(namespace string) v1.OperatorStatusInterface

func (*FakeOperatorstatusV1) RESTClient

func (c *FakeOperatorstatusV1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

Jump to

Keyboard shortcuts

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