Documentation ¶
Overview ¶
Package installconfig generates the install config assets based on its dependencies. The type itself is defined in ../pkg/types.
Index ¶
Constants ¶
View Source
const ( // AWSPlatformType is used to install on AWS. AWSPlatformType = "aws" // OpenStackPlatformType is used to install on OpenStack. OpenStackPlatformType = "openstack" // LibvirtPlatformType is used to install of libvirt. LibvirtPlatformType = "libvirt" )
Variables ¶
This section is empty.
Functions ¶
func ClusterDNSIP ¶
func ClusterDNSIP(installConfig *types.InstallConfig) (string, error)
ClusterDNSIP returns the string representation of the DNS server's IP address.
Types ¶
type InstallConfig ¶ added in v0.2.0
type InstallConfig struct { Config *types.InstallConfig `json:"config"` File *asset.File `json:"file"` }
InstallConfig generates the install-config.yml file.
func (*InstallConfig) Dependencies ¶ added in v0.2.0
func (a *InstallConfig) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed by an InstallConfig asset.
func (*InstallConfig) Files ¶ added in v0.2.0
func (a *InstallConfig) Files() []*asset.File
Files returns the files generated by the asset.
func (*InstallConfig) Generate ¶ added in v0.2.0
func (a *InstallConfig) Generate(parents asset.Parents) error
Generate generates the install-config.yml file.
func (*InstallConfig) Load ¶ added in v0.3.0
func (a *InstallConfig) Load(f asset.FileFetcher) (found bool, err error)
Load returns the installconfig from disk.
func (*InstallConfig) Name ¶ added in v0.2.0
func (a *InstallConfig) Name() string
Name returns the human-friendly name of the asset.
Click to show internal directories.
Click to hide internal directories.