client-go: k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1/fake Index | Files

package fake

import "k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_autoscaling_client.go fake_horizontalpodautoscaler.go

type FakeAutoscalingV2beta1 Uses

type FakeAutoscalingV2beta1 struct {
    *testing.Fake
}

func (*FakeAutoscalingV2beta1) HorizontalPodAutoscalers Uses

func (c *FakeAutoscalingV2beta1) HorizontalPodAutoscalers(namespace string) v2beta1.HorizontalPodAutoscalerInterface

func (*FakeAutoscalingV2beta1) RESTClient Uses

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

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

type FakeHorizontalPodAutoscalers Uses

type FakeHorizontalPodAutoscalers struct {
    Fake *FakeAutoscalingV2beta1
    // contains filtered or unexported fields
}

FakeHorizontalPodAutoscalers implements HorizontalPodAutoscalerInterface

func (*FakeHorizontalPodAutoscalers) Create Uses

func (c *FakeHorizontalPodAutoscalers) Create(horizontalPodAutoscaler *v2beta1.HorizontalPodAutoscaler) (result *v2beta1.HorizontalPodAutoscaler, err error)

Create takes the representation of a horizontalPodAutoscaler and creates it. Returns the server's representation of the horizontalPodAutoscaler, and an error, if there is any.

func (*FakeHorizontalPodAutoscalers) Delete Uses

func (c *FakeHorizontalPodAutoscalers) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the horizontalPodAutoscaler and deletes it. Returns an error if one occurs.

func (*FakeHorizontalPodAutoscalers) DeleteCollection Uses

func (c *FakeHorizontalPodAutoscalers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeHorizontalPodAutoscalers) Get Uses

func (c *FakeHorizontalPodAutoscalers) Get(name string, options v1.GetOptions) (result *v2beta1.HorizontalPodAutoscaler, err error)

Get takes name of the horizontalPodAutoscaler, and returns the corresponding horizontalPodAutoscaler object, and an error if there is any.

func (*FakeHorizontalPodAutoscalers) List Uses

func (c *FakeHorizontalPodAutoscalers) List(opts v1.ListOptions) (result *v2beta1.HorizontalPodAutoscalerList, err error)

List takes label and field selectors, and returns the list of HorizontalPodAutoscalers that match those selectors.

func (*FakeHorizontalPodAutoscalers) Patch Uses

func (c *FakeHorizontalPodAutoscalers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2beta1.HorizontalPodAutoscaler, err error)

Patch applies the patch and returns the patched horizontalPodAutoscaler.

func (*FakeHorizontalPodAutoscalers) Update Uses

func (c *FakeHorizontalPodAutoscalers) Update(horizontalPodAutoscaler *v2beta1.HorizontalPodAutoscaler) (result *v2beta1.HorizontalPodAutoscaler, err error)

Update takes the representation of a horizontalPodAutoscaler and updates it. Returns the server's representation of the horizontalPodAutoscaler, and an error, if there is any.

func (*FakeHorizontalPodAutoscalers) UpdateStatus Uses

func (c *FakeHorizontalPodAutoscalers) UpdateStatus(horizontalPodAutoscaler *v2beta1.HorizontalPodAutoscaler) (*v2beta1.HorizontalPodAutoscaler, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeHorizontalPodAutoscalers) Watch Uses

func (c *FakeHorizontalPodAutoscalers) Watch(opts v1.ListOptions) (watch.Interface, error)

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

Package fake imports 9 packages (graph) and is imported by 2 packages. Updated 2018-06-10. Refresh now. Tools for package owners.