Documentation ¶
Overview ¶
Package hcloud provides types and functions used for HCloud interaction
Package hcloud provides types and functions used for HCloud interaction ¶
Package hcloud provides types and functions used for HCloud interaction
Index ¶
Constants ¶
View Source
const ( // Name is the name of the Hcloud provider controller. Name = "provider-hcloud" // MachineControllerManagerImageName is the name of the MachineControllerManager image. MachineControllerManagerImageName = "machine-controller-manager" // MCMProviderHcloudImageName is the namne of the HCloud provider plugin image. MCMProviderHcloudImageName = "machine-controller-manager-provider-hcloud" // CloudControllerImageName is the name of the external HCloud CloudProvider image. CloudControllerImageName = "hcloud-cloud-controller-manager" // CSIAttacherImageName is the name of the CSI attacher image. CSIAttacherImageName = "csi-attacher" // CSINodeDriverRegistrarImageName is the name of the CSI driver registrar image. CSINodeDriverRegistrarImageName = "csi-node-driver-registrar" // CSIProvisionerImageName is the name of the CSI provisioner image. CSIProvisionerImageName = "csi-provisioner" // CSIDriverControllerImageName is the name of the CSI driver controller plugin image. CSIDriverControllerImageName = "hcloud-csi-driver-controller" // CSIDriverNodeImageName is the name of the CSI driver node plugin image. CSIDriverNodeImageName = "hcloud-csi-driver-node" // CSIResizerImageName is the name of the csi-resizer image. CSIResizerImageName = "csi-resizer" // LivenessProbeImageName is the name of the liveness-probe image. LivenessProbeImageName = "liveness-probe" HcloudToken = "hcloudToken" HcloudTokenMCM = "hcloudTokenMCM" HcloudTokenCCM = "hcloudTokenCCM" HcloudTokenCSI = "hcloudTokenCSI" // CloudProviderConfig is the name of the configmap containing the cloud provider config. CloudProviderConfig = "cloud-provider-config" // CloudProviderConfigMapKey is the key storing the cloud provider config as value in the cloud provider configmap. CloudProviderConfigMapKey = "cloudprovider.conf" // MachineControllerManagerName is a constant for the name of the machine-controller-manager. MachineControllerManagerName = "machine-controller-manager" // MachineControllerManagerVpaName is the name of the VerticalPodAutoscaler of the machine-controller-manager deployment. MachineControllerManagerVpaName = "machine-controller-manager-vpa" // MachineControllerManagerMonitoringConfigName is the name of the ConfigMap containing monitoring stack configurations for machine-controller-manager. MachineControllerManagerMonitoringConfigName = "machine-controller-manager-monitoring-config" // CloudControllerManagerName is the constant for the name of the CloudController deployed by the control plane controller. CloudControllerManagerName = "cloud-controller-manager" // CloudControllerManagerServerName is the constant for the name of the CloudController deployed by the control plane controller. CloudControllerManagerServerName = "cloud-controller-manager-server" // CSIProvisionerName is a constant for the name of the csi-provisioner component. CSIProvisionerName = "csi-provisioner" // CSIAttacherName is a constant for the name of the csi-attacher component. CSIAttacherName = "csi-attacher" // CSIResizerName is a constant for the name of the csi-resizer component. CSIResizerName = "csi-resizer" // HcloudCSIController is a constant for the name of the hcloud-csi-controller component. HcloudCSIController = "hcloud-csi-controller" // CSINodeName is a constant for the chart name for a CSI node deployment in the shoot. CSINodeName = "hcloud-csi-node" // CSIDriverName is a constant for the name of the csi-driver component. CSIDriverName = "csi-driver" )
View Source
const Type = "hcloud"
Type is the type of resources managed by the HCloud actuator.
Variables ¶
View Source
var ( // ChartsPath is the path to the charts ChartsPath = filepath.Join("charts") // InternalChartsPath is the path to the internal charts InternalChartsPath = filepath.Join(ChartsPath, "internal") // UsernamePrefix is a constant for the username prefix of components deployed by OpenStack. UsernamePrefix = extensionsv1alpha1.SchemeGroupVersion.Group + ":" + Name + ":" )
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials struct {
// contains filtered or unexported fields
}
Credentials contains the necessary HCloud credential information.
func ExtractCredentials ¶
func ExtractCredentials(secret *corev1.Secret) (*Credentials, error)
ExtractCredentials generates a credentials object for a given provider secret.
func GetCredentials ¶
func GetCredentials(ctx context.Context, c client.Client, secretRef corev1.SecretReference) (*Credentials, error)
GetCredentials computes for a given context and infrastructure the corresponding credentials object.
func (*Credentials) HcloudCCM ¶
func (c *Credentials) HcloudCCM() Token
func (*Credentials) HcloudCSI ¶
func (c *Credentials) HcloudCSI() Token
func (*Credentials) HcloudMCM ¶
func (c *Credentials) HcloudMCM() Token
Directories ¶
Path | Synopsis |
---|---|
Package apis is the main package for HCloud specific APIs Package apis is the main package for HCloud specific APIs Package apis is the main package for HCloud specific APIs Package apis is the main package for HCloud specific APIs Package apis is the main package for HCloud specific APIs Package apis is the main package for HCloud specific APIs Package apis is the main package for HCloud specific APIs Package apis is the main package for HCloud specific APIs
|
Package apis is the main package for HCloud specific APIs Package apis is the main package for HCloud specific APIs Package apis is the main package for HCloud specific APIs Package apis is the main package for HCloud specific APIs Package apis is the main package for HCloud specific APIs Package apis is the main package for HCloud specific APIs Package apis is the main package for HCloud specific APIs Package apis is the main package for HCloud specific APIs |
config
Package config provides hcloud.provider.extensions.config.gardener.cloud Package config provides hcloud.provider.extensions.config.gardener.cloud Package config provides hcloud.provider.extensions.config.gardener.cloud
|
Package config provides hcloud.provider.extensions.config.gardener.cloud Package config provides hcloud.provider.extensions.config.gardener.cloud Package config provides hcloud.provider.extensions.config.gardener.cloud |
config/install
Package install provides functions used for registration of hcloud.provider.extensions.config.gardener.cloud
|
Package install provides functions used for registration of hcloud.provider.extensions.config.gardener.cloud |
config/loader
Package loader contains functions used for reading hcloud.provider.extensions.config.gardener.cloud
|
Package loader contains functions used for reading hcloud.provider.extensions.config.gardener.cloud |
config/v1alpha1
Package v1alpha1 provides hcloud.provider.extensions.config.gardener.cloud/v1alpha1 Package v1alpha1 provides hcloud.provider.extensions.config.gardener.cloud/v1alpha1 Package v1alpha1 provides hcloud.provider.extensions.config.gardener.cloud/v1alpha1 Package v1alpha1 provides hcloud.provider.extensions.config.gardener.cloud/v1alpha1
|
Package v1alpha1 provides hcloud.provider.extensions.config.gardener.cloud/v1alpha1 Package v1alpha1 provides hcloud.provider.extensions.config.gardener.cloud/v1alpha1 Package v1alpha1 provides hcloud.provider.extensions.config.gardener.cloud/v1alpha1 Package v1alpha1 provides hcloud.provider.extensions.config.gardener.cloud/v1alpha1 |
controller
Package controller provides functions to access controller specifications Package controller provides functions to access controller specifications
|
Package controller provides functions to access controller specifications Package controller provides functions to access controller specifications |
install
Package install provides functions used for registration of hcloud.provider.extensions.gardener.cloud
|
Package install provides functions used for registration of hcloud.provider.extensions.gardener.cloud |
mock
Package mock provides all methods required to simulate a HCloud provider environment Package mock provides all methods required to simulate a HCloud provider environment Package mock provides all methods required to simulate a HCloud provider environment Package mock provides all methods required to simulate a HCloud provider environment
|
Package mock provides all methods required to simulate a HCloud provider environment Package mock provides all methods required to simulate a HCloud provider environment Package mock provides all methods required to simulate a HCloud provider environment Package mock provides all methods required to simulate a HCloud provider environment |
transcoder
Package transcoder is used for API related object transformations Package transcoder is used for API related object transformations Package transcoder is used for API related object transformations Package transcoder is used for API related object transformations Package transcoder is used for API related object transformations Package transcoder is used for API related object transformations
|
Package transcoder is used for API related object transformations Package transcoder is used for API related object transformations Package transcoder is used for API related object transformations Package transcoder is used for API related object transformations Package transcoder is used for API related object transformations Package transcoder is used for API related object transformations |
v1alpha1
Package v1alpha1 contains the HCloud provider API resources.
|
Package v1alpha1 contains the HCloud provider API resources. |
validation
Package validation contains functions to validate controller specifications Package validation contains functions to validate controller specifications Package validation contains functions to validate controller specifications
|
Package validation contains functions to validate controller specifications Package validation contains functions to validate controller specifications Package validation contains functions to validate controller specifications |
Click to show internal directories.
Click to hide internal directories.