cmd

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientChannelLayoutCommands

type ClientChannelLayoutCommands struct {
	ListChannelLayouts ListChannelLayouts `cmd:"" name:"channellayouts" help:"List the available channel layouts." group:"CAPABILITIES"`
}

type ClientCodecCommands

type ClientCodecCommands struct {
	ListCodecs ListCodecs `cmd:"" name:"codecs" help:"List the available codecs." group:"CAPABILITIES"`
	GetCodec   GetCodec   `cmd:"" name:"codec" help:"Get the details of a codec." group:"CAPABILITIES"`
}

type ClientDeviceCommands

type ClientDeviceCommands struct {
	ListDevices ListDevices `cmd:"" name:"devices" help:"List the available devices." group:"CAPABILITIES"`
}

type ClientFormatCommands

type ClientFormatCommands struct {
	ListContainerFormats ListContainerFormats `cmd:"" name:"formats" help:"List the available container formats." group:"CAPABILITIES"`
}

type ClientPixelFormatCommands

type ClientPixelFormatCommands struct {
	ListPixelFormats ListPixelFormats `cmd:"" name:"pixelformats" help:"List the available pixel formats." group:"CAPABILITIES"`
}

type ClientProfileCommands

type ClientProfileCommands struct {
	CreateAudioProfile CreateAudioProfileCmd `cmd:"" name:"audio-profile-create" help:"Create a new audio profile." group:"PROFILE"`
	GetAudioProfile    GetAudioProfileCmd    `cmd:"" name:"audio-profile" help:"Get the details of an audio profile." group:"PROFILE"`
	DeleteAudioProfile DeleteAudioProfileCmd `cmd:"" name:"audio-profile-delete" help:"Delete an audio profile." group:"PROFILE"`
	UpdateAudioProfile UpdateAudioProfileCmd `cmd:"" name:"audio-profile-update" help:"Update an audio profile." group:"PROFILE"`
}

type ClientSampleFormatCommands

type ClientSampleFormatCommands struct {
	ListSampleFormats ListSampleFormats `cmd:"" name:"sampleformats" help:"List the available sample formats." group:"CAPABILITIES"`
}

type CreateAudioProfileCmd

type CreateAudioProfileCmd struct {
	Name string `arg:"" required:"" name:"codec" help:"Codec name, e.g. aac, libmp3lame, copy."`
	schema.AudioProfileMeta
}

func (*CreateAudioProfileCmd) Run

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

type DeleteAudioProfileCmd

type DeleteAudioProfileCmd struct {
	UUID string `arg:"" name:"uuid" help:"UUID of the audio profile."`
}

func (*DeleteAudioProfileCmd) Run

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

type GetAudioProfileCmd

type GetAudioProfileCmd struct {
	UUID string `arg:"" name:"uuid" help:"UUID of the audio profile."`
}

func (*GetAudioProfileCmd) Run

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

type GetCodec

type GetCodec struct {
	Name string `arg:"" name:"name" help:"Name of the codec."`
	schema.CodecGetRequest
}

func (*GetCodec) Run

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

type ListChannelLayouts

type ListChannelLayouts struct {
	schema.ChannelLayoutListRequest
}

func (*ListChannelLayouts) Run

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

type ListCodecs

type ListCodecs struct {
	schema.CodecListRequest
}

func (*ListCodecs) Run

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

type ListContainerFormats

type ListContainerFormats struct {
	schema.FormatListRequest
}

func (*ListContainerFormats) Run

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

type ListDevices

type ListDevices struct {
	schema.DeviceListRequest
}

func (*ListDevices) Run

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

type ListPixelFormats

type ListPixelFormats struct {
	schema.PixelFormatListRequest
}

func (*ListPixelFormats) Run

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

type ListSampleFormats

type ListSampleFormats struct {
	schema.SampleFormatListRequest
}

func (*ListSampleFormats) Run

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

type RunServer

type RunServer struct {
	pgcmd.PostgresFlags
	servercmd.RunServer
}

func (*RunServer) Run

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

func (*RunServer) WithProfileManager

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

type ServerCommands

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

type UpdateAudioProfileCmd

type UpdateAudioProfileCmd struct {
	UUID string `arg:"" name:"uuid" help:"UUID of the audio profile."`
	schema.AudioProfileMeta
}

func (*UpdateAudioProfileCmd) Run

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

Jump to

Keyboard shortcuts

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