ext

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterConnectionCredentialGetter

func RegisterConnectionCredentialGetter(name string, getter ConnectionCredentialGetter)

func RegisterConnectionValidator

func RegisterConnectionValidator(name string, validator ConnectionValidator)

func RegisterServerLister

func RegisterServerLister(name string, lister ServerLister)

Types

type ConnectionCredentialGetter

type ConnectionCredentialGetter func(cluster string) string

ConnectionCredentialGetter

func GetConnectionCredentialGetter

func GetConnectionCredentialGetter(name string) ConnectionCredentialGetter

type ConnectionValidator

type ConnectionValidator interface {
	Validate(credential string, host string, cluster string) bool
}

ConnectionValidator

func GetConnectionValidator

func GetConnectionValidator(name string) ConnectionValidator

type ServerLister

type ServerLister interface {
	List(string) chan []string
}

func GetServerLister

func GetServerLister(name string) ServerLister

Jump to

Keyboard shortcuts

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