Versions in this module Expand all Collapse all v0 v0.0.2 Aug 19, 2023 Changes in this version type ClusterConfig + Debug bool v0.0.1 Aug 4, 2023 Changes in this version + func New(config io.Reader) (cloudprovider.Interface, error) + type ClusterConfig struct + APIToken string + CACert string + InsecureTLS bool + Timeout int + URL string + Username string + type Instances struct + func (i *Instances) InstanceExists(ctx context.Context, node *v1.Node) (bool, error) + func (i *Instances) InstanceMetadata(ctx context.Context, node *v1.Node) (*cloudprovider.InstanceMetadata, error) + func (i *Instances) InstanceShutdown(ctx context.Context, node *v1.Node) (bool, error) + type LoadBalancer struct + func (p *LoadBalancer) EnsureLoadBalancer(ctx context.Context, clusterName string, service *v1.Service, nodes []*v1.Node) (*v1.LoadBalancerStatus, error) + func (p *LoadBalancer) EnsureLoadBalancerDeleted(ctx context.Context, clusterName string, service *v1.Service) error + func (p *LoadBalancer) GetLoadBalancer(ctx context.Context, clusterName string, service *v1.Service) (status *v1.LoadBalancerStatus, exists bool, err error) + func (p *LoadBalancer) GetLoadBalancerName(ctx context.Context, clusterName string, service *v1.Service) string + func (p *LoadBalancer) UpdateLoadBalancer(ctx context.Context, clusterName string, service *v1.Service, nodes []*v1.Node) error + type Provider struct + func (p *Provider) Clusters() (cloudprovider.Clusters, bool) + func (p *Provider) HasClusterID() bool + func (p *Provider) Initialize(clientBuilder cloudprovider.ControllerClientBuilder, stop <-chan struct{}) + func (p *Provider) Instances() (cloudprovider.Instances, bool) + func (p *Provider) InstancesV2() (cloudprovider.InstancesV2, bool) + func (p *Provider) LoadBalancer() (cloudprovider.LoadBalancer, bool) + func (p *Provider) ProviderName() string + func (p *Provider) Routes() (cloudprovider.Routes, bool) + func (p *Provider) Zones() (cloudprovider.Zones, bool) + type ProviderConfig struct + ClusterConfig ClusterConfig + ManagerHost string + ManagerPort int + Security Security + type Security struct + CAFile string + CertFile string + KeyFile string