deploymentmanager

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL