Documentation ¶
Overview ¶
Package k8s containers adapters to watch k8s api servers.
Index ¶
- func WatchEndpoints(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, ...)
- func WatchIngress(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, ...)
- func WatchIngressRoutes(g *workgroup.Group, client *clientset.Clientset, log logrus.FieldLogger, ...)
- func WatchSecrets(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, ...)
- func WatchServices(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, ...)
- func WatchTLSCertificateDelegations(g *workgroup.Group, client *clientset.Clientset, log logrus.FieldLogger, ...)
- type IngressRouteStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WatchEndpoints ¶
func WatchEndpoints(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, rs ...cache.ResourceEventHandler)
WatchEndpoints creates a SharedInformer for v1.Endpoints and registers it with g.
func WatchIngress ¶
func WatchIngress(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, rs ...cache.ResourceEventHandler)
WatchIngress creates a SharedInformer for v1beta1.Ingress and registers it with g.
func WatchIngressRoutes ¶ added in v0.6.0
func WatchIngressRoutes(g *workgroup.Group, client *clientset.Clientset, log logrus.FieldLogger, rs ...cache.ResourceEventHandler)
WatchIngressRoutes creates a SharedInformer for contour.heptio.com/v1.IngressRoutes and registers it with g.
func WatchSecrets ¶ added in v0.3.0
func WatchSecrets(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, rs ...cache.ResourceEventHandler)
WatchSecrets creates a SharedInformer for v1.Secrets and registers it with g.
func WatchServices ¶
func WatchServices(g *workgroup.Group, client *kubernetes.Clientset, log logrus.FieldLogger, rs ...cache.ResourceEventHandler)
WatchServices creates a SharedInformer for v1.Services and registers it with g.
func WatchTLSCertificateDelegations ¶ added in v0.10.0
func WatchTLSCertificateDelegations(g *workgroup.Group, client *clientset.Clientset, log logrus.FieldLogger, rs ...cache.ResourceEventHandler)
WatchTLSCertificateDelegations creates a SharedInformer for contour.vmware.com/v1.TLSCertificateDelegation and registers it with g.
Types ¶
type IngressRouteStatus ¶ added in v0.6.0
IngressRouteStatus allows for updating the object's Status field
func (*IngressRouteStatus) SetStatus ¶ added in v0.6.0
func (irs *IngressRouteStatus) SetStatus(status, desc string, existing *ingressroutev1.IngressRoute) error
SetStatus sets the IngressRoute status field to an Valid or Invalid status