Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Name of project. PhkhKey = "phkh" // PrivateKeyKey is the key used to export the private key. PrivatekeyKey = "privatekey" // KubeconfigKey is the key used to export the kubeconfig. KubeconfigKey = "kubeconfig" // HetznerServersKey is the key used to export the hetzner servers. HetznerServersKey = "servers" // ServerIPKey is the key used to export external IP of servers. ServerIPKey = "ip" // ServerInternalIPKey is the key used to export internal ip of servers. ServerInternalIPKey = "internalIP" ServerUserKey = "user" ServerNameKey = "name" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { Servers pulumi.MapArray Kubeconfig pulumi.StringOutput Privatekey pulumi.StringOutput }
Cluster contains the information about the created cluster.
type PHKH ¶
type PHKH struct {
// contains filtered or unexported fields
}
PHKH is the main struct.
func NewCluster ¶ added in v0.1.0
func NewCluster(ctx *pulumi.Context, name string, configuration map[string]any, opts []pulumi.ResourceOption) (*PHKH, error)
New creates a new project instance. It parses the config and compiles the project.
func (*PHKH) DumpConfig ¶
DumpConfig returns a string representation of the parsed config with defaults. This is useful for debugging.
Click to show internal directories.
Click to hide internal directories.