cmd

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConvertCommand

func NewConvertCommand(streams genericclioptions.IOStreams) *cobra.Command

NewConvertCommand creates the `convert` command

func NewDeleteCommand

func NewDeleteCommand(streams genericclioptions.IOStreams, f factory.Factory) *cobra.Command

NewDeleteCommand creates the `delete` command

func NewFalcoDeleteCommand

func NewFalcoDeleteCommand(streams genericclioptions.IOStreams, f factory.Factory) *cobra.Command

NewFalcoDeleteCommand creates the `delete falco` command

func NewFalcoInstallCommand

func NewFalcoInstallCommand(streams genericclioptions.IOStreams, f factory.Factory) *cobra.Command

NewFalcoInstallCommand creates the `install falco` command

func NewInstallCommand

func NewInstallCommand(streams genericclioptions.IOStreams, f factory.Factory) *cobra.Command

NewInstallCommand creates the `install` command

func NewProbeInstallCommand

func NewProbeInstallCommand(streams genericclioptions.IOStreams) *cobra.Command

NewProbeInstallCommand creates the `install probe` command

func NewPspRulesConvCommand

func NewPspRulesConvCommand(streams genericclioptions.IOStreams) *cobra.Command

NewPspRulesConvCommand instantiates the `convert psp` command

func NewRootCommand

func NewRootCommand(streams genericclioptions.IOStreams) *cobra.Command

NewRootCommand creates the command

Types

type CommandOptions

type CommandOptions interface {
	Validate(*cobra.Command, []string) error
}

CommandOptions is ...

func NewConvertOptions

func NewConvertOptions(streams genericclioptions.IOStreams) CommandOptions

NewConvertOptions instantiates the `convert` command options

func NewDeleteOptions

func NewDeleteOptions(streams genericclioptions.IOStreams) CommandOptions

NewDeleteOptions instantiates the `delete` command options

func NewFalcoDeleteOptions

func NewFalcoDeleteOptions(streams genericclioptions.IOStreams) CommandOptions

NewFalcoDeleteOptions instantiates the `delete falco` command options

func NewFalcoInstallOptions

func NewFalcoInstallOptions(streams genericclioptions.IOStreams) CommandOptions

NewFalcoInstallOptions instantiates the `install falco` command options

func NewInstallOptions

func NewInstallOptions(streams genericclioptions.IOStreams) CommandOptions

NewInstallOptions instantiates the `install` command options

func NewProbeInstallOptions

func NewProbeInstallOptions(streams genericclioptions.IOStreams) CommandOptions

NewProbeInstallOptions instantiates the `install probe` command options

func NewPspRulesConvOptions

func NewPspRulesConvOptions(streams genericclioptions.IOStreams) CommandOptions

NewPspRulesConvOptions instantiates PspRulesConvOptions

func NewRootOptions

func NewRootOptions(streams genericclioptions.IOStreams) CommandOptions

NewRootOptions instantiates the base command options

type ConvertOptions

type ConvertOptions struct {
	genericclioptions.IOStreams
}

ConvertOptions represents the convert command options

func (ConvertOptions) Validate

func (o ConvertOptions) Validate(c *cobra.Command, args []string) error

Validate validates the `convert` command options

type DeleteOptions

type DeleteOptions struct {
	genericclioptions.IOStreams
}

DeleteOptions represents the `delete` command options

func (DeleteOptions) Validate

func (o DeleteOptions) Validate(c *cobra.Command, args []string) error

Validate validates the `delete` command options

type FalcoDeleteOptions

type FalcoDeleteOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

FalcoDeleteOptions represents the `delete falco` command options

func (FalcoDeleteOptions) Validate

func (o FalcoDeleteOptions) Validate(c *cobra.Command, args []string) error

Validate validates the `delete falco` command options

type FalcoInstallOptions

type FalcoInstallOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

FalcoInstallOptions represents the `install falco` command options

func (FalcoInstallOptions) Validate

func (o FalcoInstallOptions) Validate(c *cobra.Command, args []string) error

Validate validates the `install falco` command options

type InstallOptions

type InstallOptions struct {
	genericclioptions.IOStreams
}

InstallOptions represents the install command options

func (InstallOptions) Validate

func (o InstallOptions) Validate(c *cobra.Command, args []string) error

Validate validates the `install` command options

type ProbeInstallOptions

type ProbeInstallOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

ProbeInstallOptions represents the `install probe` command options

func (ProbeInstallOptions) Validate

func (o ProbeInstallOptions) Validate(c *cobra.Command, args []string) error

Validate validates the `install probe` command options

type PspRulesConvOptions

type PspRulesConvOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

PspRulesConvOptions represents options for PSP to Falco rules conversion

func (PspRulesConvOptions) Validate

func (o PspRulesConvOptions) Validate(c *cobra.Command, args []string) error

Validate options to psp_conv command

type RootOptions

type RootOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

RootOptions represents the base command options

func (RootOptions) Validate

func (o RootOptions) Validate(c *cobra.Command, args []string) error

Validate validates the base command options

Jump to

Keyboard shortcuts

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