Documentation
¶
Index ¶
- Constants
- type MetaType
- func (m MetaType) IsValid() bool
- func (m MetaType) MarshalJSON() ([]byte, error)
- func (m MetaType) ShootEnum()
- func (m MetaType) String() string
- func (m MetaType) StringMap() map[MetaType]string
- func (m MetaType) Strings() []string
- func (m *MetaType) UnmarshalJSON(data []byte) error
- func (m MetaType) ValueMap() map[string]MetaType
- func (m MetaType) Values() []MetaType
- type PluginType
- func (p PluginType) IsValid() bool
- func (p PluginType) MarshalJSON() ([]byte, error)
- func (p PluginType) ShootEnum()
- func (p PluginType) String() string
- func (p PluginType) StringMap() map[PluginType]string
- func (p PluginType) Strings() []string
- func (p *PluginType) UnmarshalJSON(data []byte) error
- func (p PluginType) ValueMap() map[string]PluginType
- func (p PluginType) Values() []PluginType
- type Status
- func (s Status) IsValid() bool
- func (s Status) MarshalJSON() ([]byte, error)
- func (s *Status) Scan(value interface{}) error
- func (s Status) ShootEnum()
- func (s Status) String() string
- func (s Status) StringMap() map[Status]string
- func (s Status) Strings() []string
- func (s *Status) UnmarshalJSON(data []byte) error
- func (s Status) Value() (driver.Value, error)
- func (s Status) ValueMap() map[string]Status
- func (s Status) Values() []Status
Constants ¶
const StatusInvalid = -2
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaType ¶
type MetaType int32
func (MetaType) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for MetaType
func (MetaType) ShootEnum ¶
func (m MetaType) ShootEnum()
ShootEnum exists solely to fulfill the EnumShooter interface contract
func (*MetaType) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for MetaType
type PluginType ¶
type PluginType int32
const ( None PluginType = iota MySQL GORM RabbitMQ Kafka )
func (PluginType) IsValid ¶
func (p PluginType) IsValid() bool
func (PluginType) MarshalJSON ¶
func (p PluginType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for PluginType
func (PluginType) ShootEnum ¶
func (p PluginType) ShootEnum()
ShootEnum exists solely to fulfill the EnumShooter interface contract
func (PluginType) String ¶
func (p PluginType) String() string
String returns the string value of type PluginType
func (PluginType) StringMap ¶
func (p PluginType) StringMap() map[PluginType]string
func (PluginType) Strings ¶
func (p PluginType) Strings() []string
func (*PluginType) UnmarshalJSON ¶
func (p *PluginType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PluginType
func (PluginType) ValueMap ¶
func (p PluginType) ValueMap() map[string]PluginType
func (PluginType) Values ¶
func (p PluginType) Values() []PluginType
type Status ¶
type Status int32
func (Status) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Status
func (Status) ShootEnum ¶
func (s Status) ShootEnum()
ShootEnum exists solely to fulfill the EnumShooter interface contract
func (*Status) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Status