Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultCloudProvider = gce.ProviderNameGCE
DefaultCloudProvider is GCE.
Variables ¶
View Source
var AvailableCloudProviders = []string{ aws.ProviderName, azure.ProviderName, gce.ProviderNameGCE, gce.ProviderNameGKE, kubemark.ProviderName, }
AvailableCloudProviders supported by the cloud provider builder.
Functions ¶
This section is empty.
Types ¶
type CloudProviderBuilder ¶
type CloudProviderBuilder struct {
// contains filtered or unexported fields
}
CloudProviderBuilder builds a cloud provider from all the necessary parameters including the name of a cloud provider e.g. aws, gce and the path to a config file
func NewCloudProviderBuilder ¶
func NewCloudProviderBuilder(cloudProviderFlag, cloudConfig, clusterName string, autoprovisioningEnabled, regional bool) CloudProviderBuilder
NewCloudProviderBuilder builds a new builder from static settings
func (CloudProviderBuilder) Build ¶
func (b CloudProviderBuilder) Build(discoveryOpts cloudprovider.NodeGroupDiscoveryOptions, resourceLimiter *cloudprovider.ResourceLimiter) cloudprovider.CloudProvider
Build a cloud provider from static settings contained in the builder and dynamic settings passed via args
Click to show internal directories.
Click to hide internal directories.