{"modulePath":"github.com/STTTS/KUBERNETES","version":"v0.0.0-20170824060325-cf23810f2098","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cloudstack\n\n## Constants\n\n```go\nconst ProviderName = \"cloudstack\"\n```\nProviderName is the name of this cloud provider.\n\n## Types\n\n```go\ntype CSCloud struct {\n\t// contains filtered or unexported fields\n}\n```\nCSCloud is an implementation of Interface for CloudStack.\n\n```go\nfunc (cs *CSCloud) Clusters() (cloudprovider.Clusters, bool)\n```\nClusters returns an implementation of Clusters for CloudStack.\n\n```go\nfunc (cs *CSCloud) EnsureLoadBalancer(clusterName string, service *v1.Service, nodes []*v1.Node) (status *v1.LoadBalancerStatus, err error)\n```\nEnsureLoadBalancer creates a new load balancer, or updates the existing one. Returns the status of the balancer.\n\n```go\nfunc (cs *CSCloud) EnsureLoadBalancerDeleted(clusterName string, service *v1.Service) error\n```\nEnsureLoadBalancerDeleted deletes the specified load balancer if it exists, returning nil if the load balancer specified either didn't exist or was successfully deleted.\n\n```go\nfunc (cs *CSCloud) GetLoadBalancer(clusterName string, service *v1.Service) (*v1.LoadBalancerStatus, bool, error)\n```\nGetLoadBalancer returns whether the specified load balancer exists, and if so, what its status is.\n\n```go\nfunc (cs *CSCloud) GetZone() (cloudprovider.Zone, error)\n```\nGetZone returns the Zone containing the region that the program is running in.\n\n```go\nfunc (cs *CSCloud) HasClusterID() bool\n```\nHasClusterID returns true if the cluster has a clusterID\n\n```go\nfunc (cs *CSCloud) Initialize(clientBuilder controller.ControllerClientBuilder)\n```\nInitialize passes a Kubernetes clientBuilder interface to the cloud provider\n\n```go\nfunc (cs *CSCloud) Instances() (cloudprovider.Instances, bool)\n```\nInstances returns an implementation of Instances for CloudStack.\n\n```go\nfunc (cs *CSCloud) LoadBalancer() (cloudprovider.LoadBalancer, bool)\n```\nLoadBalancer returns an implementation of LoadBalancer for CloudStack.\n\n```go\nfunc (cs *CSCloud) ProviderName() string\n```\nProviderName returns the cloud provider ID.\n\n```go\nfunc (cs *CSCloud) Routes() (cloudprovider.Routes, bool)\n```\nRoutes returns an implementation of Routes for CloudStack.\n\n```go\nfunc (cs *CSCloud) ScrubDNS(nameservers, searches []string) (nsOut, srchOut []string)\n```\nScrubDNS filters DNS settings for pods.\n\n```go\nfunc (cs *CSCloud) UpdateLoadBalancer(clusterName string, service *v1.Service, nodes []*v1.Node) error\n```\nUpdateLoadBalancer updates hosts under the specified load balancer.\n\n```go\nfunc (cs *CSCloud) Zones() (cloudprovider.Zones, bool)\n```\nZones returns an implementation of Zones for CloudStack.\n\n```go\ntype CSConfig struct {\n\tGlobal struct {\n\t\tAPIURL      string `gcfg:\"api-url\"`\n\t\tAPIKey      string `gcfg:\"api-key\"`\n\t\tSecretKey   string `gcfg:\"secret-key\"`\n\t\tSSLNoVerify bool   `gcfg:\"ssl-no-verify\"`\n\t\tProjectID   string `gcfg:\"project-id\"`\n\t\tZone        string `gcfg:\"zone\"`\n\t}\n}\n```\nCSConfig wraps the config for the CloudStack cloud provider.\n\n","path":"github.com/STTTS/KUBERNETES/pkg/cloudprovider/providers/cloudstack","name":"cloudstack","synopsis":"","isRedistributable":true}
