Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model for deployments. Mutex is necessary here. We must synchronize UpdateList function call and View function call on update namespaces. In order to make user interface faster on update namespace we call update callbacks in another goroutine. namespaces/model.go package Model.setActive() function has go m.app.OnUpdateNamespace() If user switch tab faster than k8s makes call to update list, user will get outdated list. Mutex helps us to wait for k8s response and update list before view.
func (*Model) UpdateList ¶
func (m *Model) UpdateList()
Click to show internal directories.
Click to hide internal directories.