commands

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FetchJvnCmd

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

FetchJvnCmd is Subcommand for fetch JVN information.

func (*FetchJvnCmd) Execute

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

Execute execute

func (*FetchJvnCmd) Name

func (*FetchJvnCmd) Name() string

Name return subcommand name

func (*FetchJvnCmd) SetFlags

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

SetFlags set flag

func (*FetchJvnCmd) Synopsis

func (*FetchJvnCmd) Synopsis() string

Synopsis return synopsis

func (*FetchJvnCmd) Usage

func (*FetchJvnCmd) Usage() string

Usage return usage

type FetchNvdCmd

type FetchNvdCmd struct {
	Latest bool
	// contains filtered or unexported fields
}

FetchNvdCmd is Subcommand for fetch Nvd information.

func (*FetchNvdCmd) Execute

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

Execute execute

func (*FetchNvdCmd) Name

func (*FetchNvdCmd) Name() string

Name return subcommand name

func (*FetchNvdCmd) SetFlags

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

SetFlags set flag

func (*FetchNvdCmd) Synopsis

func (*FetchNvdCmd) Synopsis() string

Synopsis return synopsis

func (*FetchNvdCmd) Usage

func (*FetchNvdCmd) Usage() string

Usage return usage

type ListCmd added in v0.2.0

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

ListCmd is Subcommand for fetch Nvd information.

func (*ListCmd) Execute added in v0.2.0

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

Execute execute

func (*ListCmd) Name added in v0.2.0

func (*ListCmd) Name() string

Name return subcommand name

func (*ListCmd) SetFlags added in v0.2.0

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

SetFlags set flag

func (*ListCmd) Synopsis added in v0.2.0

func (*ListCmd) Synopsis() string

Synopsis return synopsis

func (*ListCmd) Usage added in v0.2.0

func (*ListCmd) Usage() string

Usage return usage

type ServerCmd

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

ServerCmd is Subcommand for CVE 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