pluginK8S

package
v0.0.0-...-39bbb24 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLogin = errors.New("Invalid login")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	discoverlib.ConfigBase
	Namespace      string
	MasterURL      string
	KubeConfigPath string
}

func (*Config) Load

func (c *Config) Load(u *url.URL) error

type PluginK8S

type PluginK8S struct {
	C chan []string
	// contains filtered or unexported fields
}

func New

func New(c Config) *PluginK8S

func (*PluginK8S) Exit

func (l *PluginK8S) Exit()

func (*PluginK8S) Get

func (l *PluginK8S) Get() chan []string

func (*PluginK8S) Protocol

func (l *PluginK8S) Protocol() string

func (*PluginK8S) Reload

func (l *PluginK8S) Reload(c Config) (err error)

func (*PluginK8S) Timeout

func (l *PluginK8S) Timeout() time.Duration

func (*PluginK8S) Weight

func (l *PluginK8S) Weight() int64

Jump to

Keyboard shortcuts

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