Documentation ¶
Overview ¶
Code generated by Ice-cream-maker DO NOT EDIT.
Index ¶
- func PollingTypeNames() []string
- type Cluster
- type Cluster_essential
- func (Cluster_essential) ColumnNames() []string
- func (opt Cluster_essential) GetPollingOption() PollingHandler
- func (row *Cluster_essential) Ptrs() []interface{}
- func (row *Cluster_essential) Scan(scanner Scanner) error
- func (opt *Cluster_essential) SetPollingOption(handle PollingHandler)
- func (Cluster_essential) TableName() string
- func (row Cluster_essential) Values() []interface{}
- type HttpReq_Cluster_create
- type HttpReq_Cluster_update
- type HttpRsp_Cluster
- type PollingHandler
- type PollingType
- type RegularPollingOption
- type Scanner
- type SmartPollingOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PollingTypeNames ¶
func PollingTypeNames() []string
PollingTypeNames returns a list of possible string values of PollingType.
Types ¶
type Cluster ¶
type Cluster struct { Cluster_essential `json:",inline"` ID int64 `column:"id" json:"id,omitempty"` // pk Uuid string `column:"uuid" json:"uuid,omitempty"` // uuid Created time.Time `column:"created" json:"created,omitempty"` Updated vanilla.NullTime `column:"updated" json:"updated,omitempty" swaggertype:"string"` Deleted vanilla.NullTime `column:"deleted" json:"deleted,omitempty" swaggertype:"string"` }
func (Cluster) ColumnNames ¶
type Cluster_essential ¶
type Cluster_essential struct { Name string `column:"name" json:"name,omitempty"` Summary vanilla.NullString `column:"summary" json:"summary,omitempty" swaggertype:"string"` PollingOption vanilla.NullObject `column:"polling_option" json:"polling_option,omitempty" swaggertype:"object"` PoliingLimit int `column:"polling_limit" json:"polling_limit,omitempty"` }
func (Cluster_essential) ColumnNames ¶
func (Cluster_essential) ColumnNames() []string
func (Cluster_essential) GetPollingOption ¶
func (opt Cluster_essential) GetPollingOption() PollingHandler
func (*Cluster_essential) Ptrs ¶
func (row *Cluster_essential) Ptrs() []interface{}
func (*Cluster_essential) Scan ¶
func (row *Cluster_essential) Scan(scanner Scanner) error
func (*Cluster_essential) SetPollingOption ¶
func (opt *Cluster_essential) SetPollingOption(handle PollingHandler)
func (Cluster_essential) TableName ¶
func (Cluster_essential) TableName() string
func (Cluster_essential) Values ¶
func (row Cluster_essential) Values() []interface{}
type HttpReq_Cluster_create ¶
type HttpReq_Cluster_create struct { Cluster_essential `json:",inline"` Uuid string `json:"uuid,omitempty"` // uuid }
type HttpReq_Cluster_update ¶
type HttpReq_Cluster_update struct {
Cluster_essential `json:",inline"`
}
type HttpRsp_Cluster ¶
type HttpRsp_Cluster struct {
Cluster `json:",inline"`
}
type PollingHandler ¶
type PollingType ¶
type PollingType int32
ENUM(
regular smart )
const ( // PollingTypeRegular is a PollingType of type Regular. PollingTypeRegular PollingType = iota // PollingTypeSmart is a PollingType of type Smart. PollingTypeSmart )
func ParsePollingType ¶
func ParsePollingType(name string) (PollingType, error)
ParsePollingType attempts to convert a string to a PollingType.
func (PollingType) String ¶
func (x PollingType) String() string
String implements the Stringer interface.
type RegularPollingOption ¶
type RegularPollingOption struct{}
func (RegularPollingOption) ToMap ¶
func (opt RegularPollingOption) ToMap() map[string]interface{}
type SmartPollingOption ¶
type SmartPollingOption struct { IdleInterval int `json:"idle,omitempty"` //(초) BusyInterval int `json:"busy,omitempty"` //(초) }
func (SmartPollingOption) ToMap ¶
func (opt SmartPollingOption) ToMap() map[string]interface{}
Click to show internal directories.
Click to hide internal directories.