Documentation ¶
Index ¶
- Constants
- Variables
- func ContainerEngineOptions(auto bool) []string
- func ContainerEnginePreflight(containerEngine string) error
- func CreateInventoryFile(dir string, inventoryContents string) error
- func CreateNavigatorSettingsFile(dir string, settingsContents string) error
- func CreatePlaybookFile(dir string, playbookContents string) error
- func CreatePrivateKeys(dir string, keys []PrivateKey, settings *NavigatorSettings) error
- func CreateRunDir(dir string) error
- func DirectoryPreflight(dir string) error
- func ExecNavigatorRunCommand(command *exec.Cmd) (string, error)
- func GenerateNavigatorRunCommand(runDir string, workingDir string, ansibleNavigatorBinary string, ...) *exec.Cmd
- func GenerateNavigatorSettings(settings *NavigatorSettings) (string, error)
- func GetStatusFromPlaybookArtifact(dir string) (string, error)
- func GetStdoutFromPlaybookArtifact(dir string) (string, error)
- func NavigatorPath(path string) (string, error)
- func NavigatorPreflight(binary string) error
- func PullPolicyOptions() []string
- func QueryPlaybookArtifact(dir string, queries map[string]ArtifactQuery) error
- func RemoveRunDir(dir string) error
- func ValidateJSONPathExpression(expression string) error
- type ArtifactQuery
- type NavigatorSettings
- type Options
- type PlaybookArtifact
- type PrivateKey
Constants ¶
View Source
const ( ContainerEngineAuto = "auto" )
Variables ¶
View Source
var ( ErrDirectory = errors.New("directory is not valid") ErrContainerEngineValidate = errors.New("container engine is not valid") ErrContainerEnginePath = errors.New("container engine must exist in PATH") ErrContainerEngineRunning = errors.New("container engine is not running or usable") )
Functions ¶
func ContainerEngineOptions ¶
func CreateInventoryFile ¶
func CreatePlaybookFile ¶
func CreatePrivateKeys ¶ added in v0.7.0
func CreatePrivateKeys(dir string, keys []PrivateKey, settings *NavigatorSettings) error
func CreateRunDir ¶ added in v0.2.0
func DirectoryPreflight ¶ added in v0.1.1
func GenerateNavigatorSettings ¶
func GenerateNavigatorSettings(settings *NavigatorSettings) (string, error)
func GetStatusFromPlaybookArtifact ¶ added in v0.5.0
func GetStdoutFromPlaybookArtifact ¶ added in v0.5.0
func NavigatorPath ¶
func NavigatorPreflight ¶
TODO include output in error TODO require a min version
func PullPolicyOptions ¶
func PullPolicyOptions() []string
func QueryPlaybookArtifact ¶
func QueryPlaybookArtifact(dir string, queries map[string]ArtifactQuery) error
func RemoveRunDir ¶ added in v0.2.0
func ValidateJSONPathExpression ¶ added in v0.12.0
Types ¶
type ArtifactQuery ¶
type NavigatorSettings ¶
type NavigatorSettings struct {}
type PlaybookArtifact ¶ added in v0.5.0
type PrivateKey ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.