Documentation ¶
Index ¶
Constants ¶
View Source
const (
DEPLOYMENT_CUTOFF = 10 * time.Minute
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment struct { ID string Name string StartTime time.Time EndTime time.Time Version string Image string ClusterName string Hostnames []string }
func DeploymentFromNotification ¶
func DeploymentFromNotification(notice *Notification) *Deployment
Construct a deployment object from a datatypes object
func (*Deployment) Aggregate ¶
func (d *Deployment) Aggregate(other *Deployment)
func (*Deployment) Matches ¶
func (d *Deployment) Matches(other *Deployment) bool
type Notification ¶
type Notification struct { Event *catalog.ChangeEvent ClusterName string }
func NotificationFromEvent ¶
func NotificationFromEvent(evt *catalog.StateChangedEvent) *Notification
Click to show internal directories.
Click to hide internal directories.