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 FakeAccountCustomerManagedKeys

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

FakeAccountCustomerManagedKeys implements AccountCustomerManagedKeyInterface

func (*FakeAccountCustomerManagedKeys) Create

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

func (*FakeAccountCustomerManagedKeys) Delete

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

func (*FakeAccountCustomerManagedKeys) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAccountCustomerManagedKeys) Get

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

func (*FakeAccountCustomerManagedKeys) List

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

func (*FakeAccountCustomerManagedKeys) Patch

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

Patch applies the patch and returns the patched accountCustomerManagedKey.

func (*FakeAccountCustomerManagedKeys) Update

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

func (*FakeAccountCustomerManagedKeys) UpdateStatus

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

func (*FakeAccountCustomerManagedKeys) Watch

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

type FakeAccountNetworkRuleses

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

FakeAccountNetworkRuleses implements AccountNetworkRulesInterface

func (*FakeAccountNetworkRuleses) Create

func (c *FakeAccountNetworkRuleses) Create(ctx context.Context, accountNetworkRules *v1alpha1.AccountNetworkRules, opts v1.CreateOptions) (result *v1alpha1.AccountNetworkRules, err error)

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

func (*FakeAccountNetworkRuleses) Delete

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

func (*FakeAccountNetworkRuleses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAccountNetworkRuleses) Get

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

func (*FakeAccountNetworkRuleses) List

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

func (*FakeAccountNetworkRuleses) Patch

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

Patch applies the patch and returns the patched accountNetworkRules.

func (*FakeAccountNetworkRuleses) Update

func (c *FakeAccountNetworkRuleses) Update(ctx context.Context, accountNetworkRules *v1alpha1.AccountNetworkRules, opts v1.UpdateOptions) (result *v1alpha1.AccountNetworkRules, err error)

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

func (*FakeAccountNetworkRuleses) UpdateStatus

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

func (*FakeAccountNetworkRuleses) Watch

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

type FakeAccounts

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

FakeAccounts implements AccountInterface

func (*FakeAccounts) Create

func (c *FakeAccounts) Create(ctx context.Context, account *v1alpha1.Account, opts v1.CreateOptions) (result *v1alpha1.Account, err error)

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

func (*FakeAccounts) Delete

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

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

func (*FakeAccounts) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAccounts) Get

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

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

func (*FakeAccounts) List

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

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

func (*FakeAccounts) Patch

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

Patch applies the patch and returns the patched account.

func (*FakeAccounts) Update

func (c *FakeAccounts) Update(ctx context.Context, account *v1alpha1.Account, opts v1.UpdateOptions) (result *v1alpha1.Account, err error)

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

func (*FakeAccounts) UpdateStatus

func (c *FakeAccounts) UpdateStatus(ctx context.Context, account *v1alpha1.Account, opts v1.UpdateOptions) (*v1alpha1.Account, error)

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

func (*FakeAccounts) Watch

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

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

type FakeBlobInventoryPolicies

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

FakeBlobInventoryPolicies implements BlobInventoryPolicyInterface

func (*FakeBlobInventoryPolicies) Create

func (c *FakeBlobInventoryPolicies) Create(ctx context.Context, blobInventoryPolicy *v1alpha1.BlobInventoryPolicy, opts v1.CreateOptions) (result *v1alpha1.BlobInventoryPolicy, err error)

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

func (*FakeBlobInventoryPolicies) Delete

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

func (*FakeBlobInventoryPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBlobInventoryPolicies) Get

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

func (*FakeBlobInventoryPolicies) List

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

func (*FakeBlobInventoryPolicies) Patch

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

Patch applies the patch and returns the patched blobInventoryPolicy.

func (*FakeBlobInventoryPolicies) Update

func (c *FakeBlobInventoryPolicies) Update(ctx context.Context, blobInventoryPolicy *v1alpha1.BlobInventoryPolicy, opts v1.UpdateOptions) (result *v1alpha1.BlobInventoryPolicy, err error)

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

func (*FakeBlobInventoryPolicies) UpdateStatus

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

func (*FakeBlobInventoryPolicies) Watch

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

type FakeBlobs

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

FakeBlobs implements BlobInterface

func (*FakeBlobs) Create

func (c *FakeBlobs) Create(ctx context.Context, blob *v1alpha1.Blob, opts v1.CreateOptions) (result *v1alpha1.Blob, err error)

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

func (*FakeBlobs) Delete

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

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

func (*FakeBlobs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBlobs) Get

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

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

func (*FakeBlobs) List

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

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

func (*FakeBlobs) Patch

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

Patch applies the patch and returns the patched blob.

func (*FakeBlobs) Update

func (c *FakeBlobs) Update(ctx context.Context, blob *v1alpha1.Blob, opts v1.UpdateOptions) (result *v1alpha1.Blob, err error)

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

func (*FakeBlobs) UpdateStatus

func (c *FakeBlobs) UpdateStatus(ctx context.Context, blob *v1alpha1.Blob, opts v1.UpdateOptions) (*v1alpha1.Blob, error)

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

func (*FakeBlobs) Watch

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

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

type FakeContainers

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

FakeContainers implements ContainerInterface

func (*FakeContainers) Create

func (c *FakeContainers) Create(ctx context.Context, container *v1alpha1.Container, opts v1.CreateOptions) (result *v1alpha1.Container, err error)

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

func (*FakeContainers) Delete

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

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

func (*FakeContainers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeContainers) Get

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

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

func (*FakeContainers) List

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

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

func (*FakeContainers) Patch

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

Patch applies the patch and returns the patched container.

func (*FakeContainers) Update

func (c *FakeContainers) Update(ctx context.Context, container *v1alpha1.Container, opts v1.UpdateOptions) (result *v1alpha1.Container, err error)

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

func (*FakeContainers) UpdateStatus

func (c *FakeContainers) UpdateStatus(ctx context.Context, container *v1alpha1.Container, opts v1.UpdateOptions) (*v1alpha1.Container, error)

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

func (*FakeContainers) Watch

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

type FakeDataLakeGen2Filesystems

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

FakeDataLakeGen2Filesystems implements DataLakeGen2FilesystemInterface

func (*FakeDataLakeGen2Filesystems) Create

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

func (*FakeDataLakeGen2Filesystems) Delete

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

func (*FakeDataLakeGen2Filesystems) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDataLakeGen2Filesystems) Get

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

func (*FakeDataLakeGen2Filesystems) List

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

func (*FakeDataLakeGen2Filesystems) Patch

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

Patch applies the patch and returns the patched dataLakeGen2Filesystem.

func (*FakeDataLakeGen2Filesystems) Update

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

func (*FakeDataLakeGen2Filesystems) UpdateStatus

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

func (*FakeDataLakeGen2Filesystems) Watch

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

type FakeDataLakeGen2Paths

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

FakeDataLakeGen2Paths implements DataLakeGen2PathInterface

func (*FakeDataLakeGen2Paths) Create

func (c *FakeDataLakeGen2Paths) Create(ctx context.Context, dataLakeGen2Path *v1alpha1.DataLakeGen2Path, opts v1.CreateOptions) (result *v1alpha1.DataLakeGen2Path, err error)

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

func (*FakeDataLakeGen2Paths) Delete

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

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

func (*FakeDataLakeGen2Paths) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDataLakeGen2Paths) Get

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

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

func (*FakeDataLakeGen2Paths) List

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

func (*FakeDataLakeGen2Paths) Patch

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

Patch applies the patch and returns the patched dataLakeGen2Path.

func (*FakeDataLakeGen2Paths) Update

func (c *FakeDataLakeGen2Paths) Update(ctx context.Context, dataLakeGen2Path *v1alpha1.DataLakeGen2Path, opts v1.UpdateOptions) (result *v1alpha1.DataLakeGen2Path, err error)

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

func (*FakeDataLakeGen2Paths) UpdateStatus

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

func (*FakeDataLakeGen2Paths) Watch

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

type FakeDisksPools added in v0.5.0

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

FakeDisksPools implements DisksPoolInterface

func (*FakeDisksPools) Create added in v0.5.0

func (c *FakeDisksPools) Create(ctx context.Context, disksPool *v1alpha1.DisksPool, opts v1.CreateOptions) (result *v1alpha1.DisksPool, err error)

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

func (*FakeDisksPools) Delete added in v0.5.0

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

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

func (*FakeDisksPools) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeDisksPools) Get added in v0.5.0

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

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

func (*FakeDisksPools) List added in v0.5.0

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

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

func (*FakeDisksPools) Patch added in v0.5.0

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

Patch applies the patch and returns the patched disksPool.

func (*FakeDisksPools) Update added in v0.5.0

func (c *FakeDisksPools) Update(ctx context.Context, disksPool *v1alpha1.DisksPool, opts v1.UpdateOptions) (result *v1alpha1.DisksPool, err error)

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

func (*FakeDisksPools) UpdateStatus added in v0.5.0

func (c *FakeDisksPools) UpdateStatus(ctx context.Context, disksPool *v1alpha1.DisksPool, opts v1.UpdateOptions) (*v1alpha1.DisksPool, error)

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

func (*FakeDisksPools) Watch added in v0.5.0

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

type FakeEncryptionScopes

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

FakeEncryptionScopes implements EncryptionScopeInterface

func (*FakeEncryptionScopes) Create

func (c *FakeEncryptionScopes) Create(ctx context.Context, encryptionScope *v1alpha1.EncryptionScope, opts v1.CreateOptions) (result *v1alpha1.EncryptionScope, err error)

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

func (*FakeEncryptionScopes) Delete

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

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

func (*FakeEncryptionScopes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEncryptionScopes) Get

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

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

func (*FakeEncryptionScopes) List

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

func (*FakeEncryptionScopes) Patch

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

Patch applies the patch and returns the patched encryptionScope.

func (*FakeEncryptionScopes) Update

func (c *FakeEncryptionScopes) Update(ctx context.Context, encryptionScope *v1alpha1.EncryptionScope, opts v1.UpdateOptions) (result *v1alpha1.EncryptionScope, err error)

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

func (*FakeEncryptionScopes) UpdateStatus

func (c *FakeEncryptionScopes) UpdateStatus(ctx context.Context, encryptionScope *v1alpha1.EncryptionScope, opts v1.UpdateOptions) (*v1alpha1.EncryptionScope, error)

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

func (*FakeEncryptionScopes) Watch

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

type FakeManagementPolicies

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

FakeManagementPolicies implements ManagementPolicyInterface

func (*FakeManagementPolicies) Create

func (c *FakeManagementPolicies) Create(ctx context.Context, managementPolicy *v1alpha1.ManagementPolicy, opts v1.CreateOptions) (result *v1alpha1.ManagementPolicy, err error)

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

func (*FakeManagementPolicies) Delete

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

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

func (*FakeManagementPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeManagementPolicies) Get

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

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

func (*FakeManagementPolicies) List

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

func (*FakeManagementPolicies) Patch

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

Patch applies the patch and returns the patched managementPolicy.

func (*FakeManagementPolicies) Update

func (c *FakeManagementPolicies) Update(ctx context.Context, managementPolicy *v1alpha1.ManagementPolicy, opts v1.UpdateOptions) (result *v1alpha1.ManagementPolicy, err error)

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

func (*FakeManagementPolicies) UpdateStatus

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

func (*FakeManagementPolicies) Watch

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

type FakeObjectReplications

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

FakeObjectReplications implements ObjectReplicationInterface

func (*FakeObjectReplications) Create

func (c *FakeObjectReplications) Create(ctx context.Context, objectReplication *v1alpha1.ObjectReplication, opts v1.CreateOptions) (result *v1alpha1.ObjectReplication, err error)

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

func (*FakeObjectReplications) Delete

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

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

func (*FakeObjectReplications) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeObjectReplications) Get

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

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

func (*FakeObjectReplications) List

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

func (*FakeObjectReplications) Patch

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

Patch applies the patch and returns the patched objectReplication.

func (*FakeObjectReplications) Update

func (c *FakeObjectReplications) Update(ctx context.Context, objectReplication *v1alpha1.ObjectReplication, opts v1.UpdateOptions) (result *v1alpha1.ObjectReplication, err error)

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

func (*FakeObjectReplications) UpdateStatus

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

func (*FakeObjectReplications) Watch

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

type FakeQueues

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

FakeQueues implements QueueInterface

func (*FakeQueues) Create

func (c *FakeQueues) Create(ctx context.Context, queue *v1alpha1.Queue, opts v1.CreateOptions) (result *v1alpha1.Queue, err error)

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

func (*FakeQueues) Delete

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

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

func (*FakeQueues) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeQueues) Get

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

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

func (*FakeQueues) List

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

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

func (*FakeQueues) Patch

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

Patch applies the patch and returns the patched queue.

func (*FakeQueues) Update

func (c *FakeQueues) Update(ctx context.Context, queue *v1alpha1.Queue, opts v1.UpdateOptions) (result *v1alpha1.Queue, err error)

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

func (*FakeQueues) UpdateStatus

func (c *FakeQueues) UpdateStatus(ctx context.Context, queue *v1alpha1.Queue, opts v1.UpdateOptions) (*v1alpha1.Queue, error)

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

func (*FakeQueues) Watch

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

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

type FakeShareDirectories

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

FakeShareDirectories implements ShareDirectoryInterface

func (*FakeShareDirectories) Create

func (c *FakeShareDirectories) Create(ctx context.Context, shareDirectory *v1alpha1.ShareDirectory, opts v1.CreateOptions) (result *v1alpha1.ShareDirectory, err error)

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

func (*FakeShareDirectories) Delete

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

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

func (*FakeShareDirectories) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeShareDirectories) Get

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

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

func (*FakeShareDirectories) List

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

func (*FakeShareDirectories) Patch

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

Patch applies the patch and returns the patched shareDirectory.

func (*FakeShareDirectories) Update

func (c *FakeShareDirectories) Update(ctx context.Context, shareDirectory *v1alpha1.ShareDirectory, opts v1.UpdateOptions) (result *v1alpha1.ShareDirectory, err error)

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

func (*FakeShareDirectories) UpdateStatus

func (c *FakeShareDirectories) UpdateStatus(ctx context.Context, shareDirectory *v1alpha1.ShareDirectory, opts v1.UpdateOptions) (*v1alpha1.ShareDirectory, error)

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

func (*FakeShareDirectories) Watch

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

type FakeShareFiles

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

FakeShareFiles implements ShareFileInterface

func (*FakeShareFiles) Create

func (c *FakeShareFiles) Create(ctx context.Context, shareFile *v1alpha1.ShareFile, opts v1.CreateOptions) (result *v1alpha1.ShareFile, err error)

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

func (*FakeShareFiles) Delete

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

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

func (*FakeShareFiles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeShareFiles) Get

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

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

func (*FakeShareFiles) List

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

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

func (*FakeShareFiles) Patch

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

Patch applies the patch and returns the patched shareFile.

func (*FakeShareFiles) Update

func (c *FakeShareFiles) Update(ctx context.Context, shareFile *v1alpha1.ShareFile, opts v1.UpdateOptions) (result *v1alpha1.ShareFile, err error)

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

func (*FakeShareFiles) UpdateStatus

func (c *FakeShareFiles) UpdateStatus(ctx context.Context, shareFile *v1alpha1.ShareFile, opts v1.UpdateOptions) (*v1alpha1.ShareFile, error)

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

func (*FakeShareFiles) Watch

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

type FakeShares

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

FakeShares implements ShareInterface

func (*FakeShares) Create

func (c *FakeShares) Create(ctx context.Context, share *v1alpha1.Share, opts v1.CreateOptions) (result *v1alpha1.Share, err error)

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

func (*FakeShares) Delete

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

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

func (*FakeShares) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeShares) Get

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

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

func (*FakeShares) List

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

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

func (*FakeShares) Patch

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

Patch applies the patch and returns the patched share.

func (*FakeShares) Update

func (c *FakeShares) Update(ctx context.Context, share *v1alpha1.Share, opts v1.UpdateOptions) (result *v1alpha1.Share, err error)

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

func (*FakeShares) UpdateStatus

func (c *FakeShares) UpdateStatus(ctx context.Context, share *v1alpha1.Share, opts v1.UpdateOptions) (*v1alpha1.Share, error)

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

func (*FakeShares) Watch

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

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

type FakeStorageV1alpha1

type FakeStorageV1alpha1 struct {
	*testing.Fake
}

func (*FakeStorageV1alpha1) AccountCustomerManagedKeys

func (c *FakeStorageV1alpha1) AccountCustomerManagedKeys(namespace string) v1alpha1.AccountCustomerManagedKeyInterface

func (*FakeStorageV1alpha1) AccountNetworkRuleses

func (c *FakeStorageV1alpha1) AccountNetworkRuleses(namespace string) v1alpha1.AccountNetworkRulesInterface

func (*FakeStorageV1alpha1) Accounts

func (c *FakeStorageV1alpha1) Accounts(namespace string) v1alpha1.AccountInterface

func (*FakeStorageV1alpha1) BlobInventoryPolicies

func (c *FakeStorageV1alpha1) BlobInventoryPolicies(namespace string) v1alpha1.BlobInventoryPolicyInterface

func (*FakeStorageV1alpha1) Blobs

func (c *FakeStorageV1alpha1) Blobs(namespace string) v1alpha1.BlobInterface

func (*FakeStorageV1alpha1) Containers

func (c *FakeStorageV1alpha1) Containers(namespace string) v1alpha1.ContainerInterface

func (*FakeStorageV1alpha1) DataLakeGen2Filesystems

func (c *FakeStorageV1alpha1) DataLakeGen2Filesystems(namespace string) v1alpha1.DataLakeGen2FilesystemInterface

func (*FakeStorageV1alpha1) DataLakeGen2Paths

func (c *FakeStorageV1alpha1) DataLakeGen2Paths(namespace string) v1alpha1.DataLakeGen2PathInterface

func (*FakeStorageV1alpha1) DisksPools added in v0.5.0

func (c *FakeStorageV1alpha1) DisksPools(namespace string) v1alpha1.DisksPoolInterface

func (*FakeStorageV1alpha1) EncryptionScopes

func (c *FakeStorageV1alpha1) EncryptionScopes(namespace string) v1alpha1.EncryptionScopeInterface

func (*FakeStorageV1alpha1) ManagementPolicies

func (c *FakeStorageV1alpha1) ManagementPolicies(namespace string) v1alpha1.ManagementPolicyInterface

func (*FakeStorageV1alpha1) ObjectReplications

func (c *FakeStorageV1alpha1) ObjectReplications(namespace string) v1alpha1.ObjectReplicationInterface

func (*FakeStorageV1alpha1) Queues

func (c *FakeStorageV1alpha1) Queues(namespace string) v1alpha1.QueueInterface

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) ShareDirectories

func (c *FakeStorageV1alpha1) ShareDirectories(namespace string) v1alpha1.ShareDirectoryInterface

func (*FakeStorageV1alpha1) ShareFiles

func (c *FakeStorageV1alpha1) ShareFiles(namespace string) v1alpha1.ShareFileInterface

func (*FakeStorageV1alpha1) Shares

func (c *FakeStorageV1alpha1) Shares(namespace string) v1alpha1.ShareInterface

func (*FakeStorageV1alpha1) SyncCloudEndpoints

func (c *FakeStorageV1alpha1) SyncCloudEndpoints(namespace string) v1alpha1.SyncCloudEndpointInterface

func (*FakeStorageV1alpha1) SyncGroups

func (c *FakeStorageV1alpha1) SyncGroups(namespace string) v1alpha1.SyncGroupInterface

func (*FakeStorageV1alpha1) Syncs

func (c *FakeStorageV1alpha1) Syncs(namespace string) v1alpha1.SyncInterface

func (*FakeStorageV1alpha1) TableEntities

func (c *FakeStorageV1alpha1) TableEntities(namespace string) v1alpha1.TableEntityInterface

func (*FakeStorageV1alpha1) Tables

func (c *FakeStorageV1alpha1) Tables(namespace string) v1alpha1.TableInterface

type FakeSyncCloudEndpoints

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

FakeSyncCloudEndpoints implements SyncCloudEndpointInterface

func (*FakeSyncCloudEndpoints) Create

func (c *FakeSyncCloudEndpoints) Create(ctx context.Context, syncCloudEndpoint *v1alpha1.SyncCloudEndpoint, opts v1.CreateOptions) (result *v1alpha1.SyncCloudEndpoint, err error)

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

func (*FakeSyncCloudEndpoints) Delete

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

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

func (*FakeSyncCloudEndpoints) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSyncCloudEndpoints) Get

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

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

func (*FakeSyncCloudEndpoints) List

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

func (*FakeSyncCloudEndpoints) Patch

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

Patch applies the patch and returns the patched syncCloudEndpoint.

func (*FakeSyncCloudEndpoints) Update

func (c *FakeSyncCloudEndpoints) Update(ctx context.Context, syncCloudEndpoint *v1alpha1.SyncCloudEndpoint, opts v1.UpdateOptions) (result *v1alpha1.SyncCloudEndpoint, err error)

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

func (*FakeSyncCloudEndpoints) UpdateStatus

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

func (*FakeSyncCloudEndpoints) Watch

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

type FakeSyncGroups

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

FakeSyncGroups implements SyncGroupInterface

func (*FakeSyncGroups) Create

func (c *FakeSyncGroups) Create(ctx context.Context, syncGroup *v1alpha1.SyncGroup, opts v1.CreateOptions) (result *v1alpha1.SyncGroup, err error)

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

func (*FakeSyncGroups) Delete

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

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

func (*FakeSyncGroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSyncGroups) Get

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

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

func (*FakeSyncGroups) List

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

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

func (*FakeSyncGroups) Patch

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

Patch applies the patch and returns the patched syncGroup.

func (*FakeSyncGroups) Update

func (c *FakeSyncGroups) Update(ctx context.Context, syncGroup *v1alpha1.SyncGroup, opts v1.UpdateOptions) (result *v1alpha1.SyncGroup, err error)

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

func (*FakeSyncGroups) UpdateStatus

func (c *FakeSyncGroups) UpdateStatus(ctx context.Context, syncGroup *v1alpha1.SyncGroup, opts v1.UpdateOptions) (*v1alpha1.SyncGroup, error)

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

func (*FakeSyncGroups) Watch

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

type FakeSyncs

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

FakeSyncs implements SyncInterface

func (*FakeSyncs) Create

func (c *FakeSyncs) Create(ctx context.Context, sync *v1alpha1.Sync, opts v1.CreateOptions) (result *v1alpha1.Sync, err error)

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

func (*FakeSyncs) Delete

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

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

func (*FakeSyncs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSyncs) Get

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

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

func (*FakeSyncs) List

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

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

func (*FakeSyncs) Patch

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

Patch applies the patch and returns the patched sync.

func (*FakeSyncs) Update

func (c *FakeSyncs) Update(ctx context.Context, sync *v1alpha1.Sync, opts v1.UpdateOptions) (result *v1alpha1.Sync, err error)

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

func (*FakeSyncs) UpdateStatus

func (c *FakeSyncs) UpdateStatus(ctx context.Context, sync *v1alpha1.Sync, opts v1.UpdateOptions) (*v1alpha1.Sync, error)

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

func (*FakeSyncs) Watch

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

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

type FakeTableEntities

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

FakeTableEntities implements TableEntityInterface

func (*FakeTableEntities) Create

func (c *FakeTableEntities) Create(ctx context.Context, tableEntity *v1alpha1.TableEntity, opts v1.CreateOptions) (result *v1alpha1.TableEntity, err error)

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

func (*FakeTableEntities) Delete

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

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

func (*FakeTableEntities) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTableEntities) Get

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

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

func (*FakeTableEntities) List

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

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

func (*FakeTableEntities) Patch

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

Patch applies the patch and returns the patched tableEntity.

func (*FakeTableEntities) Update

func (c *FakeTableEntities) Update(ctx context.Context, tableEntity *v1alpha1.TableEntity, opts v1.UpdateOptions) (result *v1alpha1.TableEntity, err error)

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

func (*FakeTableEntities) UpdateStatus

func (c *FakeTableEntities) UpdateStatus(ctx context.Context, tableEntity *v1alpha1.TableEntity, opts v1.UpdateOptions) (*v1alpha1.TableEntity, error)

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

func (*FakeTableEntities) Watch

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

type FakeTables

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

FakeTables implements TableInterface

func (*FakeTables) Create

func (c *FakeTables) Create(ctx context.Context, table *v1alpha1.Table, opts v1.CreateOptions) (result *v1alpha1.Table, err error)

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

func (*FakeTables) Delete

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

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

func (*FakeTables) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTables) Get

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

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

func (*FakeTables) List

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

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

func (*FakeTables) Patch

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

Patch applies the patch and returns the patched table.

func (*FakeTables) Update

func (c *FakeTables) Update(ctx context.Context, table *v1alpha1.Table, opts v1.UpdateOptions) (result *v1alpha1.Table, err error)

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

func (*FakeTables) UpdateStatus

func (c *FakeTables) UpdateStatus(ctx context.Context, table *v1alpha1.Table, opts v1.UpdateOptions) (*v1alpha1.Table, error)

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

func (*FakeTables) Watch

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

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

Jump to

Keyboard shortcuts

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