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