cloudprovider

package
v0.0.0-...-52527b8 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: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPlatformName

func GetPlatformName(platformType configv1.PlatformType, recorder events.Recorder) string

GetPlatformName returns the platform name as required by flags such as `cloud-provider`. If no in-tree cloud provider exists for a platform, an empty value will be returned.

func NewCloudProviderObserver

func NewCloudProviderObserver(targetNamespaceName string, skipCloudProviderExternal bool, cloudProviderNamePath, cloudProviderConfigPath []string) configobserver.ObserveConfigFunc

NewCloudProviderObserver returns a new cloudprovider observer for syncing cloud provider specific information to controller-manager and api-server.

Types

type InfrastructureLister

type InfrastructureLister interface {
	InfrastructureLister() configlistersv1.InfrastructureLister
	ResourceSyncer() resourcesynccontroller.ResourceSyncer
	ConfigMapLister() corelisterv1.ConfigMapLister
}

InfrastructureLister lists infrastrucre information and allows resources to be synced

Jump to

Keyboard shortcuts

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