Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterOverviewExpansion
- type ClusterOverviewInterface
- type ClusterOverviewsGetter
- type ConfigMapExpansion
- type ConfigMapInterface
- type ConfigMapsGetter
- type MetricExpansion
- type MetricInterface
- type MetricsGetter
- type MonitorClient
- type MonitorInterface
- type PrometheusExpansion
- type PrometheusInterface
- type PrometheusesGetter
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 *monitor.ClusterOverview, opts v1.CreateOptions) (*monitor.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 *monitor.ConfigMap, opts v1.CreateOptions) (*monitor.ConfigMap, error) Update(ctx context.Context, configMap *monitor.ConfigMap, opts v1.UpdateOptions) (*monitor.ConfigMap, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*monitor.ConfigMap, error) List(ctx context.Context, opts v1.ListOptions) (*monitor.ConfigMapList, 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 *monitor.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 *monitor.Metric, opts v1.CreateOptions) (*monitor.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 MonitorClient ¶
type MonitorClient struct {
// contains filtered or unexported fields
}
MonitorClient is used to interact with features provided by the monitor.tkestack.io group.
func New ¶
func New(c rest.Interface) *MonitorClient
New creates a new MonitorClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*MonitorClient, error)
NewForConfig creates a new MonitorClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *MonitorClient
NewForConfigOrDie creates a new MonitorClient for the given config and panics if there is an error in the config.
func (*MonitorClient) ClusterOverviews ¶ added in v1.4.0
func (c *MonitorClient) ClusterOverviews() ClusterOverviewInterface
func (*MonitorClient) ConfigMaps ¶
func (c *MonitorClient) ConfigMaps() ConfigMapInterface
func (*MonitorClient) Metrics ¶
func (c *MonitorClient) Metrics() MetricInterface
func (*MonitorClient) Prometheuses ¶ added in v1.3.1
func (c *MonitorClient) Prometheuses() PrometheusInterface
func (*MonitorClient) RESTClient ¶
func (c *MonitorClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type MonitorInterface ¶
type MonitorInterface interface { RESTClient() rest.Interface ClusterOverviewsGetter ConfigMapsGetter MetricsGetter PrometheusesGetter }
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 *monitor.Prometheus, opts v1.CreateOptions) (*monitor.Prometheus, error) Update(ctx context.Context, prometheus *monitor.Prometheus, opts v1.UpdateOptions) (*monitor.Prometheus, error) UpdateStatus(ctx context.Context, prometheus *monitor.Prometheus, opts v1.UpdateOptions) (*monitor.Prometheus, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*monitor.Prometheus, error) List(ctx context.Context, opts v1.ListOptions) (*monitor.PrometheusList, 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 *monitor.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.