k8sresolver

package
v1.0.0-beta.8-test.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 16 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 NewFromConfig

func NewFromConfig(conf *pb.K8SResolver) (target string, name naming.Resolver, err error)

func NewWithClient

func NewWithClient(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