add

package
v0.0.0-...-ecb7df7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package add provides Vault subcommands for adding/importing data to the database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRespondentCommand

func NewRespondentCommand() *command.RegisteredCommand

NewRespondentCommand returns a RegisteredCommand wrapping a RespondentCommand.

func NewResponseCommand

func NewResponseCommand() *command.RegisteredCommand

NewResponseCommand returns a RegisteredCommand wrapping a ResponseCommand.

func NewResponsesCommand

func NewResponsesCommand() *command.RegisteredCommand

NewResponsesCommand returns a RegisteredCommand wrapping a ResponsesCommand.

func NewSourceCommand

func NewSourceCommand() *command.RegisteredCommand

NewSourceCommand returns a RegisteredCommand wrapping a SourceCommand.

func NewSummaryCommand

func NewSummaryCommand() *command.RegisteredCommand

NewSummaryCommand returns a RegisteredCommand wrapping a SummaryCommand.

func NewSurveyCommand

func NewSurveyCommand() *command.RegisteredCommand

NewSurveyCommand returns a RegisteredCommand wrapping a SurveyCommand.

Types

type RespondentCommand

type RespondentCommand command.BaseCommand

RespondentCommand allows adding a respondent to the vault.

func (RespondentCommand) Init

func (cmd RespondentCommand) Init(cfg *config.Config, args []string) error

Init initializes the command

func (RespondentCommand) Run

func (cmd RespondentCommand) Run() error

Run runs the command

type ResponseCommand

type ResponseCommand command.BaseCommand

ResponseCommand allows adding a response to the vault.

func (ResponseCommand) Init

func (cmd ResponseCommand) Init(cfg *config.Config, args []string) error

Init initializes the command

func (ResponseCommand) Run

func (cmd ResponseCommand) Run() error

Run runs the command

type ResponsesCommand

type ResponsesCommand command.BaseCommand

ResponsesCommand allows adding multiple responses to the vault.

func (ResponsesCommand) Init

func (cmd ResponsesCommand) Init(cfg *config.Config, args []string) error

Init initializes the command

func (ResponsesCommand) Run

func (cmd ResponsesCommand) Run() error

Run runs the command

type SourceCommand

type SourceCommand command.BaseCommand

SourceCommand allows adding a source to the vault.

func (SourceCommand) Init

func (cmd SourceCommand) Init(cfg *config.Config, args []string) error

Init initializes the command.

func (SourceCommand) Run

func (cmd SourceCommand) Run() error

Run runs the command

type SummaryCommand

type SummaryCommand command.BaseCommand

SummaryCommand allows adding a summary to the vault.

func (SummaryCommand) Init

func (cmd SummaryCommand) Init(cfg *config.Config, args []string) error

Init initializes the command

func (SummaryCommand) Run

func (cmd SummaryCommand) Run() error

Run runs the command

type SurveyCommand

type SurveyCommand command.BaseCommand

SurveyCommand allows adding a survey to the vault.

func (SurveyCommand) Init

func (cmd SurveyCommand) Init(cfg *config.Config, args []string) error

Init initializes the command

func (SurveyCommand) Run

func (cmd SurveyCommand) Run() error

Run runs the command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL