cmd

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetadataClientCommands added in v0.2.3

type MetadataClientCommands struct {
	Metadata MetadataCmd `cmd:"" name:"metadata" help:"Extract metadata for a file using the server endpoint." group:"METADATA"`
}

type MetadataCmd added in v0.2.3

type MetadataCmd struct {
	Path string `arg:"" name:"path" type:"file" help:"Path to the local file."`
}

func (*MetadataCmd) Run added in v0.2.3

func (cmd *MetadataCmd) Run(ctx server.Cmd) error

type ObjectClientCommands added in v0.2.0

type ObjectClientCommands struct {
	ObjectList ObjectListCmd `cmd:"" name:"objects" help:"List server objects." group:"OBJECT"`
}

type ObjectListCmd added in v0.2.0

type ObjectListCmd struct {
	schema.ObjectListRequest
}

func (*ObjectListCmd) Run added in v0.2.0

func (cmd *ObjectListCmd) Run(ctx server.Cmd) error

type RunServer added in v0.2.0

type RunServer struct {
	pgcmd.PostgresFlags
	servercmd.RunServer
	Indexer bool `long:"indexer" help:"Run this instance as an indexer of content" default:"false" negatable:""`
}

func (*RunServer) Run added in v0.2.0

func (runner *RunServer) Run(ctx server.Cmd) error

func (*RunServer) WithManager added in v0.2.0

func (runner *RunServer) WithManager(ctx server.Cmd, conn pg.PoolConn, fn func(*manager.Manager) error) error

type ServerCommands

type ServerCommands struct {
	RunServer RunServer `cmd:"" name:"run" help:"Run the filer server." group:"SERVER"`
	servercmd.OpenAPICommands
}

type VolumeClientCommands added in v0.2.0

type VolumeClientCommands struct {
	VolumeCreate VolumeCreateCmd `cmd:"" name:"volume-create" help:"Create a new volume." group:"VOLUME"`
}

type VolumeCreateCmd added in v0.2.0

type VolumeCreateCmd struct {
	schema.VolumeCreate
}

func (*VolumeCreateCmd) Run added in v0.2.0

func (cmd *VolumeCreateCmd) Run(ctx server.Cmd) error

Jump to

Keyboard shortcuts

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