sharding

package
v0.5.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithSharding

func WithSharding(apiHandler http.Handler, loader *ClientLoader) http.Handler

Types

type ClientLoader

type ClientLoader struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewClientLoader

func NewClientLoader() *ClientLoader

func (*ClientLoader) Add

func (c *ClientLoader) Add(name string, config *rest.Config)

func (*ClientLoader) AddKubeConfigContexts

func (c *ClientLoader) AddKubeConfigContexts(path string) error

func (*ClientLoader) Clients

func (c *ClientLoader) Clients() map[string]*rest.Config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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