graffiti_wall_writer

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContainerID_GraffitiWallWriter  cfgtypes.ContainerID = "gww"
	GraffitiWallWriterContainerName string               = "addon_gww"
)

Variables

This section is empty.

Functions

func NewGraffitiWallWriter

func NewGraffitiWallWriter() addons.SmartnodeAddon

Types

type GraffitiWallWriter

type GraffitiWallWriter struct {
	// contains filtered or unexported fields
}

func (*GraffitiWallWriter) GetConfig

func (gww *GraffitiWallWriter) GetConfig() cfgtypes.Config

func (*GraffitiWallWriter) GetContainerName

func (gww *GraffitiWallWriter) GetContainerName() string

func (*GraffitiWallWriter) GetContainerTag

func (gww *GraffitiWallWriter) GetContainerTag() string

func (*GraffitiWallWriter) GetDescription

func (gww *GraffitiWallWriter) GetDescription() string

func (*GraffitiWallWriter) GetEnabledParameter

func (gww *GraffitiWallWriter) GetEnabledParameter() *cfgtypes.Parameter

func (*GraffitiWallWriter) GetName

func (gww *GraffitiWallWriter) GetName() string

func (*GraffitiWallWriter) UpdateEnvVars

func (gww *GraffitiWallWriter) UpdateEnvVars(envVars map[string]string) error

type GraffitiWallWriterConfig

type GraffitiWallWriterConfig struct {
	Title string `yaml:"-"`

	Enabled config.Parameter `yaml:"enabled,omitempty"`

	InputURL config.Parameter `yaml:"inputUrl,omitempty"`

	UpdateWallTime config.Parameter `yaml:"updateWallTime,omitempty"`

	UpdateInputTime config.Parameter `yaml:"updateInputTime,omitempty"`

	UpdatePixelTime config.Parameter `yaml:"updatePixelTime,omitempty"`

	// The Docker Hub tag
	ContainerTag config.Parameter `yaml:"containerTag,omitempty"`

	// Custom command line flags
	AdditionalFlags config.Parameter `yaml:"additionalFlags,omitempty"`
}

Configuration for the Graffiti Wall Writer

func NewConfig

func NewConfig() *GraffitiWallWriterConfig

Creates a new configuration instance

func (*GraffitiWallWriterConfig) GetConfigTitle

func (cfg *GraffitiWallWriterConfig) GetConfigTitle() string

The the title for the config

func (*GraffitiWallWriterConfig) GetParameters

func (cfg *GraffitiWallWriterConfig) GetParameters() []*config.Parameter

Get the parameters for this config

Jump to

Keyboard shortcuts

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