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