Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentManager ¶
type DeploymentManager struct { // Namespace namespace to listen to. Namespace string // Name name of the deployment to listen to. Name string // Resync is the number of sec to execute resync Resync int // CurrentImageSHA256 stores the current SHA-256 of the container Image ID CurrentImageSHA256 string // CurrentImageName is the name of the current image CurrentNamedImage reference.Named // WebSocket server WSServer *ws.WebSockerServer // contains filtered or unexported fields }
DeploymentManager is a controller for Deployments
func NewSPAManager ¶
func NewSPAManager(namespace string, name string, resync int, websocketPort int) (*DeploymentManager, error)
NewSPAManager creates a new DeploymentController
func (*DeploymentManager) Start ¶
func (r *DeploymentManager) Start(done <-chan struct{}) error
Start starts listesting to changes in the deployments
Click to show internal directories.
Click to hide internal directories.