Documentation ¶
Index ¶
- Constants
- func NewVolcengineProvider() (cloudprovider.CloudProvider, error)
- type ClbPlugin
- func (c *ClbPlugin) Alias() string
- func (c *ClbPlugin) Init(client client.Client, options cloudprovider.CloudProviderOptions, ...) error
- func (c *ClbPlugin) Name() string
- func (c *ClbPlugin) OnPodAdded(client client.Client, pod *corev1.Pod, ctx context.Context) (*corev1.Pod, cperrors.PluginError)
- func (c *ClbPlugin) OnPodDeleted(client client.Client, pod *corev1.Pod, ctx context.Context) cperrors.PluginError
- func (c *ClbPlugin) OnPodUpdated(client client.Client, pod *corev1.Pod, ctx context.Context) (*corev1.Pod, cperrors.PluginError)
- type Provider
Constants ¶
View Source
const ( ClbNetwork = "Volcengine-CLB" AliasCLB = "CLB-Network" ClbIdLabelKey = "service.beta.kubernetes.io/volcengine-loadbalancer-id" ClbIdsConfigName = "ClbIds" PortProtocolsConfigName = "PortProtocols" FixedConfigName = "Fixed" AllocateLoadBalancerNodePorts = "AllocateLoadBalancerNodePorts" ClbAnnotations = "Annotations" ClbConfigHashKey = "game.kruise.io/network-config-hash" ClbIdAnnotationKey = "service.beta.kubernetes.io/volcengine-loadbalancer-id" ClbAddressTypeKey = "service.beta.kubernetes.io/volcengine-loadbalancer-address-type" ClbAddressTypePublic = "PUBLIC" ClbSchedulerKey = "service.beta.kubernetes.io/volcengine-loadbalancer-scheduler" ClbSchedulerWRR = "wrr" SvcSelectorKey = "statefulset.kubernetes.io/pod-name" )
View Source
const (
Volcengine = "Volcengine"
)
Variables ¶
This section is empty.
Functions ¶
func NewVolcengineProvider ¶
func NewVolcengineProvider() (cloudprovider.CloudProvider, error)
Types ¶
type ClbPlugin ¶
type ClbPlugin struct {
// contains filtered or unexported fields
}
func (*ClbPlugin) Init ¶
func (c *ClbPlugin) Init(client client.Client, options cloudprovider.CloudProviderOptions, ctx context.Context) error
func (*ClbPlugin) OnPodAdded ¶
func (*ClbPlugin) OnPodDeleted ¶
Click to show internal directories.
Click to hide internal directories.