Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakePodDisruptionBudgets
- func (c *FakePodDisruptionBudgets) Create(podDisruptionBudget *v1alpha1.PodDisruptionBudget) (result *v1alpha1.PodDisruptionBudget, err error)
- func (c *FakePodDisruptionBudgets) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePodDisruptionBudgets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePodDisruptionBudgets) Get(name string) (result *v1alpha1.PodDisruptionBudget, err error)
- func (c *FakePodDisruptionBudgets) List(opts v1.ListOptions) (result *v1alpha1.PodDisruptionBudgetList, err error)
- func (c *FakePodDisruptionBudgets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.PodDisruptionBudget, err error)
- func (c *FakePodDisruptionBudgets) Update(podDisruptionBudget *v1alpha1.PodDisruptionBudget) (result *v1alpha1.PodDisruptionBudget, err error)
- func (c *FakePodDisruptionBudgets) UpdateStatus(podDisruptionBudget *v1alpha1.PodDisruptionBudget) (*v1alpha1.PodDisruptionBudget, error)
- func (c *FakePodDisruptionBudgets) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePolicy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePodDisruptionBudgets ¶
type FakePodDisruptionBudgets struct { Fake *FakePolicy // contains filtered or unexported fields }
FakePodDisruptionBudgets implements PodDisruptionBudgetInterface
func (*FakePodDisruptionBudgets) Create ¶
func (c *FakePodDisruptionBudgets) Create(podDisruptionBudget *v1alpha1.PodDisruptionBudget) (result *v1alpha1.PodDisruptionBudget, err error)
func (*FakePodDisruptionBudgets) Delete ¶
func (c *FakePodDisruptionBudgets) Delete(name string, options *v1.DeleteOptions) error
func (*FakePodDisruptionBudgets) DeleteCollection ¶
func (c *FakePodDisruptionBudgets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakePodDisruptionBudgets) Get ¶
func (c *FakePodDisruptionBudgets) Get(name string) (result *v1alpha1.PodDisruptionBudget, err error)
func (*FakePodDisruptionBudgets) List ¶
func (c *FakePodDisruptionBudgets) List(opts v1.ListOptions) (result *v1alpha1.PodDisruptionBudgetList, err error)
func (*FakePodDisruptionBudgets) Patch ¶
func (c *FakePodDisruptionBudgets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.PodDisruptionBudget, err error)
Patch applies the patch and returns the patched podDisruptionBudget.
func (*FakePodDisruptionBudgets) Update ¶
func (c *FakePodDisruptionBudgets) Update(podDisruptionBudget *v1alpha1.PodDisruptionBudget) (result *v1alpha1.PodDisruptionBudget, err error)
func (*FakePodDisruptionBudgets) UpdateStatus ¶
func (c *FakePodDisruptionBudgets) UpdateStatus(podDisruptionBudget *v1alpha1.PodDisruptionBudget) (*v1alpha1.PodDisruptionBudget, error)
func (*FakePodDisruptionBudgets) Watch ¶
func (c *FakePodDisruptionBudgets) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podDisruptionBudgets.
type FakePolicy ¶
func (*FakePolicy) GetRESTClient ¶
func (c *FakePolicy) GetRESTClient() *rest.RESTClient
GetRESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakePolicy) PodDisruptionBudgets ¶
func (c *FakePolicy) PodDisruptionBudgets(namespace string) v1alpha1.PodDisruptionBudgetInterface
Click to show internal directories.
Click to hide internal directories.