Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeResearchV1alpha1
- type FakeResourceProtectionProfiles
- func (c *FakeResourceProtectionProfiles) Create(resourceProtectionProfile *v1alpha1.ResourceProtectionProfile) (result *v1alpha1.ResourceProtectionProfile, err error)
- func (c *FakeResourceProtectionProfiles) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeResourceProtectionProfiles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeResourceProtectionProfiles) Get(name string, options v1.GetOptions) (result *v1alpha1.ResourceProtectionProfile, err error)
- func (c *FakeResourceProtectionProfiles) List(opts v1.ListOptions) (result *v1alpha1.ResourceProtectionProfileList, err error)
- func (c *FakeResourceProtectionProfiles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ResourceProtectionProfile, err error)
- func (c *FakeResourceProtectionProfiles) Update(resourceProtectionProfile *v1alpha1.ResourceProtectionProfile) (result *v1alpha1.ResourceProtectionProfile, err error)
- func (c *FakeResourceProtectionProfiles) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeResearchV1alpha1 ¶
func (*FakeResearchV1alpha1) RESTClient ¶
func (c *FakeResearchV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeResearchV1alpha1) ResourceProtectionProfiles ¶
func (c *FakeResearchV1alpha1) ResourceProtectionProfiles(namespace string) v1alpha1.ResourceProtectionProfileInterface
type FakeResourceProtectionProfiles ¶
type FakeResourceProtectionProfiles struct { Fake *FakeResearchV1alpha1 // contains filtered or unexported fields }
FakeResourceProtectionProfiles implements ResourceProtectionProfileInterface
func (*FakeResourceProtectionProfiles) Create ¶
func (c *FakeResourceProtectionProfiles) Create(resourceProtectionProfile *v1alpha1.ResourceProtectionProfile) (result *v1alpha1.ResourceProtectionProfile, err error)
Create takes the representation of a resourceProtectionProfile and creates it. Returns the server's representation of the resourceProtectionProfile, and an error, if there is any.
func (*FakeResourceProtectionProfiles) Delete ¶
func (c *FakeResourceProtectionProfiles) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the resourceProtectionProfile and deletes it. Returns an error if one occurs.
func (*FakeResourceProtectionProfiles) DeleteCollection ¶
func (c *FakeResourceProtectionProfiles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceProtectionProfiles) Get ¶
func (c *FakeResourceProtectionProfiles) Get(name string, options v1.GetOptions) (result *v1alpha1.ResourceProtectionProfile, err error)
Get takes name of the resourceProtectionProfile, and returns the corresponding resourceProtectionProfile object, and an error if there is any.
func (*FakeResourceProtectionProfiles) List ¶
func (c *FakeResourceProtectionProfiles) List(opts v1.ListOptions) (result *v1alpha1.ResourceProtectionProfileList, err error)
List takes label and field selectors, and returns the list of ResourceProtectionProfiles that match those selectors.
func (*FakeResourceProtectionProfiles) Patch ¶
func (c *FakeResourceProtectionProfiles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ResourceProtectionProfile, err error)
Patch applies the patch and returns the patched resourceProtectionProfile.
func (*FakeResourceProtectionProfiles) Update ¶
func (c *FakeResourceProtectionProfiles) Update(resourceProtectionProfile *v1alpha1.ResourceProtectionProfile) (result *v1alpha1.ResourceProtectionProfile, err error)
Update takes the representation of a resourceProtectionProfile and updates it. Returns the server's representation of the resourceProtectionProfile, and an error, if there is any.
func (*FakeResourceProtectionProfiles) Watch ¶
func (c *FakeResourceProtectionProfiles) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceProtectionProfiles.