watchers

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2016 License: Apache-2.0 Imports: 14 Imported by: 94

Documentation

Index

Constants

View Source
const AnnotationNameDnsExternal = "dns.alpha.kubernetes.io/external"

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

View Source
const AnnotationNameDnsInternal = "dns.alpha.kubernetes.io/internal"

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

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(kubeClient *client_extensions.ExtensionsClient, dns dns.Context) (*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(kubeClient *client.CoreClient, 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(kubeClient *client.CoreClient, dns dns.Context) (*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(kubeClient *client.CoreClient, dns dns.Context) (*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