resources

package
v1.0.0-cambridge Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 AnnotationsForPod() map[string]string

func GetLicensingClusterRole

func GetLicensingClusterRole(instance *operatorv1alpha1.IBMLicensing) *rbacv1.ClusterRole

func GetLicensingClusterRoleBinding

func GetLicensingClusterRoleBinding(instance *operatorv1alpha1.IBMLicensing) *rbacv1.ClusterRoleBinding

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

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