docker

package
v0.13.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package docker provides infrastructure for interfacing wth Docker.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

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

Flags stores top-level Docker CLI flags.

func (*Flags) Reconstituted

func (f *Flags) Reconstituted(flags *pflag.FlagSet) (result []string)

Reconstituted constructs a representation of the flags suitable for parsing by their native command. It requires access to the flag set with which its flags were registered so that it can determine which were set. If any of the flags registered with the flag set have been removed, this method will panic.

func (*Flags) Register

func (f *Flags) Register(flags *pflag.FlagSet)

Register registers the flags into the specified flag set.

Jump to

Keyboard shortcuts

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