Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitCloudProviderFlags ¶
func InitCloudProviderFlags()
Types ¶
type CloudProvider ¶
type CloudProviderConfig ¶
type CloudProviderConfig struct { KubernetesOptions CloudProviderOptions AlibabaCloudOptions CloudProviderOptions }
type CloudProviderOptions ¶
type ConfigFile ¶
type ConfigFile struct {
Path string
}
func NewConfigFile ¶
func NewConfigFile(path string) *ConfigFile
func (*ConfigFile) Parse ¶
func (cf *ConfigFile) Parse() *CloudProviderConfig
type Plugin ¶
type Plugin interface { Name() string // Alias define the plugin with similar func cross multi cloud provider Alias() string Init(client client.Client, options CloudProviderOptions, ctx context.Context) error // Pod Event handler OnPodAdded(client client.Client, pod *corev1.Pod, ctx context.Context) (*corev1.Pod, errors.PluginError) OnPodUpdated(client client.Client, pod *corev1.Pod, ctx context.Context) (*corev1.Pod, errors.PluginError) OnPodDeleted(client client.Client, pod *corev1.Pod, ctx context.Context) errors.PluginError }
Directories ¶
Path | Synopsis |
---|---|
apis/v1beta1
Package v1beta1 Package v1 contains API Schema definitions for the alibabacloud v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=alibabacloud.com
|
Package v1beta1 Package v1 contains API Schema definitions for the alibabacloud v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=alibabacloud.com |
Click to show internal directories.
Click to hide internal directories.