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