Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoscalingClient ¶
type AutoscalingClient struct {
// contains filtered or unexported fields
}
AutoscalingClient is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group.
func New ¶
func New(c restclient.Interface) *AutoscalingClient
New creates a new AutoscalingClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *restclient.Config) (*AutoscalingClient, error)
NewForConfig creates a new AutoscalingClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *restclient.Config) *AutoscalingClient
NewForConfigOrDie creates a new AutoscalingClient for the given config and panics if there is an error in the config.
func (*AutoscalingClient) HorizontalPodAutoscalers ¶
func (c *AutoscalingClient) HorizontalPodAutoscalers(namespace string) HorizontalPodAutoscalerInterface
func (*AutoscalingClient) RESTClient ¶
func (c *AutoscalingClient) RESTClient() restclient.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type AutoscalingInterface ¶
type AutoscalingInterface interface { RESTClient() restclient.Interface HorizontalPodAutoscalersGetter }
type HorizontalPodAutoscalerExpansion ¶
type HorizontalPodAutoscalerExpansion interface{}
type HorizontalPodAutoscalerInterface ¶
type HorizontalPodAutoscalerInterface interface { Create(*autoscaling.HorizontalPodAutoscaler) (*autoscaling.HorizontalPodAutoscaler, error) Update(*autoscaling.HorizontalPodAutoscaler) (*autoscaling.HorizontalPodAutoscaler, error) UpdateStatus(*autoscaling.HorizontalPodAutoscaler) (*autoscaling.HorizontalPodAutoscaler, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*autoscaling.HorizontalPodAutoscaler, error) List(opts api.ListOptions) (*autoscaling.HorizontalPodAutoscalerList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *autoscaling.HorizontalPodAutoscaler, err error) HorizontalPodAutoscalerExpansion }
HorizontalPodAutoscalerInterface has methods to work with HorizontalPodAutoscaler resources.
type HorizontalPodAutoscalersGetter ¶
type HorizontalPodAutoscalersGetter interface {
HorizontalPodAutoscalers(namespace string) HorizontalPodAutoscalerInterface
}
HorizontalPodAutoscalersGetter has a method to return a HorizontalPodAutoscalerInterface. A group's client should implement this interface.