Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeQuotaSubtrees
- func (c *FakeQuotaSubtrees) Create(ctx context.Context, quotaSubtree *v1alpha1.QuotaSubtree, ...) (result *v1alpha1.QuotaSubtree, err error)
- func (c *FakeQuotaSubtrees) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeQuotaSubtrees) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeQuotaSubtrees) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.QuotaSubtree, err error)
- func (c *FakeQuotaSubtrees) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.QuotaSubtreeList, err error)
- func (c *FakeQuotaSubtrees) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.QuotaSubtree, err error)
- func (c *FakeQuotaSubtrees) Update(ctx context.Context, quotaSubtree *v1alpha1.QuotaSubtree, ...) (result *v1alpha1.QuotaSubtree, err error)
- func (c *FakeQuotaSubtrees) UpdateStatus(ctx context.Context, quotaSubtree *v1alpha1.QuotaSubtree, ...) (*v1alpha1.QuotaSubtree, error)
- func (c *FakeQuotaSubtrees) 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 FakeQuotaSubtrees ¶
type FakeQuotaSubtrees struct { Fake *FakeQuotaV1alpha1 // contains filtered or unexported fields }
FakeQuotaSubtrees implements QuotaSubtreeInterface
func (*FakeQuotaSubtrees) Create ¶
func (c *FakeQuotaSubtrees) Create(ctx context.Context, quotaSubtree *v1alpha1.QuotaSubtree, opts v1.CreateOptions) (result *v1alpha1.QuotaSubtree, err error)
Create takes the representation of a quotaSubtree and creates it. Returns the server's representation of the quotaSubtree, and an error, if there is any.
func (*FakeQuotaSubtrees) Delete ¶
func (c *FakeQuotaSubtrees) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the quotaSubtree and deletes it. Returns an error if one occurs.
func (*FakeQuotaSubtrees) DeleteCollection ¶
func (c *FakeQuotaSubtrees) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeQuotaSubtrees) Get ¶
func (c *FakeQuotaSubtrees) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.QuotaSubtree, err error)
Get takes name of the quotaSubtree, and returns the corresponding quotaSubtree object, and an error if there is any.
func (*FakeQuotaSubtrees) List ¶
func (c *FakeQuotaSubtrees) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.QuotaSubtreeList, err error)
List takes label and field selectors, and returns the list of QuotaSubtrees that match those selectors.
func (*FakeQuotaSubtrees) Patch ¶
func (c *FakeQuotaSubtrees) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.QuotaSubtree, err error)
Patch applies the patch and returns the patched quotaSubtree.
func (*FakeQuotaSubtrees) Update ¶
func (c *FakeQuotaSubtrees) Update(ctx context.Context, quotaSubtree *v1alpha1.QuotaSubtree, opts v1.UpdateOptions) (result *v1alpha1.QuotaSubtree, err error)
Update takes the representation of a quotaSubtree and updates it. Returns the server's representation of the quotaSubtree, and an error, if there is any.
func (*FakeQuotaSubtrees) UpdateStatus ¶
func (c *FakeQuotaSubtrees) UpdateStatus(ctx context.Context, quotaSubtree *v1alpha1.QuotaSubtree, opts v1.UpdateOptions) (*v1alpha1.QuotaSubtree, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeQuotaSubtrees) Watch ¶
func (c *FakeQuotaSubtrees) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested quotaSubtrees.
type FakeQuotaV1alpha1 ¶
func (*FakeQuotaV1alpha1) QuotaSubtrees ¶
func (c *FakeQuotaV1alpha1) QuotaSubtrees(namespace string) v1alpha1.QuotaSubtreeInterface
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.