Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCrdExampleEmbeds
- func (c *FakeCrdExampleEmbeds) Create(crdExampleEmbed *crdexampleiov1.CrdExampleEmbed) (result *crdexampleiov1.CrdExampleEmbed, err error)
- func (c *FakeCrdExampleEmbeds) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCrdExampleEmbeds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCrdExampleEmbeds) Get(name string, options v1.GetOptions) (result *crdexampleiov1.CrdExampleEmbed, err error)
- func (c *FakeCrdExampleEmbeds) List(opts v1.ListOptions) (result *crdexampleiov1.CrdExampleEmbedList, err error)
- func (c *FakeCrdExampleEmbeds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *crdexampleiov1.CrdExampleEmbed, err error)
- func (c *FakeCrdExampleEmbeds) Update(crdExampleEmbed *crdexampleiov1.CrdExampleEmbed) (result *crdexampleiov1.CrdExampleEmbed, err error)
- func (c *FakeCrdExampleEmbeds) UpdateStatus(crdExampleEmbed *crdexampleiov1.CrdExampleEmbed) (*crdexampleiov1.CrdExampleEmbed, error)
- func (c *FakeCrdExampleEmbeds) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCrdExamples
- func (c *FakeCrdExamples) Create(crdExample *crdexampleiov1.CrdExample) (result *crdexampleiov1.CrdExample, err error)
- func (c *FakeCrdExamples) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCrdExamples) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCrdExamples) Get(name string, options v1.GetOptions) (result *crdexampleiov1.CrdExample, err error)
- func (c *FakeCrdExamples) List(opts v1.ListOptions) (result *crdexampleiov1.CrdExampleList, err error)
- func (c *FakeCrdExamples) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *crdexampleiov1.CrdExample, err error)
- func (c *FakeCrdExamples) Update(crdExample *crdexampleiov1.CrdExample) (result *crdexampleiov1.CrdExample, err error)
- func (c *FakeCrdExamples) UpdateStatus(crdExample *crdexampleiov1.CrdExample) (*crdexampleiov1.CrdExample, error)
- func (c *FakeCrdExamples) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCrdexampleV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCrdExampleEmbeds ¶
type FakeCrdExampleEmbeds struct { Fake *FakeCrdexampleV1 // contains filtered or unexported fields }
FakeCrdExampleEmbeds implements CrdExampleEmbedInterface
func (*FakeCrdExampleEmbeds) Create ¶
func (c *FakeCrdExampleEmbeds) Create(crdExampleEmbed *crdexampleiov1.CrdExampleEmbed) (result *crdexampleiov1.CrdExampleEmbed, err error)
Create takes the representation of a crdExampleEmbed and creates it. Returns the server's representation of the crdExampleEmbed, and an error, if there is any.
func (*FakeCrdExampleEmbeds) Delete ¶
func (c *FakeCrdExampleEmbeds) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the crdExampleEmbed and deletes it. Returns an error if one occurs.
func (*FakeCrdExampleEmbeds) DeleteCollection ¶
func (c *FakeCrdExampleEmbeds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCrdExampleEmbeds) Get ¶
func (c *FakeCrdExampleEmbeds) Get(name string, options v1.GetOptions) (result *crdexampleiov1.CrdExampleEmbed, err error)
Get takes name of the crdExampleEmbed, and returns the corresponding crdExampleEmbed object, and an error if there is any.
func (*FakeCrdExampleEmbeds) List ¶
func (c *FakeCrdExampleEmbeds) List(opts v1.ListOptions) (result *crdexampleiov1.CrdExampleEmbedList, err error)
List takes label and field selectors, and returns the list of CrdExampleEmbeds that match those selectors.
func (*FakeCrdExampleEmbeds) Patch ¶
func (c *FakeCrdExampleEmbeds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *crdexampleiov1.CrdExampleEmbed, err error)
Patch applies the patch and returns the patched crdExampleEmbed.
func (*FakeCrdExampleEmbeds) Update ¶
func (c *FakeCrdExampleEmbeds) Update(crdExampleEmbed *crdexampleiov1.CrdExampleEmbed) (result *crdexampleiov1.CrdExampleEmbed, err error)
Update takes the representation of a crdExampleEmbed and updates it. Returns the server's representation of the crdExampleEmbed, and an error, if there is any.
func (*FakeCrdExampleEmbeds) UpdateStatus ¶
func (c *FakeCrdExampleEmbeds) UpdateStatus(crdExampleEmbed *crdexampleiov1.CrdExampleEmbed) (*crdexampleiov1.CrdExampleEmbed, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCrdExampleEmbeds) Watch ¶
func (c *FakeCrdExampleEmbeds) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested crdExampleEmbeds.
type FakeCrdExamples ¶
type FakeCrdExamples struct { Fake *FakeCrdexampleV1 // contains filtered or unexported fields }
FakeCrdExamples implements CrdExampleInterface
func (*FakeCrdExamples) Create ¶
func (c *FakeCrdExamples) Create(crdExample *crdexampleiov1.CrdExample) (result *crdexampleiov1.CrdExample, err error)
Create takes the representation of a crdExample and creates it. Returns the server's representation of the crdExample, and an error, if there is any.
func (*FakeCrdExamples) Delete ¶
func (c *FakeCrdExamples) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the crdExample and deletes it. Returns an error if one occurs.
func (*FakeCrdExamples) DeleteCollection ¶
func (c *FakeCrdExamples) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCrdExamples) Get ¶
func (c *FakeCrdExamples) Get(name string, options v1.GetOptions) (result *crdexampleiov1.CrdExample, err error)
Get takes name of the crdExample, and returns the corresponding crdExample object, and an error if there is any.
func (*FakeCrdExamples) List ¶
func (c *FakeCrdExamples) List(opts v1.ListOptions) (result *crdexampleiov1.CrdExampleList, err error)
List takes label and field selectors, and returns the list of CrdExamples that match those selectors.
func (*FakeCrdExamples) Patch ¶
func (c *FakeCrdExamples) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *crdexampleiov1.CrdExample, err error)
Patch applies the patch and returns the patched crdExample.
func (*FakeCrdExamples) Update ¶
func (c *FakeCrdExamples) Update(crdExample *crdexampleiov1.CrdExample) (result *crdexampleiov1.CrdExample, err error)
Update takes the representation of a crdExample and updates it. Returns the server's representation of the crdExample, and an error, if there is any.
func (*FakeCrdExamples) UpdateStatus ¶
func (c *FakeCrdExamples) UpdateStatus(crdExample *crdexampleiov1.CrdExample) (*crdexampleiov1.CrdExample, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCrdExamples) Watch ¶
func (c *FakeCrdExamples) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested crdExamples.
type FakeCrdexampleV1 ¶
func (*FakeCrdexampleV1) CrdExampleEmbeds ¶
func (c *FakeCrdexampleV1) CrdExampleEmbeds(namespace string) v1.CrdExampleEmbedInterface
func (*FakeCrdexampleV1) CrdExamples ¶
func (c *FakeCrdexampleV1) CrdExamples(namespace string) v1.CrdExampleInterface
func (*FakeCrdexampleV1) RESTClient ¶
func (c *FakeCrdexampleV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.