Documentation
¶
Index ¶
Constants ¶
View Source
const (
// ConfigHashAnnotation is the key of the annotation on the PodTemplate that
// holds the configuratio hash
ConfigHashAnnotation = "wave.pusher.com/config-hash"
// FinalizerString is the finalizer added to deployments to allow Wave to
// perform advanced deletion logic
FinalizerString = "wave.pusher.com/finalizer"
// RequiredAnnotation is the key of the annotation on the Deployment that Wave
// checks for before processing the deployment
RequiredAnnotation = "wave.pusher.com/update-on-config-change"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
client.Client
// contains filtered or unexported fields
}
Handler performs the main business logic of the Wave controller
func NewHandler ¶
func NewHandler(c client.Client, r record.EventRecorder) *Handler
NewHandler constructs a new instance of Handler
func (*Handler) HandleDaemonSet ¶ added in v0.3.0
func (h *Handler) HandleDaemonSet(instance *appsv1.DaemonSet) (reconcile.Result, error)
HandleDaemonSet is called by the DaemonSet controller to reconcile DaemonSets
func (*Handler) HandleDeployment ¶
func (h *Handler) HandleDeployment(instance *appsv1.Deployment) (reconcile.Result, error)
HandleDeployment is called by the deployment controller to reconcile deployments
func (*Handler) HandleStatefulSet ¶ added in v0.3.0
func (h *Handler) HandleStatefulSet(instance *appsv1.StatefulSet) (reconcile.Result, error)
HandleStatefulSet is called by the StatefulSet controller to reconcile StatefulSets
Click to show internal directories.
Click to hide internal directories.