fake

package
v0.0.0-...-4f670de Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 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 FakeScheduledWorkflows

type FakeScheduledWorkflows struct {
	Fake *FakeScheduledworkflowV1beta1
	// contains filtered or unexported fields
}

FakeScheduledWorkflows implements ScheduledWorkflowInterface

func (*FakeScheduledWorkflows) Create

func (c *FakeScheduledWorkflows) Create(scheduledWorkflow *v1beta1.ScheduledWorkflow) (result *v1beta1.ScheduledWorkflow, err error)

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

func (*FakeScheduledWorkflows) Delete

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

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

func (*FakeScheduledWorkflows) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeScheduledWorkflows) Get

func (c *FakeScheduledWorkflows) Get(name string, options v1.GetOptions) (result *v1beta1.ScheduledWorkflow, err error)

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

func (*FakeScheduledWorkflows) List

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

func (*FakeScheduledWorkflows) Patch

func (c *FakeScheduledWorkflows) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ScheduledWorkflow, err error)

Patch applies the patch and returns the patched scheduledWorkflow.

func (*FakeScheduledWorkflows) Update

func (c *FakeScheduledWorkflows) Update(scheduledWorkflow *v1beta1.ScheduledWorkflow) (result *v1beta1.ScheduledWorkflow, err error)

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

func (*FakeScheduledWorkflows) Watch

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

type FakeScheduledworkflowV1beta1

type FakeScheduledworkflowV1beta1 struct {
	*testing.Fake
}

func (*FakeScheduledworkflowV1beta1) RESTClient

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

func (*FakeScheduledworkflowV1beta1) ScheduledWorkflows

func (c *FakeScheduledworkflowV1beta1) ScheduledWorkflows(namespace string) v1beta1.ScheduledWorkflowInterface

Jump to

Keyboard shortcuts

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