microshift

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package microshift provides tools to deploy a MicroShift host via Ansible

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTempRootDir

func CreateTempRootDir() string

func MkAnsiblePlaybookOptions

func MkAnsiblePlaybookOptions(host string, user string, pullSecret string, rootDir string) playbook.AnsiblePlaybookOptions

func MkDeployMicroshiftPlaybook

func MkDeployMicroshiftPlaybook(rootDir string)

func MkLocalSetupPlaybook

func MkLocalSetupPlaybook(rootDir string)

func MkMicroshiftRoleSetupPlaybook

func MkMicroshiftRoleSetupPlaybook(rootDir string)

func MkPostInstallPlaybook

func MkPostInstallPlaybook(rootDir string)

func MkTemporaryInventoryFile

func MkTemporaryInventoryFile(host string, user string, pullSecret string, rootDir string) string

func MkTemporaryVarsFile

func MkTemporaryVarsFile(fqdn string, diskFileSize string, microshiftRolePath string, rootDir string) string

func RunDeploy

func RunDeploy(rootDir string, sfOperatorRepoPath string, ansibleMicroshiftRepoPath string, options playbook.AnsiblePlaybookOptions)

func RunLocalSetup

func RunLocalSetup(rootDir string, sfOperatorRepoPath string, ansibleMicroshiftRepoPath string, options playbook.AnsiblePlaybookOptions)

func RunMicroshiftRoleSetup

func RunMicroshiftRoleSetup(rootDir string, sfOperatorRepoPath string, ansibleMicroshiftRepoPath string, options playbook.AnsiblePlaybookOptions)

func RunPostInstall

func RunPostInstall(rootDir string, sfOperatorRepoPath string, ansibleMicroshiftRepoPath string, options playbook.AnsiblePlaybookOptions)

Types

type GroupVarsData

type GroupVarsData struct {
	FQDN               string
	DiskFileSize       string
	MicroshiftRolePath string
}

type InventoryData

type InventoryData struct {
	User       string
	Host       string
	PullSecret string
}

type PlayBook

type PlayBook struct {
	Path     string
	Contents string
}

Jump to

Keyboard shortcuts

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