thirdpartyclient

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Scheme         = runtime.NewScheme()
	ParameterCodec = runtime.NewParameterCodec(Scheme)
	Codecs         = serializer.NewCodecFactory(Scheme)
	AddToScheme    = localSchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Backend

type Backend interface {
	Get(ctx context.Context, resourceName, kindName, namespace, name string, opts metav1.GetOptions, result runtime.Object) (runtime.Object, error)
	List(ctx context.Context, resourceName, kindName, namespace string, opts metav1.ListOptions, result runtime.Object) (runtime.Object, error)
	Create(ctx context.Context, resourceName, kindName string, obj runtime.Object, opts metav1.CreateOptions, result runtime.Object) (runtime.Object, error)
	Update(ctx context.Context, resourceName, kindName string, obj runtime.Object, opts metav1.UpdateOptions, result runtime.Object) (runtime.Object, error)
	UpdateStatus(ctx context.Context, resourceName, kindName string, obj runtime.Object, opts metav1.UpdateOptions, result runtime.Object) (runtime.Object, error)
	Delete(ctx context.Context, gvr schema.GroupVersionResource, namespace, name string, opts metav1.DeleteOptions) error
	Watch(ctx context.Context, gvr schema.GroupVersionResource, namespace string, opts metav1.ListOptions) (watch.Interface, error)
	GetClusterScoped(ctx context.Context, resourceName, kindName, name string, opts metav1.GetOptions, result runtime.Object) (runtime.Object, error)
	ListClusterScoped(ctx context.Context, resourceName, kindName string, opts metav1.ListOptions, result runtime.Object) (runtime.Object, error)
	CreateClusterScoped(ctx context.Context, resourceName, kindName string, obj runtime.Object, opts metav1.CreateOptions, result runtime.Object) (runtime.Object, error)
	UpdateClusterScoped(ctx context.Context, resourceName, kindName string, obj runtime.Object, opts metav1.UpdateOptions, result runtime.Object) (runtime.Object, error)
	UpdateStatusClusterScoped(ctx context.Context, resourceName, kindName string, obj runtime.Object, opts metav1.UpdateOptions, result runtime.Object) (runtime.Object, error)
	DeleteClusterScoped(ctx context.Context, gvr schema.GroupVersionResource, name string, opts metav1.DeleteOptions) error
	WatchClusterScoped(ctx context.Context, gvr schema.GroupVersionResource, opts metav1.ListOptions) (watch.Interface, error)
}

type CertManagerIoV1

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

func NewCertManagerIoV1Client

func NewCertManagerIoV1Client(b Backend) *CertManagerIoV1

func (*CertManagerIoV1) CreateCertificate

func (*CertManagerIoV1) CreateClusterIssuer

func (*CertManagerIoV1) CreateIssuer

func (*CertManagerIoV1) DeleteCertificate

func (c *CertManagerIoV1) DeleteCertificate(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*CertManagerIoV1) DeleteCertificateRequest

func (c *CertManagerIoV1) DeleteCertificateRequest(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*CertManagerIoV1) DeleteClusterIssuer

func (c *CertManagerIoV1) DeleteClusterIssuer(ctx context.Context, name string, opts metav1.DeleteOptions) error

func (*CertManagerIoV1) DeleteIssuer

func (c *CertManagerIoV1) DeleteIssuer(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*CertManagerIoV1) GetCertificate

func (c *CertManagerIoV1) GetCertificate(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*certmanagerv1.Certificate, error)

func (*CertManagerIoV1) GetCertificateRequest

func (c *CertManagerIoV1) GetCertificateRequest(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*certmanagerv1.CertificateRequest, error)

func (*CertManagerIoV1) GetClusterIssuer

func (c *CertManagerIoV1) GetClusterIssuer(ctx context.Context, name string, opts metav1.GetOptions) (*certmanagerv1.ClusterIssuer, error)

func (*CertManagerIoV1) GetIssuer

func (c *CertManagerIoV1) GetIssuer(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*certmanagerv1.Issuer, error)

func (*CertManagerIoV1) ListCertificate

func (c *CertManagerIoV1) ListCertificate(ctx context.Context, namespace string, opts metav1.ListOptions) (*certmanagerv1.CertificateList, error)

func (*CertManagerIoV1) ListCertificateRequest

func (c *CertManagerIoV1) ListCertificateRequest(ctx context.Context, namespace string, opts metav1.ListOptions) (*certmanagerv1.CertificateRequestList, error)

func (*CertManagerIoV1) ListClusterIssuer

func (*CertManagerIoV1) ListIssuer

func (c *CertManagerIoV1) ListIssuer(ctx context.Context, namespace string, opts metav1.ListOptions) (*certmanagerv1.IssuerList, error)

func (*CertManagerIoV1) UpdateCertificate

func (*CertManagerIoV1) UpdateClusterIssuer

func (*CertManagerIoV1) UpdateIssuer

func (*CertManagerIoV1) WatchCertificate

func (c *CertManagerIoV1) WatchCertificate(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

func (*CertManagerIoV1) WatchCertificateRequest

func (c *CertManagerIoV1) WatchCertificateRequest(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

func (*CertManagerIoV1) WatchClusterIssuer

func (c *CertManagerIoV1) WatchClusterIssuer(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)

func (*CertManagerIoV1) WatchIssuer

func (c *CertManagerIoV1) WatchIssuer(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

type CertManagerIoV1CertificateLister

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

func NewCertManagerIoV1CertificateLister

func NewCertManagerIoV1CertificateLister(indexer cache.Indexer) *CertManagerIoV1CertificateLister

func (*CertManagerIoV1CertificateLister) Get

func (*CertManagerIoV1CertificateLister) List

type CertManagerIoV1CertificateRequestLister

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

func NewCertManagerIoV1CertificateRequestLister

func NewCertManagerIoV1CertificateRequestLister(indexer cache.Indexer) *CertManagerIoV1CertificateRequestLister

func (*CertManagerIoV1CertificateRequestLister) Get

func (*CertManagerIoV1CertificateRequestLister) List

type CertManagerIoV1ClusterIssuerLister

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

func NewCertManagerIoV1ClusterIssuerLister

func NewCertManagerIoV1ClusterIssuerLister(indexer cache.Indexer) *CertManagerIoV1ClusterIssuerLister

func (*CertManagerIoV1ClusterIssuerLister) Get

func (*CertManagerIoV1ClusterIssuerLister) List

type CertManagerIoV1Informer

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

func NewCertManagerIoV1Informer

func NewCertManagerIoV1Informer(c *InformerCache, client *CertManagerIoV1, namespace string, resyncPeriod time.Duration) *CertManagerIoV1Informer

func (*CertManagerIoV1Informer) CertificateInformer

func (f *CertManagerIoV1Informer) CertificateInformer() cache.SharedIndexInformer

func (*CertManagerIoV1Informer) CertificateLister

func (*CertManagerIoV1Informer) CertificateRequestInformer

func (f *CertManagerIoV1Informer) CertificateRequestInformer() cache.SharedIndexInformer

func (*CertManagerIoV1Informer) CertificateRequestLister

func (*CertManagerIoV1Informer) ClusterIssuerInformer

func (f *CertManagerIoV1Informer) ClusterIssuerInformer() cache.SharedIndexInformer

func (*CertManagerIoV1Informer) ClusterIssuerLister

func (*CertManagerIoV1Informer) IssuerInformer

func (*CertManagerIoV1Informer) IssuerLister

type CertManagerIoV1IssuerLister

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

func NewCertManagerIoV1IssuerLister

func NewCertManagerIoV1IssuerLister(indexer cache.Indexer) *CertManagerIoV1IssuerLister

func (*CertManagerIoV1IssuerLister) Get

func (x *CertManagerIoV1IssuerLister) Get(namespace, name string) (*certmanagerv1.Issuer, error)

func (*CertManagerIoV1IssuerLister) List

func (x *CertManagerIoV1IssuerLister) List(namespace string, selector labels.Selector) ([]*certmanagerv1.Issuer, error)

type CoreosComV1

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

func NewCoreosComV1Client

func NewCoreosComV1Client(b Backend) *CoreosComV1

func (*CoreosComV1) CreateAlertmanager

func (*CoreosComV1) CreatePodMonitor

func (*CoreosComV1) CreateProbe

func (*CoreosComV1) CreatePrometheus

func (*CoreosComV1) CreatePrometheusRule

func (*CoreosComV1) CreateServiceMonitor

func (*CoreosComV1) CreateThanosRuler

func (*CoreosComV1) DeleteAlertmanager

func (c *CoreosComV1) DeleteAlertmanager(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*CoreosComV1) DeletePodMonitor

func (c *CoreosComV1) DeletePodMonitor(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*CoreosComV1) DeleteProbe

func (c *CoreosComV1) DeleteProbe(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*CoreosComV1) DeletePrometheus

func (c *CoreosComV1) DeletePrometheus(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*CoreosComV1) DeletePrometheusRule

func (c *CoreosComV1) DeletePrometheusRule(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*CoreosComV1) DeleteServiceMonitor

func (c *CoreosComV1) DeleteServiceMonitor(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*CoreosComV1) DeleteThanosRuler

func (c *CoreosComV1) DeleteThanosRuler(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error

func (*CoreosComV1) GetAlertmanager

func (c *CoreosComV1) GetAlertmanager(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*monitoringv1.Alertmanager, error)

func (*CoreosComV1) GetPodMonitor

func (c *CoreosComV1) GetPodMonitor(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*monitoringv1.PodMonitor, error)

func (*CoreosComV1) GetProbe

func (c *CoreosComV1) GetProbe(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*monitoringv1.Probe, error)

func (*CoreosComV1) GetPrometheus

func (c *CoreosComV1) GetPrometheus(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*monitoringv1.Prometheus, error)

func (*CoreosComV1) GetPrometheusRule

func (c *CoreosComV1) GetPrometheusRule(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*monitoringv1.PrometheusRule, error)

func (*CoreosComV1) GetServiceMonitor

func (c *CoreosComV1) GetServiceMonitor(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*monitoringv1.ServiceMonitor, error)

func (*CoreosComV1) GetThanosRuler

func (c *CoreosComV1) GetThanosRuler(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*monitoringv1.ThanosRuler, error)

func (*CoreosComV1) ListAlertmanager

func (c *CoreosComV1) ListAlertmanager(ctx context.Context, namespace string, opts metav1.ListOptions) (*monitoringv1.AlertmanagerList, error)

func (*CoreosComV1) ListPodMonitor

func (c *CoreosComV1) ListPodMonitor(ctx context.Context, namespace string, opts metav1.ListOptions) (*monitoringv1.PodMonitorList, error)

func (*CoreosComV1) ListProbe

func (c *CoreosComV1) ListProbe(ctx context.Context, namespace string, opts metav1.ListOptions) (*monitoringv1.ProbeList, error)

func (*CoreosComV1) ListPrometheus

func (c *CoreosComV1) ListPrometheus(ctx context.Context, namespace string, opts metav1.ListOptions) (*monitoringv1.PrometheusList, error)

func (*CoreosComV1) ListPrometheusRule

func (c *CoreosComV1) ListPrometheusRule(ctx context.Context, namespace string, opts metav1.ListOptions) (*monitoringv1.PrometheusRuleList, error)

func (*CoreosComV1) ListServiceMonitor

func (c *CoreosComV1) ListServiceMonitor(ctx context.Context, namespace string, opts metav1.ListOptions) (*monitoringv1.ServiceMonitorList, error)

func (*CoreosComV1) ListThanosRuler

func (c *CoreosComV1) ListThanosRuler(ctx context.Context, namespace string, opts metav1.ListOptions) (*monitoringv1.ThanosRulerList, error)

func (*CoreosComV1) UpdateAlertmanager

func (*CoreosComV1) UpdatePodMonitor

func (*CoreosComV1) UpdateProbe

func (*CoreosComV1) UpdatePrometheus

func (*CoreosComV1) UpdatePrometheusRule

func (*CoreosComV1) UpdateServiceMonitor

func (*CoreosComV1) UpdateThanosRuler

func (*CoreosComV1) WatchAlertmanager

func (c *CoreosComV1) WatchAlertmanager(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

func (*CoreosComV1) WatchPodMonitor

func (c *CoreosComV1) WatchPodMonitor(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

func (*CoreosComV1) WatchProbe

func (c *CoreosComV1) WatchProbe(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

func (*CoreosComV1) WatchPrometheus

func (c *CoreosComV1) WatchPrometheus(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

func (*CoreosComV1) WatchPrometheusRule

func (c *CoreosComV1) WatchPrometheusRule(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

func (*CoreosComV1) WatchServiceMonitor

func (c *CoreosComV1) WatchServiceMonitor(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

func (*CoreosComV1) WatchThanosRuler

func (c *CoreosComV1) WatchThanosRuler(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)

type CoreosComV1AlertmanagerLister

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

func NewCoreosComV1AlertmanagerLister

func NewCoreosComV1AlertmanagerLister(indexer cache.Indexer) *CoreosComV1AlertmanagerLister

func (*CoreosComV1AlertmanagerLister) Get

func (*CoreosComV1AlertmanagerLister) List

type CoreosComV1Informer

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

func NewCoreosComV1Informer

func NewCoreosComV1Informer(c *InformerCache, client *CoreosComV1, namespace string, resyncPeriod time.Duration) *CoreosComV1Informer

func (*CoreosComV1Informer) AlertmanagerInformer

func (f *CoreosComV1Informer) AlertmanagerInformer() cache.SharedIndexInformer

func (*CoreosComV1Informer) AlertmanagerLister

func (f *CoreosComV1Informer) AlertmanagerLister() *CoreosComV1AlertmanagerLister

func (*CoreosComV1Informer) PodMonitorInformer

func (f *CoreosComV1Informer) PodMonitorInformer() cache.SharedIndexInformer

func (*CoreosComV1Informer) PodMonitorLister

func (f *CoreosComV1Informer) PodMonitorLister() *CoreosComV1PodMonitorLister

func (*CoreosComV1Informer) ProbeInformer

func (f *CoreosComV1Informer) ProbeInformer() cache.SharedIndexInformer

func (*CoreosComV1Informer) ProbeLister

func (f *CoreosComV1Informer) ProbeLister() *CoreosComV1ProbeLister

func (*CoreosComV1Informer) PrometheusInformer

func (f *CoreosComV1Informer) PrometheusInformer() cache.SharedIndexInformer

func (*CoreosComV1Informer) PrometheusLister

func (f *CoreosComV1Informer) PrometheusLister() *CoreosComV1PrometheusLister

func (*CoreosComV1Informer) PrometheusRuleInformer

func (f *CoreosComV1Informer) PrometheusRuleInformer() cache.SharedIndexInformer

func (*CoreosComV1Informer) PrometheusRuleLister

func (f *CoreosComV1Informer) PrometheusRuleLister() *CoreosComV1PrometheusRuleLister

func (*CoreosComV1Informer) ServiceMonitorInformer

func (f *CoreosComV1Informer) ServiceMonitorInformer() cache.SharedIndexInformer

func (*CoreosComV1Informer) ServiceMonitorLister

func (f *CoreosComV1Informer) ServiceMonitorLister() *CoreosComV1ServiceMonitorLister

func (*CoreosComV1Informer) ThanosRulerInformer

func (f *CoreosComV1Informer) ThanosRulerInformer() cache.SharedIndexInformer

func (*CoreosComV1Informer) ThanosRulerLister

func (f *CoreosComV1Informer) ThanosRulerLister() *CoreosComV1ThanosRulerLister

type CoreosComV1PodMonitorLister

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

func NewCoreosComV1PodMonitorLister

func NewCoreosComV1PodMonitorLister(indexer cache.Indexer) *CoreosComV1PodMonitorLister

func (*CoreosComV1PodMonitorLister) Get

func (x *CoreosComV1PodMonitorLister) Get(namespace, name string) (*monitoringv1.PodMonitor, error)

func (*CoreosComV1PodMonitorLister) List

func (x *CoreosComV1PodMonitorLister) List(namespace string, selector labels.Selector) ([]*monitoringv1.PodMonitor, error)

type CoreosComV1ProbeLister

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

func NewCoreosComV1ProbeLister

func NewCoreosComV1ProbeLister(indexer cache.Indexer) *CoreosComV1ProbeLister

func (*CoreosComV1ProbeLister) Get

func (x *CoreosComV1ProbeLister) Get(namespace, name string) (*monitoringv1.Probe, error)

func (*CoreosComV1ProbeLister) List

func (x *CoreosComV1ProbeLister) List(namespace string, selector labels.Selector) ([]*monitoringv1.Probe, error)

type CoreosComV1PrometheusLister

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

func NewCoreosComV1PrometheusLister

func NewCoreosComV1PrometheusLister(indexer cache.Indexer) *CoreosComV1PrometheusLister

func (*CoreosComV1PrometheusLister) Get

func (x *CoreosComV1PrometheusLister) Get(namespace, name string) (*monitoringv1.Prometheus, error)

func (*CoreosComV1PrometheusLister) List

func (x *CoreosComV1PrometheusLister) List(namespace string, selector labels.Selector) ([]*monitoringv1.Prometheus, error)

type CoreosComV1PrometheusRuleLister

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

func NewCoreosComV1PrometheusRuleLister

func NewCoreosComV1PrometheusRuleLister(indexer cache.Indexer) *CoreosComV1PrometheusRuleLister

func (*CoreosComV1PrometheusRuleLister) Get

func (*CoreosComV1PrometheusRuleLister) List

type CoreosComV1ServiceMonitorLister

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

func NewCoreosComV1ServiceMonitorLister

func NewCoreosComV1ServiceMonitorLister(indexer cache.Indexer) *CoreosComV1ServiceMonitorLister

func (*CoreosComV1ServiceMonitorLister) Get

func (*CoreosComV1ServiceMonitorLister) List

type CoreosComV1ThanosRulerLister

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

func NewCoreosComV1ThanosRulerLister

func NewCoreosComV1ThanosRulerLister(indexer cache.Indexer) *CoreosComV1ThanosRulerLister

func (*CoreosComV1ThanosRulerLister) Get

func (*CoreosComV1ThanosRulerLister) List

type InformerCache

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

func NewInformerCache

func NewInformerCache() *InformerCache

func (*InformerCache) Informers

func (c *InformerCache) Informers() []cache.SharedIndexInformer

func (*InformerCache) Write

type InformerFactory

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

func NewInformerFactory

func NewInformerFactory(s *Set, c *InformerCache, namespace string, resyncPeriod time.Duration) *InformerFactory

func (*InformerFactory) Cache

func (f *InformerFactory) Cache() *InformerCache

func (*InformerFactory) InformerFor

func (*InformerFactory) InformerForResource

func (*InformerFactory) Run

func (f *InformerFactory) Run(ctx context.Context)

type Set

type Set struct {
	CertManagerIoV1 *CertManagerIoV1
	CoreosComV1     *CoreosComV1
}

func NewSet

func NewSet(cfg *rest.Config) (*Set, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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