Versions in this module Expand all Collapse all v1 v1.4.1 Sep 2, 2020 Changes in this version + func BuildServerFlags(cmd *cobra.Command, srv *server.Command) + func SetTLSConfig(flags *pflag.FlagSet, certificatePath *string, certificateKeyPath *string, ...) + type CheckCommand struct + Paths []string + func NewCheckCommand(stdin io.Reader, stdout, stderr io.Writer) *CheckCommand + func (cmd *CheckCommand) Run(_ context.Context) error + type CommandWithTLSSupport interface + TLSConfiguration func() server.TLSConfig + TLSHost func() string + type ConfigCommand struct + Config *server.Config + func NewConfigCommand(stdin io.Reader, stdout, stderr io.Writer) *ConfigCommand + func (cmd *ConfigCommand) Run(_ context.Context) error + type ExportCommand struct + Field string + Host string + Index string + Path string + TLS server.TLSConfig + func NewExportCommand(stdin io.Reader, stdout, stderr io.Writer) *ExportCommand + func (cmd *ExportCommand) Run(ctx context.Context) error + func (cmd *ExportCommand) TLSConfiguration() server.TLSConfig + func (cmd *ExportCommand) TLSHost() string + type GenerateConfigCommand struct + func NewGenerateConfigCommand(stdin io.Reader, stdout, stderr io.Writer) *GenerateConfigCommand + func (cmd *GenerateConfigCommand) Run(_ context.Context) error + type ImportCommand struct + BufferSize int + Clear bool + CreateSchema bool + Field string + FieldOptions pilosa.FieldOptions + Host string + Index string + IndexOptions pilosa.IndexOptions + Paths []string + Sort bool + TLS server.TLSConfig + func NewImportCommand(stdin io.Reader, stdout, stderr io.Writer) *ImportCommand + func (cmd *ImportCommand) Run(ctx context.Context) error + func (cmd *ImportCommand) TLSConfiguration() server.TLSConfig + func (cmd *ImportCommand) TLSHost() string + type InspectCommand struct + Path string + func NewInspectCommand(stdin io.Reader, stdout, stderr io.Writer) *InspectCommand + func (cmd *InspectCommand) Run(_ context.Context) error