k8s

package module
v2.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSource

func NewSource(opts ...Option) config.Source

NewSource new a kubernetes config source.

Types

type Option

type Option func(*options)

Option is kubernetes option.

func FieldSelector

func FieldSelector(field string) Option

FieldSelector with kubernetes field selector.

func KubeConfig

func KubeConfig(config string) Option

KubeConfig with kubernetes config.

func LabelSelector

func LabelSelector(label string) Option

LabelSelector with kubernetes label selector.

func Master

func Master(master string) Option

Master with kubernetes master.

func Namespace

func Namespace(ns string) Option

Namespace with kubernetes namespace.

Jump to

Keyboard shortcuts

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