Documentation ¶
Overview ¶
Package hierarchy holds the Vault subcommands for managing the hierarchy of data, sources, and summaries.
Index ¶
- func NewAddSourceToSourceCommand() *command.RegisteredCommand
- func NewAddSummaryToSourceCommand() *command.RegisteredCommand
- func NewAddSurveyToSourceCommand() *command.RegisteredCommand
- func NewRemoveSourceFromSourceCommand() *command.RegisteredCommand
- func NewRemoveSummaryFromSourceCommand() *command.RegisteredCommand
- func NewRemoveSurveyFromSourceCommand() *command.RegisteredCommand
- type AddSourceToSourceCommand
- type AddSummaryToSourceCommand
- type AddSurveyToSourceCommand
- type RemoveSourceFromSourceCommand
- type RemoveSummaryFromSourceCommand
- type RemoveSurveyFromSourceCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddSourceToSourceCommand ¶
func NewAddSourceToSourceCommand() *command.RegisteredCommand
NewAddSourceToSourceCommand returns a RegisteredCommand containing all of the info required by the subcommand system.
func NewAddSummaryToSourceCommand ¶
func NewAddSummaryToSourceCommand() *command.RegisteredCommand
NewAddSummaryToSourceCommand returns a RegisteredCommand containing all of the info required by the subcommand system.
func NewAddSurveyToSourceCommand ¶
func NewAddSurveyToSourceCommand() *command.RegisteredCommand
NewAddSurveyToSourceCommand returns a RegisteredCommand containing all of the info required by the subcommand system.
func NewRemoveSourceFromSourceCommand ¶
func NewRemoveSourceFromSourceCommand() *command.RegisteredCommand
NewRemoveSourceFromSourceCommand returns a RegisteredCommand containing all of the info required by the subcommand system.
func NewRemoveSummaryFromSourceCommand ¶
func NewRemoveSummaryFromSourceCommand() *command.RegisteredCommand
NewRemoveSummaryFromSourceCommand returns a RegisteredCommand containing all of the info required by the subcommand system.
func NewRemoveSurveyFromSourceCommand ¶
func NewRemoveSurveyFromSourceCommand() *command.RegisteredCommand
NewRemoveSurveyFromSourceCommand returns a RegisteredCommand containing all of the info required by the subcommand system.
Types ¶
type AddSourceToSourceCommand ¶
type AddSourceToSourceCommand command.BaseCommand
AddSourceToSourceCommand controls adding one source to another in the hierarchy. This only adds a child to a parent; all other relationships are sussed out by Vault.
func (AddSourceToSourceCommand) Init ¶
func (cmd AddSourceToSourceCommand) Init(cfg *config.Config, args []string) error
Init initializes the command.
func (AddSourceToSourceCommand) Run ¶
func (cmd AddSourceToSourceCommand) Run() error
Run runs the command.
type AddSummaryToSourceCommand ¶
type AddSummaryToSourceCommand command.BaseCommand
AddSummaryToSourceCommand controls adding one source to another in the hierarchy. This only adds a child to a parent; all other relationships are sussed out by Vault.
func (AddSummaryToSourceCommand) Init ¶
func (cmd AddSummaryToSourceCommand) Init(cfg *config.Config, args []string) error
Init initializes the command.
func (AddSummaryToSourceCommand) Run ¶
func (cmd AddSummaryToSourceCommand) Run() error
Run runs the command.
type AddSurveyToSourceCommand ¶
type AddSurveyToSourceCommand command.BaseCommand
AddSurveyToSourceCommand controls adding one source to another in the hierarchy. This only adds a child to a parent; all other relationships are sussed out by Vault.
func (AddSurveyToSourceCommand) Init ¶
func (cmd AddSurveyToSourceCommand) Init(cfg *config.Config, args []string) error
Init initializes the command.
func (AddSurveyToSourceCommand) Run ¶
func (cmd AddSurveyToSourceCommand) Run() error
Run runs the command.
type RemoveSourceFromSourceCommand ¶
type RemoveSourceFromSourceCommand command.BaseCommand
RemoveSourceFromSourceCommand controls removing one source from another in the hierarchy. This only adds a child to a parent; all other relationships are sussed out by Vault.
func (RemoveSourceFromSourceCommand) Init ¶
func (cmd RemoveSourceFromSourceCommand) Init(cfg *config.Config, args []string) error
Init initializes the command.
func (RemoveSourceFromSourceCommand) Run ¶
func (cmd RemoveSourceFromSourceCommand) Run() error
Run runs the command.
type RemoveSummaryFromSourceCommand ¶
type RemoveSummaryFromSourceCommand command.BaseCommand
RemoveSummaryFromSourceCommand controls removing one source from another in the hierarchy. This only adds a child to a parent; all other relationships are sussed out by Vault.
func (RemoveSummaryFromSourceCommand) Init ¶
func (cmd RemoveSummaryFromSourceCommand) Init(cfg *config.Config, args []string) error
Init initializes the command.
func (RemoveSummaryFromSourceCommand) Run ¶
func (cmd RemoveSummaryFromSourceCommand) Run() error
Run runs the command.
type RemoveSurveyFromSourceCommand ¶
type RemoveSurveyFromSourceCommand command.BaseCommand
RemoveSurveyFromSourceCommand controls removing one source from another in the hierarchy. This only adds a child to a parent; all other relationships are sussed out by Vault.
func (RemoveSurveyFromSourceCommand) Init ¶
func (cmd RemoveSurveyFromSourceCommand) Init(cfg *config.Config, args []string) error
Init initializes the command.
func (RemoveSurveyFromSourceCommand) Run ¶
func (cmd RemoveSurveyFromSourceCommand) Run() error
Run runs the command.