docker

package
v1.21.1 Latest Latest
Warning

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

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

Documentation

Overview

Package docker registers Docker API client flags.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(rootCmd *cobra.Command)

Register adds Docker API client flags using static defaults from Specs.

Parameters:

  • rootCmd: Root Cobra command.

func RegisterOn

func RegisterOn(flagSet *pflag.FlagSet)

RegisterOn registers Docker flags onto an arbitrary flag set.

Parameters:

  • flagSet: Target flag set.

func Specs

func Specs() []spec.FlagSpec

Specs returns Docker domain flag metadata with static defaults.

Returns:

  • []spec.FlagSpec: Docker flag specifications.

Types

This section is empty.

Jump to

Keyboard shortcuts

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