Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name is the name of the Packet provider controller. Name = "provider-packet" // TerraformerImageName is the name of the Terraformer image. TerraformerImageName = "terraformer" // CloudControllerManagerImageName is the name of the cloud-controller-manager image. CloudControllerManagerImageName = "cloud-controller-manager" // MachineControllerManagerImageName is the name of the MachineControllerManager image. MachineControllerManagerImageName = "machine-controller-manager" // BucketName is a constant for the key in a backup secret that holds the bucket name. // The bucket name is written to the backup secret by Gardener as a temporary solution. // TODO In the future, the bucket name should come from a BackupBucket resource (see https://github.com/gardener/gardener/blob/master/docs/proposals/02-backupinfra.md) BucketName = "bucketName" // APIToken is a constant for the key in a cloud provider secret and backup secret that holds the Packet API token. APIToken = "apiToken" // ProjectID is a constant for the key in a cloud provider secret and backup secret that holds the Packet project id. ProjectID = "projectID" // PacketAPIKey is a constant for the key in a cloud provider secret and backup secret that holds the Packet API key. PacketAPIKey = "packetAPIKey" // 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" // CSIPluginImageName is the name of the CSI plugin image. CSIPluginImageName = "packet-storage-interface" // MetabotImageName is the name of the metabot image. MetabotImageName = "metabot" // TerraformerPurposeInfra is a constant for the complete Terraform setup with purpose 'infrastructure'. TerraformerPurposeInfra = "infra" // SSHKeyID key for accessing SSH key ID from outputs in terraform SSHKeyID = "key_pair_id" // 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 a constant for the name of the CloudController deployed by the worker controller. CloudControllerManagerName = "cloud-controller-manager" )
View Source
const Type = "packet"
Type is the type of resources managed by the Packet 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") )
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
Credentials stores Packet credentials.
func ReadCredentialsSecret ¶
func ReadCredentialsSecret(secret *corev1.Secret) (*Credentials, error)
ReadCredentialsSecret reads a secret containing credentials.
Click to show internal directories.
Click to hide internal directories.