Documentation ¶
Index ¶
- Constants
- Variables
- type EventAction
- type EventData
- type EventsBill
- type EventsContainer
- type EventsMarketplace
- type EventsObc
- type EventsStorage
- type EventsVm
- type Notifier
- type ObcEvents
- type Scylla
- type VerticeApi
- func (s *VerticeApi) Notify(eva EventAction, edata EventData) error
- func (v *VerticeApi) NotifyBill(eva EventAction, edata EventData) error
- func (v *VerticeApi) NotifyContainer(eva EventAction, edata EventData) error
- func (v *VerticeApi) NotifyMarketplace(eva EventAction, edata EventData) error
- func (v *VerticeApi) NotifyStorage(eva EventAction, edata EventData) error
- func (v *VerticeApi) NotifyVm(eva EventAction, edata EventData) error
Constants ¶
View Source
const EVENTBILL_NEW = "/eventsbilling/content"
View Source
const (
EVENTCONTAINER_NEW = "/eventscontainer/content"
)
View Source
const (
EVENTSMARKETPLACES_NEW = "/eventsmarketplace/content"
)
View Source
const EVENTSOBCBUCKET = "events_for_obc"
View Source
const EVENTSTORAGE_NEW = "/eventsstorage/content"
View Source
const (
EVENTSVM_NEW = "/eventsvm/content"
)
Variables ¶
View Source
var Mailer map[string]string
Functions ¶
This section is empty.
Types ¶
type EventAction ¶
type EventAction int
const ( LAUNCHED EventAction = iota DESTROYED STATUS DEDUCT ONBOARD RESET INVITE BALANCE INVOICE BILLEDHISTORY TRANSACTION DESCRIPTION SNAPSHOTTING SNAPSHOTTED RUNNING FAILURE INSUFFICIENT_FUND QUOTA_UNPAID SKEWS_ACTIONS SKEWS_WARNING )
func (*EventAction) String ¶
func (v *EventAction) String() string
type EventsBill ¶
type EventsContainer ¶
type EventsMarketplace ¶
type EventsObc ¶
type EventsObc struct { Id string `json:"id" cql:"id"` EventType string `json:"event_type" cql:"event_type"` AccountId string `json:"account_id" cql:"account_id"` HostIp string `json:"host_ip" cql:"host_ip"` HostId string `json:"host_id" cql:"host_id"` Data []string `json:"data" cql:"data"` CreatedAt time.Time `json:"created_at" cql:"created_at"` }
type EventsStorage ¶
type Notifier ¶
type Notifier interface { Notify(eva EventAction, edata EventData) error // contains filtered or unexported methods }
func NewApiArgs ¶
func NewInfobip ¶
type Scylla ¶
type Scylla struct { Scylla_host []string Scylla_keyspace string Scylla_username string Scylla_password string }
func (*Scylla) GetEventsByEmail ¶
func (*Scylla) GetEventsByNodeId ¶
type VerticeApi ¶
func (*VerticeApi) Notify ¶
func (s *VerticeApi) Notify(eva EventAction, edata EventData) error
func (*VerticeApi) NotifyBill ¶
func (v *VerticeApi) NotifyBill(eva EventAction, edata EventData) error
func (*VerticeApi) NotifyContainer ¶
func (v *VerticeApi) NotifyContainer(eva EventAction, edata EventData) error
func (*VerticeApi) NotifyMarketplace ¶
func (v *VerticeApi) NotifyMarketplace(eva EventAction, edata EventData) error
func (*VerticeApi) NotifyStorage ¶
func (v *VerticeApi) NotifyStorage(eva EventAction, edata EventData) error
func (*VerticeApi) NotifyVm ¶
func (v *VerticeApi) NotifyVm(eva EventAction, edata EventData) error
Click to show internal directories.
Click to hide internal directories.