Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeElasticQuotaProfiles
- func (c *FakeElasticQuotaProfiles) Create(ctx context.Context, elasticQuotaProfile *v1alpha1.ElasticQuotaProfile, ...) (result *v1alpha1.ElasticQuotaProfile, err error)
- func (c *FakeElasticQuotaProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeElasticQuotaProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeElasticQuotaProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ElasticQuotaProfile, err error)
- func (c *FakeElasticQuotaProfiles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ElasticQuotaProfileList, err error)
- func (c *FakeElasticQuotaProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ElasticQuotaProfile, err error)
- func (c *FakeElasticQuotaProfiles) Update(ctx context.Context, elasticQuotaProfile *v1alpha1.ElasticQuotaProfile, ...) (result *v1alpha1.ElasticQuotaProfile, err error)
- func (c *FakeElasticQuotaProfiles) UpdateStatus(ctx context.Context, elasticQuotaProfile *v1alpha1.ElasticQuotaProfile, ...) (*v1alpha1.ElasticQuotaProfile, error)
- func (c *FakeElasticQuotaProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeQuotaV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeElasticQuotaProfiles ¶
type FakeElasticQuotaProfiles struct { Fake *FakeQuotaV1alpha1 // contains filtered or unexported fields }
FakeElasticQuotaProfiles implements ElasticQuotaProfileInterface
func (*FakeElasticQuotaProfiles) Create ¶
func (c *FakeElasticQuotaProfiles) Create(ctx context.Context, elasticQuotaProfile *v1alpha1.ElasticQuotaProfile, opts v1.CreateOptions) (result *v1alpha1.ElasticQuotaProfile, err error)
Create takes the representation of a elasticQuotaProfile and creates it. Returns the server's representation of the elasticQuotaProfile, and an error, if there is any.
func (*FakeElasticQuotaProfiles) Delete ¶
func (c *FakeElasticQuotaProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the elasticQuotaProfile and deletes it. Returns an error if one occurs.
func (*FakeElasticQuotaProfiles) DeleteCollection ¶
func (c *FakeElasticQuotaProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeElasticQuotaProfiles) Get ¶
func (c *FakeElasticQuotaProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ElasticQuotaProfile, err error)
Get takes name of the elasticQuotaProfile, and returns the corresponding elasticQuotaProfile object, and an error if there is any.
func (*FakeElasticQuotaProfiles) List ¶
func (c *FakeElasticQuotaProfiles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ElasticQuotaProfileList, err error)
List takes label and field selectors, and returns the list of ElasticQuotaProfiles that match those selectors.
func (*FakeElasticQuotaProfiles) Patch ¶
func (c *FakeElasticQuotaProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ElasticQuotaProfile, err error)
Patch applies the patch and returns the patched elasticQuotaProfile.
func (*FakeElasticQuotaProfiles) Update ¶
func (c *FakeElasticQuotaProfiles) Update(ctx context.Context, elasticQuotaProfile *v1alpha1.ElasticQuotaProfile, opts v1.UpdateOptions) (result *v1alpha1.ElasticQuotaProfile, err error)
Update takes the representation of a elasticQuotaProfile and updates it. Returns the server's representation of the elasticQuotaProfile, and an error, if there is any.
func (*FakeElasticQuotaProfiles) UpdateStatus ¶
func (c *FakeElasticQuotaProfiles) UpdateStatus(ctx context.Context, elasticQuotaProfile *v1alpha1.ElasticQuotaProfile, opts v1.UpdateOptions) (*v1alpha1.ElasticQuotaProfile, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeElasticQuotaProfiles) Watch ¶
func (c *FakeElasticQuotaProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested elasticQuotaProfiles.
type FakeQuotaV1alpha1 ¶
func (*FakeQuotaV1alpha1) ElasticQuotaProfiles ¶
func (c *FakeQuotaV1alpha1) ElasticQuotaProfiles(namespace string) v1alpha1.ElasticQuotaProfileInterface
func (*FakeQuotaV1alpha1) RESTClient ¶
func (c *FakeQuotaV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.