Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct { Common Migrate MigrateCmd `cmd:"" help:"migrate directory v2 metadata to an annotated v3 manifest"` Version VersionCmd `cmd:"" help:"version information"` }
type Common ¶
type Common struct { Host string `name:"host" env:"ASERTO_DIR_SVC" default:"localhost:9292"` APIKey string `name:"api-key" env:"ASERTO_DIR_KEY" default:""` TenantID string `name:"tenant-id" env:"ASERTO_TENANT_ID" default:""` Insecure bool `name:"insecure" env:"ASERTO_SKIP_TLS_VERIFICATION" default:"false"` }
type MigrateCmd ¶
type MigrateCmd struct { Filename string `flag:"" name:"file" default:"manifest.yaml"` Description string `flag:"" name:"desc" default:"automatic migration of v2 model to annotated v3 manifest"` InclHeader bool `flag:"" name:"hdr" default:"false" help:"incl header"` InclTimestamp bool `flag:"" name:"ts" default:"false" help:"incl timestamp"` }
func (*MigrateCmd) Run ¶
func (cmd *MigrateCmd) Run(c *Common) error
type VersionCmd ¶
type VersionCmd struct { }
func (*VersionCmd) Run ¶
func (a *VersionCmd) Run(c *Common) error
Click to show internal directories.
Click to hide internal directories.