prometheus-operator: github.com/coreos/prometheus-operator/pkg/client/versioned/typed/monitoring/v1 Index | Files | Directories

package v1

import "github.com/coreos/prometheus-operator/pkg/client/versioned/typed/monitoring/v1"

This package has the automatically generated typed clients.

Index

Package Files

alertmanager.go doc.go generated_expansion.go monitoring_client.go podmonitor.go probe.go prometheus.go prometheusrule.go servicemonitor.go thanosruler.go

type AlertmanagerExpansion Uses

type AlertmanagerExpansion interface{}

type AlertmanagerInterface Uses

type AlertmanagerInterface interface {
    Create(ctx context.Context, alertmanager *v1.Alertmanager, opts metav1.CreateOptions) (*v1.Alertmanager, error)
    Update(ctx context.Context, alertmanager *v1.Alertmanager, opts metav1.UpdateOptions) (*v1.Alertmanager, error)
    UpdateStatus(ctx context.Context, alertmanager *v1.Alertmanager, opts metav1.UpdateOptions) (*v1.Alertmanager, 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.Alertmanager, error)
    List(ctx context.Context, opts metav1.ListOptions) (*v1.AlertmanagerList, 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.Alertmanager, err error)
    AlertmanagerExpansion
}

AlertmanagerInterface has methods to work with Alertmanager resources.

type AlertmanagersGetter Uses

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 Uses

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

MonitoringV1Client is used to interact with features provided by the monitoring.coreos.com group.

func New Uses

func New(c rest.Interface) *MonitoringV1Client

New creates a new MonitoringV1Client for the given RESTClient.

func NewForConfig Uses

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

NewForConfig creates a new MonitoringV1Client for the given config.

func NewForConfigOrDie Uses

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 Uses

func (c *MonitoringV1Client) Alertmanagers(namespace string) AlertmanagerInterface

func (*MonitoringV1Client) PodMonitors Uses

func (c *MonitoringV1Client) PodMonitors(namespace string) PodMonitorInterface

func (*MonitoringV1Client) Probes Uses

func (c *MonitoringV1Client) Probes(namespace string) ProbeInterface

func (*MonitoringV1Client) PrometheusRules Uses

func (c *MonitoringV1Client) PrometheusRules(namespace string) PrometheusRuleInterface

func (*MonitoringV1Client) Prometheuses Uses

func (c *MonitoringV1Client) Prometheuses(namespace string) PrometheusInterface

func (*MonitoringV1Client) RESTClient Uses

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 Uses

func (c *MonitoringV1Client) ServiceMonitors(namespace string) ServiceMonitorInterface

func (*MonitoringV1Client) ThanosRulers Uses

func (c *MonitoringV1Client) ThanosRulers(namespace string) ThanosRulerInterface

type MonitoringV1Interface Uses

type MonitoringV1Interface interface {
    RESTClient() rest.Interface
    AlertmanagersGetter
    PodMonitorsGetter
    ProbesGetter
    PrometheusesGetter
    PrometheusRulesGetter
    ServiceMonitorsGetter
    ThanosRulersGetter
}

type PodMonitorExpansion Uses

type PodMonitorExpansion interface{}

type PodMonitorInterface Uses

type PodMonitorInterface interface {
    Create(ctx context.Context, podMonitor *v1.PodMonitor, opts metav1.CreateOptions) (*v1.PodMonitor, error)
    Update(ctx context.Context, podMonitor *v1.PodMonitor, opts metav1.UpdateOptions) (*v1.PodMonitor, 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.PodMonitor, error)
    List(ctx context.Context, opts metav1.ListOptions) (*v1.PodMonitorList, 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.PodMonitor, err error)
    PodMonitorExpansion
}

PodMonitorInterface has methods to work with PodMonitor resources.

type PodMonitorsGetter Uses

type PodMonitorsGetter interface {
    PodMonitors(namespace string) PodMonitorInterface
}

PodMonitorsGetter has a method to return a PodMonitorInterface. A group's client should implement this interface.

type ProbeExpansion Uses

type ProbeExpansion interface{}

type ProbeInterface Uses

type ProbeInterface interface {
    Create(ctx context.Context, probe *v1.Probe, opts metav1.CreateOptions) (*v1.Probe, error)
    Update(ctx context.Context, probe *v1.Probe, opts metav1.UpdateOptions) (*v1.Probe, 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.Probe, error)
    List(ctx context.Context, opts metav1.ListOptions) (*v1.ProbeList, 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.Probe, err error)
    ProbeExpansion
}

ProbeInterface has methods to work with Probe resources.

type ProbesGetter Uses

type ProbesGetter interface {
    Probes(namespace string) ProbeInterface
}

ProbesGetter has a method to return a ProbeInterface. A group's client should implement this interface.

type PrometheusExpansion Uses

type PrometheusExpansion interface{}

type PrometheusInterface Uses

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
    DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) 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 PrometheusRuleExpansion Uses

type PrometheusRuleExpansion interface{}

type PrometheusRuleInterface Uses

type PrometheusRuleInterface interface {
    Create(ctx context.Context, prometheusRule *v1.PrometheusRule, opts metav1.CreateOptions) (*v1.PrometheusRule, error)
    Update(ctx context.Context, prometheusRule *v1.PrometheusRule, opts metav1.UpdateOptions) (*v1.PrometheusRule, 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.PrometheusRule, error)
    List(ctx context.Context, opts metav1.ListOptions) (*v1.PrometheusRuleList, 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.PrometheusRule, err error)
    PrometheusRuleExpansion
}

PrometheusRuleInterface has methods to work with PrometheusRule resources.

type PrometheusRulesGetter Uses

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 Uses

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 Uses

type ServiceMonitorExpansion interface{}

type ServiceMonitorInterface Uses

type ServiceMonitorInterface interface {
    Create(ctx context.Context, serviceMonitor *v1.ServiceMonitor, opts metav1.CreateOptions) (*v1.ServiceMonitor, error)
    Update(ctx context.Context, serviceMonitor *v1.ServiceMonitor, opts metav1.UpdateOptions) (*v1.ServiceMonitor, 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.ServiceMonitor, error)
    List(ctx context.Context, opts metav1.ListOptions) (*v1.ServiceMonitorList, 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.ServiceMonitor, err error)
    ServiceMonitorExpansion
}

ServiceMonitorInterface has methods to work with ServiceMonitor resources.

type ServiceMonitorsGetter Uses

type ServiceMonitorsGetter interface {
    ServiceMonitors(namespace string) ServiceMonitorInterface
}

ServiceMonitorsGetter has a method to return a ServiceMonitorInterface. A group's client should implement this interface.

type ThanosRulerExpansion Uses

type ThanosRulerExpansion interface{}

type ThanosRulerInterface Uses

type ThanosRulerInterface interface {
    Create(ctx context.Context, thanosRuler *v1.ThanosRuler, opts metav1.CreateOptions) (*v1.ThanosRuler, error)
    Update(ctx context.Context, thanosRuler *v1.ThanosRuler, opts metav1.UpdateOptions) (*v1.ThanosRuler, error)
    UpdateStatus(ctx context.Context, thanosRuler *v1.ThanosRuler, opts metav1.UpdateOptions) (*v1.ThanosRuler, 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.ThanosRuler, error)
    List(ctx context.Context, opts metav1.ListOptions) (*v1.ThanosRulerList, 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.ThanosRuler, err error)
    ThanosRulerExpansion
}

ThanosRulerInterface has methods to work with ThanosRuler resources.

type ThanosRulersGetter Uses

type ThanosRulersGetter interface {
    ThanosRulers(namespace string) ThanosRulerInterface
}

ThanosRulersGetter has a method to return a ThanosRulerInterface. A group's client should implement this interface.

Directories

PathSynopsis
fakePackage fake has the automatically generated clients.

Package v1 imports 8 packages (graph) and is imported by 61 packages. Updated 2020-06-30. Refresh now. Tools for package owners.