tool

package
v0.29.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Name

type Name string
const (
	Ansible   Name = "ansible"
	Awscli    Name = "awscli"
	Furyagent Name = "furyagent"
	Git       Name = "git"
	Yq        Name = "yq"
	Kubectl   Name = "kubectl"
	Kustomize Name = "kustomize"
	Openvpn   Name = "openvpn"
	Terraform Name = "terraform"
	Shell     Name = "shell"
	Helm      Name = "helm"
	Helmfile  Name = "helmfile"
)

type Runner

type Runner interface {
	Version() (string, error)
	CmdPath() string
	Stop() error
}

type RunnerFactory

type RunnerFactory struct {
	// contains filtered or unexported fields
}

func NewRunnerFactory

func NewRunnerFactory(executor execx.Executor, paths RunnerFactoryPaths) *RunnerFactory

func (*RunnerFactory) Create

func (rf *RunnerFactory) Create(name Name, version, workDir string) Runner

type RunnerFactoryPaths

type RunnerFactoryPaths struct {
	Bin string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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