v1

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 8 Imported by: 0

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 ClusterOverviewExpansion added in v1.4.0

type ClusterOverviewExpansion interface{}

type ClusterOverviewInterface added in v1.4.0

type ClusterOverviewInterface interface {
	Create(ctx context.Context, clusterOverview *v1.ClusterOverview, opts metav1.CreateOptions) (*v1.ClusterOverview, error)
	ClusterOverviewExpansion
}

ClusterOverviewInterface has methods to work with ClusterOverview resources.

type ClusterOverviewsGetter added in v1.4.0

type ClusterOverviewsGetter interface {
	ClusterOverviews() ClusterOverviewInterface
}

ClusterOverviewsGetter has a method to return a ClusterOverviewInterface. A group's client should implement this interface.

type ConfigMapExpansion

type ConfigMapExpansion interface{}

type ConfigMapInterface

type ConfigMapInterface interface {
	Create(ctx context.Context, configMap *v1.ConfigMap, opts metav1.CreateOptions) (*v1.ConfigMap, error)
	Update(ctx context.Context, configMap *v1.ConfigMap, opts metav1.UpdateOptions) (*v1.ConfigMap, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ConfigMap, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ConfigMapList, 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.ConfigMap, err error)
	ConfigMapExpansion
}

ConfigMapInterface has methods to work with ConfigMap resources.

type ConfigMapsGetter

type ConfigMapsGetter interface {
	ConfigMaps() ConfigMapInterface
}

ConfigMapsGetter has a method to return a ConfigMapInterface. A group's client should implement this interface.

type MetricExpansion

type MetricExpansion interface{}

type MetricInterface

type MetricInterface interface {
	Create(ctx context.Context, metric *v1.Metric, opts metav1.CreateOptions) (*v1.Metric, error)
	MetricExpansion
}

MetricInterface has methods to work with Metric resources.

type MetricsGetter

type MetricsGetter interface {
	Metrics() MetricInterface
}

MetricsGetter has a method to return a MetricInterface. A group's client should implement this interface.

type MonitorV1Client

type MonitorV1Client struct {
	// contains filtered or unexported fields
}

MonitorV1Client is used to interact with features provided by the monitor.tkestack.io group.

func New

New creates a new MonitorV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*MonitorV1Client, error)

NewForConfig creates a new MonitorV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *MonitorV1Client

NewForConfigOrDie creates a new MonitorV1Client for the given config and panics if there is an error in the config.

func (*MonitorV1Client) ClusterOverviews added in v1.4.0

func (c *MonitorV1Client) ClusterOverviews() ClusterOverviewInterface

func (*MonitorV1Client) ConfigMaps

func (c *MonitorV1Client) ConfigMaps() ConfigMapInterface

func (*MonitorV1Client) Metrics

func (c *MonitorV1Client) Metrics() MetricInterface

func (*MonitorV1Client) Prometheuses added in v1.3.1

func (c *MonitorV1Client) Prometheuses() PrometheusInterface

func (*MonitorV1Client) RESTClient

func (c *MonitorV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type PrometheusExpansion added in v1.3.1

type PrometheusExpansion interface{}

type PrometheusInterface added in v1.3.1

type PrometheusInterface interface {
	Create(ctx context.Context, prometheus *v1.Prometheus, opts metav1.CreateOptions) (*v1.Prometheus, error)
	Update(ctx context.Context, prometheus *v1.Prometheus, opts metav1.UpdateOptions) (*v1.Prometheus, error)
	UpdateStatus(ctx context.Context, prometheus *v1.Prometheus, opts metav1.UpdateOptions) (*v1.Prometheus, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Prometheus, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PrometheusList, 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.Prometheus, err error)
	PrometheusExpansion
}

PrometheusInterface has methods to work with Prometheus resources.

type PrometheusesGetter added in v1.3.1

type PrometheusesGetter interface {
	Prometheuses() PrometheusInterface
}

PrometheusesGetter has a method to return a PrometheusInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL