Documentation
¶
Index ¶
- func AllocateIps(ncns []*csi.LogicalNCN, networks map[string]*csi.IPV4Network)
- func Copy(srcFile, dstFile string) error
- func CopyArtifactsToPart(src string, dest string, regex string)
- func CopyDirectory(scrDir, dest string) error
- func CopySymLink(source, dest string) error
- func CreateIfNotExists(dir string, perm os.FileMode) error
- func Execute()
- func Exists(filePath string) bool
- func GetArtifact(dirpath string, url string) (err error)
- func PadRight(str, pad string, lenght int) string
- func PrintConfig(v *viper.Viper)
- func WalkMatch(root, pattern string) ([]string, error)
- type CACerts
- type CloudInitGlobal
- type Customizations
- type Metadata
- type SealedSecret
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllocateIps ¶
func AllocateIps(ncns []*csi.LogicalNCN, networks map[string]*csi.IPV4Network)
AllocateIps distributes IP reservations for each of the NCNs within the networks
func CopyArtifactsToPart ¶
CopyArtifactsToPart copies files needed to the PITDATA partition
func CreateIfNotExists ¶
CreateIfNotExists creates it if it doesn't
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetArtifact ¶
GetArtifact downloads kernels, initrd, and squashfs images
func PrintConfig ¶
PrintConfig : Dump all configuration information as a yaml file on stdout
Types ¶
type CACerts ¶
type CACerts struct { RemoveDefaults bool `json:"remove-defaults"` Trusted []string `json:"trusted"` }
CACerts - For storage of ca-certs cloud-init update
type CloudInitGlobal ¶
type CloudInitGlobal struct { Global struct { Metadata `json:"meta-data"` } }
CloudInitGlobal - Boilerplate for cloud-init hierarchical structure
type Customizations ¶
type Customizations struct { Spec struct { Kubernetes struct { SealedSecrets map[string]SealedSecret `yaml:"sealed_secrets"` } } // contains filtered or unexported fields }
Customizations - Minimum customizations (shasta-cfg) struct to access sealed secrets
Source Files
¶
- automation-ncn-etcd.go
- automation-ncn-kubernetes.go
- automation-ncn-preflight.go
- automation-ncn.go
- automation.go
- common.go
- config.go
- cow.go
- dump.go
- empty.go
- format.go
- gen-sls.go
- get.go
- handoff-bss-metadata.go
- handoff-bss-update-cloud-init.go
- handoff-bss-update-param.go
- handoff.go
- init.go
- install.go
- load.go
- loftsman.go
- makedocs.go
- manage_input_files.go
- patch-ca.go
- patch.go
- pit.go
- pitdata.go
- populate.go
- root.go
- shcd.go
- upgrade.go
- upload-sls.go
- validate.go
- verify.go
- version.go