Documentation ¶
Index ¶
Constants ¶
View Source
const ( DeploymentTypeDeployment = "deployments" DeploymentTypeStatefulset = "statefulsets" DeploymentTypeDaemonset = "deamonsets" PNAResourceName = "privatenetworkaccesses" UsingPnaLabelKey = "ndac.appfw.private-network-access" PrivateNetworkRoutingContainerName = "appfw-private-network-routing" )
Variables ¶
This section is empty.
Functions ¶
func GetPrivateNetworkIpAddresses ¶
func GetPrivateNetworkIpAddresses(namespace, pnaName string, deploymentList []DeploymentId) map[string]string
Types ¶
type DeploymentId ¶
type DeploymentId struct { DeploymentType deploymentType Name string }
type LicenceExpiredHandlerCreator ¶
type LicenceExpiredHandlerCreator func(client.Client, client.ObjectKey, common_types.AppCrCreator, *kubernetes.Clientset, *monitoring.Monitor) licenceexpired.LicenceExpiredResourceFuncs
type MonitorInstanceCreator ¶
type MonitorInstanceCreator func(client.ObjectKey, common_types.AppStatus, *OperatorReconciler) *monitoring.Monitor
type NetworkParametersChangedChecker ¶
type NetworkParametersChangedChecker func(common_types.OperatorCr) bool
type OperatorReconciler ¶
type OperatorReconciler struct { client.Client Scheme *runtime.Scheme Configuration config.OperatorConfig Functions ReconcilerHookFunctions }
OperatorReconciler reconciles a Application object
func (*OperatorReconciler) HandleCrChange ¶
func (r *OperatorReconciler) HandleCrChange(instance common_types.OperatorCr, namespace string) (reconcile.Result, error)
type ReconcilerHookFunctions ¶
type ReconcilerHookFunctions struct { CreateAppCr common_types.AppCrCreator CreateAppStatusMonitor MonitorInstanceCreator CreateLicenceExpiredHandler LicenceExpiredHandlerCreator CheckNetworkParametersChanged NetworkParametersChangedChecker }
Click to show internal directories.
Click to hide internal directories.