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