Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AnnotationKeyClusterName is the cluster name annotation key name AnnotationKeyClusterName = "cluster-name" // AnnotationKeyServiceName is the service name annotation key name AnnotationKeyServiceName = "service-name" // AnnotationKeyServiceNamespace is the service namespace annotation key name AnnotationKeyServiceNamespace = "service-namespace" // AnnotationKeyServiceUID is the service UID annotation key name AnnotationKeyServiceUID = "service-uid" // LabelKeyClusterName is the label key name used to identify the cluster name in Kubernetes labels LabelKeyClusterName = "kubernetes.io/cluster" )
View Source
const (
ProviderName = "metal"
)
Variables ¶
View Source
var (
MetalKubeconfigPath string
)
Functions ¶
func AddExtraFlags ¶
Types ¶
type CloudConfig ¶
type CloudConfig struct {
ClusterName string `json:"clusterName"`
}
type CloudProviderConfig ¶
type CloudProviderConfig struct { RestConfig *rest.Config Namespace string // contains filtered or unexported fields }
func LoadCloudProviderConfig ¶
func LoadCloudProviderConfig(f io.Reader) (*CloudProviderConfig, error)
Click to show internal directories.
Click to hide internal directories.