Documentation ¶
Index ¶
- func CreateConfigDir() (string, error)
- func WriteConfig(w io.Writer, templ string, params *templateParams) error
- type BackupCmd
- type CLI
- type ConfigureCmd
- type ExportCmd
- type ImportCmd
- type InstallCmd
- type LoadCmd
- type RestoreCmd
- type RunCmd
- type SaveCmd
- type StartCmd
- type StatusCmd
- type StopCmd
- type UninstallCmd
- type VersionCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfigDir ¶
Types ¶
type CLI ¶
type CLI struct { Backup BackupCmd `cmd:"" help:"backup directory data"` Configure ConfigureCmd `cmd:"" help:"configure topaz service"` Export ExportCmd `cmd:"" help:"export directory objects"` Install InstallCmd `cmd:"" help:"install topaz"` Import ImportCmd `cmd:"" help:"import directory objects"` Load LoadCmd `cmd:"" help:"load a manifest file"` Restore RestoreCmd `cmd:"" help:"restore directory data"` Run RunCmd `cmd:"" help:""` Save SaveCmd `cmd:"" help:"save a manifest file"` Start StartCmd `cmd:"" help:"start topaz instance"` Status StatusCmd `cmd:"" help:"display topaz instance status"` Stop StopCmd `cmd:"" help:"stop topaz instance"` Version VersionCmd `cmd:"" help:"version information"` Uninstall UninstallCmd `cmd:"" help:"uninstall topaz, removes all locally installed artifacts"` }
type ConfigureCmd ¶
type ConfigureCmd struct { PolicyName string `arg:"" required:"" help:"policy name"` Resource string `short:"r" required:"" help:"resource url"` Stdout bool `short:"p" help:"generated configuration is printed to stdout but not saved"` EdgeDirectory bool `short:"d" help:"enable edge directory" default:"false"` SeedMetadata bool `short:"s" help:"enable seed metadata" default:"false"` }
type InstallCmd ¶
type RestoreCmd ¶
type RestoreCmd struct{}
type RunCmd ¶
type StartCmd ¶
type UninstallCmd ¶
type UninstallCmd struct{}
type VersionCmd ¶
type VersionCmd struct{}
Click to show internal directories.
Click to hide internal directories.