streamsformatter

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 License: EPL-2.0 Imports: 5 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

View Source
const (
	HEADER_STREAM_NAME        = "name"
	HEADER_STREAM_STATE       = "state"
	HEADER_STREAM_DESCRIPTION = "description"
)
View Source
const (
	SUMMARY_FORMATTER_NAME = "summary"
	ENABLED_STATE          = "enabled"
	DISABLED_STATE         = "disabled"
)

----------------------------------------------------- Summary format.

View Source
const (
	YAML_FORMATTER_NAME = "yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type StreamsFormatter

type StreamsFormatter interface {
	FormatStreams(streamResults []galasaapi.Stream) (string, error)
	GetName() string
}

func NewStreamsSummaryFormatter

func NewStreamsSummaryFormatter() StreamsFormatter

func NewStreamsYamlFormatter

func NewStreamsYamlFormatter() StreamsFormatter

type StreamsSummaryFormatter

type StreamsSummaryFormatter struct {
}

func (*StreamsSummaryFormatter) FormatStreams

func (*StreamsSummaryFormatter) FormatStreams(streams []galasaapi.Stream) (string, error)

func (*StreamsSummaryFormatter) GetName

func (*StreamsSummaryFormatter) GetName() string

type StreamsYamlFormatter

type StreamsYamlFormatter struct {
}

func (*StreamsYamlFormatter) FormatStreams

func (*StreamsYamlFormatter) FormatStreams(streams []galasaapi.Stream) (string, error)

func (*StreamsYamlFormatter) GetName

func (*StreamsYamlFormatter) GetName() string

Jump to

Keyboard shortcuts

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