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"`
Expose bool `json:"expose"`
URL string `json:"url"`
}
Driver represents an event driver instance(e.g. vcenter1.corp.local)
func (*Driver) FromModel ¶
func (d *Driver) FromModel(m *v1.EventDriver, orgID string)
FromModel builds a driver struct from swagger model
func (*Driver) ToModel ¶
func (d *Driver) ToModel() *v1.EventDriver
ToModel creates swagger model from the driver struct
type DriverType ¶
type DriverType struct {
entitystore.BaseEntity
Image string `json:"image"`
Expose bool `json:"expose"`
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 *v1.EventDriverType, orgID string)
FromModel builds driver type from swagger model
func (*DriverType) ToModel ¶
func (dt *DriverType) ToModel() *v1.EventDriverType
ToModel creates swagger model from driver type
Click to show internal directories.
Click to hide internal directories.