tencentcloud

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClbNetwork              = "TencentCloud-CLB"
	AliasCLB                = "CLB-Network"
	ClbIdsConfigName        = "ClbIds"
	PortProtocolsConfigName = "PortProtocols"
	MinPortConfigName       = "MinPort"
	MaxPortConfigName       = "MaxPort"
	OwnerPodKey             = "game.kruise.io/owner-pod"
	TargetPortKey           = "game.kruise.io/target-port"
)
View Source
const (
	TencentCloud = "TencentCloud"
)

Variables

This section is empty.

Functions

func NewTencentCloudProvider

func NewTencentCloudProvider() (cloudprovider.CloudProvider, error)

Types

type ClbPlugin

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

func (*ClbPlugin) Alias

func (p *ClbPlugin) Alias() string

func (*ClbPlugin) Init

func (*ClbPlugin) Name

func (p *ClbPlugin) Name() string

func (*ClbPlugin) OnPodAdded

func (p *ClbPlugin) OnPodAdded(c client.Client, pod *corev1.Pod, ctx context.Context) (*corev1.Pod, cperrors.PluginError)

func (*ClbPlugin) OnPodDeleted

func (p *ClbPlugin) OnPodDeleted(c client.Client, pod *corev1.Pod, ctx context.Context) cperrors.PluginError

func (*ClbPlugin) OnPodUpdated

func (p *ClbPlugin) OnPodUpdated(c client.Client, pod *corev1.Pod, ctx context.Context) (*corev1.Pod, cperrors.PluginError)

type Provider

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

func (*Provider) ListPlugins

func (ap *Provider) ListPlugins() (map[string]cloudprovider.Plugin, error)

func (*Provider) Name

func (ap *Provider) Name() string

Directories

Path Synopsis
apis
v1alpha1
Package v1alpha1 contains API Schema definitions for the tencentcloud v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=networking.cloud.tencent.com
Package v1alpha1 contains API Schema definitions for the tencentcloud v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=networking.cloud.tencent.com

Jump to

Keyboard shortcuts

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