Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoEvent = errors.New("no event")
)
Functions ¶
Types ¶
type APIPostEvent ¶
func (APIPostEvent) Apps ¶
func (event APIPostEvent) Apps() []*apps.App
func (APIPostEvent) GetType ¶
func (event APIPostEvent) GetType() string
type AppTerminatedEvent ¶
type AppTerminatedEvent struct { Type string `json:"eventType"` AppID string `json:"appId"` Timestamp string `json:"timestamp"` }
func (AppTerminatedEvent) Apps ¶
func (event AppTerminatedEvent) Apps() []*apps.App
func (AppTerminatedEvent) GetType ¶
func (event AppTerminatedEvent) GetType() string
type DeploymentInfoEvent ¶
type DeploymentInfoEvent struct { Type string `json:"eventType"` Plan struct { Target struct { Apps []*apps.App `json:"apps"` } `json:"target"` } `json:"plan"` CurrentStep struct { Action string `json:"action"` App string `json:"app"` } `json:"currentStep"` }
func (DeploymentInfoEvent) Apps ¶
func (event DeploymentInfoEvent) Apps() []*apps.App
func (DeploymentInfoEvent) GetType ¶
func (event DeploymentInfoEvent) GetType() string
Click to show internal directories.
Click to hide internal directories.