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 AutoScalerExpansion ¶
type AutoScalerExpansion interface{}
type AutoScalerInterface ¶
type AutoScalerInterface interface { Create(ctx context.Context, autoScaler *v1.AutoScaler, opts metav1.CreateOptions) (*v1.AutoScaler, error) Update(ctx context.Context, autoScaler *v1.AutoScaler, opts metav1.UpdateOptions) (*v1.AutoScaler, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.AutoScaler, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.AutoScalerList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.AutoScaler, err error) AutoScalerExpansion }
AutoScalerInterface has methods to work with AutoScaler resources.
type AutoScalersGetter ¶
type AutoScalersGetter interface {
AutoScalers(namespace string) AutoScalerInterface
}
AutoScalersGetter has a method to return a AutoScalerInterface. A group's client should implement this interface.
type ScalerV1Client ¶
type ScalerV1Client struct {
// contains filtered or unexported fields
}
ScalerV1Client is used to interact with features provided by the scaler.k8s.do group.
func New ¶
func New(c rest.Interface) *ScalerV1Client
New creates a new ScalerV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ScalerV1Client, error)
NewForConfig creates a new ScalerV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ScalerV1Client
NewForConfigOrDie creates a new ScalerV1Client for the given config and panics if there is an error in the config.
func (*ScalerV1Client) AutoScalers ¶
func (c *ScalerV1Client) AutoScalers(namespace string) AutoScalerInterface
func (*ScalerV1Client) RESTClient ¶
func (c *ScalerV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ScalerV1Interface ¶
type ScalerV1Interface interface { RESTClient() rest.Interface AutoScalersGetter }