manager

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProviderManager

type ProviderManager struct {
	CloudProviders map[string]cloudprovider.CloudProvider
	CPOptions      map[string]cloudprovider.CloudProviderOptions
}

func NewProviderManager

func NewProviderManager() (*ProviderManager, error)

NewProviderManager return a new cloud provider manager instance

func (*ProviderManager) FindAvailablePlugins

func (pm *ProviderManager) FindAvailablePlugins(pod *corev1.Pod) (cloudprovider.Plugin, bool)

func (*ProviderManager) FindConfigs

func (pm *ProviderManager) FindConfigs(cpName string) cloudprovider.CloudProviderOptions

func (*ProviderManager) Init

func (pm *ProviderManager) Init(client client.Client)

func (*ProviderManager) RegisterCloudProvider

func (pm *ProviderManager) RegisterCloudProvider(provider cloudprovider.CloudProvider, options cloudprovider.CloudProviderOptions)

Jump to

Keyboard shortcuts

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