client-go: Index | Files | Directories

package v2beta1

import ""

This package has the automatically generated typed clients.


Package Files

autoscaling_client.go doc.go generated_expansion.go horizontalpodautoscaler.go

type AutoscalingV2beta1Client Uses

type AutoscalingV2beta1Client struct {
    // contains filtered or unexported fields

AutoscalingV2beta1Client is used to interact with features provided by the autoscaling group.

func New Uses

func New(c rest.Interface) *AutoscalingV2beta1Client

New creates a new AutoscalingV2beta1Client for the given RESTClient.

func NewForConfig Uses

func NewForConfig(c *rest.Config) (*AutoscalingV2beta1Client, error)

NewForConfig creates a new AutoscalingV2beta1Client for the given config.

func NewForConfigOrDie Uses

func NewForConfigOrDie(c *rest.Config) *AutoscalingV2beta1Client

NewForConfigOrDie creates a new AutoscalingV2beta1Client for the given config and panics if there is an error in the config.

func (*AutoscalingV2beta1Client) HorizontalPodAutoscalers Uses

func (c *AutoscalingV2beta1Client) HorizontalPodAutoscalers(namespace string) HorizontalPodAutoscalerInterface

func (*AutoscalingV2beta1Client) RESTClient Uses

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

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

type AutoscalingV2beta1Interface Uses

type AutoscalingV2beta1Interface interface {
    RESTClient() rest.Interface

type HorizontalPodAutoscalerExpansion Uses

type HorizontalPodAutoscalerExpansion interface{}

type HorizontalPodAutoscalerInterface Uses

type HorizontalPodAutoscalerInterface interface {
    Create(*v2beta1.HorizontalPodAutoscaler) (*v2beta1.HorizontalPodAutoscaler, error)
    Update(*v2beta1.HorizontalPodAutoscaler) (*v2beta1.HorizontalPodAutoscaler, error)
    UpdateStatus(*v2beta1.HorizontalPodAutoscaler) (*v2beta1.HorizontalPodAutoscaler, error)
    Delete(name string, options *v1.DeleteOptions) error
    DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
    Get(name string, options v1.GetOptions) (*v2beta1.HorizontalPodAutoscaler, error)
    List(opts v1.ListOptions) (*v2beta1.HorizontalPodAutoscalerList, error)
    Watch(opts v1.ListOptions) (watch.Interface, error)
    Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2beta1.HorizontalPodAutoscaler, err error)

HorizontalPodAutoscalerInterface has methods to work with HorizontalPodAutoscaler resources.

type HorizontalPodAutoscalersGetter Uses

type HorizontalPodAutoscalersGetter interface {
    HorizontalPodAutoscalers(namespace string) HorizontalPodAutoscalerInterface

HorizontalPodAutoscalersGetter has a method to return a HorizontalPodAutoscalerInterface. A group's client should implement this interface.


fakePackage fake has the automatically generated clients.

Package v2beta1 imports 7 packages (graph) and is imported by 15 packages. Updated 2019-04-18. Refresh now. Tools for package owners.