Documentation ¶
Index ¶
- Variables
- func GetEnv(key, fallback string) string
- func GetScale(client *kubernetes.Clientset, target model.AutoscalingDefinitionScaleTarget) (*v1beta1.Scale, error)
- func ScaleObject(client *kubernetes.Clientset, target model.AutoscalingDefinitionScaleTarget, ...) (*v1beta1.Scale, error)
- type AutoscalerDefinitionClient
- func (c *AutoscalerDefinitionClient) Get(name string, options meta_v1.GetOptions) (*model.AutoscalingDefinition, error)
- func (c *AutoscalerDefinitionClient) List(opts meta_v1.ListOptions) (*model.AutoscalingDefinitionList, error)
- func (c *AutoscalerDefinitionClient) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- func (c *AutoscalerDefinitionClient) WatchAutoscalingDefinitions() cache.Store
- type AutoscalerDefinitionInterface
- type AutoscalerDefinitionV1Interface
- type Client
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "scaling.com", Version: "v1"}
Functions ¶
func GetScale ¶
func GetScale(client *kubernetes.Clientset, target model.AutoscalingDefinitionScaleTarget) (*v1beta1.Scale, error)
func ScaleObject ¶
func ScaleObject(client *kubernetes.Clientset, target model.AutoscalingDefinitionScaleTarget, scale *v1beta1.Scale) (*v1beta1.Scale, error)
Types ¶
type AutoscalerDefinitionClient ¶
type AutoscalerDefinitionClient struct {
// contains filtered or unexported fields
}
func (*AutoscalerDefinitionClient) Get ¶
func (c *AutoscalerDefinitionClient) Get(name string, options meta_v1.GetOptions) (*model.AutoscalingDefinition, error)
func (*AutoscalerDefinitionClient) List ¶
func (c *AutoscalerDefinitionClient) List(opts meta_v1.ListOptions) (*model.AutoscalingDefinitionList, error)
func (*AutoscalerDefinitionClient) Watch ¶
func (c *AutoscalerDefinitionClient) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
func (*AutoscalerDefinitionClient) WatchAutoscalingDefinitions ¶
func (c *AutoscalerDefinitionClient) WatchAutoscalingDefinitions() cache.Store
type AutoscalerDefinitionInterface ¶
type AutoscalerDefinitionInterface interface { List(opts meta_v1.ListOptions) (*model.AutoscalingDefinitionList, error) Get(name string, options meta_v1.GetOptions) (*model.AutoscalingDefinition, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) WatchAutoscalingDefinitions() cache.Store }
type AutoscalerDefinitionV1Interface ¶
type AutoscalerDefinitionV1Interface interface {
AutoscalerDefinitions(namespace string) AutoscalerDefinitionInterface
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AutoscalerDefinitions ¶
func (c *Client) AutoscalerDefinitions(namespace string) AutoscalerDefinitionInterface
Click to show internal directories.
Click to hide internal directories.