 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- func GetAPISecretToken(instance *operatorv1alpha1.IBMLicensing) (*corev1.Secret, error)
- func GetInfoConfigMap(instance *operatorv1alpha1.IBMLicensing) *corev1.ConfigMap
- func GetLicensingContainer(spec operatorv1alpha1.IBMLicensingSpec) []corev1.Container
- func GetLicensingDeployment(instance *operatorv1alpha1.IBMLicensing) *appsv1.Deployment
- func GetLicensingIngress(instance *operatorv1alpha1.IBMLicensing) *networkingv1.Ingress
- func GetLicensingInitContainers(spec operatorv1alpha1.IBMLicensingSpec) []corev1.Container
- func GetLicensingRoute(instance *operatorv1alpha1.IBMLicensing) *routev1.Route
- func GetLicensingService(instance *operatorv1alpha1.IBMLicensing) *corev1.Service
- func GetLicensingServiceName(instance *operatorv1alpha1.IBMLicensing) string
- func GetMeterDefinitionList(instance *operatorv1alpha1.IBMLicensing) []*rhmp.MeterDefinition
- func GetMeterDefinitionName(instance *operatorv1alpha1.IBMLicensing, meterType string) string
- func GetNetworkPolicy(instance *operatorv1alpha1.IBMLicensing) *networkingv1.NetworkPolicy
- func GetNetworkPolicyName(instance *operatorv1alpha1.IBMLicensing) string
- func GetPrometheusService(instance *operatorv1alpha1.IBMLicensing) *corev1.Service
- func GetPrometheusServiceName() string
- func GetResourceName(instance *operatorv1alpha1.IBMLicensing) string
- func GetServiceMonitor(instance *operatorv1alpha1.IBMLicensing) *monitoringv1.ServiceMonitor
- func GetServiceMonitorName() string
- func GetServiceURL(instance *operatorv1alpha1.IBMLicensing) string
- func GetServices(instance *operatorv1alpha1.IBMLicensing) (expected []*corev1.Service, notExpected []*corev1.Service)
- func GetUploadConfigMap(instance *operatorv1alpha1.IBMLicensing) *corev1.ConfigMap
- func GetUploadToken(instance *operatorv1alpha1.IBMLicensing) (*corev1.Secret, error)
- func GetUsageService(instance *operatorv1alpha1.IBMLicensing) *corev1.Service
- func GetUsageServiceName() string
- func LabelsForLicensingPod(instance *operatorv1alpha1.IBMLicensing) map[string]string
- func LabelsForMeta(instance *operatorv1alpha1.IBMLicensing) map[string]string
- func LabelsForSelector(instance *operatorv1alpha1.IBMLicensing) map[string]string
- func LabelsForServiceMonitor() map[string]string
- func UpdateVersion(client client.Client, instance *operatorv1alpha1.IBMLicensing) error
Constants ¶
      View Source
      
  
    const APISecretTokenKeyName = "token"
    
      View Source
      
  
    const APISecretTokenVolumeName = "api-token"
    
      View Source
      
  
    const APIUploadTokenKeyName = "token-upload"
    
      View Source
      
  
    const APIUploadTokenName = "ibm-licensing-upload-token"
    
      View Source
      
  
    const APIUploadTokenVolumeName = "token-upload"
    
      View Source
      
  
    const LicenseServiceOCPCertName = "ibm-license-service-cert"
    
      View Source
      
  
    const LicensingComponentName = "ibm-licensing-service-svc"
    
      View Source
      
  
    const LicensingHTTPSCertsVolumeName = "licensing-https-certs"
    
      View Source
      
  
    const LicensingReleaseName = "ibm-licensing-service"
    
      View Source
      
  
    const LicensingResourceBase = "ibm-licensing-service"
    
      View Source
      
  
    const LicensingServiceAccount = "ibm-license-service"
    
      View Source
      
  
    const LicensingServiceAccountRestricted = "ibm-license-service-restricted"
    
      View Source
      
  
    const LicensingServiceAppLabel = "ibm-licensing-service-instance"
    
      View Source
      
  
    const MeteringAPICertsVolumeName = "metering-api-certs"
    
      View Source
      
  
    const NamespaceScopeLabelKey = "intent"
    
      View Source
      
  
    const NamespaceScopeLabelValue = "projected"
    
      View Source
      
  
    const PrometheusHTTPSCertsVolumeName = "prometheus-https-certs"
    
      View Source
      
  
    const PrometheusServiceMonitor = "ibm-licensing-service-service-monitor"
    
      View Source
      
  
    const PrometheusServiceName = "ibm-licensing-service-prometheus"
    
      View Source
      
  
    const PrometheusServiceOCPCertName = "ibm-licensing-service-prometheus-cert"
    
      View Source
      
  
    const ReleaseLabel = "ibm-licensing-service-prometheus"
    
      View Source
      
  
    const ReleaseUsageLabel = "ibm-licensing-service-usage"
    
      View Source
      
  
    const ReporterSecretTokenKeyName = "token"
    
      View Source
      
  
    const ServiceMonitorSelectorLabel = "marketplace.redhat.com/metering"
    
      View Source
      
  
    const URLConfigMapKey = "url"
    
      View Source
      
  
const UsageServiceName = "ibm-licensing-service-usage"
    Variables ¶
This section is empty.
Functions ¶
func GetAPISecretToken ¶
func GetAPISecretToken(instance *operatorv1alpha1.IBMLicensing) (*corev1.Secret, error)
func GetInfoConfigMap ¶ added in v1.6.0
func GetInfoConfigMap(instance *operatorv1alpha1.IBMLicensing) *corev1.ConfigMap
func GetLicensingContainer ¶
func GetLicensingContainer(spec operatorv1alpha1.IBMLicensingSpec) []corev1.Container
func GetLicensingDeployment ¶
func GetLicensingDeployment(instance *operatorv1alpha1.IBMLicensing) *appsv1.Deployment
func GetLicensingIngress ¶
func GetLicensingIngress(instance *operatorv1alpha1.IBMLicensing) *networkingv1.Ingress
func GetLicensingInitContainers ¶
func GetLicensingInitContainers(spec operatorv1alpha1.IBMLicensingSpec) []corev1.Container
func GetLicensingRoute ¶
func GetLicensingRoute(instance *operatorv1alpha1.IBMLicensing) *routev1.Route
func GetLicensingService ¶
func GetLicensingService(instance *operatorv1alpha1.IBMLicensing) *corev1.Service
func GetLicensingServiceName ¶
func GetLicensingServiceName(instance *operatorv1alpha1.IBMLicensing) string
func GetMeterDefinitionList ¶ added in v1.10.0
func GetMeterDefinitionList(instance *operatorv1alpha1.IBMLicensing) []*rhmp.MeterDefinition
func GetMeterDefinitionName ¶
func GetMeterDefinitionName(instance *operatorv1alpha1.IBMLicensing, meterType string) string
func GetNetworkPolicy ¶
func GetNetworkPolicy(instance *operatorv1alpha1.IBMLicensing) *networkingv1.NetworkPolicy
func GetNetworkPolicyName ¶
func GetNetworkPolicyName(instance *operatorv1alpha1.IBMLicensing) string
func GetPrometheusService ¶
func GetPrometheusService(instance *operatorv1alpha1.IBMLicensing) *corev1.Service
func GetPrometheusServiceName ¶
func GetPrometheusServiceName() string
func GetResourceName ¶
func GetResourceName(instance *operatorv1alpha1.IBMLicensing) string
func GetServiceMonitor ¶
func GetServiceMonitor(instance *operatorv1alpha1.IBMLicensing) *monitoringv1.ServiceMonitor
func GetServiceMonitorName ¶
func GetServiceMonitorName() string
func GetServiceURL ¶ added in v1.6.0
func GetServiceURL(instance *operatorv1alpha1.IBMLicensing) string
func GetServices ¶
func GetServices(instance *operatorv1alpha1.IBMLicensing) (expected []*corev1.Service, notExpected []*corev1.Service)
func GetUploadConfigMap ¶
func GetUploadConfigMap(instance *operatorv1alpha1.IBMLicensing) *corev1.ConfigMap
func GetUploadToken ¶
func GetUploadToken(instance *operatorv1alpha1.IBMLicensing) (*corev1.Secret, error)
func GetUsageService ¶
func GetUsageService(instance *operatorv1alpha1.IBMLicensing) *corev1.Service
func GetUsageServiceName ¶
func GetUsageServiceName() string
func LabelsForLicensingPod ¶
func LabelsForLicensingPod(instance *operatorv1alpha1.IBMLicensing) map[string]string
func LabelsForMeta ¶
func LabelsForMeta(instance *operatorv1alpha1.IBMLicensing) map[string]string
func LabelsForSelector ¶
func LabelsForSelector(instance *operatorv1alpha1.IBMLicensing) map[string]string
func LabelsForServiceMonitor ¶
func UpdateVersion ¶
func UpdateVersion(client client.Client, instance *operatorv1alpha1.IBMLicensing) error
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.