Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AppNamespaceEnvVar is the constant for env variable AppNamespaceEnvVar // which is the namespace where the APP CR can applied. // The namespaces should be informed split by ";". AppNamespaceEnvVar = "APP_NAMESPACES" // OperatorNamespaceForLocalEnv is valid and used just in the local env and for the tests. OperatorNamespaceForLocalEnv = "mobile-security-service" ProxyServiceInstanceName = "mobile-security-service-proxy" ApplicationServiceInstanceName = "mobile-security-service-application" APIEndpoint = "/api" APIRequestProtocol = "http" // The MobileSecurityServiceCRName has the name of the CR which should not be changed. MobileSecurityServiceCRName = "mobile-security-service" MobileSecurityServiceDBCRName = "mobile-security-service-db" )
Variables ¶
This section is empty.
Functions ¶
func GetAppNamespaces ¶
GetAppNamespaces returns the namespace the operator should be watching for changes
func GetServiceAPIURL ¶
func GetServiceAPIURL(mss *mobilesecurityservicev1alpha1.MobileSecurityService) string
Return REST Service API
func IsValidAppNamespace ¶
IsValidAppNamespace return true when the namespace informed is declared in the ENV VAR APP_NAMESPACES
func IsValidOperatorNamespace ¶
IsValidOperatorNamespace return true when the namespace informed is declared in the ENV VAR APP_NAMESPACES
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.