Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
entitystore.BaseEntity
Type string `json:"type"`
Config map[string]string `json:"config,omitempty"`
Secrets []string `json:"secrets,omitempty"`
Image string `json:"image"`
Mode string `josn:"mode"`
}
Driver represents an event driver instance(e.g. vcenter1.corp.local)
type DriverType ¶
type DriverType struct {
entitystore.BaseEntity
Image string `json:"image"`
BuiltIn bool `json:"builtIn"`
Config map[string]string `json:"config,omitempty"`
}
DriverType represents a custom type of driver (e.g. timer-driver)
func (*DriverType) FromModel ¶
func (dt *DriverType) FromModel(m *models.DriverType, orgID string)
FromModel builds driver type from swagger model
func (*DriverType) ToModel ¶
func (dt *DriverType) ToModel() *models.DriverType
ToModel creates swagger model from driver type
Click to show internal directories.
Click to hide internal directories.