Documentation ¶
Index ¶
- Constants
- func NewTencentCloudProvider() (cloudprovider.CloudProvider, error)
- type ClbPlugin
- func (p *ClbPlugin) Alias() string
- func (p *ClbPlugin) Init(c client.Client, options cloudprovider.CloudProviderOptions, ...) error
- func (p *ClbPlugin) Name() string
- func (p *ClbPlugin) OnPodAdded(c client.Client, pod *corev1.Pod, ctx context.Context) (*corev1.Pod, cperrors.PluginError)
- func (p *ClbPlugin) OnPodDeleted(c client.Client, pod *corev1.Pod, ctx context.Context) cperrors.PluginError
- func (p *ClbPlugin) OnPodUpdated(c client.Client, pod *corev1.Pod, ctx context.Context) (*corev1.Pod, cperrors.PluginError)
- type Provider
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) Init ¶
func (p *ClbPlugin) Init(c client.Client, options cloudprovider.CloudProviderOptions, ctx context.Context) error
func (*ClbPlugin) OnPodAdded ¶
func (*ClbPlugin) OnPodDeleted ¶
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 |
Click to show internal directories.
Click to hide internal directories.