gflags

package
v0.0.0-...-dbfc090 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGFlagsUniverseFormat

func NewGFlagsUniverseFormat(source string) formatter.Format

NewGFlagsUniverseFormat for formatting output

func Write

func Write(ctx formatter.Context, gflags []util.SpecificGFlagsCLIOutput) error

Write renders the context for a list of Universes

Types

type Context

type Context struct {
	formatter.HeaderContext
	formatter.Context
	// contains filtered or unexported fields
}

Context for universe outputs

func NewGFlagsUniverseContext

func NewGFlagsUniverseContext() *Context

NewGFlagsUniverseContext creates a new context for rendering universe

func (*Context) MarshalJSON

func (c *Context) MarshalJSON() ([]byte, error)

MarshalJSON function

func (*Context) SpecificGFlags

func (c *Context) SpecificGFlags() string

SpecificGFlags for formatting output

Jump to

Keyboard shortcuts

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