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