Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeStorageBucketAccessControls
- func (c *FakeStorageBucketAccessControls) Create(ctx context.Context, ...) (result *v1beta1.StorageBucketAccessControl, err error)
- func (c *FakeStorageBucketAccessControls) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeStorageBucketAccessControls) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeStorageBucketAccessControls) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.StorageBucketAccessControl, err error)
- func (c *FakeStorageBucketAccessControls) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.StorageBucketAccessControlList, err error)
- func (c *FakeStorageBucketAccessControls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.StorageBucketAccessControl, err error)
- func (c *FakeStorageBucketAccessControls) Update(ctx context.Context, ...) (result *v1beta1.StorageBucketAccessControl, err error)
- func (c *FakeStorageBucketAccessControls) UpdateStatus(ctx context.Context, ...) (*v1beta1.StorageBucketAccessControl, error)
- func (c *FakeStorageBucketAccessControls) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeStorageBuckets
- func (c *FakeStorageBuckets) Create(ctx context.Context, storageBucket *v1beta1.StorageBucket, ...) (result *v1beta1.StorageBucket, err error)
- func (c *FakeStorageBuckets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeStorageBuckets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeStorageBuckets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.StorageBucket, err error)
- func (c *FakeStorageBuckets) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.StorageBucketList, err error)
- func (c *FakeStorageBuckets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.StorageBucket, err error)
- func (c *FakeStorageBuckets) Update(ctx context.Context, storageBucket *v1beta1.StorageBucket, ...) (result *v1beta1.StorageBucket, err error)
- func (c *FakeStorageBuckets) UpdateStatus(ctx context.Context, storageBucket *v1beta1.StorageBucket, ...) (*v1beta1.StorageBucket, error)
- func (c *FakeStorageBuckets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeStorageDefaultObjectAccessControls
- func (c *FakeStorageDefaultObjectAccessControls) Create(ctx context.Context, ...) (result *v1beta1.StorageDefaultObjectAccessControl, err error)
- func (c *FakeStorageDefaultObjectAccessControls) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeStorageDefaultObjectAccessControls) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeStorageDefaultObjectAccessControls) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.StorageDefaultObjectAccessControl, err error)
- func (c *FakeStorageDefaultObjectAccessControls) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.StorageDefaultObjectAccessControlList, err error)
- func (c *FakeStorageDefaultObjectAccessControls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.StorageDefaultObjectAccessControl, err error)
- func (c *FakeStorageDefaultObjectAccessControls) Update(ctx context.Context, ...) (result *v1beta1.StorageDefaultObjectAccessControl, err error)
- func (c *FakeStorageDefaultObjectAccessControls) UpdateStatus(ctx context.Context, ...) (*v1beta1.StorageDefaultObjectAccessControl, error)
- func (c *FakeStorageDefaultObjectAccessControls) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeStorageNotifications
- func (c *FakeStorageNotifications) Create(ctx context.Context, storageNotification *v1beta1.StorageNotification, ...) (result *v1beta1.StorageNotification, err error)
- func (c *FakeStorageNotifications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeStorageNotifications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeStorageNotifications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.StorageNotification, err error)
- func (c *FakeStorageNotifications) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.StorageNotificationList, err error)
- func (c *FakeStorageNotifications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.StorageNotification, err error)
- func (c *FakeStorageNotifications) Update(ctx context.Context, storageNotification *v1beta1.StorageNotification, ...) (result *v1beta1.StorageNotification, err error)
- func (c *FakeStorageNotifications) UpdateStatus(ctx context.Context, storageNotification *v1beta1.StorageNotification, ...) (*v1beta1.StorageNotification, error)
- func (c *FakeStorageNotifications) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeStorageV1beta1
- func (c *FakeStorageV1beta1) RESTClient() rest.Interface
- func (c *FakeStorageV1beta1) StorageBucketAccessControls(namespace string) v1beta1.StorageBucketAccessControlInterface
- func (c *FakeStorageV1beta1) StorageBuckets(namespace string) v1beta1.StorageBucketInterface
- func (c *FakeStorageV1beta1) StorageDefaultObjectAccessControls(namespace string) v1beta1.StorageDefaultObjectAccessControlInterface
- func (c *FakeStorageV1beta1) StorageNotifications(namespace string) v1beta1.StorageNotificationInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeStorageBucketAccessControls ¶
type FakeStorageBucketAccessControls struct { Fake *FakeStorageV1beta1 // contains filtered or unexported fields }
FakeStorageBucketAccessControls implements StorageBucketAccessControlInterface
func (*FakeStorageBucketAccessControls) Create ¶
func (c *FakeStorageBucketAccessControls) Create(ctx context.Context, storageBucketAccessControl *v1beta1.StorageBucketAccessControl, opts v1.CreateOptions) (result *v1beta1.StorageBucketAccessControl, err error)
Create takes the representation of a storageBucketAccessControl and creates it. Returns the server's representation of the storageBucketAccessControl, and an error, if there is any.
func (*FakeStorageBucketAccessControls) Delete ¶
func (c *FakeStorageBucketAccessControls) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the storageBucketAccessControl and deletes it. Returns an error if one occurs.
func (*FakeStorageBucketAccessControls) DeleteCollection ¶
func (c *FakeStorageBucketAccessControls) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStorageBucketAccessControls) Get ¶
func (c *FakeStorageBucketAccessControls) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.StorageBucketAccessControl, err error)
Get takes name of the storageBucketAccessControl, and returns the corresponding storageBucketAccessControl object, and an error if there is any.
func (*FakeStorageBucketAccessControls) List ¶
func (c *FakeStorageBucketAccessControls) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.StorageBucketAccessControlList, err error)
List takes label and field selectors, and returns the list of StorageBucketAccessControls that match those selectors.
func (*FakeStorageBucketAccessControls) Patch ¶
func (c *FakeStorageBucketAccessControls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.StorageBucketAccessControl, err error)
Patch applies the patch and returns the patched storageBucketAccessControl.
func (*FakeStorageBucketAccessControls) Update ¶
func (c *FakeStorageBucketAccessControls) Update(ctx context.Context, storageBucketAccessControl *v1beta1.StorageBucketAccessControl, opts v1.UpdateOptions) (result *v1beta1.StorageBucketAccessControl, err error)
Update takes the representation of a storageBucketAccessControl and updates it. Returns the server's representation of the storageBucketAccessControl, and an error, if there is any.
func (*FakeStorageBucketAccessControls) UpdateStatus ¶
func (c *FakeStorageBucketAccessControls) UpdateStatus(ctx context.Context, storageBucketAccessControl *v1beta1.StorageBucketAccessControl, opts v1.UpdateOptions) (*v1beta1.StorageBucketAccessControl, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStorageBucketAccessControls) Watch ¶
func (c *FakeStorageBucketAccessControls) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested storageBucketAccessControls.
type FakeStorageBuckets ¶
type FakeStorageBuckets struct { Fake *FakeStorageV1beta1 // contains filtered or unexported fields }
FakeStorageBuckets implements StorageBucketInterface
func (*FakeStorageBuckets) Create ¶
func (c *FakeStorageBuckets) Create(ctx context.Context, storageBucket *v1beta1.StorageBucket, opts v1.CreateOptions) (result *v1beta1.StorageBucket, err error)
Create takes the representation of a storageBucket and creates it. Returns the server's representation of the storageBucket, and an error, if there is any.
func (*FakeStorageBuckets) Delete ¶
func (c *FakeStorageBuckets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the storageBucket and deletes it. Returns an error if one occurs.
func (*FakeStorageBuckets) DeleteCollection ¶
func (c *FakeStorageBuckets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStorageBuckets) Get ¶
func (c *FakeStorageBuckets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.StorageBucket, err error)
Get takes name of the storageBucket, and returns the corresponding storageBucket object, and an error if there is any.
func (*FakeStorageBuckets) List ¶
func (c *FakeStorageBuckets) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.StorageBucketList, err error)
List takes label and field selectors, and returns the list of StorageBuckets that match those selectors.
func (*FakeStorageBuckets) Patch ¶
func (c *FakeStorageBuckets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.StorageBucket, err error)
Patch applies the patch and returns the patched storageBucket.
func (*FakeStorageBuckets) Update ¶
func (c *FakeStorageBuckets) Update(ctx context.Context, storageBucket *v1beta1.StorageBucket, opts v1.UpdateOptions) (result *v1beta1.StorageBucket, err error)
Update takes the representation of a storageBucket and updates it. Returns the server's representation of the storageBucket, and an error, if there is any.
func (*FakeStorageBuckets) UpdateStatus ¶
func (c *FakeStorageBuckets) UpdateStatus(ctx context.Context, storageBucket *v1beta1.StorageBucket, opts v1.UpdateOptions) (*v1beta1.StorageBucket, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStorageBuckets) Watch ¶
func (c *FakeStorageBuckets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested storageBuckets.
type FakeStorageDefaultObjectAccessControls ¶
type FakeStorageDefaultObjectAccessControls struct { Fake *FakeStorageV1beta1 // contains filtered or unexported fields }
FakeStorageDefaultObjectAccessControls implements StorageDefaultObjectAccessControlInterface
func (*FakeStorageDefaultObjectAccessControls) Create ¶
func (c *FakeStorageDefaultObjectAccessControls) Create(ctx context.Context, storageDefaultObjectAccessControl *v1beta1.StorageDefaultObjectAccessControl, opts v1.CreateOptions) (result *v1beta1.StorageDefaultObjectAccessControl, err error)
Create takes the representation of a storageDefaultObjectAccessControl and creates it. Returns the server's representation of the storageDefaultObjectAccessControl, and an error, if there is any.
func (*FakeStorageDefaultObjectAccessControls) Delete ¶
func (c *FakeStorageDefaultObjectAccessControls) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the storageDefaultObjectAccessControl and deletes it. Returns an error if one occurs.
func (*FakeStorageDefaultObjectAccessControls) DeleteCollection ¶
func (c *FakeStorageDefaultObjectAccessControls) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStorageDefaultObjectAccessControls) Get ¶
func (c *FakeStorageDefaultObjectAccessControls) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.StorageDefaultObjectAccessControl, err error)
Get takes name of the storageDefaultObjectAccessControl, and returns the corresponding storageDefaultObjectAccessControl object, and an error if there is any.
func (*FakeStorageDefaultObjectAccessControls) List ¶
func (c *FakeStorageDefaultObjectAccessControls) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.StorageDefaultObjectAccessControlList, err error)
List takes label and field selectors, and returns the list of StorageDefaultObjectAccessControls that match those selectors.
func (*FakeStorageDefaultObjectAccessControls) Patch ¶
func (c *FakeStorageDefaultObjectAccessControls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.StorageDefaultObjectAccessControl, err error)
Patch applies the patch and returns the patched storageDefaultObjectAccessControl.
func (*FakeStorageDefaultObjectAccessControls) Update ¶
func (c *FakeStorageDefaultObjectAccessControls) Update(ctx context.Context, storageDefaultObjectAccessControl *v1beta1.StorageDefaultObjectAccessControl, opts v1.UpdateOptions) (result *v1beta1.StorageDefaultObjectAccessControl, err error)
Update takes the representation of a storageDefaultObjectAccessControl and updates it. Returns the server's representation of the storageDefaultObjectAccessControl, and an error, if there is any.
func (*FakeStorageDefaultObjectAccessControls) UpdateStatus ¶
func (c *FakeStorageDefaultObjectAccessControls) UpdateStatus(ctx context.Context, storageDefaultObjectAccessControl *v1beta1.StorageDefaultObjectAccessControl, opts v1.UpdateOptions) (*v1beta1.StorageDefaultObjectAccessControl, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStorageDefaultObjectAccessControls) Watch ¶
func (c *FakeStorageDefaultObjectAccessControls) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested storageDefaultObjectAccessControls.
type FakeStorageNotifications ¶
type FakeStorageNotifications struct { Fake *FakeStorageV1beta1 // contains filtered or unexported fields }
FakeStorageNotifications implements StorageNotificationInterface
func (*FakeStorageNotifications) Create ¶
func (c *FakeStorageNotifications) Create(ctx context.Context, storageNotification *v1beta1.StorageNotification, opts v1.CreateOptions) (result *v1beta1.StorageNotification, err error)
Create takes the representation of a storageNotification and creates it. Returns the server's representation of the storageNotification, and an error, if there is any.
func (*FakeStorageNotifications) Delete ¶
func (c *FakeStorageNotifications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the storageNotification and deletes it. Returns an error if one occurs.
func (*FakeStorageNotifications) DeleteCollection ¶
func (c *FakeStorageNotifications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStorageNotifications) Get ¶
func (c *FakeStorageNotifications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.StorageNotification, err error)
Get takes name of the storageNotification, and returns the corresponding storageNotification object, and an error if there is any.
func (*FakeStorageNotifications) List ¶
func (c *FakeStorageNotifications) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.StorageNotificationList, err error)
List takes label and field selectors, and returns the list of StorageNotifications that match those selectors.
func (*FakeStorageNotifications) Patch ¶
func (c *FakeStorageNotifications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.StorageNotification, err error)
Patch applies the patch and returns the patched storageNotification.
func (*FakeStorageNotifications) Update ¶
func (c *FakeStorageNotifications) Update(ctx context.Context, storageNotification *v1beta1.StorageNotification, opts v1.UpdateOptions) (result *v1beta1.StorageNotification, err error)
Update takes the representation of a storageNotification and updates it. Returns the server's representation of the storageNotification, and an error, if there is any.
func (*FakeStorageNotifications) UpdateStatus ¶
func (c *FakeStorageNotifications) UpdateStatus(ctx context.Context, storageNotification *v1beta1.StorageNotification, opts v1.UpdateOptions) (*v1beta1.StorageNotification, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStorageNotifications) Watch ¶
func (c *FakeStorageNotifications) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested storageNotifications.
type FakeStorageV1beta1 ¶
func (*FakeStorageV1beta1) RESTClient ¶
func (c *FakeStorageV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeStorageV1beta1) StorageBucketAccessControls ¶
func (c *FakeStorageV1beta1) StorageBucketAccessControls(namespace string) v1beta1.StorageBucketAccessControlInterface
func (*FakeStorageV1beta1) StorageBuckets ¶
func (c *FakeStorageV1beta1) StorageBuckets(namespace string) v1beta1.StorageBucketInterface
func (*FakeStorageV1beta1) StorageDefaultObjectAccessControls ¶
func (c *FakeStorageV1beta1) StorageDefaultObjectAccessControls(namespace string) v1beta1.StorageDefaultObjectAccessControlInterface
func (*FakeStorageV1beta1) StorageNotifications ¶
func (c *FakeStorageV1beta1) StorageNotifications(namespace string) v1beta1.StorageNotificationInterface