installconfig

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2019 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package installconfig generates the install config assets based on its dependencies. The type itself is defined in ../pkg/types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterID added in v0.10.0

type ClusterID struct {
	ClusterID string
}

ClusterID is the unique ID of the cluster, immutable during the cluster's life

func (*ClusterID) Dependencies added in v0.10.0

func (a *ClusterID) Dependencies() []asset.Asset

Dependencies returns no dependencies.

func (*ClusterID) Generate added in v0.10.0

func (a *ClusterID) Generate(asset.Parents) error

Generate generates a new UUID

func (*ClusterID) Name added in v0.10.0

func (a *ClusterID) Name() string

Name returns the human-friendly name of the asset.

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.yaml 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.yaml 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.

Directories

Path Synopsis
Package aws collects AWS-specific configuration.
Package aws collects AWS-specific configuration.
Package libvirt collects libvirt-specific configuration.
Package libvirt collects libvirt-specific configuration.
Package openstack collects OpenStack-specific configuration.
Package openstack collects OpenStack-specific configuration.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL