Documentation
¶
Index ¶
- Constants
- Variables
- func AnnotationsForPod() map[string]string
- func Contains(s []corev1.LocalObjectReference, e corev1.LocalObjectReference) bool
- func GetLicensingClusterRole(instance *operatorv1alpha1.IBMLicensing) *rbacv1.ClusterRole
- func GetLicensingClusterRoleBinding(instance *operatorv1alpha1.IBMLicensing) *rbacv1.ClusterRoleBinding
- func GetLicensingContainer(spec operatorv1alpha1.IBMLicensingSpec) corev1.Container
- func GetLicensingDeployment(instance *operatorv1alpha1.IBMLicensing) *appsv1.Deployment
- func GetLicensingIngress(instance *operatorv1alpha1.IBMLicensing) *extensionsv1.Ingress
- func GetLicensingInitContainers(spec operatorv1alpha1.IBMLicensingSpec) []corev1.Container
- func GetLicensingRole(instance *operatorv1alpha1.IBMLicensing) *rbacv1.Role
- func GetLicensingRoleBinding(instance *operatorv1alpha1.IBMLicensing) *rbacv1.RoleBinding
- func GetLicensingRoute(instance *operatorv1alpha1.IBMLicensing) *routev1.Route
- func GetLicensingService(instance *operatorv1alpha1.IBMLicensing) *corev1.Service
- func GetLicensingServiceAccount(instance *operatorv1alpha1.IBMLicensing) *corev1.ServiceAccount
- func GetLicensingServiceName(instance *operatorv1alpha1.IBMLicensing) string
- func GetResourceName(instance *operatorv1alpha1.IBMLicensing) string
- func GetServiceAccountName(instance *operatorv1alpha1.IBMLicensing) string
- func LabelsForLicensingMeta(instance *operatorv1alpha1.IBMLicensing) map[string]string
- func LabelsForLicensingPod(instance *operatorv1alpha1.IBMLicensing) map[string]string
- func LabelsForLicensingSelector(instance *operatorv1alpha1.IBMLicensing) map[string]string
- func RandString(length int) string
Constants ¶
View Source
const APISecretTokenVolumeName = "api-token"
View Source
const LicensingComponentName = "ibm-licensing-service-svc"
View Source
const LicensingHTTPSCertsVolumeName = "licensing-https-certs"
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.3.0"
View Source
const LicensingReleaseName = "ibm-licensing-service"
View Source
const LicensingResourceBase = "ibm-licensing-service"
View Source
const MeteringAPICertsVolumeName = "metering-api-certs"
Variables ¶
View Source
var FalseVar = false
View Source
var TrueVar = true
Functions ¶
func AnnotationsForPod ¶
func Contains ¶
func Contains(s []corev1.LocalObjectReference, e corev1.LocalObjectReference) bool
func GetLicensingClusterRole ¶
func GetLicensingClusterRole(instance *operatorv1alpha1.IBMLicensing) *rbacv1.ClusterRole
func GetLicensingClusterRoleBinding ¶
func GetLicensingClusterRoleBinding(instance *operatorv1alpha1.IBMLicensing) *rbacv1.ClusterRoleBinding
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) *extensionsv1.Ingress
func GetLicensingInitContainers ¶
func GetLicensingInitContainers(spec operatorv1alpha1.IBMLicensingSpec) []corev1.Container
func GetLicensingRole ¶
func GetLicensingRole(instance *operatorv1alpha1.IBMLicensing) *rbacv1.Role
func GetLicensingRoleBinding ¶
func GetLicensingRoleBinding(instance *operatorv1alpha1.IBMLicensing) *rbacv1.RoleBinding
func GetLicensingRoute ¶
func GetLicensingRoute(instance *operatorv1alpha1.IBMLicensing) *routev1.Route
func GetLicensingService ¶
func GetLicensingService(instance *operatorv1alpha1.IBMLicensing) *corev1.Service
func GetLicensingServiceAccount ¶
func GetLicensingServiceAccount(instance *operatorv1alpha1.IBMLicensing) *corev1.ServiceAccount
func GetLicensingServiceName ¶
func GetLicensingServiceName(instance *operatorv1alpha1.IBMLicensing) string
func GetResourceName ¶
func GetResourceName(instance *operatorv1alpha1.IBMLicensing) string
func GetServiceAccountName ¶
func GetServiceAccountName(instance *operatorv1alpha1.IBMLicensing) string
func LabelsForLicensingMeta ¶
func LabelsForLicensingMeta(instance *operatorv1alpha1.IBMLicensing) map[string]string
func LabelsForLicensingPod ¶
func LabelsForLicensingPod(instance *operatorv1alpha1.IBMLicensing) map[string]string
func LabelsForLicensingSelector ¶
func LabelsForLicensingSelector(instance *operatorv1alpha1.IBMLicensing) map[string]string
func RandString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.