k8sresolver

package
v0.1.1-rc.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ExpectedTargetFmt is an expected format of the targetEntry Name given to Resolver. This is complainant with
	// the kubeDNS/CoreDNS entry format.
	ExpectedTargetFmt = "<service>(|.<namespace>)(|.<whatever suffix>)(|:<port_name>|:<value number>)"
)

Variables

This section is empty.

Functions

func NewFromFlags

func NewFromFlags(logger logrus.FieldLogger) (name naming.Resolver, err error)

func NewWithClient

func NewWithClient(logger logrus.FieldLogger, apiClient *k8s.APIClient) naming.Resolver

NewWithClient returns a new Kubernetes resolver using given k8s.APIClient configured to be used against kube-apiserver.

Types

This section is empty.

Jump to

Keyboard shortcuts

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