Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
Pods []*Pod `json:"pods,omitempty"`
SHA string `json:"sha"`
CommitMessage string `json:"commitMessage"`
}
func (*Deployment) FQN ¶
func (d *Deployment) FQN() string
type Pod ¶
type Stack ¶
type Stack struct {
Repo string `json:"repo"`
Env string `json:"env"`
Service *Service `json:"service"`
Deployment *Deployment `json:"deployment,omitempty"`
Ingresses []*Ingress `json:"ingresses,omitempty"`
}
type StackUpdate ¶
type StackUpdate struct {
Event string `json:"event"`
Repo string `json:"repo"`
Env string `json:"env"`
Subject string `json:"subject"`
Svc string `json:"svc"`
// Pod
Status string `json:"status"`
Deployment string `json:"deployment"`
ErrorCause string `json:"errorCause"`
Logs string `json:"logs"`
// Deployment
SHA string `json:"sha"`
CommitMessage string `json:"commitMessage"` // only used in streamed update to frontend
// Ingress
URL string `json:"url"`
// Service
Stacks []*Stack `json:"stacks"`
}
Click to show internal directories.
Click to hide internal directories.