Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAccesses
- func (c *FakeAccesses) Create(ctx context.Context, access *v1alpha1.Access, opts v1.CreateOptions) (result *v1alpha1.Access, err error)
- func (c *FakeAccesses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAccesses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAccesses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Access, err error)
- func (c *FakeAccesses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccessList, err error)
- func (c *FakeAccesses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Access, err error)
- func (c *FakeAccesses) Update(ctx context.Context, access *v1alpha1.Access, opts v1.UpdateOptions) (result *v1alpha1.Access, err error)
- func (c *FakeAccesses) UpdateStatus(ctx context.Context, access *v1alpha1.Access, opts v1.UpdateOptions) (*v1alpha1.Access, error)
- func (c *FakeAccesses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDiskV1alpha1
- func (c *FakeDiskV1alpha1) Accesses(namespace string) v1alpha1.AccessInterface
- func (c *FakeDiskV1alpha1) EncryptionSets(namespace string) v1alpha1.EncryptionSetInterface
- func (c *FakeDiskV1alpha1) PoolIscsiTargetLuns(namespace string) v1alpha1.PoolIscsiTargetLunInterface
- func (c *FakeDiskV1alpha1) PoolIscsiTargets(namespace string) v1alpha1.PoolIscsiTargetInterface
- func (c *FakeDiskV1alpha1) PoolManagedDiskAttachments(namespace string) v1alpha1.PoolManagedDiskAttachmentInterface
- func (c *FakeDiskV1alpha1) Pools(namespace string) v1alpha1.PoolInterface
- func (c *FakeDiskV1alpha1) RESTClient() rest.Interface
- type FakeEncryptionSets
- func (c *FakeEncryptionSets) Create(ctx context.Context, encryptionSet *v1alpha1.EncryptionSet, ...) (result *v1alpha1.EncryptionSet, err error)
- func (c *FakeEncryptionSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEncryptionSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEncryptionSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EncryptionSet, err error)
- func (c *FakeEncryptionSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EncryptionSetList, err error)
- func (c *FakeEncryptionSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.EncryptionSet, err error)
- func (c *FakeEncryptionSets) Update(ctx context.Context, encryptionSet *v1alpha1.EncryptionSet, ...) (result *v1alpha1.EncryptionSet, err error)
- func (c *FakeEncryptionSets) UpdateStatus(ctx context.Context, encryptionSet *v1alpha1.EncryptionSet, ...) (*v1alpha1.EncryptionSet, error)
- func (c *FakeEncryptionSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePoolIscsiTargetLuns
- func (c *FakePoolIscsiTargetLuns) Create(ctx context.Context, poolIscsiTargetLun *v1alpha1.PoolIscsiTargetLun, ...) (result *v1alpha1.PoolIscsiTargetLun, err error)
- func (c *FakePoolIscsiTargetLuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePoolIscsiTargetLuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePoolIscsiTargetLuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PoolIscsiTargetLun, err error)
- func (c *FakePoolIscsiTargetLuns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PoolIscsiTargetLunList, err error)
- func (c *FakePoolIscsiTargetLuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PoolIscsiTargetLun, err error)
- func (c *FakePoolIscsiTargetLuns) Update(ctx context.Context, poolIscsiTargetLun *v1alpha1.PoolIscsiTargetLun, ...) (result *v1alpha1.PoolIscsiTargetLun, err error)
- func (c *FakePoolIscsiTargetLuns) UpdateStatus(ctx context.Context, poolIscsiTargetLun *v1alpha1.PoolIscsiTargetLun, ...) (*v1alpha1.PoolIscsiTargetLun, error)
- func (c *FakePoolIscsiTargetLuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePoolIscsiTargets
- func (c *FakePoolIscsiTargets) Create(ctx context.Context, poolIscsiTarget *v1alpha1.PoolIscsiTarget, ...) (result *v1alpha1.PoolIscsiTarget, err error)
- func (c *FakePoolIscsiTargets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePoolIscsiTargets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePoolIscsiTargets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PoolIscsiTarget, err error)
- func (c *FakePoolIscsiTargets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PoolIscsiTargetList, err error)
- func (c *FakePoolIscsiTargets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PoolIscsiTarget, err error)
- func (c *FakePoolIscsiTargets) Update(ctx context.Context, poolIscsiTarget *v1alpha1.PoolIscsiTarget, ...) (result *v1alpha1.PoolIscsiTarget, err error)
- func (c *FakePoolIscsiTargets) UpdateStatus(ctx context.Context, poolIscsiTarget *v1alpha1.PoolIscsiTarget, ...) (*v1alpha1.PoolIscsiTarget, error)
- func (c *FakePoolIscsiTargets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePoolManagedDiskAttachments
- func (c *FakePoolManagedDiskAttachments) Create(ctx context.Context, ...) (result *v1alpha1.PoolManagedDiskAttachment, err error)
- func (c *FakePoolManagedDiskAttachments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePoolManagedDiskAttachments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePoolManagedDiskAttachments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PoolManagedDiskAttachment, err error)
- func (c *FakePoolManagedDiskAttachments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PoolManagedDiskAttachmentList, err error)
- func (c *FakePoolManagedDiskAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PoolManagedDiskAttachment, err error)
- func (c *FakePoolManagedDiskAttachments) Update(ctx context.Context, ...) (result *v1alpha1.PoolManagedDiskAttachment, err error)
- func (c *FakePoolManagedDiskAttachments) UpdateStatus(ctx context.Context, ...) (*v1alpha1.PoolManagedDiskAttachment, error)
- func (c *FakePoolManagedDiskAttachments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePools
- func (c *FakePools) Create(ctx context.Context, pool *v1alpha1.Pool, opts v1.CreateOptions) (result *v1alpha1.Pool, err error)
- func (c *FakePools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Pool, err error)
- func (c *FakePools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PoolList, err error)
- func (c *FakePools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Pool, err error)
- func (c *FakePools) Update(ctx context.Context, pool *v1alpha1.Pool, opts v1.UpdateOptions) (result *v1alpha1.Pool, err error)
- func (c *FakePools) UpdateStatus(ctx context.Context, pool *v1alpha1.Pool, opts v1.UpdateOptions) (*v1alpha1.Pool, error)
- func (c *FakePools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAccesses ¶
type FakeAccesses struct { Fake *FakeDiskV1alpha1 // contains filtered or unexported fields }
FakeAccesses implements AccessInterface
func (*FakeAccesses) Create ¶
func (c *FakeAccesses) Create(ctx context.Context, access *v1alpha1.Access, opts v1.CreateOptions) (result *v1alpha1.Access, err error)
Create takes the representation of a access and creates it. Returns the server's representation of the access, and an error, if there is any.
func (*FakeAccesses) Delete ¶
func (c *FakeAccesses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the access and deletes it. Returns an error if one occurs.
func (*FakeAccesses) DeleteCollection ¶
func (c *FakeAccesses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAccesses) Get ¶
func (c *FakeAccesses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Access, err error)
Get takes name of the access, and returns the corresponding access object, and an error if there is any.
func (*FakeAccesses) List ¶
func (c *FakeAccesses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccessList, err error)
List takes label and field selectors, and returns the list of Accesses that match those selectors.
func (*FakeAccesses) Patch ¶
func (c *FakeAccesses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Access, err error)
Patch applies the patch and returns the patched access.
func (*FakeAccesses) Update ¶
func (c *FakeAccesses) Update(ctx context.Context, access *v1alpha1.Access, opts v1.UpdateOptions) (result *v1alpha1.Access, err error)
Update takes the representation of a access and updates it. Returns the server's representation of the access, and an error, if there is any.
func (*FakeAccesses) UpdateStatus ¶
func (c *FakeAccesses) UpdateStatus(ctx context.Context, access *v1alpha1.Access, opts v1.UpdateOptions) (*v1alpha1.Access, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAccesses) Watch ¶
func (c *FakeAccesses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested accesses.
type FakeDiskV1alpha1 ¶
func (*FakeDiskV1alpha1) Accesses ¶
func (c *FakeDiskV1alpha1) Accesses(namespace string) v1alpha1.AccessInterface
func (*FakeDiskV1alpha1) EncryptionSets ¶
func (c *FakeDiskV1alpha1) EncryptionSets(namespace string) v1alpha1.EncryptionSetInterface
func (*FakeDiskV1alpha1) PoolIscsiTargetLuns ¶ added in v0.5.0
func (c *FakeDiskV1alpha1) PoolIscsiTargetLuns(namespace string) v1alpha1.PoolIscsiTargetLunInterface
func (*FakeDiskV1alpha1) PoolIscsiTargets ¶ added in v0.5.0
func (c *FakeDiskV1alpha1) PoolIscsiTargets(namespace string) v1alpha1.PoolIscsiTargetInterface
func (*FakeDiskV1alpha1) PoolManagedDiskAttachments ¶ added in v0.5.0
func (c *FakeDiskV1alpha1) PoolManagedDiskAttachments(namespace string) v1alpha1.PoolManagedDiskAttachmentInterface
func (*FakeDiskV1alpha1) Pools ¶ added in v0.5.0
func (c *FakeDiskV1alpha1) Pools(namespace string) v1alpha1.PoolInterface
func (*FakeDiskV1alpha1) RESTClient ¶
func (c *FakeDiskV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeEncryptionSets ¶
type FakeEncryptionSets struct { Fake *FakeDiskV1alpha1 // contains filtered or unexported fields }
FakeEncryptionSets implements EncryptionSetInterface
func (*FakeEncryptionSets) Create ¶
func (c *FakeEncryptionSets) Create(ctx context.Context, encryptionSet *v1alpha1.EncryptionSet, opts v1.CreateOptions) (result *v1alpha1.EncryptionSet, err error)
Create takes the representation of a encryptionSet and creates it. Returns the server's representation of the encryptionSet, and an error, if there is any.
func (*FakeEncryptionSets) Delete ¶
func (c *FakeEncryptionSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the encryptionSet and deletes it. Returns an error if one occurs.
func (*FakeEncryptionSets) DeleteCollection ¶
func (c *FakeEncryptionSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEncryptionSets) Get ¶
func (c *FakeEncryptionSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EncryptionSet, err error)
Get takes name of the encryptionSet, and returns the corresponding encryptionSet object, and an error if there is any.
func (*FakeEncryptionSets) List ¶
func (c *FakeEncryptionSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EncryptionSetList, err error)
List takes label and field selectors, and returns the list of EncryptionSets that match those selectors.
func (*FakeEncryptionSets) Patch ¶
func (c *FakeEncryptionSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EncryptionSet, err error)
Patch applies the patch and returns the patched encryptionSet.
func (*FakeEncryptionSets) Update ¶
func (c *FakeEncryptionSets) Update(ctx context.Context, encryptionSet *v1alpha1.EncryptionSet, opts v1.UpdateOptions) (result *v1alpha1.EncryptionSet, err error)
Update takes the representation of a encryptionSet and updates it. Returns the server's representation of the encryptionSet, and an error, if there is any.
func (*FakeEncryptionSets) UpdateStatus ¶
func (c *FakeEncryptionSets) UpdateStatus(ctx context.Context, encryptionSet *v1alpha1.EncryptionSet, opts v1.UpdateOptions) (*v1alpha1.EncryptionSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEncryptionSets) Watch ¶
func (c *FakeEncryptionSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested encryptionSets.
type FakePoolIscsiTargetLuns ¶ added in v0.5.0
type FakePoolIscsiTargetLuns struct { Fake *FakeDiskV1alpha1 // contains filtered or unexported fields }
FakePoolIscsiTargetLuns implements PoolIscsiTargetLunInterface
func (*FakePoolIscsiTargetLuns) Create ¶ added in v0.5.0
func (c *FakePoolIscsiTargetLuns) Create(ctx context.Context, poolIscsiTargetLun *v1alpha1.PoolIscsiTargetLun, opts v1.CreateOptions) (result *v1alpha1.PoolIscsiTargetLun, err error)
Create takes the representation of a poolIscsiTargetLun and creates it. Returns the server's representation of the poolIscsiTargetLun, and an error, if there is any.
func (*FakePoolIscsiTargetLuns) Delete ¶ added in v0.5.0
func (c *FakePoolIscsiTargetLuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the poolIscsiTargetLun and deletes it. Returns an error if one occurs.
func (*FakePoolIscsiTargetLuns) DeleteCollection ¶ added in v0.5.0
func (c *FakePoolIscsiTargetLuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePoolIscsiTargetLuns) Get ¶ added in v0.5.0
func (c *FakePoolIscsiTargetLuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PoolIscsiTargetLun, err error)
Get takes name of the poolIscsiTargetLun, and returns the corresponding poolIscsiTargetLun object, and an error if there is any.
func (*FakePoolIscsiTargetLuns) List ¶ added in v0.5.0
func (c *FakePoolIscsiTargetLuns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PoolIscsiTargetLunList, err error)
List takes label and field selectors, and returns the list of PoolIscsiTargetLuns that match those selectors.
func (*FakePoolIscsiTargetLuns) Patch ¶ added in v0.5.0
func (c *FakePoolIscsiTargetLuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PoolIscsiTargetLun, err error)
Patch applies the patch and returns the patched poolIscsiTargetLun.
func (*FakePoolIscsiTargetLuns) Update ¶ added in v0.5.0
func (c *FakePoolIscsiTargetLuns) Update(ctx context.Context, poolIscsiTargetLun *v1alpha1.PoolIscsiTargetLun, opts v1.UpdateOptions) (result *v1alpha1.PoolIscsiTargetLun, err error)
Update takes the representation of a poolIscsiTargetLun and updates it. Returns the server's representation of the poolIscsiTargetLun, and an error, if there is any.
func (*FakePoolIscsiTargetLuns) UpdateStatus ¶ added in v0.5.0
func (c *FakePoolIscsiTargetLuns) UpdateStatus(ctx context.Context, poolIscsiTargetLun *v1alpha1.PoolIscsiTargetLun, opts v1.UpdateOptions) (*v1alpha1.PoolIscsiTargetLun, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePoolIscsiTargetLuns) Watch ¶ added in v0.5.0
func (c *FakePoolIscsiTargetLuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested poolIscsiTargetLuns.
type FakePoolIscsiTargets ¶ added in v0.5.0
type FakePoolIscsiTargets struct { Fake *FakeDiskV1alpha1 // contains filtered or unexported fields }
FakePoolIscsiTargets implements PoolIscsiTargetInterface
func (*FakePoolIscsiTargets) Create ¶ added in v0.5.0
func (c *FakePoolIscsiTargets) Create(ctx context.Context, poolIscsiTarget *v1alpha1.PoolIscsiTarget, opts v1.CreateOptions) (result *v1alpha1.PoolIscsiTarget, err error)
Create takes the representation of a poolIscsiTarget and creates it. Returns the server's representation of the poolIscsiTarget, and an error, if there is any.
func (*FakePoolIscsiTargets) Delete ¶ added in v0.5.0
func (c *FakePoolIscsiTargets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the poolIscsiTarget and deletes it. Returns an error if one occurs.
func (*FakePoolIscsiTargets) DeleteCollection ¶ added in v0.5.0
func (c *FakePoolIscsiTargets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePoolIscsiTargets) Get ¶ added in v0.5.0
func (c *FakePoolIscsiTargets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PoolIscsiTarget, err error)
Get takes name of the poolIscsiTarget, and returns the corresponding poolIscsiTarget object, and an error if there is any.
func (*FakePoolIscsiTargets) List ¶ added in v0.5.0
func (c *FakePoolIscsiTargets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PoolIscsiTargetList, err error)
List takes label and field selectors, and returns the list of PoolIscsiTargets that match those selectors.
func (*FakePoolIscsiTargets) Patch ¶ added in v0.5.0
func (c *FakePoolIscsiTargets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PoolIscsiTarget, err error)
Patch applies the patch and returns the patched poolIscsiTarget.
func (*FakePoolIscsiTargets) Update ¶ added in v0.5.0
func (c *FakePoolIscsiTargets) Update(ctx context.Context, poolIscsiTarget *v1alpha1.PoolIscsiTarget, opts v1.UpdateOptions) (result *v1alpha1.PoolIscsiTarget, err error)
Update takes the representation of a poolIscsiTarget and updates it. Returns the server's representation of the poolIscsiTarget, and an error, if there is any.
func (*FakePoolIscsiTargets) UpdateStatus ¶ added in v0.5.0
func (c *FakePoolIscsiTargets) UpdateStatus(ctx context.Context, poolIscsiTarget *v1alpha1.PoolIscsiTarget, opts v1.UpdateOptions) (*v1alpha1.PoolIscsiTarget, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePoolIscsiTargets) Watch ¶ added in v0.5.0
func (c *FakePoolIscsiTargets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested poolIscsiTargets.
type FakePoolManagedDiskAttachments ¶ added in v0.5.0
type FakePoolManagedDiskAttachments struct { Fake *FakeDiskV1alpha1 // contains filtered or unexported fields }
FakePoolManagedDiskAttachments implements PoolManagedDiskAttachmentInterface
func (*FakePoolManagedDiskAttachments) Create ¶ added in v0.5.0
func (c *FakePoolManagedDiskAttachments) Create(ctx context.Context, poolManagedDiskAttachment *v1alpha1.PoolManagedDiskAttachment, opts v1.CreateOptions) (result *v1alpha1.PoolManagedDiskAttachment, err error)
Create takes the representation of a poolManagedDiskAttachment and creates it. Returns the server's representation of the poolManagedDiskAttachment, and an error, if there is any.
func (*FakePoolManagedDiskAttachments) Delete ¶ added in v0.5.0
func (c *FakePoolManagedDiskAttachments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the poolManagedDiskAttachment and deletes it. Returns an error if one occurs.
func (*FakePoolManagedDiskAttachments) DeleteCollection ¶ added in v0.5.0
func (c *FakePoolManagedDiskAttachments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePoolManagedDiskAttachments) Get ¶ added in v0.5.0
func (c *FakePoolManagedDiskAttachments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PoolManagedDiskAttachment, err error)
Get takes name of the poolManagedDiskAttachment, and returns the corresponding poolManagedDiskAttachment object, and an error if there is any.
func (*FakePoolManagedDiskAttachments) List ¶ added in v0.5.0
func (c *FakePoolManagedDiskAttachments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PoolManagedDiskAttachmentList, err error)
List takes label and field selectors, and returns the list of PoolManagedDiskAttachments that match those selectors.
func (*FakePoolManagedDiskAttachments) Patch ¶ added in v0.5.0
func (c *FakePoolManagedDiskAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PoolManagedDiskAttachment, err error)
Patch applies the patch and returns the patched poolManagedDiskAttachment.
func (*FakePoolManagedDiskAttachments) Update ¶ added in v0.5.0
func (c *FakePoolManagedDiskAttachments) Update(ctx context.Context, poolManagedDiskAttachment *v1alpha1.PoolManagedDiskAttachment, opts v1.UpdateOptions) (result *v1alpha1.PoolManagedDiskAttachment, err error)
Update takes the representation of a poolManagedDiskAttachment and updates it. Returns the server's representation of the poolManagedDiskAttachment, and an error, if there is any.
func (*FakePoolManagedDiskAttachments) UpdateStatus ¶ added in v0.5.0
func (c *FakePoolManagedDiskAttachments) UpdateStatus(ctx context.Context, poolManagedDiskAttachment *v1alpha1.PoolManagedDiskAttachment, opts v1.UpdateOptions) (*v1alpha1.PoolManagedDiskAttachment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePoolManagedDiskAttachments) Watch ¶ added in v0.5.0
func (c *FakePoolManagedDiskAttachments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested poolManagedDiskAttachments.
type FakePools ¶ added in v0.5.0
type FakePools struct { Fake *FakeDiskV1alpha1 // contains filtered or unexported fields }
FakePools implements PoolInterface
func (*FakePools) Create ¶ added in v0.5.0
func (c *FakePools) Create(ctx context.Context, pool *v1alpha1.Pool, opts v1.CreateOptions) (result *v1alpha1.Pool, err error)
Create takes the representation of a pool and creates it. Returns the server's representation of the pool, and an error, if there is any.
func (*FakePools) Delete ¶ added in v0.5.0
Delete takes name of the pool and deletes it. Returns an error if one occurs.
func (*FakePools) DeleteCollection ¶ added in v0.5.0
func (c *FakePools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePools) Get ¶ added in v0.5.0
func (c *FakePools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Pool, err error)
Get takes name of the pool, and returns the corresponding pool object, and an error if there is any.
func (*FakePools) List ¶ added in v0.5.0
func (c *FakePools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PoolList, err error)
List takes label and field selectors, and returns the list of Pools that match those selectors.
func (*FakePools) Patch ¶ added in v0.5.0
func (c *FakePools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Pool, err error)
Patch applies the patch and returns the patched pool.
func (*FakePools) Update ¶ added in v0.5.0
func (c *FakePools) Update(ctx context.Context, pool *v1alpha1.Pool, opts v1.UpdateOptions) (result *v1alpha1.Pool, err error)
Update takes the representation of a pool and updates it. Returns the server's representation of the pool, and an error, if there is any.
func (*FakePools) UpdateStatus ¶ added in v0.5.0
func (c *FakePools) UpdateStatus(ctx context.Context, pool *v1alpha1.Pool, opts v1.UpdateOptions) (*v1alpha1.Pool, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().