client-go: k8s.io/client-go/kubernetes/typed/autoscaling/v1 Index | Files | Directories

package v1

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

This package has the automatically generated typed clients.

Index

Package Files

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

type AutoscalingV1Client Uses

type AutoscalingV1Client struct {
    // contains filtered or unexported fields
}

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

func New Uses

func New(c rest.Interface) *AutoscalingV1Client

New creates a new AutoscalingV1Client for the given RESTClient.

func NewForConfig Uses

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

NewForConfig creates a new AutoscalingV1Client for the given config.

func NewForConfigOrDie Uses

func NewForConfigOrDie(c *rest.Config) *AutoscalingV1Client

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

func (*AutoscalingV1Client) HorizontalPodAutoscalers Uses

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

func (*AutoscalingV1Client) RESTClient Uses

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

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

type AutoscalingV1Interface Uses

type AutoscalingV1Interface interface {
    RESTClient() rest.Interface
    HorizontalPodAutoscalersGetter
}

type HorizontalPodAutoscalerExpansion Uses

type HorizontalPodAutoscalerExpansion interface{}

type HorizontalPodAutoscalerInterface Uses

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

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.

Directories

PathSynopsis
fakePackage fake has the automatically generated clients.

Package v1 imports 7 packages (graph) and is imported by 9 packages. Updated 2018-01-05. Refresh now. Tools for package owners.