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" // AccessKeyID 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" // 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" )
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("controllers", Name, "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.