fake

package
v0.21.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 10 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 FakePipelinePodsTemplates

type FakePipelinePodsTemplates struct {
	Fake *FakeVelaV1alpha1
	// contains filtered or unexported fields
}

FakePipelinePodsTemplates implements PipelinePodsTemplateInterface

func (*FakePipelinePodsTemplates) Create

func (c *FakePipelinePodsTemplates) Create(ctx context.Context, pipelinePodsTemplate *v1alpha1.PipelinePodsTemplate, opts v1.CreateOptions) (result *v1alpha1.PipelinePodsTemplate, err error)

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

func (*FakePipelinePodsTemplates) Delete

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

func (*FakePipelinePodsTemplates) DeleteCollection

func (c *FakePipelinePodsTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePipelinePodsTemplates) Get

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

func (*FakePipelinePodsTemplates) List

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

func (*FakePipelinePodsTemplates) Patch

func (c *FakePipelinePodsTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PipelinePodsTemplate, err error)

Patch applies the patch and returns the patched pipelinePodsTemplate.

func (*FakePipelinePodsTemplates) Update

func (c *FakePipelinePodsTemplates) Update(ctx context.Context, pipelinePodsTemplate *v1alpha1.PipelinePodsTemplate, opts v1.UpdateOptions) (result *v1alpha1.PipelinePodsTemplate, err error)

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

func (*FakePipelinePodsTemplates) Watch

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

type FakeVelaV1alpha1

type FakeVelaV1alpha1 struct {
	*testing.Fake
}

func (*FakeVelaV1alpha1) PipelinePodsTemplates

func (c *FakeVelaV1alpha1) PipelinePodsTemplates(namespace string) v1alpha1.PipelinePodsTemplateInterface

func (*FakeVelaV1alpha1) RESTClient

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