fake

package
v0.0.0-...-8e3368f Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 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 FakeBuilds

type FakeBuilds struct {
	Fake *FakeConvoxV1
	// contains filtered or unexported fields
}

FakeBuilds implements BuildInterface

func (*FakeBuilds) Create

func (c *FakeBuilds) Create(build *convoxv1.Build) (result *convoxv1.Build, err error)

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

func (*FakeBuilds) Delete

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

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

func (*FakeBuilds) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBuilds) Get

func (c *FakeBuilds) Get(name string, options v1.GetOptions) (result *convoxv1.Build, err error)

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

func (*FakeBuilds) List

func (c *FakeBuilds) List(opts v1.ListOptions) (result *convoxv1.BuildList, err error)

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

func (*FakeBuilds) Patch

func (c *FakeBuilds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *convoxv1.Build, err error)

Patch applies the patch and returns the patched build.

func (*FakeBuilds) Update

func (c *FakeBuilds) Update(build *convoxv1.Build) (result *convoxv1.Build, err error)

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

func (*FakeBuilds) Watch

func (c *FakeBuilds) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeConvoxV1

type FakeConvoxV1 struct {
	*testing.Fake
}

func (*FakeConvoxV1) Builds

func (c *FakeConvoxV1) Builds(namespace string) v1.BuildInterface

func (*FakeConvoxV1) RESTClient

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

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

func (*FakeConvoxV1) Releases

func (c *FakeConvoxV1) Releases(namespace string) v1.ReleaseInterface

type FakeReleases

type FakeReleases struct {
	Fake *FakeConvoxV1
	// contains filtered or unexported fields
}

FakeReleases implements ReleaseInterface

func (*FakeReleases) Create

func (c *FakeReleases) Create(release *convoxv1.Release) (result *convoxv1.Release, err error)

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

func (*FakeReleases) Delete

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

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

func (*FakeReleases) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeReleases) Get

func (c *FakeReleases) Get(name string, options v1.GetOptions) (result *convoxv1.Release, err error)

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

func (*FakeReleases) List

func (c *FakeReleases) List(opts v1.ListOptions) (result *convoxv1.ReleaseList, err error)

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

func (*FakeReleases) Patch

func (c *FakeReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *convoxv1.Release, err error)

Patch applies the patch and returns the patched release.

func (*FakeReleases) Update

func (c *FakeReleases) Update(release *convoxv1.Release) (result *convoxv1.Release, err error)

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

func (*FakeReleases) Watch

func (c *FakeReleases) Watch(opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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