flagargs

package
v2.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchiveMethod

type ArchiveMethod string

func (*ArchiveMethod) Set

func (a *ArchiveMethod) Set(value string) error

func (*ArchiveMethod) String

func (a *ArchiveMethod) String() string

func (ArchiveMethod) Type

func (a ArchiveMethod) Type() string

type HTTPHeader

type HTTPHeader []string

func (*HTTPHeader) GetValue

func (h *HTTPHeader) GetValue(key string) ([]string, bool)

func (*HTTPHeader) Inflate

func (h *HTTPHeader) Inflate() map[string][]string

func (*HTTPHeader) MarshalYAML

func (h *HTTPHeader) MarshalYAML() (interface{}, error)

func (*HTTPHeader) SetValue

func (h *HTTPHeader) SetValue(key, value string)

func (*HTTPHeader) UnmarshalYAML

func (h *HTTPHeader) UnmarshalYAML(unmarshal func(interface{}) error) error

type OutputFormat

type OutputFormat struct {
	Format string   `mapstructure:"format" yaml:"format"`
	Opts   []string `mapstructure:"opts" yaml:"opts"`
}

func (*OutputFormat) Set

func (o *OutputFormat) Set(v string) error

func (*OutputFormat) String

func (o *OutputFormat) String() string

func (*OutputFormat) Type

func (o *OutputFormat) Type() string

type Size

type Size int

func (*Size) Set

func (s *Size) Set(v string) error

func (*Size) String

func (s *Size) String() string

func (*Size) Type

func (s *Size) Type() string

Jump to

Keyboard shortcuts

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