resources

package
v0.0.0-...-14652f6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const APISecretTokenKeyName = "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/data"
View Source
const DatabaseName = "postgres"
View Source
const DatabaseUser = "postgres"
View Source
const DefaultDatabaseImage = "quay.io/opencloudio/ibm-license-advisor-db:1.2.0"
View Source
const DefaultReceiverImage = "quay.io/opencloudio/ibm-license-advisor-receiver:1.2.0"
View Source
const LicensingHubComponentName = "ibm-licensing-hub-service-svc"
View Source
const LicensingHubReleaseName = "ibm-licensing-hub-service"
View Source
const LicensingHubResourceBase = "ibm-licensing-hub-service"
View Source
const LicensingProductID = "068a62892a1e4db39641342e592daa25"
View Source
const LicensingProductMetric = "FREE"
View Source
const LicensingProductName = "IBM Cloud Platform Common Services"

Important product values needed for annotations

View Source
const LicensingProductVersion = "3.4.0"
View Source
const PersistenceVolumeClaimName = "licensing-hub-pvc"
View Source
const PgData = DatabaseMountPoint + "/pgdata"
View Source
const PostgresDatabaseNameKey = "POSTGRES_DATABASE_NAME"
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

Variables

View Source
var FalseVar = false
View Source
var TrueVar = true

Functions

func AnnotationsForPod

func AnnotationsForPod() map[string]string

func GetAPISecretToken

func GetAPISecretToken(instance *operatorv1alpha1.IBMLicensingHub) *corev1.Secret

func GetDatabaseSecret

func GetDatabaseSecret(instance *operatorv1alpha1.IBMLicensingHub) *corev1.Secret

func GetLicensingDeployment

func GetLicensingDeployment(instance *operatorv1alpha1.IBMLicensingHub) *appsv1.Deployment

func GetLicensingRole

func GetLicensingRole(instance *operatorv1alpha1.IBMLicensingHub) *rbacv1.Role

func GetLicensingRoleBinding

func GetLicensingRoleBinding(instance *operatorv1alpha1.IBMLicensingHub) *rbacv1.RoleBinding

func GetLicensingRoute

func GetLicensingRoute(instance *operatorv1alpha1.IBMLicensingHub) *routev1.Route

func GetLicensingServiceAccount

func GetLicensingServiceAccount(instance *operatorv1alpha1.IBMLicensingHub) *corev1.ServiceAccount

func GetReceiverService

func GetReceiverService(instance *operatorv1alpha1.IBMLicensingHub) *corev1.Service

func GetResourceName

func GetResourceName(instance *operatorv1alpha1.IBMLicensingHub) string

func GetServiceAccountName

func GetServiceAccountName(instance *operatorv1alpha1.IBMLicensingHub) string

func LabelsForLicensingHubMeta

func LabelsForLicensingHubMeta(instance *operatorv1alpha1.IBMLicensingHub) map[string]string

func LabelsForLicensingHubPod

func LabelsForLicensingHubPod(instance *operatorv1alpha1.IBMLicensingHub) map[string]string

func LabelsForLicensingHubSelector

func LabelsForLicensingHubSelector(instance *operatorv1alpha1.IBMLicensingHub) map[string]string

func RandString

func RandString(length int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL