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