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