k8sresourcewatcher

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TypeClusterGateway .
	TypeClusterGateway string = "cluster-gateway"
	// TypeClusterGatewaySecret .
	TypeClusterGatewaySecret string = "cluster-gateway-secret"
)

Variables

View Source
var (
	// MultiClusterConfigType .
	MultiClusterConfigType string
)

Functions

This section is empty.

Types

type K8sResourceWatcher

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

K8sResourceWatcher watches k8s resources.

func (*K8sResourceWatcher) Init

Init .

func (*K8sResourceWatcher) New

New .

func (*K8sResourceWatcher) Parse

func (w *K8sResourceWatcher) Parse(properties *runtime.RawExtension) (*types.Config, error)

Parse .

func (*K8sResourceWatcher) Run

Run .

func (*K8sResourceWatcher) Singleton added in v0.1.1

func (w *K8sResourceWatcher) Singleton() bool

Singleton .

func (*K8sResourceWatcher) Type

func (w *K8sResourceWatcher) Type() string

Type .

type MultiClustersGetter

type MultiClustersGetter interface {
	GetDynamicClientAndMapper(ctx context.Context, cluster string) (dynamic.Interface, meta.RESTMapper, error)
}

MultiClustersGetter .

func NewMultiClustersGetter

func NewMultiClustersGetter(typ string) (MultiClustersGetter, error)

NewMultiClustersGetter new a MultiClustersGetter

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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