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
Click to show internal directories.
Click to hide internal directories.