Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ProviderName is name of CCM provider ProviderName string = "sakuracloud" // ControllerName is name of CCM for logging ControllerName string = "sakura-cloud-controller-manager" )
View Source
const ( // TagsKubernetesResource is a marker tag indicating that resource is part of k8s cluster TagsKubernetesResource = "@k8s" // TagsClusterID is tag name for mark ClusterID TagsClusterID = TagsKubernetesResource + ".ClusterID" )
Variables ¶
View Source
var TagsLoadBalancerServiceName = fmt.Sprintf("%s.Service", TagsKubernetesResource)
TagsLoadBalancerServiceName is tag name indicating that resource is part of k8s cluster service
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AccessToken string `json:"accessToken" yaml:"accessToken" split_words:"true"` AccessTokenSecret string `json:"accessTokenSecret" yaml:"accessTokenSecret" split_words:"true"` Zone string `json:"zone" yaml:"zone" split_words:"true"` RetryMax int `json:"retryMax" yaml:"retryMax" split_words:"true"` RetryIntervalSec int `json:"retryIntervalSec" yaml:"retryIntervalSec" split_words:"true"` APIRootURL string `json:"apiRootURL" yaml:"apiRootURL" split_words:"true"` TraceMode bool `json:"traceMode" yaml:"traceMode" split_words:"true"` DisableLoadBalancer bool `json:"disableLoadBalancer" yaml:"disableLoadBalancer" split_words:"true"` ClusterID string `json:"clusterID" yaml:"clusterID" split_words:"true"` }
Config represents CCM configuration includes sacloud API client configuration
Click to show internal directories.
Click to hide internal directories.