Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAccessGroups
- func (c *FakeAccessGroups) Create(ctx context.Context, accessGroup *v1alpha1.AccessGroup, opts v1.CreateOptions) (result *v1alpha1.AccessGroup, err error)
- func (c *FakeAccessGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAccessGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAccessGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AccessGroup, err error)
- func (c *FakeAccessGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccessGroupList, err error)
- func (c *FakeAccessGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AccessGroup, err error)
- func (c *FakeAccessGroups) Update(ctx context.Context, accessGroup *v1alpha1.AccessGroup, opts v1.UpdateOptions) (result *v1alpha1.AccessGroup, err error)
- func (c *FakeAccessGroups) UpdateStatus(ctx context.Context, accessGroup *v1alpha1.AccessGroup, opts v1.UpdateOptions) (*v1alpha1.AccessGroup, error)
- func (c *FakeAccessGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAccessRules
- func (c *FakeAccessRules) Create(ctx context.Context, accessRule *v1alpha1.AccessRule, opts v1.CreateOptions) (result *v1alpha1.AccessRule, err error)
- func (c *FakeAccessRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAccessRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAccessRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AccessRule, err error)
- func (c *FakeAccessRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccessRuleList, err error)
- func (c *FakeAccessRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AccessRule, err error)
- func (c *FakeAccessRules) Update(ctx context.Context, accessRule *v1alpha1.AccessRule, opts v1.UpdateOptions) (result *v1alpha1.AccessRule, err error)
- func (c *FakeAccessRules) UpdateStatus(ctx context.Context, accessRule *v1alpha1.AccessRule, opts v1.UpdateOptions) (*v1alpha1.AccessRule, error)
- func (c *FakeAccessRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDfsV1alpha1
- func (c *FakeDfsV1alpha1) AccessGroups(namespace string) v1alpha1.AccessGroupInterface
- func (c *FakeDfsV1alpha1) AccessRules(namespace string) v1alpha1.AccessRuleInterface
- func (c *FakeDfsV1alpha1) FileSystems(namespace string) v1alpha1.FileSystemInterface
- func (c *FakeDfsV1alpha1) MountPoints(namespace string) v1alpha1.MountPointInterface
- func (c *FakeDfsV1alpha1) RESTClient() rest.Interface
- type FakeFileSystems
- func (c *FakeFileSystems) Create(ctx context.Context, fileSystem *v1alpha1.FileSystem, opts v1.CreateOptions) (result *v1alpha1.FileSystem, err error)
- func (c *FakeFileSystems) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFileSystems) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFileSystems) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FileSystem, err error)
- func (c *FakeFileSystems) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FileSystemList, err error)
- func (c *FakeFileSystems) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.FileSystem, err error)
- func (c *FakeFileSystems) Update(ctx context.Context, fileSystem *v1alpha1.FileSystem, opts v1.UpdateOptions) (result *v1alpha1.FileSystem, err error)
- func (c *FakeFileSystems) UpdateStatus(ctx context.Context, fileSystem *v1alpha1.FileSystem, opts v1.UpdateOptions) (*v1alpha1.FileSystem, error)
- func (c *FakeFileSystems) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMountPoints
- func (c *FakeMountPoints) Create(ctx context.Context, mountPoint *v1alpha1.MountPoint, opts v1.CreateOptions) (result *v1alpha1.MountPoint, err error)
- func (c *FakeMountPoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMountPoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMountPoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MountPoint, err error)
- func (c *FakeMountPoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MountPointList, err error)
- func (c *FakeMountPoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MountPoint, err error)
- func (c *FakeMountPoints) Update(ctx context.Context, mountPoint *v1alpha1.MountPoint, opts v1.UpdateOptions) (result *v1alpha1.MountPoint, err error)
- func (c *FakeMountPoints) UpdateStatus(ctx context.Context, mountPoint *v1alpha1.MountPoint, opts v1.UpdateOptions) (*v1alpha1.MountPoint, error)
- func (c *FakeMountPoints) 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 FakeAccessGroups ¶
type FakeAccessGroups struct { Fake *FakeDfsV1alpha1 // contains filtered or unexported fields }
FakeAccessGroups implements AccessGroupInterface
func (*FakeAccessGroups) Create ¶
func (c *FakeAccessGroups) Create(ctx context.Context, accessGroup *v1alpha1.AccessGroup, opts v1.CreateOptions) (result *v1alpha1.AccessGroup, err error)
Create takes the representation of a accessGroup and creates it. Returns the server's representation of the accessGroup, and an error, if there is any.
func (*FakeAccessGroups) Delete ¶
func (c *FakeAccessGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the accessGroup and deletes it. Returns an error if one occurs.
func (*FakeAccessGroups) DeleteCollection ¶
func (c *FakeAccessGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAccessGroups) Get ¶
func (c *FakeAccessGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AccessGroup, err error)
Get takes name of the accessGroup, and returns the corresponding accessGroup object, and an error if there is any.
func (*FakeAccessGroups) List ¶
func (c *FakeAccessGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccessGroupList, err error)
List takes label and field selectors, and returns the list of AccessGroups that match those selectors.
func (*FakeAccessGroups) Patch ¶
func (c *FakeAccessGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AccessGroup, err error)
Patch applies the patch and returns the patched accessGroup.
func (*FakeAccessGroups) Update ¶
func (c *FakeAccessGroups) Update(ctx context.Context, accessGroup *v1alpha1.AccessGroup, opts v1.UpdateOptions) (result *v1alpha1.AccessGroup, err error)
Update takes the representation of a accessGroup and updates it. Returns the server's representation of the accessGroup, and an error, if there is any.
func (*FakeAccessGroups) UpdateStatus ¶
func (c *FakeAccessGroups) UpdateStatus(ctx context.Context, accessGroup *v1alpha1.AccessGroup, opts v1.UpdateOptions) (*v1alpha1.AccessGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAccessGroups) Watch ¶
func (c *FakeAccessGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested accessGroups.
type FakeAccessRules ¶
type FakeAccessRules struct { Fake *FakeDfsV1alpha1 // contains filtered or unexported fields }
FakeAccessRules implements AccessRuleInterface
func (*FakeAccessRules) Create ¶
func (c *FakeAccessRules) Create(ctx context.Context, accessRule *v1alpha1.AccessRule, opts v1.CreateOptions) (result *v1alpha1.AccessRule, err error)
Create takes the representation of a accessRule and creates it. Returns the server's representation of the accessRule, and an error, if there is any.
func (*FakeAccessRules) Delete ¶
func (c *FakeAccessRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the accessRule and deletes it. Returns an error if one occurs.
func (*FakeAccessRules) DeleteCollection ¶
func (c *FakeAccessRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAccessRules) Get ¶
func (c *FakeAccessRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AccessRule, err error)
Get takes name of the accessRule, and returns the corresponding accessRule object, and an error if there is any.
func (*FakeAccessRules) List ¶
func (c *FakeAccessRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccessRuleList, err error)
List takes label and field selectors, and returns the list of AccessRules that match those selectors.
func (*FakeAccessRules) Patch ¶
func (c *FakeAccessRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AccessRule, err error)
Patch applies the patch and returns the patched accessRule.
func (*FakeAccessRules) Update ¶
func (c *FakeAccessRules) Update(ctx context.Context, accessRule *v1alpha1.AccessRule, opts v1.UpdateOptions) (result *v1alpha1.AccessRule, err error)
Update takes the representation of a accessRule and updates it. Returns the server's representation of the accessRule, and an error, if there is any.
func (*FakeAccessRules) UpdateStatus ¶
func (c *FakeAccessRules) UpdateStatus(ctx context.Context, accessRule *v1alpha1.AccessRule, opts v1.UpdateOptions) (*v1alpha1.AccessRule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAccessRules) Watch ¶
func (c *FakeAccessRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested accessRules.
type FakeDfsV1alpha1 ¶
func (*FakeDfsV1alpha1) AccessGroups ¶
func (c *FakeDfsV1alpha1) AccessGroups(namespace string) v1alpha1.AccessGroupInterface
func (*FakeDfsV1alpha1) AccessRules ¶
func (c *FakeDfsV1alpha1) AccessRules(namespace string) v1alpha1.AccessRuleInterface
func (*FakeDfsV1alpha1) FileSystems ¶
func (c *FakeDfsV1alpha1) FileSystems(namespace string) v1alpha1.FileSystemInterface
func (*FakeDfsV1alpha1) MountPoints ¶
func (c *FakeDfsV1alpha1) MountPoints(namespace string) v1alpha1.MountPointInterface
func (*FakeDfsV1alpha1) RESTClient ¶
func (c *FakeDfsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeFileSystems ¶
type FakeFileSystems struct { Fake *FakeDfsV1alpha1 // contains filtered or unexported fields }
FakeFileSystems implements FileSystemInterface
func (*FakeFileSystems) Create ¶
func (c *FakeFileSystems) Create(ctx context.Context, fileSystem *v1alpha1.FileSystem, opts v1.CreateOptions) (result *v1alpha1.FileSystem, err error)
Create takes the representation of a fileSystem and creates it. Returns the server's representation of the fileSystem, and an error, if there is any.
func (*FakeFileSystems) Delete ¶
func (c *FakeFileSystems) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the fileSystem and deletes it. Returns an error if one occurs.
func (*FakeFileSystems) DeleteCollection ¶
func (c *FakeFileSystems) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFileSystems) Get ¶
func (c *FakeFileSystems) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FileSystem, err error)
Get takes name of the fileSystem, and returns the corresponding fileSystem object, and an error if there is any.
func (*FakeFileSystems) List ¶
func (c *FakeFileSystems) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FileSystemList, err error)
List takes label and field selectors, and returns the list of FileSystems that match those selectors.
func (*FakeFileSystems) Patch ¶
func (c *FakeFileSystems) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.FileSystem, err error)
Patch applies the patch and returns the patched fileSystem.
func (*FakeFileSystems) Update ¶
func (c *FakeFileSystems) Update(ctx context.Context, fileSystem *v1alpha1.FileSystem, opts v1.UpdateOptions) (result *v1alpha1.FileSystem, err error)
Update takes the representation of a fileSystem and updates it. Returns the server's representation of the fileSystem, and an error, if there is any.
func (*FakeFileSystems) UpdateStatus ¶
func (c *FakeFileSystems) UpdateStatus(ctx context.Context, fileSystem *v1alpha1.FileSystem, opts v1.UpdateOptions) (*v1alpha1.FileSystem, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFileSystems) Watch ¶
func (c *FakeFileSystems) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested fileSystems.
type FakeMountPoints ¶
type FakeMountPoints struct { Fake *FakeDfsV1alpha1 // contains filtered or unexported fields }
FakeMountPoints implements MountPointInterface
func (*FakeMountPoints) Create ¶
func (c *FakeMountPoints) Create(ctx context.Context, mountPoint *v1alpha1.MountPoint, opts v1.CreateOptions) (result *v1alpha1.MountPoint, err error)
Create takes the representation of a mountPoint and creates it. Returns the server's representation of the mountPoint, and an error, if there is any.
func (*FakeMountPoints) Delete ¶
func (c *FakeMountPoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the mountPoint and deletes it. Returns an error if one occurs.
func (*FakeMountPoints) DeleteCollection ¶
func (c *FakeMountPoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMountPoints) Get ¶
func (c *FakeMountPoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MountPoint, err error)
Get takes name of the mountPoint, and returns the corresponding mountPoint object, and an error if there is any.
func (*FakeMountPoints) List ¶
func (c *FakeMountPoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MountPointList, err error)
List takes label and field selectors, and returns the list of MountPoints that match those selectors.
func (*FakeMountPoints) Patch ¶
func (c *FakeMountPoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MountPoint, err error)
Patch applies the patch and returns the patched mountPoint.
func (*FakeMountPoints) Update ¶
func (c *FakeMountPoints) Update(ctx context.Context, mountPoint *v1alpha1.MountPoint, opts v1.UpdateOptions) (result *v1alpha1.MountPoint, err error)
Update takes the representation of a mountPoint and updates it. Returns the server's representation of the mountPoint, and an error, if there is any.
func (*FakeMountPoints) UpdateStatus ¶
func (c *FakeMountPoints) UpdateStatus(ctx context.Context, mountPoint *v1alpha1.MountPoint, opts v1.UpdateOptions) (*v1alpha1.MountPoint, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMountPoints) Watch ¶
func (c *FakeMountPoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mountPoints.