Documentation ¶
Index ¶
- Constants
- func Convert(streams genericclioptions.IOStreams) *cobra.Command
- func Delete(streams genericclioptions.IOStreams) *cobra.Command
- func DeleteFalco(streams genericclioptions.IOStreams) *cobra.Command
- func Install(streams genericclioptions.IOStreams) *cobra.Command
- func InstallFalco(streams genericclioptions.IOStreams) *cobra.Command
- func InstallModule(streams genericclioptions.IOStreams) *cobra.Command
- func InstallRule(streams genericclioptions.IOStreams) *cobra.Command
- func InstallTLS(streams genericclioptions.IOStreams) *cobra.Command
- func New() *cobra.Command
- func PspConvert(streams genericclioptions.IOStreams) *cobra.Command
- func Start()
- type CommandOptions
- func NewConvertOptions(streams genericclioptions.IOStreams) CommandOptions
- func NewDeleteOptions() CommandOptions
- func NewFalcoDeleteOptions() CommandOptions
- func NewFalcoOptions() CommandOptions
- func NewInstallOptions() CommandOptions
- func NewModuleOptions() CommandOptions
- func NewPspConvertOptions() CommandOptions
- func NewRuleOptions(streams genericclioptions.IOStreams) CommandOptions
- func NewTLSOptions() CommandOptions
- type ConfigOptions
- type ConvertOptions
- type DeleteOptions
- type FalcoDeleteOptions
- type FalcoOptions
- type InstallOptions
- type ModuleOptions
- type PspConvertOptions
- type RuleOptions
- type TLSOptions
Constants ¶
const ( DefaultCertsCountry = "US" DefaultCertsOrg = "falcosecurity" DefaultCertsName = "localhost" DefaultCertsPath = "/etc/falco/certs" DefaultCertsDays = 365 )
Defaults
Variables ¶
This section is empty.
Functions ¶
func Convert ¶ added in v0.1.0
func Convert(streams genericclioptions.IOStreams) *cobra.Command
Convert creates the `convert` command
func Delete ¶ added in v0.1.0
func Delete(streams genericclioptions.IOStreams) *cobra.Command
Delete creates the `delete` command
func DeleteFalco ¶ added in v0.1.0
func DeleteFalco(streams genericclioptions.IOStreams) *cobra.Command
DeleteFalco creates the `delete falco` command
func Install ¶ added in v0.1.0
func Install(streams genericclioptions.IOStreams) *cobra.Command
Install creates the `install` command
func InstallFalco ¶ added in v0.1.0
func InstallFalco(streams genericclioptions.IOStreams) *cobra.Command
InstallFalco creates the `install falco` command
func InstallModule ¶ added in v0.1.0
func InstallModule(streams genericclioptions.IOStreams) *cobra.Command
InstallModule creates the `install module` command
func InstallRule ¶ added in v0.1.0
func InstallRule(streams genericclioptions.IOStreams) *cobra.Command
InstallRule creates the `install rule` command
func InstallTLS ¶ added in v0.1.0
func InstallTLS(streams genericclioptions.IOStreams) *cobra.Command
InstallTLS creates the `install tls` command
func PspConvert ¶ added in v0.1.0
func PspConvert(streams genericclioptions.IOStreams) *cobra.Command
PspConvert instantiates the `convert psp` command
Types ¶
type CommandOptions ¶
CommandOptions is ...
func NewConvertOptions ¶
func NewConvertOptions(streams genericclioptions.IOStreams) CommandOptions
NewConvertOptions instantiates the `convert` command options
func NewDeleteOptions ¶
func NewDeleteOptions() CommandOptions
NewDeleteOptions instantiates the `delete` command options
func NewFalcoDeleteOptions ¶
func NewFalcoDeleteOptions() CommandOptions
NewFalcoDeleteOptions instantiates the `delete falco` command options
func NewFalcoOptions ¶ added in v0.1.0
func NewFalcoOptions() CommandOptions
NewFalcoOptions instantiates the `install falco` command options
func NewInstallOptions ¶
func NewInstallOptions() CommandOptions
NewInstallOptions instantiates the `install` command options
func NewModuleOptions ¶ added in v0.1.0
func NewModuleOptions() CommandOptions
NewModuleOptions instantiates the `install module` command options
func NewPspConvertOptions ¶ added in v0.1.0
func NewPspConvertOptions() CommandOptions
NewPspConvertOptions instantiates PspConvertOptions
func NewRuleOptions ¶ added in v0.1.0
func NewRuleOptions(streams genericclioptions.IOStreams) CommandOptions
NewRuleOptions instantiates the `install rule` command options
func NewTLSOptions ¶ added in v0.1.0
func NewTLSOptions() CommandOptions
NewTLSOptions instantiates the `install tls` command options
type ConfigOptions ¶ added in v0.1.0
type ConfigOptions struct { ConfigFile string `name:"config"` Verbose int `validate:"number,min=0,max=4" default:"3" name:"verbose"` Fabulous bool `name:"fab"` }
ConfigOptions represent the persistent configuration flags of falcoctl.
func NewConfigOptions ¶ added in v0.1.0
func NewConfigOptions() *ConfigOptions
NewConfigOptions creates an instance of ConfigOptions.
func (*ConfigOptions) Validate ¶ added in v0.1.0
func (co *ConfigOptions) Validate() []error
Validate validates the ConfigOptions fields.
type ConvertOptions ¶
type ConvertOptions struct { }
ConvertOptions represents the convert command options
type DeleteOptions ¶
type DeleteOptions struct { }
DeleteOptions represents the `delete` command options
type FalcoDeleteOptions ¶
type FalcoDeleteOptions struct {
// contains filtered or unexported fields
}
FalcoDeleteOptions represents the `delete falco` command options
type FalcoOptions ¶ added in v0.1.0
type FalcoOptions struct {
// contains filtered or unexported fields
}
FalcoOptions represents the `install falco` command options
type InstallOptions ¶
type InstallOptions struct { }
InstallOptions represents the install command options
type ModuleOptions ¶ added in v0.1.0
type ModuleOptions struct {
// contains filtered or unexported fields
}
ModuleOptions represents the `install module` command options
type PspConvertOptions ¶ added in v0.1.0
type PspConvertOptions struct {
// contains filtered or unexported fields
}
PspConvertOptions represents options for PSP to Falco rules conversion
type RuleOptions ¶ added in v0.1.0
type RuleOptions struct { }
RuleOptions represents the `install tls` command options
type TLSOptions ¶ added in v0.1.0
type TLSOptions struct {
// contains filtered or unexported fields
}
TLSOptions represents the `install tls` command options