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