Documentation
¶
Index ¶
Constants ¶
View Source
const ( // NameContainerGraphBuilder is the Name property of the graph builder container NameContainerGraphBuilder string = "graph-builder" // NameContainerPolicyEngine is the Name property of the policy engine container NameContainerPolicyEngine string = "policy-engine" // NameInitContainerGraphData is the Name property of the graph data container NameInitContainerGraphData string = "graph-data" // NameTrustedCAVolume is the name of the Volume used in UpdateService's deployment containing the CA Cert NameTrustedCAVolume = "trusted-ca" // NameCertConfigMapKey is the ConfigMap key name where the operator expects the external registry CA Cert NameCertConfigMapKey = "updateservice-registry" )
View Source
const ( // GraphBuilderConfigHashAnnotation is the key for an annotation storing a // hash of the graph builder config on the operand Pod. Storing the // annotation ensures that the Pod will be replaced whenever the content of // the ConfigMap changes. GraphBuilderConfigHashAnnotation string = "updateservice.operator.openshift.io/graph-builder-config-hash" // EnvConfigHashAnnotation is the key for an annotation storing a hash of // the env config on the operand Pod. Storing the annotation ensures that // the Pod will be replaced whenever the content of the ConfigMap changes. EnvConfigHashAnnotation string = "updateservice.operator.openshift.io/env-config-hash" )
Variables ¶
View Source
var AddToManagerFuncs []func(manager.Manager) error
AddToManagerFuncs is a list of functions to add all Controllers to the Manager
Functions ¶
func AddToManager ¶
AddToManager adds all Controllers to the Manager
Types ¶
type UpdateServiceReconciler ¶
type UpdateServiceReconciler struct {
Client client.Client
Scheme *runtime.Scheme
Log logr.Logger
OperandImage string
}
UpdateServiceReconciler reconciles a UpdateService object
func (*UpdateServiceReconciler) SetupWithManager ¶
func (r *UpdateServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.