Versions in this module Expand all Collapse all v1 v1.0.1 May 13, 2024 Changes in this version + const AnnotationLbAlgorithm + const AnnotationLbBandwidth + const AnnotationLbEip + const AnnotationLbListen + const AnnotationLbProtocol + const AnnotationLbSpec + const AnnotationLbSubjectId + const AnnotationLbType + const BandwidthShared + const BillingType + const IpTypeInternal + const LBSpecExtreme + const LBSpecHigh + const LBSpecNameExtreme + const LBSpecNameHigh + const LBSpecNameStandard + const LBSpecNameSuper + const LBSpecStandard + const LBSpecSuper + const LabelNodeAz + const LabelNodeAzCode + const LbBillingMethodCostPay + const LbNetTypeWan + const LbNetTypeWanLan + const LbTakError + const LbTaskSuccess + const PlatformEks + const RsTypeEks + const UpdateListenExact + const UpdateListenFull + func SlbName(svcName, namespace, uid string) string + type Cloud struct + func (cloud *Cloud) Clusters() (cloudprovider.Clusters, bool) + func (cloud *Cloud) HasClusterID() bool + func (cloud *Cloud) Initialize(clientBuilder cloudprovider.ControllerClientBuilder, stop <-chan struct{}) + func (cloud *Cloud) Instances() (cloudprovider.Instances, bool) + func (cloud *Cloud) InstancesV2() (cloudprovider.InstancesV2, bool) + func (cloud *Cloud) LoadBalancer() (cloudprovider.LoadBalancer, bool) + func (cloud *Cloud) ProviderName() string + func (cloud *Cloud) Routes() (cloudprovider.Routes, bool) + func (cloud *Cloud) Zones() (cloudprovider.Zones, bool) + type Clusters struct + func (c *Clusters) ListClusters(ctx context.Context) ([]string, error) + func (c *Clusters) Master(ctx context.Context, clusterName string) (string, error) + type InformerUser struct + func (i *InformerUser) SetInformers(informerFactory informers.SharedInformerFactory) + type Instances struct + func (i *Instances) AddSSHKeyToAllInstances(ctx context.Context, user string, keyData []byte) error + func (i *Instances) CurrentNodeName(ctx context.Context, hostname string) (types.NodeName, error) + func (i *Instances) InstanceExistsByProviderID(ctx context.Context, providerID string) (bool, error) + func (i *Instances) InstanceID(ctx context.Context, nodeName types.NodeName) (string, error) + func (i *Instances) InstanceShutdownByProviderID(ctx context.Context, providerID string) (bool, error) + func (i *Instances) InstanceType(ctx context.Context, name types.NodeName) (string, error) + func (i *Instances) InstanceTypeByProviderID(ctx context.Context, providerID string) (string, error) + func (i *Instances) NodeAddresses(ctx context.Context, name types.NodeName) ([]v1.NodeAddress, error) + func (i *Instances) NodeAddressesByProviderID(ctx context.Context, providerID string) ([]v1.NodeAddress, error) + type InstancesV2 struct + func (i *InstancesV2) InstanceExists(ctx context.Context, node *v1.Node) (bool, error) + func (i *InstancesV2) InstanceMetadata(ctx context.Context, node *v1.Node) (*cloudprovider.InstanceMetadata, error) + func (i *InstancesV2) InstanceShutdown(ctx context.Context, node *v1.Node) (bool, error) + type LoadBalancer struct + func (l *LoadBalancer) EnsureLoadBalancer(ctx context.Context, clusterName string, service *v1.Service, nodes []*v1.Node) (*v1.LoadBalancerStatus, error) + func (l *LoadBalancer) EnsureLoadBalancerDeleted(ctx context.Context, clusterName string, service *v1.Service) error + func (l *LoadBalancer) GetLoadBalancer(ctx context.Context, clusterName string, service *v1.Service) (status *v1.LoadBalancerStatus, exists bool, err error) + func (l *LoadBalancer) GetLoadBalancerName(ctx context.Context, clusterName string, service *v1.Service) string + func (l *LoadBalancer) UpdateLoadBalancer(ctx context.Context, clusterName string, service *v1.Service, nodes []*v1.Node) error + type PVLabeler struct + func (p *PVLabeler) GetLabelsForVolume(ctx context.Context, pv *v1.PersistentVolume) (map[string]string, error) + type Routes struct + func (r *Routes) CreateRoute(ctx context.Context, clusterName string, nameHint string, ...) error + func (r *Routes) DeleteRoute(ctx context.Context, clusterName string, route *cloudprovider.Route) error + func (r *Routes) ListRoutes(ctx context.Context, clusterName string) ([]*cloudprovider.Route, error) + type Zones struct + func (z *Zones) GetZone(ctx context.Context) (cloudprovider.Zone, error) + func (z *Zones) GetZoneByNodeName(ctx context.Context, nodeName types.NodeName) (cloudprovider.Zone, error) + func (z *Zones) GetZoneByProviderID(ctx context.Context, providerID string) (cloudprovider.Zone, error)