Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AlertmanagerExpansion
- type AlertmanagerInterface
- type AlertmanagersGetter
- type MonitoringV1Client
- func (c *MonitoringV1Client) Alertmanagers(namespace string) AlertmanagerInterface
- func (c *MonitoringV1Client) PrometheusRules(namespace string) PrometheusRuleInterface
- func (c *MonitoringV1Client) Prometheuses(namespace string) PrometheusInterface
- func (c *MonitoringV1Client) RESTClient() rest.Interface
- func (c *MonitoringV1Client) ServiceMonitors(namespace string) ServiceMonitorInterface
- type MonitoringV1Interface
- type PrometheusExpansion
- type PrometheusInterface
- type PrometheusRuleExpansion
- type PrometheusRuleInterface
- type PrometheusRulesGetter
- type PrometheusesGetter
- type ServiceMonitorExpansion
- type ServiceMonitorInterface
- type ServiceMonitorsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertmanagerExpansion ¶
type AlertmanagerExpansion interface{}
type AlertmanagerInterface ¶
type AlertmanagerInterface interface { Create(*v1.Alertmanager) (*v1.Alertmanager, error) Update(*v1.Alertmanager) (*v1.Alertmanager, error) UpdateStatus(*v1.Alertmanager) (*v1.Alertmanager, error) Delete(name string, options *metav1.DeleteOptions) error DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error Get(name string, options metav1.GetOptions) (*v1.Alertmanager, error) List(opts metav1.ListOptions) (*v1.AlertmanagerList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Alertmanager, err error) AlertmanagerExpansion }
AlertmanagerInterface has methods to work with Alertmanager resources.
type AlertmanagersGetter ¶
type AlertmanagersGetter interface {
Alertmanagers(namespace string) AlertmanagerInterface
}
AlertmanagersGetter has a method to return a AlertmanagerInterface. A group's client should implement this interface.
type MonitoringV1Client ¶
type MonitoringV1Client struct {
// contains filtered or unexported fields
}
MonitoringV1Client is used to interact with features provided by the monitoring.coreos.com group.
func New ¶
func New(c rest.Interface) *MonitoringV1Client
New creates a new MonitoringV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*MonitoringV1Client, error)
NewForConfig creates a new MonitoringV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *MonitoringV1Client
NewForConfigOrDie creates a new MonitoringV1Client for the given config and panics if there is an error in the config.
func (*MonitoringV1Client) Alertmanagers ¶
func (c *MonitoringV1Client) Alertmanagers(namespace string) AlertmanagerInterface
func (*MonitoringV1Client) PrometheusRules ¶
func (c *MonitoringV1Client) PrometheusRules(namespace string) PrometheusRuleInterface
func (*MonitoringV1Client) Prometheuses ¶
func (c *MonitoringV1Client) Prometheuses(namespace string) PrometheusInterface
func (*MonitoringV1Client) RESTClient ¶
func (c *MonitoringV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*MonitoringV1Client) ServiceMonitors ¶
func (c *MonitoringV1Client) ServiceMonitors(namespace string) ServiceMonitorInterface
type MonitoringV1Interface ¶
type MonitoringV1Interface interface { RESTClient() rest.Interface AlertmanagersGetter PrometheusesGetter PrometheusRulesGetter ServiceMonitorsGetter }
type PrometheusExpansion ¶
type PrometheusExpansion interface{}
type PrometheusInterface ¶
type PrometheusInterface interface { Create(*v1.Prometheus) (*v1.Prometheus, error) Update(*v1.Prometheus) (*v1.Prometheus, error) UpdateStatus(*v1.Prometheus) (*v1.Prometheus, error) Delete(name string, options *metav1.DeleteOptions) error DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error Get(name string, options metav1.GetOptions) (*v1.Prometheus, error) List(opts metav1.ListOptions) (*v1.PrometheusList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Prometheus, err error) PrometheusExpansion }
PrometheusInterface has methods to work with Prometheus resources.
type PrometheusRuleExpansion ¶
type PrometheusRuleExpansion interface{}
type PrometheusRuleInterface ¶
type PrometheusRuleInterface interface { Create(*v1.PrometheusRule) (*v1.PrometheusRule, error) Update(*v1.PrometheusRule) (*v1.PrometheusRule, error) Delete(name string, options *metav1.DeleteOptions) error DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error Get(name string, options metav1.GetOptions) (*v1.PrometheusRule, error) List(opts metav1.ListOptions) (*v1.PrometheusRuleList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.PrometheusRule, err error) PrometheusRuleExpansion }
PrometheusRuleInterface has methods to work with PrometheusRule resources.
type PrometheusRulesGetter ¶
type PrometheusRulesGetter interface {
PrometheusRules(namespace string) PrometheusRuleInterface
}
PrometheusRulesGetter has a method to return a PrometheusRuleInterface. A group's client should implement this interface.
type PrometheusesGetter ¶
type PrometheusesGetter interface {
Prometheuses(namespace string) PrometheusInterface
}
PrometheusesGetter has a method to return a PrometheusInterface. A group's client should implement this interface.
type ServiceMonitorExpansion ¶
type ServiceMonitorExpansion interface{}
type ServiceMonitorInterface ¶
type ServiceMonitorInterface interface { Create(*v1.ServiceMonitor) (*v1.ServiceMonitor, error) Update(*v1.ServiceMonitor) (*v1.ServiceMonitor, error) Delete(name string, options *metav1.DeleteOptions) error DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error Get(name string, options metav1.GetOptions) (*v1.ServiceMonitor, error) List(opts metav1.ListOptions) (*v1.ServiceMonitorList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ServiceMonitor, err error) ServiceMonitorExpansion }
ServiceMonitorInterface has methods to work with ServiceMonitor resources.
type ServiceMonitorsGetter ¶
type ServiceMonitorsGetter interface {
ServiceMonitors(namespace string) ServiceMonitorInterface
}
ServiceMonitorsGetter has a method to return a ServiceMonitorInterface. A group's client should implement this interface.