Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadMapSlice ¶
LoadMapSlice : loads all values into a slice
Types ¶
type BuildEvent ¶
type BuildEvent struct { ID string `json:"id"` Name string `json:"name"` Subject string `json:"_subject"` Changes []ComponentEvent `json:"changes"` }
BuildEvent represents an event of type build from an SSE stream
type ComponentEvent ¶
type ComponentEvent struct { ID string `json:"_component_id"` Subject string `json:"_subject"` Type string `json:"_component"` State string `json:"_state"` Action string `json:"_action"` Provider string `json:"_provider"` Name string `json:"name"` Error string `json:"error,omitempty"` Service string `json:"service,omitempty"` Components []ComponentEvent `json:"components,omitempty"` }
ComponentEvent represents an event of type component from a SSE stream
type Config ¶
type Config struct { URL string `json:"url"` Token string `json:"token"` User string `json:"user"` Password string `json:"-"` UserID string `json:"userid"` Verification string `json:"verification_code"` }
Config is the configuration struct for this app
type Definition ¶
Definition ...
func (*Definition) LoadFileImports ¶
func (d *Definition) LoadFileImports() error
LoadFileImports : loads any referenced files and maps them to the import definition
func (*Definition) Save ¶
func (d *Definition) Save() ([]byte, error)
Save the definition as a byte slice
Click to show internal directories.
Click to hide internal directories.