Documentation
¶
Overview ¶
This code is auto-generated by k8s.io/code-generator
Package fake has the automatically generated clients.
Index ¶
- type FakeExampleV1alpha1
- type FakeSimpleExamples
- func (c *FakeSimpleExamples) Create(simpleExample *v1alpha1.SimpleExample) (result *v1alpha1.SimpleExample, err error)
- func (c *FakeSimpleExamples) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSimpleExamples) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSimpleExamples) Get(name string, options v1.GetOptions) (result *v1alpha1.SimpleExample, err error)
- func (c *FakeSimpleExamples) List(opts v1.ListOptions) (result *v1alpha1.SimpleExampleList, err error)
- func (c *FakeSimpleExamples) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SimpleExample, err error)
- func (c *FakeSimpleExamples) Update(simpleExample *v1alpha1.SimpleExample) (result *v1alpha1.SimpleExample, err error)
- func (c *FakeSimpleExamples) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeExampleV1alpha1 ¶
func (*FakeExampleV1alpha1) RESTClient ¶
func (c *FakeExampleV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeExampleV1alpha1) SimpleExamples ¶
func (c *FakeExampleV1alpha1) SimpleExamples(namespace string) v1alpha1.SimpleExampleInterface
type FakeSimpleExamples ¶
type FakeSimpleExamples struct { Fake *FakeExampleV1alpha1 // contains filtered or unexported fields }
FakeSimpleExamples implements SimpleExampleInterface
func (*FakeSimpleExamples) Create ¶
func (c *FakeSimpleExamples) Create(simpleExample *v1alpha1.SimpleExample) (result *v1alpha1.SimpleExample, err error)
Create takes the representation of a simpleExample and creates it. Returns the server's representation of the simpleExample, and an error, if there is any.
func (*FakeSimpleExamples) Delete ¶
func (c *FakeSimpleExamples) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the simpleExample and deletes it. Returns an error if one occurs.
func (*FakeSimpleExamples) DeleteCollection ¶
func (c *FakeSimpleExamples) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSimpleExamples) Get ¶
func (c *FakeSimpleExamples) Get(name string, options v1.GetOptions) (result *v1alpha1.SimpleExample, err error)
Get takes name of the simpleExample, and returns the corresponding simpleExample object, and an error if there is any.
func (*FakeSimpleExamples) List ¶
func (c *FakeSimpleExamples) List(opts v1.ListOptions) (result *v1alpha1.SimpleExampleList, err error)
List takes label and field selectors, and returns the list of SimpleExamples that match those selectors.
func (*FakeSimpleExamples) Patch ¶
func (c *FakeSimpleExamples) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SimpleExample, err error)
Patch applies the patch and returns the patched simpleExample.
func (*FakeSimpleExamples) Update ¶
func (c *FakeSimpleExamples) Update(simpleExample *v1alpha1.SimpleExample) (result *v1alpha1.SimpleExample, err error)
Update takes the representation of a simpleExample and updates it. Returns the server's representation of the simpleExample, and an error, if there is any.
func (*FakeSimpleExamples) Watch ¶
func (c *FakeSimpleExamples) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested simpleExamples.