fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 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 FakeBucketACLs

type FakeBucketACLs struct {
	Fake *FakeStorageV1alpha1
	// contains filtered or unexported fields
}

FakeBucketACLs implements BucketACLInterface

func (*FakeBucketACLs) Create

func (c *FakeBucketACLs) Create(ctx context.Context, bucketACL *v1alpha1.BucketACL, opts v1.CreateOptions) (result *v1alpha1.BucketACL, err error)

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

func (*FakeBucketACLs) Delete

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

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

func (*FakeBucketACLs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBucketACLs) Get

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

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

func (*FakeBucketACLs) List

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

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

func (*FakeBucketACLs) Patch

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

Patch applies the patch and returns the patched bucketACL.

func (*FakeBucketACLs) Update

func (c *FakeBucketACLs) Update(ctx context.Context, bucketACL *v1alpha1.BucketACL, opts v1.UpdateOptions) (result *v1alpha1.BucketACL, err error)

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

func (*FakeBucketACLs) UpdateStatus

func (c *FakeBucketACLs) UpdateStatus(ctx context.Context, bucketACL *v1alpha1.BucketACL, opts v1.UpdateOptions) (*v1alpha1.BucketACL, error)

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

func (*FakeBucketACLs) Watch

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

type FakeBucketAccessControls

type FakeBucketAccessControls struct {
	Fake *FakeStorageV1alpha1
	// contains filtered or unexported fields
}

FakeBucketAccessControls implements BucketAccessControlInterface

func (*FakeBucketAccessControls) Create

func (c *FakeBucketAccessControls) Create(ctx context.Context, bucketAccessControl *v1alpha1.BucketAccessControl, opts v1.CreateOptions) (result *v1alpha1.BucketAccessControl, err error)

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

func (*FakeBucketAccessControls) Delete

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

func (*FakeBucketAccessControls) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBucketAccessControls) Get

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

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

func (*FakeBucketAccessControls) List

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

func (*FakeBucketAccessControls) Patch

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

Patch applies the patch and returns the patched bucketAccessControl.

func (*FakeBucketAccessControls) Update

func (c *FakeBucketAccessControls) Update(ctx context.Context, bucketAccessControl *v1alpha1.BucketAccessControl, opts v1.UpdateOptions) (result *v1alpha1.BucketAccessControl, err error)

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

func (*FakeBucketAccessControls) UpdateStatus

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

func (*FakeBucketAccessControls) Watch

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

type FakeBucketIamBindings

type FakeBucketIamBindings struct {
	Fake *FakeStorageV1alpha1
	// contains filtered or unexported fields
}

FakeBucketIamBindings implements BucketIamBindingInterface

func (*FakeBucketIamBindings) Create

func (c *FakeBucketIamBindings) Create(ctx context.Context, bucketIamBinding *v1alpha1.BucketIamBinding, opts v1.CreateOptions) (result *v1alpha1.BucketIamBinding, err error)

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

func (*FakeBucketIamBindings) Delete

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

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

func (*FakeBucketIamBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBucketIamBindings) Get

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

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

func (*FakeBucketIamBindings) List

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

func (*FakeBucketIamBindings) Patch

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

Patch applies the patch and returns the patched bucketIamBinding.

func (*FakeBucketIamBindings) Update

func (c *FakeBucketIamBindings) Update(ctx context.Context, bucketIamBinding *v1alpha1.BucketIamBinding, opts v1.UpdateOptions) (result *v1alpha1.BucketIamBinding, err error)

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

func (*FakeBucketIamBindings) UpdateStatus

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

func (*FakeBucketIamBindings) Watch

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

type FakeBucketIamMembers

type FakeBucketIamMembers struct {
	Fake *FakeStorageV1alpha1
	// contains filtered or unexported fields
}

FakeBucketIamMembers implements BucketIamMemberInterface

func (*FakeBucketIamMembers) Create

func (c *FakeBucketIamMembers) Create(ctx context.Context, bucketIamMember *v1alpha1.BucketIamMember, opts v1.CreateOptions) (result *v1alpha1.BucketIamMember, err error)

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

func (*FakeBucketIamMembers) Delete

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

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

func (*FakeBucketIamMembers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBucketIamMembers) Get

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

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

func (*FakeBucketIamMembers) List

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

func (*FakeBucketIamMembers) Patch

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

Patch applies the patch and returns the patched bucketIamMember.

func (*FakeBucketIamMembers) Update

func (c *FakeBucketIamMembers) Update(ctx context.Context, bucketIamMember *v1alpha1.BucketIamMember, opts v1.UpdateOptions) (result *v1alpha1.BucketIamMember, err error)

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

func (*FakeBucketIamMembers) UpdateStatus

func (c *FakeBucketIamMembers) UpdateStatus(ctx context.Context, bucketIamMember *v1alpha1.BucketIamMember, opts v1.UpdateOptions) (*v1alpha1.BucketIamMember, error)

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

func (*FakeBucketIamMembers) Watch

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

type FakeBucketIamPolicies

type FakeBucketIamPolicies struct {
	Fake *FakeStorageV1alpha1
	// contains filtered or unexported fields
}

FakeBucketIamPolicies implements BucketIamPolicyInterface

func (*FakeBucketIamPolicies) Create

func (c *FakeBucketIamPolicies) Create(ctx context.Context, bucketIamPolicy *v1alpha1.BucketIamPolicy, opts v1.CreateOptions) (result *v1alpha1.BucketIamPolicy, err error)

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

func (*FakeBucketIamPolicies) Delete

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

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

func (*FakeBucketIamPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBucketIamPolicies) Get

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

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

func (*FakeBucketIamPolicies) List

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

func (*FakeBucketIamPolicies) Patch

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

Patch applies the patch and returns the patched bucketIamPolicy.

func (*FakeBucketIamPolicies) Update

func (c *FakeBucketIamPolicies) Update(ctx context.Context, bucketIamPolicy *v1alpha1.BucketIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.BucketIamPolicy, err error)

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

func (*FakeBucketIamPolicies) UpdateStatus

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

func (*FakeBucketIamPolicies) Watch

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

type FakeBucketObjects

type FakeBucketObjects struct {
	Fake *FakeStorageV1alpha1
	// contains filtered or unexported fields
}

FakeBucketObjects implements BucketObjectInterface

func (*FakeBucketObjects) Create

func (c *FakeBucketObjects) Create(ctx context.Context, bucketObject *v1alpha1.BucketObject, opts v1.CreateOptions) (result *v1alpha1.BucketObject, err error)

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

func (*FakeBucketObjects) Delete

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

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

func (*FakeBucketObjects) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBucketObjects) Get

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

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

func (*FakeBucketObjects) List

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

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

func (*FakeBucketObjects) Patch

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

Patch applies the patch and returns the patched bucketObject.

func (*FakeBucketObjects) Update

func (c *FakeBucketObjects) Update(ctx context.Context, bucketObject *v1alpha1.BucketObject, opts v1.UpdateOptions) (result *v1alpha1.BucketObject, err error)

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

func (*FakeBucketObjects) UpdateStatus

func (c *FakeBucketObjects) UpdateStatus(ctx context.Context, bucketObject *v1alpha1.BucketObject, opts v1.UpdateOptions) (*v1alpha1.BucketObject, error)

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

func (*FakeBucketObjects) Watch

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

type FakeBuckets

type FakeBuckets struct {
	Fake *FakeStorageV1alpha1
	// contains filtered or unexported fields
}

FakeBuckets implements BucketInterface

func (*FakeBuckets) Create

func (c *FakeBuckets) Create(ctx context.Context, bucket *v1alpha1.Bucket, opts v1.CreateOptions) (result *v1alpha1.Bucket, err error)

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

func (*FakeBuckets) Delete

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

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

func (*FakeBuckets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBuckets) Get

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

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

func (*FakeBuckets) List

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

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

func (*FakeBuckets) Patch

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

Patch applies the patch and returns the patched bucket.

func (*FakeBuckets) Update

func (c *FakeBuckets) Update(ctx context.Context, bucket *v1alpha1.Bucket, opts v1.UpdateOptions) (result *v1alpha1.Bucket, err error)

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

func (*FakeBuckets) UpdateStatus

func (c *FakeBuckets) UpdateStatus(ctx context.Context, bucket *v1alpha1.Bucket, opts v1.UpdateOptions) (*v1alpha1.Bucket, error)

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

func (*FakeBuckets) Watch

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

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

type FakeDefaultObjectACLs

type FakeDefaultObjectACLs struct {
	Fake *FakeStorageV1alpha1
	// contains filtered or unexported fields
}

FakeDefaultObjectACLs implements DefaultObjectACLInterface

func (*FakeDefaultObjectACLs) Create

func (c *FakeDefaultObjectACLs) Create(ctx context.Context, defaultObjectACL *v1alpha1.DefaultObjectACL, opts v1.CreateOptions) (result *v1alpha1.DefaultObjectACL, err error)

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

func (*FakeDefaultObjectACLs) Delete

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

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

func (*FakeDefaultObjectACLs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDefaultObjectACLs) Get

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

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

func (*FakeDefaultObjectACLs) List

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

func (*FakeDefaultObjectACLs) Patch

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

Patch applies the patch and returns the patched defaultObjectACL.

func (*FakeDefaultObjectACLs) Update

func (c *FakeDefaultObjectACLs) Update(ctx context.Context, defaultObjectACL *v1alpha1.DefaultObjectACL, opts v1.UpdateOptions) (result *v1alpha1.DefaultObjectACL, err error)

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

func (*FakeDefaultObjectACLs) UpdateStatus

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

func (*FakeDefaultObjectACLs) Watch

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

type FakeDefaultObjectAccessControls

type FakeDefaultObjectAccessControls struct {
	Fake *FakeStorageV1alpha1
	// contains filtered or unexported fields
}

FakeDefaultObjectAccessControls implements DefaultObjectAccessControlInterface

func (*FakeDefaultObjectAccessControls) Create

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

func (*FakeDefaultObjectAccessControls) Delete

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

func (*FakeDefaultObjectAccessControls) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDefaultObjectAccessControls) Get

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

func (*FakeDefaultObjectAccessControls) List

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

func (*FakeDefaultObjectAccessControls) Patch

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

Patch applies the patch and returns the patched defaultObjectAccessControl.

func (*FakeDefaultObjectAccessControls) Update

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

func (*FakeDefaultObjectAccessControls) UpdateStatus

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

func (*FakeDefaultObjectAccessControls) Watch

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

type FakeHmacKeys

type FakeHmacKeys struct {
	Fake *FakeStorageV1alpha1
	// contains filtered or unexported fields
}

FakeHmacKeys implements HmacKeyInterface

func (*FakeHmacKeys) Create

func (c *FakeHmacKeys) Create(ctx context.Context, hmacKey *v1alpha1.HmacKey, opts v1.CreateOptions) (result *v1alpha1.HmacKey, err error)

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

func (*FakeHmacKeys) Delete

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

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

func (*FakeHmacKeys) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHmacKeys) Get

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

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

func (*FakeHmacKeys) List

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

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

func (*FakeHmacKeys) Patch

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

Patch applies the patch and returns the patched hmacKey.

func (*FakeHmacKeys) Update

func (c *FakeHmacKeys) Update(ctx context.Context, hmacKey *v1alpha1.HmacKey, opts v1.UpdateOptions) (result *v1alpha1.HmacKey, err error)

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

func (*FakeHmacKeys) UpdateStatus

func (c *FakeHmacKeys) UpdateStatus(ctx context.Context, hmacKey *v1alpha1.HmacKey, opts v1.UpdateOptions) (*v1alpha1.HmacKey, error)

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

func (*FakeHmacKeys) Watch

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

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

type FakeNotifications

type FakeNotifications struct {
	Fake *FakeStorageV1alpha1
	// contains filtered or unexported fields
}

FakeNotifications implements NotificationInterface

func (*FakeNotifications) Create

func (c *FakeNotifications) Create(ctx context.Context, notification *v1alpha1.Notification, opts v1.CreateOptions) (result *v1alpha1.Notification, err error)

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

func (*FakeNotifications) Delete

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

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

func (*FakeNotifications) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNotifications) Get

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

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

func (*FakeNotifications) List

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

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

func (*FakeNotifications) Patch

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

Patch applies the patch and returns the patched notification.

func (*FakeNotifications) Update

func (c *FakeNotifications) Update(ctx context.Context, notification *v1alpha1.Notification, opts v1.UpdateOptions) (result *v1alpha1.Notification, err error)

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

func (*FakeNotifications) UpdateStatus

func (c *FakeNotifications) UpdateStatus(ctx context.Context, notification *v1alpha1.Notification, opts v1.UpdateOptions) (*v1alpha1.Notification, error)

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

func (*FakeNotifications) Watch

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

type FakeObjectACLs

type FakeObjectACLs struct {
	Fake *FakeStorageV1alpha1
	// contains filtered or unexported fields
}

FakeObjectACLs implements ObjectACLInterface

func (*FakeObjectACLs) Create

func (c *FakeObjectACLs) Create(ctx context.Context, objectACL *v1alpha1.ObjectACL, opts v1.CreateOptions) (result *v1alpha1.ObjectACL, err error)

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

func (*FakeObjectACLs) Delete

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

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

func (*FakeObjectACLs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeObjectACLs) Get

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

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

func (*FakeObjectACLs) List

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

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

func (*FakeObjectACLs) Patch

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

Patch applies the patch and returns the patched objectACL.

func (*FakeObjectACLs) Update

func (c *FakeObjectACLs) Update(ctx context.Context, objectACL *v1alpha1.ObjectACL, opts v1.UpdateOptions) (result *v1alpha1.ObjectACL, err error)

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

func (*FakeObjectACLs) UpdateStatus

func (c *FakeObjectACLs) UpdateStatus(ctx context.Context, objectACL *v1alpha1.ObjectACL, opts v1.UpdateOptions) (*v1alpha1.ObjectACL, error)

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

func (*FakeObjectACLs) Watch

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

type FakeObjectAccessControls

type FakeObjectAccessControls struct {
	Fake *FakeStorageV1alpha1
	// contains filtered or unexported fields
}

FakeObjectAccessControls implements ObjectAccessControlInterface

func (*FakeObjectAccessControls) Create

func (c *FakeObjectAccessControls) Create(ctx context.Context, objectAccessControl *v1alpha1.ObjectAccessControl, opts v1.CreateOptions) (result *v1alpha1.ObjectAccessControl, err error)

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

func (*FakeObjectAccessControls) Delete

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

func (*FakeObjectAccessControls) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeObjectAccessControls) Get

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

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

func (*FakeObjectAccessControls) List

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

func (*FakeObjectAccessControls) Patch

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

Patch applies the patch and returns the patched objectAccessControl.

func (*FakeObjectAccessControls) Update

func (c *FakeObjectAccessControls) Update(ctx context.Context, objectAccessControl *v1alpha1.ObjectAccessControl, opts v1.UpdateOptions) (result *v1alpha1.ObjectAccessControl, err error)

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

func (*FakeObjectAccessControls) UpdateStatus

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

func (*FakeObjectAccessControls) Watch

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

type FakeStorageV1alpha1

type FakeStorageV1alpha1 struct {
	*testing.Fake
}

func (*FakeStorageV1alpha1) BucketACLs

func (c *FakeStorageV1alpha1) BucketACLs(namespace string) v1alpha1.BucketACLInterface

func (*FakeStorageV1alpha1) BucketAccessControls

func (c *FakeStorageV1alpha1) BucketAccessControls(namespace string) v1alpha1.BucketAccessControlInterface

func (*FakeStorageV1alpha1) BucketIamBindings

func (c *FakeStorageV1alpha1) BucketIamBindings(namespace string) v1alpha1.BucketIamBindingInterface

func (*FakeStorageV1alpha1) BucketIamMembers

func (c *FakeStorageV1alpha1) BucketIamMembers(namespace string) v1alpha1.BucketIamMemberInterface

func (*FakeStorageV1alpha1) BucketIamPolicies

func (c *FakeStorageV1alpha1) BucketIamPolicies(namespace string) v1alpha1.BucketIamPolicyInterface

func (*FakeStorageV1alpha1) BucketObjects

func (c *FakeStorageV1alpha1) BucketObjects(namespace string) v1alpha1.BucketObjectInterface

func (*FakeStorageV1alpha1) Buckets

func (c *FakeStorageV1alpha1) Buckets(namespace string) v1alpha1.BucketInterface

func (*FakeStorageV1alpha1) DefaultObjectACLs

func (c *FakeStorageV1alpha1) DefaultObjectACLs(namespace string) v1alpha1.DefaultObjectACLInterface

func (*FakeStorageV1alpha1) DefaultObjectAccessControls

func (c *FakeStorageV1alpha1) DefaultObjectAccessControls(namespace string) v1alpha1.DefaultObjectAccessControlInterface

func (*FakeStorageV1alpha1) HmacKeys

func (c *FakeStorageV1alpha1) HmacKeys(namespace string) v1alpha1.HmacKeyInterface

func (*FakeStorageV1alpha1) Notifications

func (c *FakeStorageV1alpha1) Notifications(namespace string) v1alpha1.NotificationInterface

func (*FakeStorageV1alpha1) ObjectACLs

func (c *FakeStorageV1alpha1) ObjectACLs(namespace string) v1alpha1.ObjectACLInterface

func (*FakeStorageV1alpha1) ObjectAccessControls

func (c *FakeStorageV1alpha1) ObjectAccessControls(namespace string) v1alpha1.ObjectAccessControlInterface

func (*FakeStorageV1alpha1) RESTClient

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

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

func (*FakeStorageV1alpha1) TransferJobs

func (c *FakeStorageV1alpha1) TransferJobs(namespace string) v1alpha1.TransferJobInterface

type FakeTransferJobs

type FakeTransferJobs struct {
	Fake *FakeStorageV1alpha1
	// contains filtered or unexported fields
}

FakeTransferJobs implements TransferJobInterface

func (*FakeTransferJobs) Create

func (c *FakeTransferJobs) Create(ctx context.Context, transferJob *v1alpha1.TransferJob, opts v1.CreateOptions) (result *v1alpha1.TransferJob, err error)

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

func (*FakeTransferJobs) Delete

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

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

func (*FakeTransferJobs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTransferJobs) Get

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

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

func (*FakeTransferJobs) List

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

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

func (*FakeTransferJobs) Patch

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

Patch applies the patch and returns the patched transferJob.

func (*FakeTransferJobs) Update

func (c *FakeTransferJobs) Update(ctx context.Context, transferJob *v1alpha1.TransferJob, opts v1.UpdateOptions) (result *v1alpha1.TransferJob, err error)

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

func (*FakeTransferJobs) UpdateStatus

func (c *FakeTransferJobs) UpdateStatus(ctx context.Context, transferJob *v1alpha1.TransferJob, opts v1.UpdateOptions) (*v1alpha1.TransferJob, error)

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

func (*FakeTransferJobs) Watch

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

Jump to

Keyboard shortcuts

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