k8s

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Scheme      = "kubernetes"
	ServiceName = "api.kubernetes.grpc.io"
	PortName    = "apigrpc"
)

Variables

This section is empty.

Functions

func GetLabelSelector

func GetLabelSelector(in map[string]string) string

GetLabelSelector returns the LabelSelector of the metav1.ListOptions

func NewBuilder

func NewBuilder(ctx context.Context, opt *BuilderOption) *dynamicResolverBuilder

Types

type BuilderOption

type BuilderOption struct {
	ClientSet kubernetes.Interface
	Namespace string
	Labels    map[string]string
}

func (*BuilderOption) Validate

func (b *BuilderOption) Validate() error

Jump to

Keyboard shortcuts

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