Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAPIBindings
- func (c *FakeAPIBindings) Create(ctx context.Context, aPIBinding *v1alpha1.APIBinding, opts v1.CreateOptions) (result *v1alpha1.APIBinding, err error)
- func (c *FakeAPIBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAPIBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAPIBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.APIBinding, err error)
- func (c *FakeAPIBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.APIBindingList, err error)
- func (c *FakeAPIBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.APIBinding, err error)
- func (c *FakeAPIBindings) Update(ctx context.Context, aPIBinding *v1alpha1.APIBinding, opts v1.UpdateOptions) (result *v1alpha1.APIBinding, err error)
- func (c *FakeAPIBindings) UpdateStatus(ctx context.Context, aPIBinding *v1alpha1.APIBinding, opts v1.UpdateOptions) (*v1alpha1.APIBinding, error)
- func (c *FakeAPIBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAPIConversions
- func (c *FakeAPIConversions) Create(ctx context.Context, aPIConversion *v1alpha1.APIConversion, ...) (result *v1alpha1.APIConversion, err error)
- func (c *FakeAPIConversions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAPIConversions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAPIConversions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.APIConversion, err error)
- func (c *FakeAPIConversions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.APIConversionList, err error)
- func (c *FakeAPIConversions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.APIConversion, err error)
- func (c *FakeAPIConversions) Update(ctx context.Context, aPIConversion *v1alpha1.APIConversion, ...) (result *v1alpha1.APIConversion, err error)
- func (c *FakeAPIConversions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAPIExportEndpointSlices
- func (c *FakeAPIExportEndpointSlices) Create(ctx context.Context, aPIExportEndpointSlice *v1alpha1.APIExportEndpointSlice, ...) (result *v1alpha1.APIExportEndpointSlice, err error)
- func (c *FakeAPIExportEndpointSlices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAPIExportEndpointSlices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAPIExportEndpointSlices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.APIExportEndpointSlice, err error)
- func (c *FakeAPIExportEndpointSlices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.APIExportEndpointSliceList, err error)
- func (c *FakeAPIExportEndpointSlices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.APIExportEndpointSlice, err error)
- func (c *FakeAPIExportEndpointSlices) Update(ctx context.Context, aPIExportEndpointSlice *v1alpha1.APIExportEndpointSlice, ...) (result *v1alpha1.APIExportEndpointSlice, err error)
- func (c *FakeAPIExportEndpointSlices) UpdateStatus(ctx context.Context, aPIExportEndpointSlice *v1alpha1.APIExportEndpointSlice, ...) (*v1alpha1.APIExportEndpointSlice, error)
- func (c *FakeAPIExportEndpointSlices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAPIExports
- func (c *FakeAPIExports) Create(ctx context.Context, aPIExport *v1alpha1.APIExport, opts v1.CreateOptions) (result *v1alpha1.APIExport, err error)
- func (c *FakeAPIExports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAPIExports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAPIExports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.APIExport, err error)
- func (c *FakeAPIExports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.APIExportList, err error)
- func (c *FakeAPIExports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.APIExport, err error)
- func (c *FakeAPIExports) Update(ctx context.Context, aPIExport *v1alpha1.APIExport, opts v1.UpdateOptions) (result *v1alpha1.APIExport, err error)
- func (c *FakeAPIExports) UpdateStatus(ctx context.Context, aPIExport *v1alpha1.APIExport, opts v1.UpdateOptions) (*v1alpha1.APIExport, error)
- func (c *FakeAPIExports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAPIResourceSchemas
- func (c *FakeAPIResourceSchemas) Create(ctx context.Context, aPIResourceSchema *v1alpha1.APIResourceSchema, ...) (result *v1alpha1.APIResourceSchema, err error)
- func (c *FakeAPIResourceSchemas) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAPIResourceSchemas) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAPIResourceSchemas) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.APIResourceSchema, err error)
- func (c *FakeAPIResourceSchemas) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.APIResourceSchemaList, err error)
- func (c *FakeAPIResourceSchemas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.APIResourceSchema, err error)
- func (c *FakeAPIResourceSchemas) Update(ctx context.Context, aPIResourceSchema *v1alpha1.APIResourceSchema, ...) (result *v1alpha1.APIResourceSchema, err error)
- func (c *FakeAPIResourceSchemas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApisV1alpha1
- func (c *FakeApisV1alpha1) APIBindings() v1alpha1.APIBindingInterface
- func (c *FakeApisV1alpha1) APIConversions() v1alpha1.APIConversionInterface
- func (c *FakeApisV1alpha1) APIExportEndpointSlices() v1alpha1.APIExportEndpointSliceInterface
- func (c *FakeApisV1alpha1) APIExports() v1alpha1.APIExportInterface
- func (c *FakeApisV1alpha1) APIResourceSchemas() v1alpha1.APIResourceSchemaInterface
- func (c *FakeApisV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAPIBindings ¶
type FakeAPIBindings struct {
Fake *FakeApisV1alpha1
}
FakeAPIBindings implements APIBindingInterface
func (*FakeAPIBindings) Create ¶
func (c *FakeAPIBindings) Create(ctx context.Context, aPIBinding *v1alpha1.APIBinding, opts v1.CreateOptions) (result *v1alpha1.APIBinding, err error)
Create takes the representation of a aPIBinding and creates it. Returns the server's representation of the aPIBinding, and an error, if there is any.
func (*FakeAPIBindings) Delete ¶
func (c *FakeAPIBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the aPIBinding and deletes it. Returns an error if one occurs.
func (*FakeAPIBindings) DeleteCollection ¶
func (c *FakeAPIBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAPIBindings) Get ¶
func (c *FakeAPIBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.APIBinding, err error)
Get takes name of the aPIBinding, and returns the corresponding aPIBinding object, and an error if there is any.
func (*FakeAPIBindings) List ¶
func (c *FakeAPIBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.APIBindingList, err error)
List takes label and field selectors, and returns the list of APIBindings that match those selectors.
func (*FakeAPIBindings) Patch ¶
func (c *FakeAPIBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.APIBinding, err error)
Patch applies the patch and returns the patched aPIBinding.
func (*FakeAPIBindings) Update ¶
func (c *FakeAPIBindings) Update(ctx context.Context, aPIBinding *v1alpha1.APIBinding, opts v1.UpdateOptions) (result *v1alpha1.APIBinding, err error)
Update takes the representation of a aPIBinding and updates it. Returns the server's representation of the aPIBinding, and an error, if there is any.
func (*FakeAPIBindings) UpdateStatus ¶
func (c *FakeAPIBindings) UpdateStatus(ctx context.Context, aPIBinding *v1alpha1.APIBinding, opts v1.UpdateOptions) (*v1alpha1.APIBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAPIBindings) Watch ¶
func (c *FakeAPIBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aPIBindings.
type FakeAPIConversions ¶
type FakeAPIConversions struct {
Fake *FakeApisV1alpha1
}
FakeAPIConversions implements APIConversionInterface
func (*FakeAPIConversions) Create ¶
func (c *FakeAPIConversions) Create(ctx context.Context, aPIConversion *v1alpha1.APIConversion, opts v1.CreateOptions) (result *v1alpha1.APIConversion, err error)
Create takes the representation of a aPIConversion and creates it. Returns the server's representation of the aPIConversion, and an error, if there is any.
func (*FakeAPIConversions) Delete ¶
func (c *FakeAPIConversions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the aPIConversion and deletes it. Returns an error if one occurs.
func (*FakeAPIConversions) DeleteCollection ¶
func (c *FakeAPIConversions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAPIConversions) Get ¶
func (c *FakeAPIConversions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.APIConversion, err error)
Get takes name of the aPIConversion, and returns the corresponding aPIConversion object, and an error if there is any.
func (*FakeAPIConversions) List ¶
func (c *FakeAPIConversions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.APIConversionList, err error)
List takes label and field selectors, and returns the list of APIConversions that match those selectors.
func (*FakeAPIConversions) Patch ¶
func (c *FakeAPIConversions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.APIConversion, err error)
Patch applies the patch and returns the patched aPIConversion.
func (*FakeAPIConversions) Update ¶
func (c *FakeAPIConversions) Update(ctx context.Context, aPIConversion *v1alpha1.APIConversion, opts v1.UpdateOptions) (result *v1alpha1.APIConversion, err error)
Update takes the representation of a aPIConversion and updates it. Returns the server's representation of the aPIConversion, and an error, if there is any.
func (*FakeAPIConversions) Watch ¶
func (c *FakeAPIConversions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aPIConversions.
type FakeAPIExportEndpointSlices ¶
type FakeAPIExportEndpointSlices struct {
Fake *FakeApisV1alpha1
}
FakeAPIExportEndpointSlices implements APIExportEndpointSliceInterface
func (*FakeAPIExportEndpointSlices) Create ¶
func (c *FakeAPIExportEndpointSlices) Create(ctx context.Context, aPIExportEndpointSlice *v1alpha1.APIExportEndpointSlice, opts v1.CreateOptions) (result *v1alpha1.APIExportEndpointSlice, err error)
Create takes the representation of a aPIExportEndpointSlice and creates it. Returns the server's representation of the aPIExportEndpointSlice, and an error, if there is any.
func (*FakeAPIExportEndpointSlices) Delete ¶
func (c *FakeAPIExportEndpointSlices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the aPIExportEndpointSlice and deletes it. Returns an error if one occurs.
func (*FakeAPIExportEndpointSlices) DeleteCollection ¶
func (c *FakeAPIExportEndpointSlices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAPIExportEndpointSlices) Get ¶
func (c *FakeAPIExportEndpointSlices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.APIExportEndpointSlice, err error)
Get takes name of the aPIExportEndpointSlice, and returns the corresponding aPIExportEndpointSlice object, and an error if there is any.
func (*FakeAPIExportEndpointSlices) List ¶
func (c *FakeAPIExportEndpointSlices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.APIExportEndpointSliceList, err error)
List takes label and field selectors, and returns the list of APIExportEndpointSlices that match those selectors.
func (*FakeAPIExportEndpointSlices) Patch ¶
func (c *FakeAPIExportEndpointSlices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.APIExportEndpointSlice, err error)
Patch applies the patch and returns the patched aPIExportEndpointSlice.
func (*FakeAPIExportEndpointSlices) Update ¶
func (c *FakeAPIExportEndpointSlices) Update(ctx context.Context, aPIExportEndpointSlice *v1alpha1.APIExportEndpointSlice, opts v1.UpdateOptions) (result *v1alpha1.APIExportEndpointSlice, err error)
Update takes the representation of a aPIExportEndpointSlice and updates it. Returns the server's representation of the aPIExportEndpointSlice, and an error, if there is any.
func (*FakeAPIExportEndpointSlices) UpdateStatus ¶
func (c *FakeAPIExportEndpointSlices) UpdateStatus(ctx context.Context, aPIExportEndpointSlice *v1alpha1.APIExportEndpointSlice, opts v1.UpdateOptions) (*v1alpha1.APIExportEndpointSlice, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAPIExportEndpointSlices) Watch ¶
func (c *FakeAPIExportEndpointSlices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aPIExportEndpointSlices.
type FakeAPIExports ¶
type FakeAPIExports struct {
Fake *FakeApisV1alpha1
}
FakeAPIExports implements APIExportInterface
func (*FakeAPIExports) Create ¶
func (c *FakeAPIExports) Create(ctx context.Context, aPIExport *v1alpha1.APIExport, opts v1.CreateOptions) (result *v1alpha1.APIExport, err error)
Create takes the representation of a aPIExport and creates it. Returns the server's representation of the aPIExport, and an error, if there is any.
func (*FakeAPIExports) Delete ¶
func (c *FakeAPIExports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the aPIExport and deletes it. Returns an error if one occurs.
func (*FakeAPIExports) DeleteCollection ¶
func (c *FakeAPIExports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAPIExports) Get ¶
func (c *FakeAPIExports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.APIExport, err error)
Get takes name of the aPIExport, and returns the corresponding aPIExport object, and an error if there is any.
func (*FakeAPIExports) List ¶
func (c *FakeAPIExports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.APIExportList, err error)
List takes label and field selectors, and returns the list of APIExports that match those selectors.
func (*FakeAPIExports) Patch ¶
func (c *FakeAPIExports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.APIExport, err error)
Patch applies the patch and returns the patched aPIExport.
func (*FakeAPIExports) Update ¶
func (c *FakeAPIExports) Update(ctx context.Context, aPIExport *v1alpha1.APIExport, opts v1.UpdateOptions) (result *v1alpha1.APIExport, err error)
Update takes the representation of a aPIExport and updates it. Returns the server's representation of the aPIExport, and an error, if there is any.
func (*FakeAPIExports) UpdateStatus ¶
func (c *FakeAPIExports) UpdateStatus(ctx context.Context, aPIExport *v1alpha1.APIExport, opts v1.UpdateOptions) (*v1alpha1.APIExport, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAPIExports) Watch ¶
func (c *FakeAPIExports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aPIExports.
type FakeAPIResourceSchemas ¶
type FakeAPIResourceSchemas struct {
Fake *FakeApisV1alpha1
}
FakeAPIResourceSchemas implements APIResourceSchemaInterface
func (*FakeAPIResourceSchemas) Create ¶
func (c *FakeAPIResourceSchemas) Create(ctx context.Context, aPIResourceSchema *v1alpha1.APIResourceSchema, opts v1.CreateOptions) (result *v1alpha1.APIResourceSchema, err error)
Create takes the representation of a aPIResourceSchema and creates it. Returns the server's representation of the aPIResourceSchema, and an error, if there is any.
func (*FakeAPIResourceSchemas) Delete ¶
func (c *FakeAPIResourceSchemas) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the aPIResourceSchema and deletes it. Returns an error if one occurs.
func (*FakeAPIResourceSchemas) DeleteCollection ¶
func (c *FakeAPIResourceSchemas) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAPIResourceSchemas) Get ¶
func (c *FakeAPIResourceSchemas) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.APIResourceSchema, err error)
Get takes name of the aPIResourceSchema, and returns the corresponding aPIResourceSchema object, and an error if there is any.
func (*FakeAPIResourceSchemas) List ¶
func (c *FakeAPIResourceSchemas) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.APIResourceSchemaList, err error)
List takes label and field selectors, and returns the list of APIResourceSchemas that match those selectors.
func (*FakeAPIResourceSchemas) Patch ¶
func (c *FakeAPIResourceSchemas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.APIResourceSchema, err error)
Patch applies the patch and returns the patched aPIResourceSchema.
func (*FakeAPIResourceSchemas) Update ¶
func (c *FakeAPIResourceSchemas) Update(ctx context.Context, aPIResourceSchema *v1alpha1.APIResourceSchema, opts v1.UpdateOptions) (result *v1alpha1.APIResourceSchema, err error)
Update takes the representation of a aPIResourceSchema and updates it. Returns the server's representation of the aPIResourceSchema, and an error, if there is any.
func (*FakeAPIResourceSchemas) Watch ¶
func (c *FakeAPIResourceSchemas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aPIResourceSchemas.
type FakeApisV1alpha1 ¶
func (*FakeApisV1alpha1) APIBindings ¶
func (c *FakeApisV1alpha1) APIBindings() v1alpha1.APIBindingInterface
func (*FakeApisV1alpha1) APIConversions ¶
func (c *FakeApisV1alpha1) APIConversions() v1alpha1.APIConversionInterface
func (*FakeApisV1alpha1) APIExportEndpointSlices ¶
func (c *FakeApisV1alpha1) APIExportEndpointSlices() v1alpha1.APIExportEndpointSliceInterface
func (*FakeApisV1alpha1) APIExports ¶
func (c *FakeApisV1alpha1) APIExports() v1alpha1.APIExportInterface
func (*FakeApisV1alpha1) APIResourceSchemas ¶
func (c *FakeApisV1alpha1) APIResourceSchemas() v1alpha1.APIResourceSchemaInterface
func (*FakeApisV1alpha1) RESTClient ¶
func (c *FakeApisV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.