k8sresolver

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 16 Imported by: 0 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 Scheme = "k8s"

Variables

This section is empty.

Functions

func ParseTarget

func ParseTarget(target resolver.Target) (ns, svc, port string, err error)

ParseTarget parses resolver.Target in canonical format k8s:///<namespace>/<service>[:port] or k8s:///<service>.<namespace>[:port].

Types

type Builder

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

Builder implements resolver.Builder for Kubernetes EndpointSlices backed by client-go Informers.

func NewBuilder

func NewBuilder(client kubernetes.Interface) *Builder

NewBuilder creates a new gRPC resolver Builder for EndpointSlices using client-go Informers.

func (*Builder) Build

func (*Builder) Scheme

func (b *Builder) Scheme() string

Jump to

Keyboard shortcuts

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