package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Dec 20, 2018
License: AGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
ParseMetadata reads in a byte array of metadata from Digital Ocean's metadata service
and returns a struct containing the etcd credentials
type Metadata struct {
EtcdCa string `yaml:"k8saas_etcd_ca"`
EtcdKey string `yaml:"k8saas_etcd_key"`
EtcdCert string `yaml:"k8saas_etcd_cert"`
KubeMasterHostname string `yaml:"k8saas_master_domain_name"`
}
Metadata stores the Kubernetes-related YAML
Source Files
¶
Click to show internal directories.
Click to hide internal directories.