dev

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfig

func CreateConfig(w io.Writer, params *templateParams) error

Types

type ConfigureCmd

type ConfigureCmd struct {
	Name string `arg:"" required:"" help:"policy name"`
}

func (ConfigureCmd) Run

func (cmd ConfigureCmd) Run(c *cc.CommonCtx) error

nolint:funlen // tbd

type ConsoleCmd

type ConsoleCmd struct{}

func (ConsoleCmd) Run

func (cmd ConsoleCmd) Run(c *cc.CommonCtx) error

type InstallCmd

type InstallCmd struct {
	ContainerName    string `optional:""  default:"aserto-one" help:"container name"`
	ContainerVersion string `optional:""  default:"latest" help:"container version" `
}

func (InstallCmd) Run

func (cmd InstallCmd) Run(c *cc.CommonCtx) error

type StartCmd

type StartCmd struct {
	Name             string `arg:"" required:"" help:"policy name"`
	SrcPath          string `optional:"" type:"path" help:"path to source or bundle file"`
	Interactive      bool   `optional:""  help:"interactive execution mode instead of the default daemon mode"`
	ContainerName    string `optional:""  default:"aserto-one" help:"container name"`
	ContainerVersion string `optional:""  default:"latest" help:"container version" `
}

func (StartCmd) Run

func (cmd StartCmd) Run(c *cc.CommonCtx) error

nolint:funlen // tbd

type StatusCmd

type StatusCmd struct{}

func (StatusCmd) Run

func (cmd StatusCmd) Run(c *cc.CommonCtx) error

type StopCmd

type StopCmd struct{}

func (StopCmd) Run

func (cmd StopCmd) Run(c *cc.CommonCtx) error

type UninstallCmd

type UninstallCmd struct{}

func (UninstallCmd) Run

func (cmd UninstallCmd) Run(c *cc.CommonCtx) error

type UpdateCmd

type UpdateCmd struct {
	ContainerName    string `optional:""  default:"aserto-one" help:"container name"`
	ContainerVersion string `optional:""  default:"latest" help:"container version" `
}

func (UpdateCmd) Run

func (cmd UpdateCmd) Run(c *cc.CommonCtx) error

Jump to

Keyboard shortcuts

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