Documentation ¶
Index ¶
Constants ¶
View Source
const ( CheckUnknown checkType = iota Check CheckRelation CheckPermission CheckDecision )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BackupCmd ¶
type BackupCmd struct { File string `arg:"" default:"backup.tar.gz" help:"absolute file path to make backup to"` Format FormatVersion `flag:"" short:"f" enum:"3,2" name:"format" default:"3" help:"format of json data"` clients.DirectoryConfig }
type DirectoryCmd ¶
type DirectoryCmd struct { Import ImportCmd `cmd:"" help:"import directory data"` Export ExportCmd `cmd:"" help:"export directory data"` Backup BackupCmd `cmd:"" help:"backup directory data"` Restore RestoreCmd `cmd:"" help:"restore directory data"` Test TestCmd `cmd:"" help:"execute directory assertions"` }
type ExportCmd ¶
type ExportCmd struct { Directory string `short:"d" required:"" help:"directory to write .json data"` Format FormatVersion `flag:"" short:"f" enum:"3,2" name:"format" default:"3" help:"format of json data"` clients.DirectoryConfig }
type ImportCmd ¶
type ImportCmd struct { Directory string `short:"d" required:"" help:"directory containing .json data"` Format FormatVersion `flag:"" short:"f" enum:"3,2" name:"format" default:"3" help:"format of json data"` clients.DirectoryConfig }
type RestoreCmd ¶
type RestoreCmd struct { File string `arg:"" default:"backup.tar.gz" help:"absolute file path to local backup tarball"` Format FormatVersion `flag:"" short:"f" enum:"3,2" name:"format" default:"3" help:"format of json data"` clients.DirectoryConfig }
type TestCmd ¶
type TestCmd struct { Exec TestExecCmd `cmd:"" help:"execute assertions"` Template TestTemplateCmd `cmd:"" help:"output assertions template"` }
type TestExecCmd ¶
type TestExecCmd struct { File string `arg:"" default:"assertions.json" help:"filepath to assertions file"` NoColor bool `flag:"" default:"false" help:"disable colorized output"` Summary bool `flag:"" default:"false" help:"display test summary"` clients.DirectoryConfig // contains filtered or unexported fields }
type TestTemplateCmd ¶
Click to show internal directories.
Click to hide internal directories.