cmd

package
v0.0.0-...-f0149e5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ARCHIVE_EXT = ".tar.zst"

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately.

func ExtractImagesFromCharts

func ExtractImagesFromCharts(args []string) ([]chartutil.DatarobotImageDeclaration, error)

func ExtractImagesFromManifest

func ExtractImagesFromManifest(manifest string) ([]string, error)

func ExtractLabels

func ExtractLabels(imageName string) (map[string]string, error)

It fetches the image configuration metadata without pulling the full image.

func GetSecret

func GetSecret(stdin bool, envVar string, argv string) string

func GetTransport

func GetTransport(caCertPath, certPath, keyPath string, insecureSkipVerify bool) (*http.Transport, error)

func SetVersionInfo

func SetVersionInfo(version, commit string)

func SliceHas

func SliceHas(slice []string, str string) bool

Types

type GenDocCommand

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

GenDocCommand is used to implement 'gen-doc' command.

Jump to

Keyboard shortcuts

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