flag

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2016 License: Apache-2.0 Imports: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OptionList

type OptionList struct {
	// Options field holds all specified and valid options. Should
	// not be modified.
	Options []string
	// contains filtered or unexported fields
}

OptionList is a flag value type supporting a csv list of options

func NewOptionList

func NewOptionList(permissibleOptions []string, defaultOptions string) (*OptionList, error)

func (*OptionList) PermissibleString

func (ol *OptionList) PermissibleString() string

func (*OptionList) Set

func (ol *OptionList) Set(s string) error

func (*OptionList) String

func (ol *OptionList) String() string

func (*OptionList) Type

func (ol *OptionList) Type() string

type SecFlags

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

func NewSecFlags

func NewSecFlags(defOpts string) (*SecFlags, error)

func (*SecFlags) AllowHTTP added in v0.16.0

func (sf *SecFlags) AllowHTTP() bool

func (*SecFlags) ConsiderInsecurePubKeys added in v1.3.0

func (sf *SecFlags) ConsiderInsecurePubKeys() bool

func (SecFlags) Set

func (bf SecFlags) Set(s string) error

func (*SecFlags) SkipAllSecurityChecks

func (sf *SecFlags) SkipAllSecurityChecks() bool

func (*SecFlags) SkipAnySecurityChecks

func (sf *SecFlags) SkipAnySecurityChecks() bool

func (*SecFlags) SkipImageCheck

func (sf *SecFlags) SkipImageCheck() bool

func (*SecFlags) SkipOnDiskCheck

func (sf *SecFlags) SkipOnDiskCheck() bool

func (*SecFlags) SkipTLSCheck added in v0.16.0

func (sf *SecFlags) SkipTLSCheck() bool

Jump to

Keyboard shortcuts

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