Documentation ¶
Index ¶
- Constants
- func NewGraffitiWallWriter() addons.SmartnodeAddon
- type GraffitiWallWriter
- func (gww *GraffitiWallWriter) GetConfig() cfgtypes.Config
- func (gww *GraffitiWallWriter) GetContainerName() string
- func (gww *GraffitiWallWriter) GetContainerTag() string
- func (gww *GraffitiWallWriter) GetDescription() string
- func (gww *GraffitiWallWriter) GetEnabledParameter() *cfgtypes.Parameter
- func (gww *GraffitiWallWriter) GetName() string
- func (gww *GraffitiWallWriter) UpdateEnvVars(envVars map[string]string) error
- type GraffitiWallWriterConfig
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 (*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
Click to show internal directories.
Click to hide internal directories.