Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subscription ¶
type Subscription struct { entitystore.BaseEntity EventType string `json:"eventType"` Function string `json:"function"` Secrets []string `json:"secrets,omitempty"` }
Subscription struct represents a single subscription of subscriber to publisher
func (*Subscription) FromModel ¶
func (s *Subscription) FromModel(m *v1.Subscription, orgID string)
FromModel builds subscription based on swagger model
func (*Subscription) ToModel ¶
func (s *Subscription) ToModel() *v1.Subscription
ToModel converts subscription to swagger model
Click to show internal directories.
Click to hide internal directories.