watchers

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// AnnotationNameDNSExternal is used to set up a DNS name for accessing the resource from outside the cluster
	// For a service of Type=LoadBalancer, it would map to the external LB hostname or IP
	AnnotationNameDNSExternal = "dns.alpha.kubernetes.io/external"

	// AnnotationNameDNSInternal is used to set up a DNS name for accessing the resource from inside the cluster
	// This is only supported on Pods currently, and maps to the Internal address
	AnnotationNameDNSInternal = "dns.alpha.kubernetes.io/internal"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IngressController

type IngressController struct {
	util.Stoppable
	// contains filtered or unexported fields
}

IngressController watches for Ingress objects with dns labels

func NewIngressController

func NewIngressController(client kubernetes.Interface, dns dns.Context, namespace string) (*IngressController, error)

NewIngressController creates a IngressController

func (*IngressController) Run

func (c *IngressController) Run()

Run starts the IngressController.

type NodeController

type NodeController struct {
	util.Stoppable
	// contains filtered or unexported fields
}

NodeController watches for nodes

func NewNodeController

func NewNodeController(client kubernetes.Interface, dns dns.Context) (*NodeController, error)

NewNodeController creates a NodeController

func (*NodeController) Run

func (c *NodeController) Run()

Run starts the NodeController.

type PodController

type PodController struct {
	util.Stoppable
	// contains filtered or unexported fields
}

PodController watches for Pods with dns annotations

func NewPodController

func NewPodController(client kubernetes.Interface, dns dns.Context, namespace string) (*PodController, error)

NewPodController creates a podController

func (*PodController) Run

func (c *PodController) Run()

Run starts the PodController.

type ServiceController

type ServiceController struct {
	util.Stoppable
	// contains filtered or unexported fields
}

ServiceController watches for services with dns annotations

func NewServiceController

func NewServiceController(client kubernetes.Interface, dns dns.Context, namespace string) (*ServiceController, error)

NewServiceController creates a ServiceController

func (*ServiceController) Run

func (c *ServiceController) Run()

Run starts the ServiceController.

Jump to

Keyboard shortcuts

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