toolregistry

package
v0.50.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package toolregistry installs and manages the needed tools such as kubectl, helm... for executing tasks in pipeline.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

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

Registry provides functions to get path to the needed tools.

func NewRegistry

func NewRegistry(client client) *Registry

func (*Registry) Helm

func (r *Registry) Helm(ctx context.Context, version string) (string, error)

func (*Registry) Kubectl

func (r *Registry) Kubectl(ctx context.Context, version string) (string, error)

func (*Registry) Kustomize

func (r *Registry) Kustomize(ctx context.Context, version string) (string, error)

Jump to

Keyboard shortcuts

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