client-go: Index | Files | Directories

package v1

import ""

This package has the automatically generated typed clients.


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

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)

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 v1 imports 7 packages (graph) and is imported by 9 packages. Updated 2018-01-05. Refresh now. Tools for package owners.