fake

package
v0.0.0-...-9a5d330 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeObjectrocketV1beta1

type FakeObjectrocketV1beta1 struct {
	*testing.Fake
}

func (*FakeObjectrocketV1beta1) RESTClient

func (c *FakeObjectrocketV1beta1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeObjectrocketV1beta1) SensuAssets

func (c *FakeObjectrocketV1beta1) SensuAssets(namespace string) v1beta1.SensuAssetInterface

func (*FakeObjectrocketV1beta1) SensuBackups

func (c *FakeObjectrocketV1beta1) SensuBackups(namespace string) v1beta1.SensuBackupInterface

func (*FakeObjectrocketV1beta1) SensuCheckConfigs

func (c *FakeObjectrocketV1beta1) SensuCheckConfigs(namespace string) v1beta1.SensuCheckConfigInterface

func (*FakeObjectrocketV1beta1) SensuClusters

func (c *FakeObjectrocketV1beta1) SensuClusters(namespace string) v1beta1.SensuClusterInterface

func (*FakeObjectrocketV1beta1) SensuEventFilters

func (c *FakeObjectrocketV1beta1) SensuEventFilters(namespace string) v1beta1.SensuEventFilterInterface

func (*FakeObjectrocketV1beta1) SensuHandlers

func (c *FakeObjectrocketV1beta1) SensuHandlers(namespace string) v1beta1.SensuHandlerInterface

func (*FakeObjectrocketV1beta1) SensuRestores

func (c *FakeObjectrocketV1beta1) SensuRestores(namespace string) v1beta1.SensuRestoreInterface

type FakeSensuAssets

type FakeSensuAssets struct {
	Fake *FakeObjectrocketV1beta1
	// contains filtered or unexported fields
}

FakeSensuAssets implements SensuAssetInterface

func (*FakeSensuAssets) Create

func (c *FakeSensuAssets) Create(sensuAsset *v1beta1.SensuAsset) (result *v1beta1.SensuAsset, err error)

Create takes the representation of a sensuAsset and creates it. Returns the server's representation of the sensuAsset, and an error, if there is any.

func (*FakeSensuAssets) Delete

func (c *FakeSensuAssets) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the sensuAsset and deletes it. Returns an error if one occurs.

func (*FakeSensuAssets) DeleteCollection

func (c *FakeSensuAssets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSensuAssets) Get

func (c *FakeSensuAssets) Get(name string, options v1.GetOptions) (result *v1beta1.SensuAsset, err error)

Get takes name of the sensuAsset, and returns the corresponding sensuAsset object, and an error if there is any.

func (*FakeSensuAssets) List

func (c *FakeSensuAssets) List(opts v1.ListOptions) (result *v1beta1.SensuAssetList, err error)

List takes label and field selectors, and returns the list of SensuAssets that match those selectors.

func (*FakeSensuAssets) Patch

func (c *FakeSensuAssets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.SensuAsset, err error)

Patch applies the patch and returns the patched sensuAsset.

func (*FakeSensuAssets) Update

func (c *FakeSensuAssets) Update(sensuAsset *v1beta1.SensuAsset) (result *v1beta1.SensuAsset, err error)

Update takes the representation of a sensuAsset and updates it. Returns the server's representation of the sensuAsset, and an error, if there is any.

func (*FakeSensuAssets) UpdateStatus

func (c *FakeSensuAssets) UpdateStatus(sensuAsset *v1beta1.SensuAsset) (*v1beta1.SensuAsset, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSensuAssets) Watch

func (c *FakeSensuAssets) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested sensuAssets.

type FakeSensuBackups

type FakeSensuBackups struct {
	Fake *FakeObjectrocketV1beta1
	// 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 FakeSensuCheckConfigs

type FakeSensuCheckConfigs struct {
	Fake *FakeObjectrocketV1beta1
	// contains filtered or unexported fields
}

FakeSensuCheckConfigs implements SensuCheckConfigInterface

func (*FakeSensuCheckConfigs) Create

func (c *FakeSensuCheckConfigs) Create(sensuCheckConfig *v1beta1.SensuCheckConfig) (result *v1beta1.SensuCheckConfig, err error)

Create takes the representation of a sensuCheckConfig and creates it. Returns the server's representation of the sensuCheckConfig, and an error, if there is any.

func (*FakeSensuCheckConfigs) Delete

func (c *FakeSensuCheckConfigs) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the sensuCheckConfig and deletes it. Returns an error if one occurs.

func (*FakeSensuCheckConfigs) DeleteCollection

func (c *FakeSensuCheckConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSensuCheckConfigs) Get

func (c *FakeSensuCheckConfigs) Get(name string, options v1.GetOptions) (result *v1beta1.SensuCheckConfig, err error)

Get takes name of the sensuCheckConfig, and returns the corresponding sensuCheckConfig object, and an error if there is any.

func (*FakeSensuCheckConfigs) List

List takes label and field selectors, and returns the list of SensuCheckConfigs that match those selectors.

func (*FakeSensuCheckConfigs) Patch

func (c *FakeSensuCheckConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.SensuCheckConfig, err error)

Patch applies the patch and returns the patched sensuCheckConfig.

func (*FakeSensuCheckConfigs) Update

func (c *FakeSensuCheckConfigs) Update(sensuCheckConfig *v1beta1.SensuCheckConfig) (result *v1beta1.SensuCheckConfig, err error)

Update takes the representation of a sensuCheckConfig and updates it. Returns the server's representation of the sensuCheckConfig, and an error, if there is any.

func (*FakeSensuCheckConfigs) UpdateStatus

func (c *FakeSensuCheckConfigs) UpdateStatus(sensuCheckConfig *v1beta1.SensuCheckConfig) (*v1beta1.SensuCheckConfig, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSensuCheckConfigs) Watch

Watch returns a watch.Interface that watches the requested sensuCheckConfigs.

type FakeSensuClusters

type FakeSensuClusters struct {
	Fake *FakeObjectrocketV1beta1
	// 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

Watch returns a watch.Interface that watches the requested sensuClusters.

type FakeSensuEventFilters

type FakeSensuEventFilters struct {
	Fake *FakeObjectrocketV1beta1
	// contains filtered or unexported fields
}

FakeSensuEventFilters implements SensuEventFilterInterface

func (*FakeSensuEventFilters) Create

func (c *FakeSensuEventFilters) Create(sensuEventFilter *v1beta1.SensuEventFilter) (result *v1beta1.SensuEventFilter, err error)

Create takes the representation of a sensuEventFilter and creates it. Returns the server's representation of the sensuEventFilter, and an error, if there is any.

func (*FakeSensuEventFilters) Delete

func (c *FakeSensuEventFilters) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the sensuEventFilter and deletes it. Returns an error if one occurs.

func (*FakeSensuEventFilters) DeleteCollection

func (c *FakeSensuEventFilters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSensuEventFilters) Get

func (c *FakeSensuEventFilters) Get(name string, options v1.GetOptions) (result *v1beta1.SensuEventFilter, err error)

Get takes name of the sensuEventFilter, and returns the corresponding sensuEventFilter object, and an error if there is any.

func (*FakeSensuEventFilters) List

List takes label and field selectors, and returns the list of SensuEventFilters that match those selectors.

func (*FakeSensuEventFilters) Patch

func (c *FakeSensuEventFilters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.SensuEventFilter, err error)

Patch applies the patch and returns the patched sensuEventFilter.

func (*FakeSensuEventFilters) Update

func (c *FakeSensuEventFilters) Update(sensuEventFilter *v1beta1.SensuEventFilter) (result *v1beta1.SensuEventFilter, err error)

Update takes the representation of a sensuEventFilter and updates it. Returns the server's representation of the sensuEventFilter, and an error, if there is any.

func (*FakeSensuEventFilters) UpdateStatus

func (c *FakeSensuEventFilters) UpdateStatus(sensuEventFilter *v1beta1.SensuEventFilter) (*v1beta1.SensuEventFilter, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSensuEventFilters) Watch

Watch returns a watch.Interface that watches the requested sensuEventFilters.

type FakeSensuHandlers

type FakeSensuHandlers struct {
	Fake *FakeObjectrocketV1beta1
	// contains filtered or unexported fields
}

FakeSensuHandlers implements SensuHandlerInterface

func (*FakeSensuHandlers) Create

func (c *FakeSensuHandlers) Create(sensuHandler *v1beta1.SensuHandler) (result *v1beta1.SensuHandler, err error)

Create takes the representation of a sensuHandler and creates it. Returns the server's representation of the sensuHandler, and an error, if there is any.

func (*FakeSensuHandlers) Delete

func (c *FakeSensuHandlers) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the sensuHandler and deletes it. Returns an error if one occurs.

func (*FakeSensuHandlers) DeleteCollection

func (c *FakeSensuHandlers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSensuHandlers) Get

func (c *FakeSensuHandlers) Get(name string, options v1.GetOptions) (result *v1beta1.SensuHandler, err error)

Get takes name of the sensuHandler, and returns the corresponding sensuHandler object, and an error if there is any.

func (*FakeSensuHandlers) List

func (c *FakeSensuHandlers) List(opts v1.ListOptions) (result *v1beta1.SensuHandlerList, err error)

List takes label and field selectors, and returns the list of SensuHandlers that match those selectors.

func (*FakeSensuHandlers) Patch

func (c *FakeSensuHandlers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.SensuHandler, err error)

Patch applies the patch and returns the patched sensuHandler.

func (*FakeSensuHandlers) Update

func (c *FakeSensuHandlers) Update(sensuHandler *v1beta1.SensuHandler) (result *v1beta1.SensuHandler, err error)

Update takes the representation of a sensuHandler and updates it. Returns the server's representation of the sensuHandler, and an error, if there is any.

func (*FakeSensuHandlers) UpdateStatus

func (c *FakeSensuHandlers) UpdateStatus(sensuHandler *v1beta1.SensuHandler) (*v1beta1.SensuHandler, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSensuHandlers) Watch

Watch returns a watch.Interface that watches the requested sensuHandlers.

type FakeSensuRestores

type FakeSensuRestores struct {
	Fake *FakeObjectrocketV1beta1
	// 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

Watch returns a watch.Interface that watches the requested sensuRestores.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL