import React from 'react';

const globals = {};
globals.longName   = "Cloud Native BootCamp";
globals.shortName  = "Cloud Native BootCamp";
globals.tinyName   = "BootCamp";
globals.env        = "environment";
globals.devenv     = "Developer Environment";
globals.ic         = "IBM Cloud";
globals.ibmcloud   = "IBM Cloud";
globals.iccli      = "IBM Cloud CLI";
globals.icconsole  = "IBM Cloud Console";
globals.kube       = "Kubernetes";
globals.iks        = "IBM Cloud Kubernetes Service";
globals.ocp        = "Red Hat OpenShift";
globals.roks       = "Red Hat OpenShift on IBM Cloud";
globals.method     = "IBM Garage Method";
globals.template   = "Starter Kit";
globals.templates  = "Starter Kits";
globals.dashboard  = "Developer Dashboard";
globals.igccli     = "IGC CLI";
globals.cloudpaks  = "IBM Cloud Paks";

const Globals = ({name}) => {

    return (
        <>
            {globals[name]}
        </>
    )
};

Globals.get = (key) => {
    return globals[key];
};


Globals.set = (key, value) => {
    globals[key] = value;
}

Object.assign(Globals,globals);

export default Globals;