Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeObjectBucketClaims
- func (c *FakeObjectBucketClaims) Create(objectBucketClaim *v1alpha1.ObjectBucketClaim) (result *v1alpha1.ObjectBucketClaim, err error)
- func (c *FakeObjectBucketClaims) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeObjectBucketClaims) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeObjectBucketClaims) Get(name string, options v1.GetOptions) (result *v1alpha1.ObjectBucketClaim, err error)
- func (c *FakeObjectBucketClaims) List(opts v1.ListOptions) (result *v1alpha1.ObjectBucketClaimList, err error)
- func (c *FakeObjectBucketClaims) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ObjectBucketClaim, err error)
- func (c *FakeObjectBucketClaims) Update(objectBucketClaim *v1alpha1.ObjectBucketClaim) (result *v1alpha1.ObjectBucketClaim, err error)
- func (c *FakeObjectBucketClaims) UpdateStatus(objectBucketClaim *v1alpha1.ObjectBucketClaim) (*v1alpha1.ObjectBucketClaim, error)
- func (c *FakeObjectBucketClaims) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeObjectBuckets
- func (c *FakeObjectBuckets) Create(objectBucket *v1alpha1.ObjectBucket) (result *v1alpha1.ObjectBucket, err error)
- func (c *FakeObjectBuckets) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeObjectBuckets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeObjectBuckets) Get(name string, options v1.GetOptions) (result *v1alpha1.ObjectBucket, err error)
- func (c *FakeObjectBuckets) List(opts v1.ListOptions) (result *v1alpha1.ObjectBucketList, err error)
- func (c *FakeObjectBuckets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ObjectBucket, err error)
- func (c *FakeObjectBuckets) Update(objectBucket *v1alpha1.ObjectBucket) (result *v1alpha1.ObjectBucket, err error)
- func (c *FakeObjectBuckets) UpdateStatus(objectBucket *v1alpha1.ObjectBucket) (*v1alpha1.ObjectBucket, error)
- func (c *FakeObjectBuckets) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeObjectbucketV1alpha1
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 ¶
func (c *FakeObjectBucketClaims) List(opts v1.ListOptions) (result *v1alpha1.ObjectBucketClaimList, err error)
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 ¶
func (c *FakeObjectBucketClaims) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeObjectBuckets) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested objectBuckets.
type FakeObjectbucketV1alpha1 ¶
func (*FakeObjectbucketV1alpha1) ObjectBucketClaims ¶
func (c *FakeObjectbucketV1alpha1) ObjectBucketClaims(namespace string) v1alpha1.ObjectBucketClaimInterface
func (*FakeObjectbucketV1alpha1) ObjectBuckets ¶
func (c *FakeObjectbucketV1alpha1) ObjectBuckets() v1alpha1.ObjectBucketInterface
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.