Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackendConfigs
- func (c *FakeBackendConfigs) Create(backendConfig *v1beta1.BackendConfig) (result *v1beta1.BackendConfig, err error)
- func (c *FakeBackendConfigs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBackendConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBackendConfigs) Get(name string, options v1.GetOptions) (result *v1beta1.BackendConfig, err error)
- func (c *FakeBackendConfigs) List(opts v1.ListOptions) (result *v1beta1.BackendConfigList, err error)
- func (c *FakeBackendConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.BackendConfig, err error)
- func (c *FakeBackendConfigs) Update(backendConfig *v1beta1.BackendConfig) (result *v1beta1.BackendConfig, err error)
- func (c *FakeBackendConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCloudV1beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBackendConfigs ¶
type FakeBackendConfigs struct { Fake *FakeCloudV1beta1 // contains filtered or unexported fields }
FakeBackendConfigs implements BackendConfigInterface
func (*FakeBackendConfigs) Create ¶
func (c *FakeBackendConfigs) Create(backendConfig *v1beta1.BackendConfig) (result *v1beta1.BackendConfig, err error)
Create takes the representation of a backendConfig and creates it. Returns the server's representation of the backendConfig, and an error, if there is any.
func (*FakeBackendConfigs) Delete ¶
func (c *FakeBackendConfigs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the backendConfig and deletes it. Returns an error if one occurs.
func (*FakeBackendConfigs) DeleteCollection ¶
func (c *FakeBackendConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackendConfigs) Get ¶
func (c *FakeBackendConfigs) Get(name string, options v1.GetOptions) (result *v1beta1.BackendConfig, err error)
Get takes name of the backendConfig, and returns the corresponding backendConfig object, and an error if there is any.
func (*FakeBackendConfigs) List ¶
func (c *FakeBackendConfigs) List(opts v1.ListOptions) (result *v1beta1.BackendConfigList, err error)
List takes label and field selectors, and returns the list of BackendConfigs that match those selectors.
func (*FakeBackendConfigs) Patch ¶
func (c *FakeBackendConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.BackendConfig, err error)
Patch applies the patch and returns the patched backendConfig.
func (*FakeBackendConfigs) Update ¶
func (c *FakeBackendConfigs) Update(backendConfig *v1beta1.BackendConfig) (result *v1beta1.BackendConfig, err error)
Update takes the representation of a backendConfig and updates it. Returns the server's representation of the backendConfig, and an error, if there is any.
func (*FakeBackendConfigs) Watch ¶
func (c *FakeBackendConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backendConfigs.
type FakeCloudV1beta1 ¶
func (*FakeCloudV1beta1) BackendConfigs ¶
func (c *FakeCloudV1beta1) BackendConfigs(namespace string) v1beta1.BackendConfigInterface
func (*FakeCloudV1beta1) RESTClient ¶
func (c *FakeCloudV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.