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 ApisV1alpha1Client ¶
type ApisV1alpha1Client struct {
// contains filtered or unexported fields
}
ApisV1alpha1Client is used to interact with features provided by the apis group.
func New ¶
func New(c rest.Interface) *ApisV1alpha1Client
New creates a new ApisV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ApisV1alpha1Client, error)
NewForConfig creates a new ApisV1alpha1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new ApisV1alpha1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ApisV1alpha1Client
NewForConfigOrDie creates a new ApisV1alpha1Client for the given config and panics if there is an error in the config.
func (*ApisV1alpha1Client) CustomMetrics ¶
func (c *ApisV1alpha1Client) CustomMetrics() CustomMetricInterface
func (*ApisV1alpha1Client) ExternalMetrics ¶
func (c *ApisV1alpha1Client) ExternalMetrics(namespace string) ExternalMetricInterface
func (*ApisV1alpha1Client) RESTClient ¶
func (c *ApisV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ApisV1alpha1Interface ¶
type ApisV1alpha1Interface interface { RESTClient() rest.Interface CustomMetricsGetter ExternalMetricsGetter }
type CustomMetricExpansion ¶
type CustomMetricExpansion interface{}
type CustomMetricInterface ¶
type CustomMetricInterface interface { Create(ctx context.Context, customMetric *v1alpha1.CustomMetric, opts v1.CreateOptions) (*v1alpha1.CustomMetric, error) Update(ctx context.Context, customMetric *v1alpha1.CustomMetric, opts v1.UpdateOptions) (*v1alpha1.CustomMetric, error) UpdateStatus(ctx context.Context, customMetric *v1alpha1.CustomMetric, opts v1.UpdateOptions) (*v1alpha1.CustomMetric, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.CustomMetric, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.CustomMetricList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CustomMetric, err error) CustomMetricExpansion }
CustomMetricInterface has methods to work with CustomMetric resources.
type CustomMetricsGetter ¶
type CustomMetricsGetter interface {
CustomMetrics() CustomMetricInterface
}
CustomMetricsGetter has a method to return a CustomMetricInterface. A group's client should implement this interface.
type ExternalMetricExpansion ¶
type ExternalMetricExpansion interface{}
type ExternalMetricInterface ¶
type ExternalMetricInterface interface { Create(ctx context.Context, externalMetric *v1alpha1.ExternalMetric, opts v1.CreateOptions) (*v1alpha1.ExternalMetric, error) Update(ctx context.Context, externalMetric *v1alpha1.ExternalMetric, opts v1.UpdateOptions) (*v1alpha1.ExternalMetric, error) UpdateStatus(ctx context.Context, externalMetric *v1alpha1.ExternalMetric, opts v1.UpdateOptions) (*v1alpha1.ExternalMetric, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.ExternalMetric, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ExternalMetricList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ExternalMetric, err error) ExternalMetricExpansion }
ExternalMetricInterface has methods to work with ExternalMetric resources.
type ExternalMetricsGetter ¶
type ExternalMetricsGetter interface {
ExternalMetrics(namespace string) ExternalMetricInterface
}
ExternalMetricsGetter has a method to return a ExternalMetricInterface. A group's client should implement this interface.