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