Documentation ¶
Index ¶
Constants ¶
View Source
const (
DeploymentRevisionAnnotation = "deployment.kubernetes.io/revision"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DaemonsetViewer ¶
type DaemonsetViewer struct {
// contains filtered or unexported fields
}
func (*DaemonsetViewer) ViewHistory ¶
func (h *DaemonsetViewer) ViewHistory(namespace, name string) ([]*RevisionHistory, []*RevisionHistory, error)
type DeploymentViewer ¶
type DeploymentViewer struct {
// contains filtered or unexported fields
}
func (*DeploymentViewer) ViewHistory ¶
func (h *DeploymentViewer) ViewHistory(namespace, name string) ([]*RevisionHistory, []*RevisionHistory, error)
type HistoryStatus ¶
type RevisionHistory ¶
type RevisionHistory struct { Revision int64 `json:"revision"` Name string `json:"name"` Labels map[string]string `json:"labels"` Annotations map[string]string `json:"annotations"` CreateTimestamp metav1.Time `json:"createTimestamp"` Status HistoryStatus `json:"status"` Images []string `json:"images"` }
type StatefulSetViewer ¶
type StatefulSetViewer struct {
// contains filtered or unexported fields
}
func (*StatefulSetViewer) ViewHistory ¶
func (h *StatefulSetViewer) ViewHistory(namespace, name string) ([]*RevisionHistory, []*RevisionHistory, error)
type Viewer ¶
type Viewer interface {
ViewHistory(namespace, name string) ([]*RevisionHistory, []*RevisionHistory, error)
}
Click to show internal directories.
Click to hide internal directories.