Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiClusterDiscovery ¶
MultiClusterDiscovery provides DiscoveryClient for multiple clusters.
func (*MultiClusterDiscovery) Get ¶
func (m *MultiClusterDiscovery) Get(clusterName string) *discovery.DiscoveryClient
Get returns a DiscoveryClient for the provided clusterName.
func (*MultiClusterDiscovery) Remove ¶
func (m *MultiClusterDiscovery) Remove(clusterName string)
Remove a DiscoveryClient for the provided clusterName.
func (*MultiClusterDiscovery) Set ¶
func (m *MultiClusterDiscovery) Set(clusterName string) error
Set a DiscoveryClient for the provided clusterName.
type MultiClusterDiscoveryInterface ¶
type MultiClusterDiscoveryInterface interface { Get(clusterName string) *discovery.DiscoveryClient Set(clusterName string) error Remove(clusterName string) }
MultiClusterDiscoveryInterface provides DiscoveryClient for multiple clusters.
func NewMultiClusterDiscoveryClient ¶
func NewMultiClusterDiscoveryClient(clusterLister clusterlister.ClusterLister, KubeFactory informers.SharedInformerFactory) MultiClusterDiscoveryInterface
NewMultiClusterDiscoveryClient returns a new MultiClusterDiscovery
Click to show internal directories.
Click to hide internal directories.