Documentation ¶
Index ¶
- Constants
- func AddSenderConfiguration(client client.Client, log logr.Logger) error
- func ClearDefaultSenderConfiguration(client client.Client, log logr.Logger)
- func GetAPISecretToken(instance *operatorv1alpha1.IBMLicenseServiceReporter) (*corev1.Secret, error)
- func GetBindInfo(instance *operatorv1alpha1.IBMLicenseServiceReporter) *odlm.OperandBindInfo
- func GetDatabaseContainer(instance *operatorv1alpha1.IBMLicenseServiceReporter) corev1.Container
- func GetDatabaseSecret(instance *operatorv1alpha1.IBMLicenseServiceReporter) (*corev1.Secret, error)
- func GetDeployment(instance *operatorv1alpha1.IBMLicenseServiceReporter) *appsv1.Deployment
- func GetLicenseReporterInitContainers(instance *operatorv1alpha1.IBMLicenseServiceReporter) []corev1.Container
- func GetPersistenceVolumeClaim(instance *operatorv1alpha1.IBMLicenseServiceReporter) *corev1.PersistentVolumeClaim
- func GetReceiverContainer(instance *operatorv1alpha1.IBMLicenseServiceReporter) corev1.Container
- func GetReporterRoute(instance *operatorv1alpha1.IBMLicenseServiceReporter) *routev1.Route
- func GetReporterUIContainer(instance *operatorv1alpha1.IBMLicenseServiceReporter) corev1.Container
- func GetResourceName(instance *operatorv1alpha1.IBMLicenseServiceReporter) string
- func GetRole(instance *operatorv1alpha1.IBMLicenseServiceReporter) *rbacv1.Role
- func GetRoleBinding(instance *operatorv1alpha1.IBMLicenseServiceReporter) *rbacv1.RoleBinding
- func GetService(instance *operatorv1alpha1.IBMLicenseServiceReporter) *corev1.Service
- func GetServiceAccount(instance *operatorv1alpha1.IBMLicenseServiceReporter) *corev1.ServiceAccount
- func GetServiceAccountName(instance *operatorv1alpha1.IBMLicenseServiceReporter) string
- func GetUIIngress(instance *operatorv1alpha1.IBMLicenseServiceReporter) *networkingv1.Ingress
- func GetUIIngressProxy(instance *operatorv1alpha1.IBMLicenseServiceReporter) *networkingv1.Ingress
- func GetZenConfigMap(instance *operatorv1alpha1.IBMLicenseServiceReporter) *corev1.ConfigMap
- func LabelsForMeta(instance *operatorv1alpha1.IBMLicenseServiceReporter) map[string]string
- func LabelsForPod(instance *operatorv1alpha1.IBMLicenseServiceReporter) map[string]string
- func LabelsForSelector(instance *operatorv1alpha1.IBMLicenseServiceReporter) map[string]string
- func UpdateOperandBindInfoIfNeeded(reqLogger *logr.Logger, client client.Client, ...) (reconcile.Result, error)
- func UpdateVersion(client client.Client, instance *operatorv1alpha1.IBMLicenseServiceReporter) error
Constants ¶
View Source
const APIReciverSecretTokenKeyName = "token"
View Source
const APISecretTokenVolumeName = "api-token"
View Source
const DatabaseConfigSecretName = "license-service-hub-db-config"
View Source
const DatabaseContainerName = "database"
View Source
const DatabaseMountPoint = "/var/lib/postgresql"
View Source
const DatabaseName = "postgres"
View Source
const DatabaseUser = "postgres"
View Source
const LicenseReportBindInfoName = "ibm-license-service-reporter-bindinfo"
View Source
const LicenseReportOCPCertName = "ibm-license-reporter-cert"
View Source
const LicenseReporterComponentName = "ibm-license-service-reporter-svc"
View Source
const LicenseReporterHTTPSCertsVolumeName = "license-reporter-https-certs"
View Source
const LicenseReporterReleaseName = "ibm-license-service-reporter"
View Source
const LicenseReporterResourceBase = "ibm-license-service-reporter"
View Source
const LicenseReporterUIBase = "ibm-license-service-reporter-ui"
View Source
const OperandRegistry = "common-service"
View Source
const OperatorName = "ibm-licensing-operator"
View Source
const PersistenceVolumeClaimName = "license-service-reporter-pvc"
View Source
const PgData = DatabaseMountPoint + "/pgdata"
View Source
const PostgresDatabaseNameKey = "POSTGRES_DB"
View Source
const PostgresPasswordKey = "POSTGRES_PASSWORD" // #nosec
View Source
const PostgresPgDataKey = "POSTGRES_PGDATA"
View Source
const PostgresUserKey = "POSTGRES_USER"
View Source
const ReceiverContainerName = "receiver"
View Source
const ReceiverPort = 8080
View Source
const UIContainerName = "reporter-ui"
View Source
const UIPort = 3001
View Source
const ZenBindingName = "public-zen-config"
View Source
const ZenConfigMapName = "ibm-license-service-reporter-zen"
View Source
const ZenExtensions = `` /* 339-byte string literal not displayed */
View Source
const ZenNginxConf = `` /* 478-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func AddSenderConfiguration ¶
func GetAPISecretToken ¶
func GetAPISecretToken(instance *operatorv1alpha1.IBMLicenseServiceReporter) (*corev1.Secret, error)
func GetBindInfo ¶ added in v1.6.0
func GetBindInfo(instance *operatorv1alpha1.IBMLicenseServiceReporter) *odlm.OperandBindInfo
func GetDatabaseContainer ¶
func GetDatabaseContainer(instance *operatorv1alpha1.IBMLicenseServiceReporter) corev1.Container
func GetDatabaseSecret ¶
func GetDatabaseSecret(instance *operatorv1alpha1.IBMLicenseServiceReporter) (*corev1.Secret, error)
func GetDeployment ¶
func GetDeployment(instance *operatorv1alpha1.IBMLicenseServiceReporter) *appsv1.Deployment
func GetLicenseReporterInitContainers ¶
func GetLicenseReporterInitContainers(instance *operatorv1alpha1.IBMLicenseServiceReporter) []corev1.Container
func GetPersistenceVolumeClaim ¶
func GetPersistenceVolumeClaim(instance *operatorv1alpha1.IBMLicenseServiceReporter) *corev1.PersistentVolumeClaim
func GetReceiverContainer ¶
func GetReceiverContainer(instance *operatorv1alpha1.IBMLicenseServiceReporter) corev1.Container
func GetReporterRoute ¶
func GetReporterRoute(instance *operatorv1alpha1.IBMLicenseServiceReporter) *routev1.Route
func GetReporterUIContainer ¶
func GetReporterUIContainer(instance *operatorv1alpha1.IBMLicenseServiceReporter) corev1.Container
func GetResourceName ¶
func GetResourceName(instance *operatorv1alpha1.IBMLicenseServiceReporter) string
func GetRole ¶
func GetRole(instance *operatorv1alpha1.IBMLicenseServiceReporter) *rbacv1.Role
func GetRoleBinding ¶
func GetRoleBinding(instance *operatorv1alpha1.IBMLicenseServiceReporter) *rbacv1.RoleBinding
func GetService ¶
func GetService(instance *operatorv1alpha1.IBMLicenseServiceReporter) *corev1.Service
func GetServiceAccount ¶
func GetServiceAccount(instance *operatorv1alpha1.IBMLicenseServiceReporter) *corev1.ServiceAccount
func GetServiceAccountName ¶
func GetServiceAccountName(instance *operatorv1alpha1.IBMLicenseServiceReporter) string
func GetUIIngress ¶
func GetUIIngress(instance *operatorv1alpha1.IBMLicenseServiceReporter) *networkingv1.Ingress
func GetUIIngressProxy ¶
func GetUIIngressProxy(instance *operatorv1alpha1.IBMLicenseServiceReporter) *networkingv1.Ingress
func GetZenConfigMap ¶ added in v1.6.0
func GetZenConfigMap(instance *operatorv1alpha1.IBMLicenseServiceReporter) *corev1.ConfigMap
func LabelsForMeta ¶
func LabelsForMeta(instance *operatorv1alpha1.IBMLicenseServiceReporter) map[string]string
func LabelsForPod ¶
func LabelsForPod(instance *operatorv1alpha1.IBMLicenseServiceReporter) map[string]string
func LabelsForSelector ¶
func LabelsForSelector(instance *operatorv1alpha1.IBMLicenseServiceReporter) map[string]string
func UpdateOperandBindInfoIfNeeded ¶ added in v1.6.0
func UpdateVersion ¶
func UpdateVersion(client client.Client, instance *operatorv1alpha1.IBMLicenseServiceReporter) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.