tools

package
v0.29.5-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrWrongToolVersion = errors.New("wrong tool version")

Functions

This section is empty.

Types

type Ansible

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

func NewAnsible

func NewAnsible(runner *ansible.Runner, version string) *Ansible

func (*Ansible) CheckBinVersion

func (a *Ansible) CheckBinVersion() error

func (*Ansible) Rename

func (*Ansible) Rename(_ string) error

func (*Ansible) SrcPath

func (*Ansible) SrcPath() string

func (*Ansible) SupportsDownload

func (*Ansible) SupportsDownload() bool

type Awscli

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

func NewAwscli

func NewAwscli(runner *awscli.Runner, version string) *Awscli

func (*Awscli) CheckBinVersion

func (a *Awscli) CheckBinVersion() error

func (*Awscli) Rename

func (*Awscli) Rename(_ string) error

func (*Awscli) SrcPath

func (*Awscli) SrcPath() string

func (*Awscli) SupportsDownload

func (*Awscli) SupportsDownload() bool

type Factory

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

func NewFactory

func NewFactory(executor execx.Executor, paths FactoryPaths) *Factory

func (*Factory) Create

func (f *Factory) Create(name tool.Name, version string) Tool

type FactoryPaths

type FactoryPaths struct {
	Bin string
}

type Furyagent

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

func NewFuryagent

func NewFuryagent(runner *furyagent.Runner, version string) *Furyagent

func (*Furyagent) CheckBinVersion

func (f *Furyagent) CheckBinVersion() error

func (*Furyagent) Rename

func (f *Furyagent) Rename(basePath string) error

func (*Furyagent) SrcPath

func (f *Furyagent) SrcPath() string

func (*Furyagent) SupportsDownload

func (*Furyagent) SupportsDownload() bool

type Git

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

func NewGit

func NewGit(runner *git.Runner, version string) *Git

func (*Git) CheckBinVersion

func (a *Git) CheckBinVersion() error

func (*Git) Rename

func (*Git) Rename(_ string) error

func (*Git) SrcPath

func (*Git) SrcPath() string

func (*Git) SupportsDownload

func (*Git) SupportsDownload() bool

type Helm added in v0.26.2

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

func NewHelm added in v0.26.2

func NewHelm(runner *helm.Runner, version string) *Helm

func (*Helm) CheckBinVersion added in v0.26.2

func (h *Helm) CheckBinVersion() error

func (*Helm) Rename added in v0.26.2

func (h *Helm) Rename(basePath string) error

func (*Helm) SrcPath added in v0.26.2

func (h *Helm) SrcPath() string

func (*Helm) SupportsDownload added in v0.26.2

func (*Helm) SupportsDownload() bool

type Helmfile added in v0.26.2

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

func NewHelmfile added in v0.26.2

func NewHelmfile(runner *helmfile.Runner, version string) *Helmfile

func (*Helmfile) CheckBinVersion added in v0.26.2

func (h *Helmfile) CheckBinVersion() error

func (*Helmfile) Rename added in v0.26.2

func (*Helmfile) Rename(_ string) error

func (*Helmfile) SrcPath added in v0.26.2

func (h *Helmfile) SrcPath() string

func (*Helmfile) SupportsDownload added in v0.26.2

func (*Helmfile) SupportsDownload() bool

type Kubectl

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

func NewKubectl

func NewKubectl(runner *kubectl.Runner, version string) *Kubectl

func (*Kubectl) CheckBinVersion

func (k *Kubectl) CheckBinVersion() error

func (*Kubectl) Rename

func (*Kubectl) Rename(_ string) error

func (*Kubectl) SrcPath

func (k *Kubectl) SrcPath() string

func (*Kubectl) SupportsDownload

func (*Kubectl) SupportsDownload() bool

type Kustomize

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

func NewKustomize

func NewKustomize(runner *kustomize.Runner, version string) *Kustomize

func (*Kustomize) CheckBinVersion

func (k *Kustomize) CheckBinVersion() error

func (*Kustomize) Rename

func (*Kustomize) Rename(_ string) error

func (*Kustomize) SrcPath

func (k *Kustomize) SrcPath() string

func (*Kustomize) SupportsDownload

func (*Kustomize) SupportsDownload() bool

type Openvpn

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

func NewOpenvpn

func NewOpenvpn(runner *openvpn.Runner, version string) *Openvpn

func (*Openvpn) CheckBinVersion

func (o *Openvpn) CheckBinVersion() error

func (*Openvpn) Rename

func (*Openvpn) Rename(_ string) error

func (*Openvpn) SrcPath

func (*Openvpn) SrcPath() string

func (*Openvpn) SupportsDownload

func (*Openvpn) SupportsDownload() bool

type Shell

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

func NewShell

func NewShell(_ *shell.Runner, version string) *Shell

func (*Shell) CheckBinVersion

func (*Shell) CheckBinVersion() error

func (*Shell) Rename

func (*Shell) Rename(_ string) error

func (*Shell) SrcPath

func (*Shell) SrcPath() string

func (*Shell) SupportsDownload

func (*Shell) SupportsDownload() bool

type Terraform

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

func NewTerraform

func NewTerraform(runner *terraform.Runner, version string) *Terraform

func (*Terraform) CheckBinVersion

func (t *Terraform) CheckBinVersion() error

func (*Terraform) Rename

func (*Terraform) Rename(_ string) error

func (*Terraform) SrcPath

func (t *Terraform) SrcPath() string

func (*Terraform) SupportsDownload

func (*Terraform) SupportsDownload() bool

type Tool

type Tool interface {
	SrcPath() string
	Rename(basePath string) error
	CheckBinVersion() error
	SupportsDownload() bool
}

type Validator

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

func NewValidator

func NewValidator(executor execx.Executor, binPath, furyctlPath string, autoConnect bool) *Validator

func (*Validator) Validate

func (tv *Validator) Validate(kfdManifest config.KFD, miniConf config.Furyctl) ([]string, []error)

func (*Validator) ValidateBaseReqs

func (tv *Validator) ValidateBaseReqs() ([]string, []error)

type Yq

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

func NewYq

func NewYq(runner *yq.Runner, version string) *Yq

func (*Yq) CheckBinVersion

func (y *Yq) CheckBinVersion() error

func (*Yq) Rename

func (y *Yq) Rename(basePath string) error

func (*Yq) SrcPath

func (y *Yq) SrcPath() string

func (*Yq) SupportsDownload

func (*Yq) SupportsDownload() bool

Jump to

Keyboard shortcuts

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