Documentation ¶
Index ¶
Constants ¶
View Source
const (
CloudProviderName = "anexia"
)
Variables ¶
View Source
var (
CloudProviderScheme = fmt.Sprintf("%s://", CloudProviderName)
)
Functions ¶
func GetManagerOptions ¶
func GetManagerOptions() (*options.CloudControllerManagerOptions, error)
Types ¶
type ProviderConfig ¶
type ProviderConfig struct { Token string `yaml:"anexiaToken" split_words:"true"` CustomerID string `yaml:"customerID,omitempty" split_words:"true"` ClusterName string `yaml:"clusterName,omitempty" split_words:"true"` AutoDiscoveryTagPrefix string `yaml:"autoDiscoveryTagPrefix,omitempty" split_words:"true" default:"anxkube-ccm-lb"` // if ccm shall discover $LoadBalancerIdentifier, $SecondaryLoadBalancerIdentifiers and $LoadBalancerPrefixIdentifiers via tag "$AutoDiscoveryTagPrefix-$ClusterName" AutoDiscoverLoadBalancer bool `yaml:"autoDiscoverLoadBalancer,omitempty" split_words:"true"` // the LBaaS LoadBalancer resource to configure for LoadBalancer Services LoadBalancerIdentifier string `yaml:"loadBalancerIdentifier,omitempty" split_words:"true"` // identifiers of LBaaS LoadBalancer resources to keep in sync with $LoadBalancerIdentifier SecondaryLoadBalancerIdentifiers []string `yaml:"secondaryLoadBalancersIdentifiers" split_words:"true"` // lists the identifiers of prefixes from which external IPs for LoadBalancer Services can be allocated LoadBalancerPrefixIdentifiers []string `yaml:"loadBalancerPrefixIdentifiers,omitempty" split_words:"true"` // defines the number of retries to wait for LoadBalancer resources to be ready LoadBalancerBackoffSteps int `yaml:"loadBalancerBackoffSteps" default:"30"` }
func NewProviderConfig ¶
func NewProviderConfig(configReader io.Reader) (ProviderConfig, error)
Click to show internal directories.
Click to hide internal directories.