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