package fake

import "k8s.io/client-go/kubernetes/typed/policy/v1alpha1/fake"

Package fake has the automatically generated clients.

Index

Types

type FakePodDisruptionBudgets

type FakePodDisruptionBudgets struct {
	Fake *FakePolicyV1alpha1
	// 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 (*FakePodDisruptionBudgets) List

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

Watch returns a watch.Interface that watches the requested podDisruptionBudgets.

type FakePolicyV1alpha1

type FakePolicyV1alpha1 struct {
	*testing.Fake
}

func (*FakePolicyV1alpha1) PodDisruptionBudgets

func (c *FakePolicyV1alpha1) PodDisruptionBudgets(namespace string) v1alpha1.PodDisruptionBudgetInterface

func (*FakePolicyV1alpha1) RESTClient

func (c *FakePolicyV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

Source Files

doc.go fake_poddisruptionbudget.go fake_policy_client.go

Version
v2.0.0+incompatible
Published
Feb 13, 2017
Platform
linux/amd64
Imports
9 packages
Last checked
1 hour ago

Tools for package owners.