Documentation ¶
Overview ¶
Code generated by Ice-cream-maker DO NOT EDIT.
Index ¶
- func EventCategoryNames() []string
- func FilterOpNames() []string
- func FormatTypeNames() []string
- func NotifierTypeNames() []string
- type ChannelStatus
- type ChannelStatusOption
- type ChannelStatusOption_essential
- type ChannelStatusOption_property
- type Channel_EventCategory_Filter
- type EventCategory
- type Filter
- type FilterOp
- type Format
- type FormatType
- type Format_essential
- type Format_property
- type HttpReq_ManagedChannel_ChannelStatusOption_update
- type HttpReq_ManagedChannel_Format_update
- type HttpReq_ManagedChannel_NotifierConsole_update
- type HttpReq_ManagedChannel_NotifierRabbitMq_update
- type HttpReq_ManagedChannel_NotifierSlackhook_update
- type HttpReq_ManagedChannel_NotifierWebhook_update
- type HttpReq_ManagedChannel_create
- type HttpReq_ManagedChannel_update
- type HttpRsp_ManagedChannel
- type HttpRsp_ManagedChannel_ChannelStatus
- type HttpRsp_ManagedChannel_ChannelStatusOption
- type HttpRsp_ManagedChannel_NotifierEdge
- type HttpRsq_ManagedChannel_Format
- type ManagedChannel
- type ManagedChannel_option
- func (ManagedChannel_option) ColumnNames() []string
- func (ManagedChannel_option) ColumnNamesWithAlias() []string
- func (row *ManagedChannel_option) Ptrs() []interface{}
- func (row *ManagedChannel_option) Scan(scanner Scanner) error
- func (record ManagedChannel_option) TableName() string
- func (row ManagedChannel_option) Values() []interface{}
- type ManagedChannel_property
- func (ManagedChannel_property) ColumnNames() []string
- func (ManagedChannel_property) ColumnNamesWithAlias() []string
- func (row *ManagedChannel_property) Ptrs() []interface{}
- func (row *ManagedChannel_property) Scan(scanner Scanner) error
- func (ManagedChannel_property) TableName() string
- func (row ManagedChannel_property) Values() []interface{}
- type ManagedChannel_tangled
- func (ManagedChannel_tangled) ColumnNames() []string
- func (ManagedChannel_tangled) ColumnNamesWithAlias() []string
- func (row *ManagedChannel_tangled) Ptrs() []interface{}
- func (row *ManagedChannel_tangled) Scan(scanner Scanner) error
- func (record ManagedChannel_tangled) TableName() string
- func (row ManagedChannel_tangled) Values() []interface{}
- type NotifierConsole
- type NotifierConsole_essential
- type NotifierConsole_property
- type NotifierEdge
- type NotifierEdge_essential
- type NotifierEdge_option
- func (NotifierEdge_option) ColumnNames() []string
- func (NotifierEdge_option) ColumnNamesWithAlias() []string
- func (row *NotifierEdge_option) Ptrs() []interface{}
- func (row *NotifierEdge_option) Scan(scanner Scanner) error
- func (record NotifierEdge_option) TableName() string
- func (row NotifierEdge_option) Values() []interface{}
- type NotifierEdge_property
- func (NotifierEdge_property) ColumnNames() []string
- func (NotifierEdge_property) ColumnNamesWithAlias() []string
- func (row *NotifierEdge_property) Ptrs() []interface{}
- func (row *NotifierEdge_property) Scan(scanner Scanner) error
- func (NotifierEdge_property) TableName() string
- func (row NotifierEdge_property) Values() []interface{}
- type NotifierRabbitMq
- type NotifierRabbitMq_essential
- type NotifierRabbitMq_property
- func (NotifierRabbitMq_property) ColumnNames() []string
- func (NotifierRabbitMq_property) ColumnNamesWithAlias() []string
- func (row *NotifierRabbitMq_property) Ptrs() []interface{}
- func (row *NotifierRabbitMq_property) Scan(scanner Scanner) error
- func (NotifierRabbitMq_property) TableName() string
- func (NotifierRabbitMq_property) Type() NotifierType
- func (row NotifierRabbitMq_property) Values() []interface{}
- type NotifierSlackhook
- type NotifierSlackhook_essential
- type NotifierSlackhook_property
- func (NotifierSlackhook_property) ColumnNames() []string
- func (NotifierSlackhook_property) ColumnNamesWithAlias() []string
- func (row *NotifierSlackhook_property) Ptrs() []interface{}
- func (row *NotifierSlackhook_property) Scan(scanner Scanner) error
- func (NotifierSlackhook_property) TableName() string
- func (NotifierSlackhook_property) Type() NotifierType
- func (row NotifierSlackhook_property) Values() []interface{}
- type NotifierType
- type NotifierWebhook
- type NotifierWebhook_essential
- type NotifierWebhook_property
- func (NotifierWebhook_property) ColumnNames() []string
- func (NotifierWebhook_property) ColumnNamesWithAlias() []string
- func (row *NotifierWebhook_property) Ptrs() []interface{}
- func (row *NotifierWebhook_property) Scan(scanner Scanner) error
- func (NotifierWebhook_property) TableName() string
- func (NotifierWebhook_property) Type() NotifierType
- func (row NotifierWebhook_property) Values() []interface{}
- type Scanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EventCategoryNames ¶
func EventCategoryNames() []string
EventCategoryNames returns a list of possible string values of EventCategory.
func FilterOpNames ¶
func FilterOpNames() []string
FilterOpNames returns a list of possible string values of FilterOp.
func FormatTypeNames ¶
func FormatTypeNames() []string
FormatTypeNames returns a list of possible string values of FormatType.
func NotifierTypeNames ¶
func NotifierTypeNames() []string
NotifierTypeNames returns a list of possible string values of NotifierType.
Types ¶
type ChannelStatus ¶
type ChannelStatus struct { Uuid string `column:"uuid" json:"uuid,omitempty"` // pk Created time.Time `column:"created" json:"created,omitempty"` // pk Message string `column:"message" json:"message,omitempty"` }
func (ChannelStatus) ColumnNames ¶
func (ChannelStatus) ColumnNames() []string
func (ChannelStatus) ColumnNamesWithAlias ¶
func (ChannelStatus) ColumnNamesWithAlias() []string
func (*ChannelStatus) Ptrs ¶
func (row *ChannelStatus) Ptrs() []interface{}
func (*ChannelStatus) Scan ¶
func (row *ChannelStatus) Scan(scanner Scanner) error
func (ChannelStatus) TableName ¶
func (ChannelStatus) TableName() string
func (ChannelStatus) Values ¶
func (row ChannelStatus) Values() []interface{}
type ChannelStatusOption ¶
type ChannelStatusOption struct { ChannelStatusOption_property `json:",inline"` Uuid string `column:"uuid" json:"uuid,omitempty"` // pk }
func (ChannelStatusOption) ColumnNames ¶
func (ChannelStatusOption) ColumnNames() []string
func (ChannelStatusOption) ColumnNamesWithAlias ¶
func (ChannelStatusOption) ColumnNamesWithAlias() []string
func (*ChannelStatusOption) Ptrs ¶
func (row *ChannelStatusOption) Ptrs() []interface{}
func (*ChannelStatusOption) Scan ¶
func (row *ChannelStatusOption) Scan(scanner Scanner) error
func (ChannelStatusOption) Values ¶
func (row ChannelStatusOption) Values() []interface{}
type ChannelStatusOption_essential ¶
type ChannelStatusOption_essential struct {
StatusMaxCount uint `column:"status_max_count,default(0)" json:"status_max_count"`
}
type ChannelStatusOption_property ¶
type ChannelStatusOption_property struct { ChannelStatusOption_essential `json:",inline"` Created vanilla.NullTime `column:"created" json:"created,omitempty" swaggertype:"string"` Updated vanilla.NullTime `column:"updated" json:"updated,omitempty" swaggertype:"string"` }
func (ChannelStatusOption_property) TableName ¶
func (ChannelStatusOption_property) TableName() string
type Channel_EventCategory_Filter ¶
type Channel_EventCategory_Filter struct { Uuid string `column:"uuid"` EventCategory EventCategory `column:"event_category"` FilterOp FilterOp `column:"filter_op"` FilterKey string `column:"filter_key"` FilterValue string `column:"filter_value"` }
func (Channel_EventCategory_Filter) TableName ¶
func (Channel_EventCategory_Filter) TableName() string
type EventCategory ¶
type EventCategory int
ENUM( NaV nonspecified client-auth-accept service-polling-out service-polling-in
)
const ( // EventCategoryNaV is a EventCategory of type NaV. EventCategoryNaV EventCategory = iota // EventCategoryNonspecified is a EventCategory of type Nonspecified. EventCategoryNonspecified // EventCategoryClientAuthAccept is a EventCategory of type Client-Auth-Accept. EventCategoryClientAuthAccept // EventCategoryServicePollingOut is a EventCategory of type Service-Polling-Out. EventCategoryServicePollingOut // EventCategoryServicePollingIn is a EventCategory of type Service-Polling-In. EventCategoryServicePollingIn )
func ParseEventCategory ¶
func ParseEventCategory(name string) (EventCategory, error)
ParseEventCategory attempts to convert a string to a EventCategory.
func (*EventCategory) Scan ¶
func (n *EventCategory) Scan(value interface{}) error
Scan implements the Scanner interface.
func (EventCategory) String ¶
func (x EventCategory) String() string
String implements the Stringer interface.
type Filter ¶
type Filter struct { Uuid string `column:"uuid" json:"uuid,omitempty"` // pk FilterOp FilterOp `column:"filter_op" json:"filter_op,omitempty" enums:"0,1,2,3,4,5,6"` // enums:"NaV(0), EQ(1), NOT(2), GT(3), GTE(4), LT(5), LTE(6)" FilterKey string `column:"filter_key" json:"filter_key,omitempty"` FilterValue string `column:"filter_value" json:"filter_value,omitempty"` 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 (Filter) ColumnNames ¶
func (Filter) ColumnNamesWithAlias ¶
type FilterOp ¶
type FilterOp int
ENUM( NaV EQ NOT GT GTE LT LTE
)
const ( // FilterOpNaV is a FilterOp of type NaV. FilterOpNaV FilterOp = iota // FilterOpEQ is a FilterOp of type EQ. FilterOpEQ // FilterOpNOT is a FilterOp of type NOT. FilterOpNOT // FilterOpGT is a FilterOp of type GT. FilterOpGT // FilterOpGTE is a FilterOp of type GTE. FilterOpGTE // FilterOpLT is a FilterOp of type LT. FilterOpLT // FilterOpLTE is a FilterOp of type LTE. FilterOpLTE )
func ParseFilterOp ¶
ParseFilterOp attempts to convert a string to a FilterOp.
type Format ¶
type Format struct { Format_property `json:",inline"` Uuid string `column:"uuid" json:"uuid,omitempty"` // pk }
func (Format) ColumnNames ¶
func (Format) ColumnNamesWithAlias ¶
type FormatType ¶
type FormatType int
ENUM( disable fields jq
)
const ( // FormatTypeDisable is a FormatType of type Disable. FormatTypeDisable FormatType = iota // FormatTypeFields is a FormatType of type Fields. FormatTypeFields // FormatTypeJq is a FormatType of type Jq. FormatTypeJq )
func ParseFormatType ¶
func ParseFormatType(name string) (FormatType, error)
ParseFormatType attempts to convert a string to a FormatType.
func (*FormatType) Scan ¶
func (n *FormatType) Scan(value interface{}) error
Scan implements the Scanner interface.
func (FormatType) String ¶
func (x FormatType) String() string
String implements the Stringer interface.
type Format_essential ¶
type Format_essential struct { FormatType FormatType `column:"format_type,default(0)" json:"format_type,omitempty" enums:"0,1,2"` // enums:"disable(0), fields(1), jq(2)" FormatData string `column:"format_data,default('')" json:"format_data,omitempty"` }
type Format_property ¶
type Format_property struct { Format_essential `json:",inline"` Created vanilla.NullTime `column:"created" json:"created,omitempty" swaggertype:"string"` Updated vanilla.NullTime `column:"updated" json:"updated,omitempty" swaggertype:"string"` }
func (Format_property) ColumnNames ¶
func (Format_property) ColumnNames() []string
func (Format_property) ColumnNamesWithAlias ¶
func (Format_property) ColumnNamesWithAlias() []string
func (*Format_property) Ptrs ¶
func (row *Format_property) Ptrs() []interface{}
func (*Format_property) Scan ¶
func (row *Format_property) Scan(scanner Scanner) error
func (Format_property) TableName ¶
func (Format_property) TableName() string
func (Format_property) Values ¶
func (row Format_property) Values() []interface{}
type HttpReq_ManagedChannel_ChannelStatusOption_update ¶
type HttpReq_ManagedChannel_ChannelStatusOption_update struct {
ChannelStatusOption_essential `json:",inline"`
}
type HttpReq_ManagedChannel_Format_update ¶
type HttpReq_ManagedChannel_Format_update struct {
Format_essential `json:",inline"`
}
type HttpReq_ManagedChannel_NotifierConsole_update ¶
type HttpReq_ManagedChannel_NotifierConsole_update struct {
NotifierConsole_essential `json:",inline"`
}
type HttpReq_ManagedChannel_NotifierRabbitMq_update ¶
type HttpReq_ManagedChannel_NotifierRabbitMq_update struct {
NotifierRabbitMq_essential `json:",inline"`
}
type HttpReq_ManagedChannel_NotifierSlackhook_update ¶
type HttpReq_ManagedChannel_NotifierSlackhook_update struct {
NotifierSlackhook_essential `json:",inline"`
}
type HttpReq_ManagedChannel_NotifierWebhook_update ¶
type HttpReq_ManagedChannel_NotifierWebhook_update struct {
NotifierWebhook_essential `json:",inline"`
}
type HttpReq_ManagedChannel_create ¶
type HttpReq_ManagedChannel_create struct { ManagedChannel_property `json:",inline"` Uuid string `json:"uuid,omitempty"` // optional }
type HttpReq_ManagedChannel_update ¶
type HttpReq_ManagedChannel_update struct {
ManagedChannel_property `json:",inline"`
}
type HttpRsp_ManagedChannel ¶
type HttpRsp_ManagedChannel struct {
ManagedChannel_tangled `json:",inline"`
}
type HttpRsp_ManagedChannel_ChannelStatus ¶
type HttpRsp_ManagedChannel_ChannelStatus struct {
ChannelStatus `json:",inline"`
}
type HttpRsp_ManagedChannel_ChannelStatusOption ¶
type HttpRsp_ManagedChannel_ChannelStatusOption struct {
ChannelStatusOption `json:",inline"`
}
type HttpRsp_ManagedChannel_NotifierEdge ¶
type HttpRsp_ManagedChannel_NotifierEdge struct {
NotifierEdge_option `json:",inline"`
}
type HttpRsq_ManagedChannel_Format ¶
type HttpRsq_ManagedChannel_Format struct {
Format `json:",inline"`
}
type ManagedChannel ¶
type ManagedChannel struct { ManagedChannel_property `json:",inline"` 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"` Uuid string `column:"uuid" json:"uuid,omitempty"` // pk }
func (ManagedChannel) ColumnNames ¶
func (ManagedChannel) ColumnNames() []string
func (ManagedChannel) ColumnNamesWithAlias ¶
func (ManagedChannel) ColumnNamesWithAlias() []string
func (*ManagedChannel) Ptrs ¶
func (row *ManagedChannel) Ptrs() []interface{}
func (*ManagedChannel) Scan ¶
func (row *ManagedChannel) Scan(scanner Scanner) error
func (ManagedChannel) Values ¶
func (row ManagedChannel) Values() []interface{}
type ManagedChannel_option ¶
type ManagedChannel_option struct { ManagedChannel `alias:"CN," json:",inline"` StatusOption ChannelStatusOption_property `alias:"SO,status_option" json:"status_option,omitempty"` Format Format_property `alias:"FM,format" json:"format,omitempty"` Edge NotifierEdge_property `alias:"EG,edge" json:"edge,omitempty"` }
func (ManagedChannel_option) ColumnNames ¶
func (ManagedChannel_option) ColumnNames() []string
func (ManagedChannel_option) ColumnNamesWithAlias ¶
func (ManagedChannel_option) ColumnNamesWithAlias() []string
func (*ManagedChannel_option) Ptrs ¶
func (row *ManagedChannel_option) Ptrs() []interface{}
func (*ManagedChannel_option) Scan ¶
func (row *ManagedChannel_option) Scan(scanner Scanner) error
func (ManagedChannel_option) TableName ¶
func (record ManagedChannel_option) TableName() string
func (ManagedChannel_option) Values ¶
func (row ManagedChannel_option) Values() []interface{}
type ManagedChannel_property ¶
type ManagedChannel_property struct { Name string `column:"name" json:"name,omitempty"` Summary vanilla.NullString `column:"summary" json:"summary,omitempty" swaggertype:"string"` // enums:"NaV(0), nonspecified(1), client-auth(2), client-polling-out(3), client-polling-in(4)" EventCategory EventCategory `column:"event_category,default(0)" json:"event_category,omitempty" enums:"0,1,2,3,4"` }
func (ManagedChannel_property) ColumnNames ¶
func (ManagedChannel_property) ColumnNames() []string
func (ManagedChannel_property) ColumnNamesWithAlias ¶
func (ManagedChannel_property) ColumnNamesWithAlias() []string
func (*ManagedChannel_property) Ptrs ¶
func (row *ManagedChannel_property) Ptrs() []interface{}
func (*ManagedChannel_property) Scan ¶
func (row *ManagedChannel_property) Scan(scanner Scanner) error
func (ManagedChannel_property) TableName ¶
func (ManagedChannel_property) TableName() string
func (ManagedChannel_property) Values ¶
func (row ManagedChannel_property) Values() []interface{}
type ManagedChannel_tangled ¶
type ManagedChannel_tangled struct { ManagedChannel `alias:"CN," json:",inline"` StatusOption ChannelStatusOption_property `alias:"SO,status_option" json:"status_option,omitempty"` Format Format_property `alias:"FM,format" json:"format,omitempty"` Edge NotifierEdge_property `alias:"EG,notifier_edge" json:"notifier_edge,omitempty"` Notifiers struct { Console NotifierConsole_property `alias:"CS,notifier.console" json:"console,omitempty"` Webhook NotifierWebhook_property `alias:"WH,notifier.webhook" json:"webhook,omitempty"` RabbitMq NotifierRabbitMq_property `alias:"RQ,notifier.rabbitmq" json:"rabbitmq,omitempty"` Slackhook NotifierSlackhook_property `alias:"SH,notifier.slackhook" json:"slackhook,omitempty"` } `json:"notifiers,omitempty"` }
func (ManagedChannel_tangled) ColumnNames ¶
func (ManagedChannel_tangled) ColumnNames() []string
func (ManagedChannel_tangled) ColumnNamesWithAlias ¶
func (ManagedChannel_tangled) ColumnNamesWithAlias() []string
func (*ManagedChannel_tangled) Ptrs ¶
func (row *ManagedChannel_tangled) Ptrs() []interface{}
func (*ManagedChannel_tangled) Scan ¶
func (row *ManagedChannel_tangled) Scan(scanner Scanner) error
func (ManagedChannel_tangled) TableName ¶
func (record ManagedChannel_tangled) TableName() string
func (ManagedChannel_tangled) Values ¶
func (row ManagedChannel_tangled) Values() []interface{}
type NotifierConsole ¶
type NotifierConsole struct { Uuid string `column:"uuid" json:"uuid,omitempty"` // pk NotifierConsole_property `json:",inline"` //inline property }
func (NotifierConsole) ColumnNames ¶
func (NotifierConsole) ColumnNames() []string
func (NotifierConsole) ColumnNamesWithAlias ¶
func (NotifierConsole) ColumnNamesWithAlias() []string
func (*NotifierConsole) Ptrs ¶
func (row *NotifierConsole) Ptrs() []interface{}
func (*NotifierConsole) Scan ¶
func (row *NotifierConsole) Scan(scanner Scanner) error
func (NotifierConsole) Values ¶
func (row NotifierConsole) Values() []interface{}
type NotifierConsole_essential ¶
type NotifierConsole_essential struct{}
type NotifierConsole_property ¶
type NotifierConsole_property struct { Created vanilla.NullTime `column:"created" json:"created,omitempty" swaggertype:"string"` Updated vanilla.NullTime `column:"updated" json:"updated,omitempty" swaggertype:"string"` NotifierConsole_essential `json:",inline"` }
func (NotifierConsole_property) TableName ¶
func (NotifierConsole_property) TableName() string
func (NotifierConsole_property) Type ¶
func (NotifierConsole_property) Type() NotifierType
type NotifierEdge ¶
type NotifierEdge struct { NotifierEdge_property `json:",inline"` Uuid string `column:"uuid" json:"uuid,omitempty"` // pk }
func (NotifierEdge) ColumnNames ¶
func (NotifierEdge) ColumnNames() []string
func (NotifierEdge) ColumnNamesWithAlias ¶
func (NotifierEdge) ColumnNamesWithAlias() []string
func (*NotifierEdge) Ptrs ¶
func (row *NotifierEdge) Ptrs() []interface{}
func (*NotifierEdge) Scan ¶
func (row *NotifierEdge) Scan(scanner Scanner) error
func (NotifierEdge) Values ¶
func (row NotifierEdge) Values() []interface{}
type NotifierEdge_essential ¶
type NotifierEdge_essential struct { // enums:"NaV(0), console(1), webhook(2), rabbitmq(3), slackhook(4)" NotifierType NotifierType `column:"notifier_type,default(0)" json:"notifier_type,omitempty" swaggertype:"string" enums:"0,1,2,3,4"` }
type NotifierEdge_option ¶
type NotifierEdge_option struct { NotifierEdge `alias:"EG," json:",inline"` Console NotifierConsole_property `alias:"CS,console" json:"console,omitempty"` Webhook NotifierWebhook_property `alias:"WH,webhook" json:"webhook,omitempty"` RabbitMq NotifierRabbitMq_property `alias:"RQ,rabbitmq" json:"rabbitmq,omitempty"` Slackhook NotifierSlackhook_property `alias:"SH,slackhook" json:"slackhook,omitempty"` }
func (NotifierEdge_option) ColumnNames ¶
func (NotifierEdge_option) ColumnNames() []string
func (NotifierEdge_option) ColumnNamesWithAlias ¶
func (NotifierEdge_option) ColumnNamesWithAlias() []string
func (*NotifierEdge_option) Ptrs ¶
func (row *NotifierEdge_option) Ptrs() []interface{}
func (*NotifierEdge_option) Scan ¶
func (row *NotifierEdge_option) Scan(scanner Scanner) error
func (NotifierEdge_option) TableName ¶
func (record NotifierEdge_option) TableName() string
func (NotifierEdge_option) Values ¶
func (row NotifierEdge_option) Values() []interface{}
type NotifierEdge_property ¶
type NotifierEdge_property struct { NotifierEdge_essential `json:",inline"` Created vanilla.NullTime `column:"created" json:"created,omitempty" swaggertype:"string"` Updated vanilla.NullTime `column:"updated" json:"updated,omitempty" swaggertype:"string"` }
func (NotifierEdge_property) ColumnNames ¶
func (NotifierEdge_property) ColumnNames() []string
func (NotifierEdge_property) ColumnNamesWithAlias ¶
func (NotifierEdge_property) ColumnNamesWithAlias() []string
func (*NotifierEdge_property) Ptrs ¶
func (row *NotifierEdge_property) Ptrs() []interface{}
func (*NotifierEdge_property) Scan ¶
func (row *NotifierEdge_property) Scan(scanner Scanner) error
func (NotifierEdge_property) TableName ¶
func (NotifierEdge_property) TableName() string
func (NotifierEdge_property) Values ¶
func (row NotifierEdge_property) Values() []interface{}
type NotifierRabbitMq ¶
type NotifierRabbitMq struct { NotifierRabbitMq_property `json:",inline"` Uuid string `column:"uuid" json:"uuid,omitempty"` // pk }
func (NotifierRabbitMq) ColumnNames ¶
func (NotifierRabbitMq) ColumnNames() []string
func (NotifierRabbitMq) ColumnNamesWithAlias ¶
func (NotifierRabbitMq) ColumnNamesWithAlias() []string
func (*NotifierRabbitMq) Ptrs ¶
func (row *NotifierRabbitMq) Ptrs() []interface{}
func (*NotifierRabbitMq) Scan ¶
func (row *NotifierRabbitMq) Scan(scanner Scanner) error
func (NotifierRabbitMq) Values ¶
func (row NotifierRabbitMq) Values() []interface{}
type NotifierRabbitMq_essential ¶
type NotifierRabbitMq_essential struct { //amqp Dial Url string `column:"url,default(0)" json:"url"` //amqp.Channel.Publish ChannelPublish struct { Exchange vanilla.NullString `column:"exchange" json:"exchange,omitempty" swaggertype:"string"` RoutingKey vanilla.NullString `column:"routing_key" json:"routing_key,omitempty" swaggertype:"string"` Mandatory vanilla.NullBool `column:"mandatory" json:"mandatory,omitempty" swaggertype:"boolean"` Immediate vanilla.NullBool `column:"immediate" json:"immediate,omitempty" swaggertype:"boolean"` } `json:"channel_publish"` //amqp.Publishing Publishing struct { MessageHeaders vanilla.NullObject `column:"message_headers" json:"message_headers,omitempty" swaggertype:"object"` // Application or header exchange table MessageContentType vanilla.NullString `column:"message_content_type" json:"message_content_type,omitempty" swaggertype:"string"` // MIME content type MessageContentEncoding vanilla.NullString `column:"message_content_encoding" json:"message_content_encoding,omitempty" swaggertype:"string"` // MIME content encoding MessageDeliveryMode vanilla.NullUint8 `column:"message_delivery_mode" json:"message_delivery_mode,omitempty" swaggertype:"integer"` // queue implementation use - Transient (1) or Persistent (2) MessagePriority vanilla.NullUint8 `column:"message_priority" json:"message_priority,omitempty" swaggertype:"integer"` // queue implementation use - 0 to 9 MessageCorrelationId vanilla.NullString `column:"message_correlation_id" json:"message_correlation_id,omitempty" swaggertype:"string"` // application use - correlation identifier MessageReplyTo vanilla.NullString `column:"message_reply_to" json:"message_reply_to,omitempty" swaggertype:"string"` // application use - address to to reply to (ex: RPC) MessageExpiration vanilla.NullString `column:"message_expiration" json:"message_expiration,omitempty" swaggertype:"string"` // implementation use - message expiration spec MessageMessageId vanilla.NullString `column:"message_message_id" json:"message_message_id,omitempty" swaggertype:"string"` // application use - message identifier MessageTimestamp vanilla.NullBool `column:"message_timestamp" json:"message_timestamp,omitempty" swaggertype:"boolean"` // application use - message timestamp MessageType vanilla.NullString `column:"message_type" json:"message_type,omitempty" swaggertype:"string"` // application use - message type name MessageUserId vanilla.NullString `column:"message_user_id" json:"message_user_id,omitempty" swaggertype:"string"` // application use - creating user id MessageAppId vanilla.NullString `column:"message_app_id" json:"message_app_id,omitempty" swaggertype:"string"` // application use - creating application } `json:"publishing"` }
type NotifierRabbitMq_property ¶
type NotifierRabbitMq_property struct { NotifierRabbitMq_essential `json:",inline"` Created vanilla.NullTime `column:"created" json:"created,omitempty" swaggertype:"string"` Updated vanilla.NullTime `column:"updated" json:"updated,omitempty" swaggertype:"string"` }
func (NotifierRabbitMq_property) ColumnNames ¶
func (NotifierRabbitMq_property) ColumnNames() []string
func (NotifierRabbitMq_property) ColumnNamesWithAlias ¶
func (NotifierRabbitMq_property) ColumnNamesWithAlias() []string
func (*NotifierRabbitMq_property) Ptrs ¶
func (row *NotifierRabbitMq_property) Ptrs() []interface{}
func (*NotifierRabbitMq_property) Scan ¶
func (row *NotifierRabbitMq_property) Scan(scanner Scanner) error
func (NotifierRabbitMq_property) TableName ¶
func (NotifierRabbitMq_property) TableName() string
func (NotifierRabbitMq_property) Type ¶
func (NotifierRabbitMq_property) Type() NotifierType
func (NotifierRabbitMq_property) Values ¶
func (row NotifierRabbitMq_property) Values() []interface{}
type NotifierSlackhook ¶
type NotifierSlackhook struct { NotifierSlackhook_property `json:",inline"` Uuid string `column:"uuid" json:"uuid,omitempty"` // pk }
func (NotifierSlackhook) ColumnNames ¶
func (NotifierSlackhook) ColumnNames() []string
func (NotifierSlackhook) ColumnNamesWithAlias ¶
func (NotifierSlackhook) ColumnNamesWithAlias() []string
func (*NotifierSlackhook) Ptrs ¶
func (row *NotifierSlackhook) Ptrs() []interface{}
func (*NotifierSlackhook) Scan ¶
func (row *NotifierSlackhook) Scan(scanner Scanner) error
func (NotifierSlackhook) Values ¶
func (row NotifierSlackhook) Values() []interface{}
type NotifierSlackhook_property ¶
type NotifierSlackhook_property struct { NotifierSlackhook_essential `json:",inline"` Created vanilla.NullTime `column:"created" json:"created,omitempty" swaggertype:"string"` Updated vanilla.NullTime `column:"updated" json:"updated,omitempty" swaggertype:"string"` }
func (NotifierSlackhook_property) ColumnNames ¶
func (NotifierSlackhook_property) ColumnNames() []string
func (NotifierSlackhook_property) ColumnNamesWithAlias ¶
func (NotifierSlackhook_property) ColumnNamesWithAlias() []string
func (*NotifierSlackhook_property) Ptrs ¶
func (row *NotifierSlackhook_property) Ptrs() []interface{}
func (*NotifierSlackhook_property) Scan ¶
func (row *NotifierSlackhook_property) Scan(scanner Scanner) error
func (NotifierSlackhook_property) TableName ¶
func (NotifierSlackhook_property) TableName() string
func (NotifierSlackhook_property) Type ¶
func (NotifierSlackhook_property) Type() NotifierType
func (NotifierSlackhook_property) Values ¶
func (row NotifierSlackhook_property) Values() []interface{}
type NotifierType ¶
type NotifierType int
ENUM( NaV console webhook rabbitmq slackhook
)
const ( // NotifierTypeNaV is a NotifierType of type NaV. NotifierTypeNaV NotifierType = iota // NotifierTypeConsole is a NotifierType of type Console. NotifierTypeConsole // NotifierTypeWebhook is a NotifierType of type Webhook. NotifierTypeWebhook // NotifierTypeRabbitmq is a NotifierType of type Rabbitmq. NotifierTypeRabbitmq // NotifierTypeSlackhook is a NotifierType of type Slackhook. NotifierTypeSlackhook )
func ParseNotifierType ¶
func ParseNotifierType(name string) (NotifierType, error)
ParseNotifierType attempts to convert a string to a NotifierType.
func (*NotifierType) Scan ¶
func (n *NotifierType) Scan(value interface{}) error
Scan implements the Scanner interface.
func (NotifierType) String ¶
func (x NotifierType) String() string
String implements the Stringer interface.
type NotifierWebhook ¶
type NotifierWebhook struct { NotifierWebhook_property `json:",inline"` Uuid string `column:"uuid" json:"uuid,omitempty"` // pk }
func (NotifierWebhook) ColumnNames ¶
func (NotifierWebhook) ColumnNames() []string
func (NotifierWebhook) ColumnNamesWithAlias ¶
func (NotifierWebhook) ColumnNamesWithAlias() []string
func (*NotifierWebhook) Ptrs ¶
func (row *NotifierWebhook) Ptrs() []interface{}
func (*NotifierWebhook) Scan ¶
func (row *NotifierWebhook) Scan(scanner Scanner) error
func (NotifierWebhook) Values ¶
func (row NotifierWebhook) Values() []interface{}
type NotifierWebhook_essential ¶
type NotifierWebhook_essential struct { //http Method string `column:"method,default('')" json:"method"` Url string `column:"url,default('')" json:"url"` RequestHeaders vanilla.NullKeyValue `column:"request_headers" json:"request_headers,omitempty" swaggertype:"object"` RequestTimeout uint `column:"request_timeout,default(0)" json:"request_timeout"` // second }
type NotifierWebhook_property ¶
type NotifierWebhook_property struct { NotifierWebhook_essential `json:",inline"` Created vanilla.NullTime `column:"created" json:"created,omitempty" swaggertype:"string"` Updated vanilla.NullTime `column:"updated" json:"updated,omitempty" swaggertype:"string"` }
func (NotifierWebhook_property) ColumnNames ¶
func (NotifierWebhook_property) ColumnNames() []string
func (NotifierWebhook_property) ColumnNamesWithAlias ¶
func (NotifierWebhook_property) ColumnNamesWithAlias() []string
func (*NotifierWebhook_property) Ptrs ¶
func (row *NotifierWebhook_property) Ptrs() []interface{}
func (*NotifierWebhook_property) Scan ¶
func (row *NotifierWebhook_property) Scan(scanner Scanner) error
func (NotifierWebhook_property) TableName ¶
func (NotifierWebhook_property) TableName() string
func (NotifierWebhook_property) Type ¶
func (NotifierWebhook_property) Type() NotifierType
func (NotifierWebhook_property) Values ¶
func (row NotifierWebhook_property) Values() []interface{}
Source Files ¶
- channel.go
- channel_filter.go
- channel_filter_enum.go
- channel_format.go
- channel_format_enum.go
- channel_status.go
- event_category.go
- event_category_enum.go
- http_body.go
- notifier_console.go
- notifier_edge.go
- notifier_rabbitmq.go
- notifier_slackhook.go
- notifier_type.go
- notifier_type_enum.go
- notifier_webhook.go
- vanilla_generated.go