Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentManager ¶
type DeploymentManager struct {
// contains filtered or unexported fields
}
DeploymentManager is responsible for maintaining a set of kubernetes Deployments
func NewDeploymentManager ¶
func NewDeploymentManager(client client.Client, deployments []string, namespace string) *DeploymentManager
NewDeploymentManager returns a new DeploymentManager configured to manage a given set of deployments with a kubernetes client
func (*DeploymentManager) UpdateDeployments ¶
func (d *DeploymentManager) UpdateDeployments(config pomeriumconfig.Options)
UpdateDeployments implements a ConfigReceiver. It stores a checksum of the baseBytes as an annotation on the managed deployments. This forces them to update the corresponding ReplicaSet if there are changes
Click to show internal directories.
Click to hide internal directories.