manager

package
v0.0.0-...-f33f640 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LazyXdsManager

type LazyXdsManager interface {
	AddCluster(name string, client *kubernetes.Clientset) error
	DeleteCluster(name string) error
	Run() error
}

LazyXdsManager defines the high-level interface of multiCluster management.

type Manager

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

Manager contains the main lazy xds controller

func NewManager

func NewManager(conf *config.Config, stop <-chan struct{}) (*Manager, error)

NewManager ...

func (*Manager) AddCluster

func (m *Manager) AddCluster(name string, client *kubernetes.Clientset) error

AddCluster add new cluster to the mesh

func (*Manager) DeleteCluster

func (m *Manager) DeleteCluster(name string) error

DeleteCluster remove cluster from the mesh todo need implement

func (*Manager) Run

func (m *Manager) Run() error

Run ...

Jump to

Keyboard shortcuts

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