redact

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureArgs

func CaptureArgs(rootCmd *cobra.Command, args []string)

func CapturedArgs

func CapturedArgs() []string

Types

type Secret

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

func NewSecret

func NewSecret(value string) Secret

func (Secret) MarshalJSON

func (s Secret) MarshalJSON() ([]byte, error)

func (Secret) Reveal

func (s Secret) Reveal() string

func (Secret) String

func (s Secret) String() string

type ShorthandResolver

type ShorthandResolver func(flagName string) (longName string, ok bool)

ShorthandResolver maps a flag shorthand (e.g. "p") to its long name (e.g. "project-id") for the command actually being invoked.

Jump to

Keyboard shortcuts

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