commands

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FetchAlpineCmd

type FetchAlpineCmd struct {
	Debug     bool
	DebugSQL  bool
	Quiet     bool
	LogDir    string
	LogJSON   bool
	DBPath    string
	DBType    string
	HTTPProxy string
}

FetchAlpineCmd is Subcommand for fetch Alpine secdb https://git.alpinelinux.org/cgit/alpine-secdb/

func (*FetchAlpineCmd) Execute

func (p *FetchAlpineCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute execute

func (*FetchAlpineCmd) Name

func (*FetchAlpineCmd) Name() string

Name return subcommand name

func (*FetchAlpineCmd) SetFlags

func (p *FetchAlpineCmd) SetFlags(f *flag.FlagSet)

SetFlags set flag

func (*FetchAlpineCmd) Synopsis

func (*FetchAlpineCmd) Synopsis() string

Synopsis return synopsis

func (*FetchAlpineCmd) Usage

func (*FetchAlpineCmd) Usage() string

Usage return usage

type FetchAmazonCmd

type FetchAmazonCmd struct {
	Debug     bool
	DebugSQL  bool
	Quiet     bool
	LogDir    string
	LogJSON   bool
	DBPath    string
	DBType    string
	HTTPProxy string
}

FetchAmazonCmd is Subcommand for fetch Amazon ALAS RSS https://alas.aws.amazon.com/alas.rss

func (*FetchAmazonCmd) Execute

func (p *FetchAmazonCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute execute

func (*FetchAmazonCmd) Name

func (*FetchAmazonCmd) Name() string

Name return subcommand name

func (*FetchAmazonCmd) SetFlags

func (p *FetchAmazonCmd) SetFlags(f *flag.FlagSet)

SetFlags set flag

func (*FetchAmazonCmd) Synopsis

func (*FetchAmazonCmd) Synopsis() string

Synopsis return synopsis

func (*FetchAmazonCmd) Usage

func (*FetchAmazonCmd) Usage() string

Usage return usage

type FetchDebianCmd

type FetchDebianCmd struct {
	// ovalFiles bool
	Debug     bool
	DebugSQL  bool
	Quiet     bool
	LogDir    string
	LogJSON   bool
	DBPath    string
	DBType    string
	HTTPProxy string
}

FetchDebianCmd is Subcommand for fetch RedHat OVAL

func (*FetchDebianCmd) Execute

func (p *FetchDebianCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute execute

func (*FetchDebianCmd) Name

func (*FetchDebianCmd) Name() string

Name return subcommand name

func (*FetchDebianCmd) SetFlags

func (p *FetchDebianCmd) SetFlags(f *flag.FlagSet)

SetFlags set flag

func (*FetchDebianCmd) Synopsis

func (*FetchDebianCmd) Synopsis() string

Synopsis return synopsis

func (*FetchDebianCmd) Usage

func (*FetchDebianCmd) Usage() string

Usage return usage

type FetchOracleCmd

type FetchOracleCmd struct {
	Debug     bool
	DebugSQL  bool
	Quiet     bool
	NoDetails bool
	LogDir    string
	LogJSON   bool
	DBPath    string
	DBType    string
	HTTPProxy string
}

FetchOracleCmd is Subcommand for fetch Oracle OVAL

func (*FetchOracleCmd) Execute

func (p *FetchOracleCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute execute

func (*FetchOracleCmd) Name

func (*FetchOracleCmd) Name() string

Name return subcommand name

func (*FetchOracleCmd) SetFlags

func (p *FetchOracleCmd) SetFlags(f *flag.FlagSet)

SetFlags set flag

func (*FetchOracleCmd) Synopsis

func (*FetchOracleCmd) Synopsis() string

Synopsis return synopsis

func (*FetchOracleCmd) Usage

func (*FetchOracleCmd) Usage() string

Usage return usage

type FetchRedHatCmd

type FetchRedHatCmd struct {
	Debug     bool
	DebugSQL  bool
	Quiet     bool
	NoDetails bool
	LogDir    string
	LogJSON   bool
	DBPath    string
	DBType    string
	HTTPProxy string
}

FetchRedHatCmd is Subcommand for fetch RedHat OVAL

func (*FetchRedHatCmd) Execute

func (p *FetchRedHatCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute execute

func (*FetchRedHatCmd) Name

func (*FetchRedHatCmd) Name() string

Name return subcommand name

func (*FetchRedHatCmd) SetFlags

func (p *FetchRedHatCmd) SetFlags(f *flag.FlagSet)

SetFlags set flag

func (*FetchRedHatCmd) Synopsis

func (*FetchRedHatCmd) Synopsis() string

Synopsis return synopsis

func (*FetchRedHatCmd) Usage

func (*FetchRedHatCmd) Usage() string

Usage return usage

type FetchSUSECmd

type FetchSUSECmd struct {
	OpenSUSE              bool
	OpenSUSELeap          bool
	SUSEEnterpriseServer  bool
	SUSEEnterpriseDesktop bool
	SUSEOpenstackCloud    bool
	Debug                 bool
	DebugSQL              bool
	Quiet                 bool
	LogDir                string
	LogJSON               bool
	DBPath                string
	DBType                string
	HTTPProxy             string
	OVALPath              string
}

FetchSUSECmd is Subcommand for fetch SUSE OVAL

func (*FetchSUSECmd) Execute

func (p *FetchSUSECmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute execute

func (*FetchSUSECmd) Name

func (*FetchSUSECmd) Name() string

Name return subcommand name

func (*FetchSUSECmd) SetFlags

func (p *FetchSUSECmd) SetFlags(f *flag.FlagSet)

SetFlags set flag

func (*FetchSUSECmd) Synopsis

func (*FetchSUSECmd) Synopsis() string

Synopsis return synopsis

func (*FetchSUSECmd) Usage

func (*FetchSUSECmd) Usage() string

Usage return usage

type FetchUbuntuCmd

type FetchUbuntuCmd struct {
	Debug     bool
	DebugSQL  bool
	Quiet     bool
	NoDetails bool
	LogDir    string
	LogJSON   bool
	DBPath    string
	DBType    string
	HTTPProxy string
}

FetchUbuntuCmd is Subcommand for fetch RedHat OVAL

func (*FetchUbuntuCmd) Execute

func (p *FetchUbuntuCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute execute

func (*FetchUbuntuCmd) Name

func (*FetchUbuntuCmd) Name() string

Name return subcommand name

func (*FetchUbuntuCmd) SetFlags

func (p *FetchUbuntuCmd) SetFlags(f *flag.FlagSet)

SetFlags set flag

func (*FetchUbuntuCmd) Synopsis

func (*FetchUbuntuCmd) Synopsis() string

Synopsis return synopsis

func (*FetchUbuntuCmd) Usage

func (*FetchUbuntuCmd) Usage() string

Usage return usage

type SelectCmd

type SelectCmd struct {
	DebugSQL bool
	DBPath   string
	DBType   string
	Quiet    bool
	LogDir   string
	LogJSON  bool

	ByPackage bool
	ByCveID   bool
}

SelectCmd is Subcommand for fetch RedHat OVAL

func (*SelectCmd) Execute

func (p *SelectCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute execute

func (*SelectCmd) Name

func (*SelectCmd) Name() string

Name return subcommand name

func (*SelectCmd) SetFlags

func (p *SelectCmd) SetFlags(f *flag.FlagSet)

SetFlags set flag

func (*SelectCmd) Synopsis

func (*SelectCmd) Synopsis() string

Synopsis return synopsis

func (*SelectCmd) Usage

func (*SelectCmd) Usage() string

Usage return usage

type ServerCmd

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

ServerCmd is Subcommand for OVAL dictionary HTTP Server

func (*ServerCmd) Execute

func (p *ServerCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute execute

func (*ServerCmd) Name

func (*ServerCmd) Name() string

Name return subcommand name

func (*ServerCmd) SetFlags

func (p *ServerCmd) SetFlags(f *flag.FlagSet)

SetFlags set flag

func (*ServerCmd) Synopsis

func (*ServerCmd) Synopsis() string

Synopsis return synopsis

func (*ServerCmd) Usage

func (*ServerCmd) Usage() string

Usage return usage

Jump to

Keyboard shortcuts

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