Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { ID string `json:"id"` Platform string `json:"platform"` ExecType string `json:"executionType"` }
Configuration struct
type DBInterface ¶
type DBInterface interface { Get(id string) (Configuration, error) GetList() ([]Configuration, error) Set(conf Configuration) error Update(conf Configuration) error Delete(id string) error }
DBInterface interface
type Query ¶
type Query struct { }
Query struct
func (Query) Get ¶
func (Query) Get(id string) (Configuration, error)
Get returns configuration that matches id
func (Query) GetList ¶
func (Query) GetList() ([]Configuration, error)
GetList returns the list of configuration
func (Query) Set ¶
func (Query) Set(conf Configuration) error
Set sets the configuration for given id
func (Query) Update ¶
func (Query) Update(conf Configuration) error
Update updates the configuration that matches id
Click to show internal directories.
Click to hide internal directories.