fake

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Generated file, do not modify manually! Package fake has the automatically generated clients.

Generated file, do not modify manually!

Generated file, do not modify manually!

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCronWorkflows

type FakeCronWorkflows struct {
	Fake *FakeCronworkflowV1
	// contains filtered or unexported fields
}

FakeCronWorkflows implements CronWorkflowInterface

func (*FakeCronWorkflows) Create

func (c *FakeCronWorkflows) Create(cronWorkflow *cronworkflow_v1.CronWorkflow) (result *cronworkflow_v1.CronWorkflow, err error)

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

func (*FakeCronWorkflows) Delete

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

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

func (*FakeCronWorkflows) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCronWorkflows) Get

func (c *FakeCronWorkflows) Get(name string, options v1.GetOptions) (result *cronworkflow_v1.CronWorkflow, err error)

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

func (*FakeCronWorkflows) List

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

func (*FakeCronWorkflows) Patch

func (c *FakeCronWorkflows) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *cronworkflow_v1.CronWorkflow, err error)

Patch applies the patch and returns the patched cronWorkflow.

func (*FakeCronWorkflows) Update

func (c *FakeCronWorkflows) Update(cronWorkflow *cronworkflow_v1.CronWorkflow) (result *cronworkflow_v1.CronWorkflow, err error)

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

func (*FakeCronWorkflows) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeCronWorkflows) Watch

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

type FakeCronworkflowV1

type FakeCronworkflowV1 struct {
	*testing.Fake
}

func (*FakeCronworkflowV1) CronWorkflows

func (c *FakeCronworkflowV1) CronWorkflows(namespace string) v1.CronWorkflowInterface

func (*FakeCronworkflowV1) RESTClient

func (c *FakeCronworkflowV1) 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