Documentation ¶
Index ¶
- type BackupCmd
- type CheckCmd
- type DeleteCmd
- type DeleteManifestCmd
- type DeleteObjectCmd
- type DeleteRelationCmd
- type DirectoryCmd
- type ExportCmd
- type GetCmd
- type GetManifestCmd
- type GetObjectCmd
- type GetRelationCmd
- type ImportCmd
- type ListCmd
- type ListObjectsCmd
- type ListRelationsCmd
- type RestoreCmd
- type SearchCmd
- type SetCmd
- type SetManifestCmd
- type SetObjectCmd
- type SetRelationCmd
- type StatsCmd
- type TestCmd
- type TestExecCmd
- type TestTemplateCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupCmd ¶
type CheckCmd ¶ added in v0.32.4
type DeleteCmd ¶ added in v0.32.4
type DeleteCmd struct { Object DeleteObjectCmd `cmd:"" help:"delete object"` Relation DeleteRelationCmd `cmd:"" help:"delete relation"` Manifest DeleteManifestCmd `cmd:"" help:"delete manifest"` }
type DeleteManifestCmd ¶ added in v0.32.2
type DeleteObjectCmd ¶ added in v0.32.4
type DeleteObjectCmd struct { Request string `arg:"" type:"string" name:"request" optional:"" help:"file path to delete object request or '-' to read from stdin"` Template bool `name:"template" short:"t" help:"prints a delete object request template on stdout"` Editor bool `name:"edit" short:"e" help:"edit request" hidden:"" type:"fflag.Editor"` dsc.Config }
func (*DeleteObjectCmd) BeforeReset ¶ added in v0.32.6
func (cmd *DeleteObjectCmd) BeforeReset(ctx *kong.Context) error
type DeleteRelationCmd ¶ added in v0.32.4
type DeleteRelationCmd struct { Request string `arg:"" type:"string" name:"request" optional:"" help:"file path to delete relation request or '-' to read from stdin"` Template bool `name:"template" short:"t" help:"prints a delete relation request template on stdout"` Editor bool `name:"edit" short:"e" help:"edit request" hidden:"" type:"fflag.Editor"` dsc.Config }
type DirectoryCmd ¶
type DirectoryCmd struct { Check CheckCmd `cmd:"" help:"check permission"` Search SearchCmd `cmd:"" help:"search relation graph"` Get GetCmd `cmd:"" help:"get object|relation|manifest"` Set SetCmd `cmd:"" help:"set object|relation|manifest"` Delete DeleteCmd `cmd:"" help:"delete object|relation|manifest"` List ListCmd `cmd:"" help:"list objects|relations"` 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"` Stats StatsCmd `cmd:"" help:"directory statistics"` Test TestCmd `cmd:"" help:"execute directory assertions"` }
type ExportCmd ¶
type GetCmd ¶ added in v0.32.4
type GetCmd struct { Object GetObjectCmd `cmd:"" help:"get object"` Relation GetRelationCmd `cmd:"" help:"get relation"` Manifest GetManifestCmd `cmd:"" help:"get manifest"` }
type GetManifestCmd ¶ added in v0.32.2
type GetObjectCmd ¶ added in v0.32.4
type GetObjectCmd struct { Request string `` /* 128-byte string literal not displayed */ Template bool `name:"template" short:"t" help:"prints a get object request template on stdout"` Editor bool `name:"edit" short:"e" help:"edit request" hidden:"" type:"fflag.Editor"` dsc.Config }
func (*GetObjectCmd) BeforeReset ¶ added in v0.32.6
func (cmd *GetObjectCmd) BeforeReset(ctx *kong.Context) error
type GetRelationCmd ¶ added in v0.32.4
type ImportCmd ¶
type ListCmd ¶ added in v0.32.4
type ListCmd struct { Objects ListObjectsCmd `cmd:"" help:"list objects"` Relations ListRelationsCmd `cmd:"" help:"list relations"` }
type ListObjectsCmd ¶ added in v0.32.4
type ListObjectsCmd struct { Request string `arg:"" type:"string" name:"request" optional:"" help:"file path to list objects request or '-' to read from stdin"` Template bool `name:"template" short:"t" help:"prints a list objects request template on stdout"` Editor bool `name:"edit" short:"e" help:"edit request" hidden:"" type:"fflag.Editor"` dsc.Config }
func (*ListObjectsCmd) BeforeReset ¶ added in v0.32.6
func (cmd *ListObjectsCmd) BeforeReset(ctx *kong.Context) error
type ListRelationsCmd ¶ added in v0.32.4
type ListRelationsCmd struct { Request string `arg:"" type:"s" name:"request" optional:"" help:"file path to list relations request or '-' to read from stdin"` Template bool `name:"template" short:"t" help:"prints a list relations request template on stdout"` Editor bool `name:"edit" short:"e" help:"edit request" hidden:"" type:"fflag.Editor"` dsc.Config }
type RestoreCmd ¶
type SearchCmd ¶ added in v0.32.4
type SetCmd ¶ added in v0.32.4
type SetCmd struct { Object SetObjectCmd `cmd:"" help:"set object"` Relation SetRelationCmd `cmd:"" help:"set relation"` Manifest SetManifestCmd `cmd:"" help:"set manifest"` }
type SetManifestCmd ¶ added in v0.32.2
type SetObjectCmd ¶ added in v0.32.4
type SetObjectCmd struct { Request string `arg:"" type:"string" name:"request" optional:"" help:"file path to set object request or '-' to read from stdin"` Template bool `name:"template" short:"t" help:"prints a set object request template on stdout"` Editor bool `name:"edit" short:"e" help:"edit request" hidden:"" type:"fflag.Editor"` dsc.Config }
func (*SetObjectCmd) BeforeReset ¶ added in v0.32.6
func (cmd *SetObjectCmd) BeforeReset(ctx *kong.Context) error
type SetRelationCmd ¶ added in v0.32.4
type SetRelationCmd struct { Request string `arg:"" type:"string" name:"request" optional:"" help:"file path to set relation request or '-' to read from stdin"` Template bool `name:"template" short:"t" help:"prints a set relation request template on stdout"` Editor bool `name:"edit" short:"e" help:"edit request" hidden:"" type:"fflag.Editor"` dsc.Config }
type StatsCmd ¶ added in v0.32.20
type TestCmd ¶
type TestCmd struct { Exec TestExecCmd `cmd:"" help:"execute assertions"` Template TestTemplateCmd `cmd:"" help:"output assertions template"` }
type TestExecCmd ¶
type TestExecCmd struct { common.TestExecCmd dsc.Config }
type TestTemplateCmd ¶
type TestTemplateCmd struct {
Pretty bool `flag:"" default:"false" help:"pretty print JSON"`
}
Click to show internal directories.
Click to hide internal directories.