dnsrecord

package
v2.0.0-alpha15+incompa... Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DNSAnnotation       = "field.cattle.io/targetDNSRecordIds"
	ProjectIDAnnotation = "field.cattle.io/projectId"
)

Variables

This section is empty.

Functions

func GetProjectNamespaces

func GetProjectNamespaces(lister v1.NamespaceLister, obj *corev1.Service) (map[string]bool, error)

func Register

func Register(ctx context.Context, workload *config.WorkloadContext)

Types

type Controller

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

Controller is responsible for monitoring DNSRecord services and populating the endpoint based on target service endpoints. The controller DOES NOT monitor the changes to the target endpoints; that would be handled in the by EndpointController

type EndpointController

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

EndpointController is responsible for monitoring endpoints finding out if they are the part of DNSRecord service and calling the update on the target service

Jump to

Keyboard shortcuts

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