systems

package
v0.0.0-...-8f3712b Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemType

type SystemType int

SystemType is an enum describing known system types.

const (
	// SysGoHome describes server or worker system.
	SysGoHome SystemType = iota
	// SysLogger describes logger system.
	SysLogger
	// SysBus describes service bus system.
	SysBus
	// SysDevice describes device system.
	SysDevice
	// SysSecret describes secret store system.
	SysSecret
	// SysConfig describes config provider system.
	SysConfig
	// SysSecurity describes security provider system.
	SysSecurity
	// SysTrigger describes event trigger system.
	SysTrigger
	// SysAPI describes API extensions system.
	SysAPI
	// SysUI describes UI system.
	SysUI
	// SysStorage describes state storage system.
	SysStorage
	// SysNotification describes push-type notifications system.
	SysNotification
)

func SystemTypeString

func SystemTypeString(s string) (SystemType, error)

SystemTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.

func SystemTypeValues

func SystemTypeValues() []SystemType

SystemTypeValues returns all values of the enum

func (SystemType) IsASystemType

func (i SystemType) IsASystemType() bool

IsASystemType returns "true" if the value is listed in the enum definition. "false" otherwise

func (SystemType) MarshalJSON

func (i SystemType) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface for SystemType

func (SystemType) MarshalText

func (i SystemType) MarshalText() ([]byte, error)

MarshalText implements the encoding.TextMarshaler interface for SystemType

func (SystemType) MarshalYAML

func (i SystemType) MarshalYAML() (interface{}, error)

MarshalYAML implements a YAML Marshaler for SystemType

func (SystemType) String

func (i SystemType) String() string

func (*SystemType) UnmarshalJSON

func (i *SystemType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface for SystemType

func (*SystemType) UnmarshalText

func (i *SystemType) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface for SystemType

func (*SystemType) UnmarshalYAML

func (i *SystemType) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements a YAML Unmarshaler for SystemType

Directories

Path Synopsis
Package api contains implementation of a api plugin wrapper.
Package api contains implementation of a api plugin wrapper.
Package bus contains service bus abstractions.
Package bus contains service bus abstractions.
Package config contains implementation of a configuration reader wrapper.
Package config contains implementation of a configuration reader wrapper.
Package device contains implementation of a device plugin wrappers.
Package device contains implementation of a device plugin wrappers.
Package fanout contains implementation of pub-sub fanout channels.
Package fanout contains implementation of pub-sub fanout channels.
Package group contains groups provider.
Package group contains groups provider.
Package logger provides wrapper around go-home logger implementation.
Package logger provides wrapper around go-home logger implementation.
Package notification provides provider around notifications plugins.
Package notification provides provider around notifications plugins.
Package secret contains implementation of a secrets wrapper.
Package secret contains implementation of a secrets wrapper.
Package security contains implementation of an API security validators.
Package security contains implementation of an API security validators.
Package storage contains implementation of a data-storage plugin wrapper.
Package storage contains implementation of a data-storage plugin wrapper.
Package trigger contains wrappers around system triggers.
Package trigger contains wrappers around system triggers.
Package ui contains UI-related configuration.
Package ui contains UI-related configuration.

Jump to

Keyboard shortcuts

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