dockerclipm

package
v0.0.0-...-04aa514 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Name  = "docker-cli-plugin-metadata"
	Usage = "Plugin metadata for the docker cli"
)

Variables

View Source
var CLI = &cli.Command{
	Category: "internal.metadata",
	Name:     Name,
	Usage:    Usage,
	Action: func(ctx *cli.Context) error {
		metadata := pluginMetadata{
			SchemaVersion:    "0.1.0",
			Vendor:           "SlimToolkit",
			Version:          version.Current(),
			ShortDescription: "SlimToolkit commands (build=minify, xray=static analyze, profile=dynamic analyze, lint=validate, more)",
			URL:              "https://dockersl.im",
		}

		encoder := json.NewEncoder(os.Stdout)
		encoder.SetIndent("", "    ")
		encoder.Encode(metadata)
		return nil
	},
}

Functions

func RegisterCommand

func RegisterCommand()

Types

This section is empty.

Jump to

Keyboard shortcuts

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