k8s

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "k8s"

Variables

This section is empty.

Functions

func NewBackend

func NewBackend(ctx context.Context, m configmap.Mapper) (place.Backend, error)

NewBackend _

Types

type Backend

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

func (*Backend) CacheKeyName

func (b *Backend) CacheKeyName(pattern string) string

func (*Backend) List

func (b *Backend) List(ctx context.Context, backendName string, pattern string) (place.Printable, error)

func (*Backend) Name

func (b *Backend) Name() string

type Options

type Options struct {
	Context   string `config:"context"`
	Namespace string `config:"namespace"`
}

Jump to

Keyboard shortcuts

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