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