Beispiel #1
0
                key_prefix=OPENSHIFT_ALL_CACHE_PREFIX)(
                    OCPAllTagView.as_view()),
     name="openshift-all-tags",
 ),
 path(
     "tags/openshift/infrastructures/aws/",
     cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS,
                key_prefix=OPENSHIFT_AWS_CACHE_PREFIX)(
                    OCPAWSTagView.as_view()),
     name="openshift-aws-tags",
 ),
 path(
     "tags/openshift/infrastructures/azure/",
     cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS,
                key_prefix=OPENSHIFT_AZURE_CACHE_PREFIX)(
                    OCPAzureTagView.as_view()),
     name="openshift-azure-tags",
 ),
 path(
     "tags/openshift/infrastructures/gcp/",
     cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS,
                key_prefix=OPENSHIFT_GCP_CACHE_PREFIX)(
                    OCPGCPTagView.as_view()),
     name="openshift-gcp-tags",
 ),
 path(
     "tags/aws/<key>/",
     cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS,
                key_prefix=AWS_CACHE_PREFIX)(AWSTagView.as_view()),
     name="aws-tags-key",
 ),
Beispiel #2
0
     cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS, key_prefix=OPENSHIFT_ALL_CACHE_PREFIX)(
         OCPAllTagView.as_view()
     ),
     name="openshift-all-tags",
 ),
 path(
     "tags/openshift/infrastructures/aws/",
     cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS, key_prefix=OPENSHIFT_AWS_CACHE_PREFIX)(
         OCPAWSTagView.as_view()
     ),
     name="openshift-aws-tags",
 ),
 path(
     "tags/openshift/infrastructures/azure/",
     cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS, key_prefix=OPENSHIFT_AZURE_CACHE_PREFIX)(
         OCPAzureTagView.as_view()
     ),
     name="openshift-azure-tags",
 ),
 path(
     "tags/aws/<key>/",
     cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS, key_prefix=AWS_CACHE_PREFIX)(AWSTagView.as_view()),
     name="aws-tags-key",
 ),
 path(
     "tags/azure/<key>/",
     cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS, key_prefix=AZURE_CACHE_PREFIX)(AzureTagView.as_view()),
     name="azure-tags-key",
 ),
 path(
     "tags/openshift/<key>/",