fake

package
v0.0.0-...-c2cd26f Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 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 FakeObjectBucketClaims

type FakeObjectBucketClaims struct {
	Fake *FakeObjectbucketV1alpha1
	// contains filtered or unexported fields
}

FakeObjectBucketClaims implements ObjectBucketClaimInterface

func (*FakeObjectBucketClaims) Create

func (c *FakeObjectBucketClaims) Create(objectBucketClaim *v1alpha1.ObjectBucketClaim) (result *v1alpha1.ObjectBucketClaim, err error)

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

func (*FakeObjectBucketClaims) Delete

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

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

func (*FakeObjectBucketClaims) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeObjectBucketClaims) Get

func (c *FakeObjectBucketClaims) Get(name string, options v1.GetOptions) (result *v1alpha1.ObjectBucketClaim, err error)

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

func (*FakeObjectBucketClaims) List

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

func (*FakeObjectBucketClaims) Patch

func (c *FakeObjectBucketClaims) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ObjectBucketClaim, err error)

Patch applies the patch and returns the patched objectBucketClaim.

func (*FakeObjectBucketClaims) Update

func (c *FakeObjectBucketClaims) Update(objectBucketClaim *v1alpha1.ObjectBucketClaim) (result *v1alpha1.ObjectBucketClaim, err error)

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

func (*FakeObjectBucketClaims) UpdateStatus

func (c *FakeObjectBucketClaims) UpdateStatus(objectBucketClaim *v1alpha1.ObjectBucketClaim) (*v1alpha1.ObjectBucketClaim, error)

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

func (*FakeObjectBucketClaims) Watch

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

type FakeObjectBuckets

type FakeObjectBuckets struct {
	Fake *FakeObjectbucketV1alpha1
}

FakeObjectBuckets implements ObjectBucketInterface

func (*FakeObjectBuckets) Create

func (c *FakeObjectBuckets) Create(objectBucket *v1alpha1.ObjectBucket) (result *v1alpha1.ObjectBucket, err error)

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

func (*FakeObjectBuckets) Delete

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

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

func (*FakeObjectBuckets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeObjectBuckets) Get

func (c *FakeObjectBuckets) Get(name string, options v1.GetOptions) (result *v1alpha1.ObjectBucket, err error)

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

func (*FakeObjectBuckets) List

func (c *FakeObjectBuckets) List(opts v1.ListOptions) (result *v1alpha1.ObjectBucketList, err error)

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

func (*FakeObjectBuckets) Patch

func (c *FakeObjectBuckets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ObjectBucket, err error)

Patch applies the patch and returns the patched objectBucket.

func (*FakeObjectBuckets) Update

func (c *FakeObjectBuckets) Update(objectBucket *v1alpha1.ObjectBucket) (result *v1alpha1.ObjectBucket, err error)

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

func (*FakeObjectBuckets) UpdateStatus

func (c *FakeObjectBuckets) UpdateStatus(objectBucket *v1alpha1.ObjectBucket) (*v1alpha1.ObjectBucket, error)

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

func (*FakeObjectBuckets) Watch

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

type FakeObjectbucketV1alpha1

type FakeObjectbucketV1alpha1 struct {
	*testing.Fake
}

func (*FakeObjectbucketV1alpha1) ObjectBucketClaims

func (c *FakeObjectbucketV1alpha1) ObjectBucketClaims(namespace string) v1alpha1.ObjectBucketClaimInterface

func (*FakeObjectbucketV1alpha1) ObjectBuckets

func (*FakeObjectbucketV1alpha1) RESTClient

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