fake

package
v0.0.0-...-c054a23 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 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 FakeMksPipelineRuns

type FakeMksPipelineRuns struct {
	Fake *FakeMkscontrollerV1alpha1
	// contains filtered or unexported fields
}

FakeMksPipelineRuns implements MksPipelineRunInterface

func (*FakeMksPipelineRuns) Create

func (c *FakeMksPipelineRuns) Create(ctx context.Context, mksPipelineRun *v1alpha1.MksPipelineRun, opts v1.CreateOptions) (result *v1alpha1.MksPipelineRun, err error)

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

func (*FakeMksPipelineRuns) Delete

func (c *FakeMksPipelineRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeMksPipelineRuns) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMksPipelineRuns) Get

func (c *FakeMksPipelineRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MksPipelineRun, err error)

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

func (*FakeMksPipelineRuns) List

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

func (*FakeMksPipelineRuns) Patch

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

Patch applies the patch and returns the patched mksPipelineRun.

func (*FakeMksPipelineRuns) Update

func (c *FakeMksPipelineRuns) Update(ctx context.Context, mksPipelineRun *v1alpha1.MksPipelineRun, opts v1.UpdateOptions) (result *v1alpha1.MksPipelineRun, err error)

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

func (*FakeMksPipelineRuns) Watch

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

type FakeMksPipelines

type FakeMksPipelines struct {
	Fake *FakeMkscontrollerV1alpha1
	// contains filtered or unexported fields
}

FakeMksPipelines implements MksPipelineInterface

func (*FakeMksPipelines) Create

func (c *FakeMksPipelines) Create(ctx context.Context, mksPipeline *v1alpha1.MksPipeline, opts v1.CreateOptions) (result *v1alpha1.MksPipeline, err error)

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

func (*FakeMksPipelines) Delete

func (c *FakeMksPipelines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeMksPipelines) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMksPipelines) Get

func (c *FakeMksPipelines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MksPipeline, err error)

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

func (*FakeMksPipelines) List

func (c *FakeMksPipelines) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MksPipelineList, err error)

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

func (*FakeMksPipelines) Patch

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

Patch applies the patch and returns the patched mksPipeline.

func (*FakeMksPipelines) Update

func (c *FakeMksPipelines) Update(ctx context.Context, mksPipeline *v1alpha1.MksPipeline, opts v1.UpdateOptions) (result *v1alpha1.MksPipeline, err error)

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

func (*FakeMksPipelines) Watch

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

type FakeMksTaskRuns

type FakeMksTaskRuns struct {
	Fake *FakeMkscontrollerV1alpha1
	// contains filtered or unexported fields
}

FakeMksTaskRuns implements MksTaskRunInterface

func (*FakeMksTaskRuns) Create

func (c *FakeMksTaskRuns) Create(ctx context.Context, mksTaskRun *v1alpha1.MksTaskRun, opts v1.CreateOptions) (result *v1alpha1.MksTaskRun, err error)

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

func (*FakeMksTaskRuns) Delete

func (c *FakeMksTaskRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeMksTaskRuns) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMksTaskRuns) Get

func (c *FakeMksTaskRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MksTaskRun, err error)

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

func (*FakeMksTaskRuns) List

func (c *FakeMksTaskRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MksTaskRunList, err error)

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

func (*FakeMksTaskRuns) Patch

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

Patch applies the patch and returns the patched mksTaskRun.

func (*FakeMksTaskRuns) Update

func (c *FakeMksTaskRuns) Update(ctx context.Context, mksTaskRun *v1alpha1.MksTaskRun, opts v1.UpdateOptions) (result *v1alpha1.MksTaskRun, err error)

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

func (*FakeMksTaskRuns) Watch

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

type FakeMksTasks

type FakeMksTasks struct {
	Fake *FakeMkscontrollerV1alpha1
	// contains filtered or unexported fields
}

FakeMksTasks implements MksTaskInterface

func (*FakeMksTasks) Create

func (c *FakeMksTasks) Create(ctx context.Context, mksTask *v1alpha1.MksTask, opts v1.CreateOptions) (result *v1alpha1.MksTask, err error)

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

func (*FakeMksTasks) Delete

func (c *FakeMksTasks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeMksTasks) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMksTasks) Get

func (c *FakeMksTasks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MksTask, err error)

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

func (*FakeMksTasks) List

func (c *FakeMksTasks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MksTaskList, err error)

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

func (*FakeMksTasks) Patch

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

Patch applies the patch and returns the patched mksTask.

func (*FakeMksTasks) Update

func (c *FakeMksTasks) Update(ctx context.Context, mksTask *v1alpha1.MksTask, opts v1.UpdateOptions) (result *v1alpha1.MksTask, err error)

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

func (*FakeMksTasks) Watch

func (c *FakeMksTasks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeMkscontrollerV1alpha1

type FakeMkscontrollerV1alpha1 struct {
	*testing.Fake
}

func (*FakeMkscontrollerV1alpha1) MksPipelineRuns

func (c *FakeMkscontrollerV1alpha1) MksPipelineRuns(namespace string) v1alpha1.MksPipelineRunInterface

func (*FakeMkscontrollerV1alpha1) MksPipelines

func (*FakeMkscontrollerV1alpha1) MksTaskRuns

func (*FakeMkscontrollerV1alpha1) MksTasks

func (*FakeMkscontrollerV1alpha1) RESTClient

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