src/main/java/application/rest/v1/configmaps/KindActionMappingCache.java
/**
     * Retrieve all "KindActionMapping" custom resources in a cluster
     * 
     * @param client ApiClient
     * @return a list of KAM CR instances in a cluster
     * @throws ApiException
     */
Retrieve all "KindActionMapping" custom resources in a cluster

@param client ApiClient
@return a list of KAM CR instances in a cluster
@throws ApiException
Retrieve all " KindActionMapping " custom resources in a cluster @param client ApiClient @return a list of KAM CR instances in a cluster @throws ApiException
private static  List<JsonObject> listKAMCustomResourcesFromCluster(ApiClient client) 
        throws ApiException {
        String methodName = "listKAMCustomResourcesCluster";
        final CustomObjectsApi coa = new CustomObjectsApi();
        coa.setApiClient(client);
        if (Logger.isDebugEnabled()) {
            Logger.log(CLASS_NAME, methodName, Logger.LogType.DEBUG,
                       "List KAM Custom Resources for all namespaces with" + "\n group = " + 
                       KAM_GROUP + "\n version = " + KAM_VERSION + "\n plural = " + KAM_PLURAL);
        }
        Object kamResource = coa.listClusterCustomObject(KAM_GROUP, KAM_VERSION, KAM_PLURAL, null, null, 
                             null, null, 60, null, 60, false);                     
        return KAppNavEndpoint.getItemAsList(client, kamResource);
    }
private static List < JsonObject > listKAMCustomResourcesFromCluster ( ApiClient client ) throws ApiException { String methodName = "listKAMCustomResourcesCluster" ; final CustomObjectsApi coa = new CustomObjectsApi ( ) ; coa . setApiClient ( client ) ; if ( Logger . isDebugEnabled ( ) ) { Logger . log ( CLASS_NAME , methodName , Logger . LogType . DEBUG , "List KAM Custom Resources for all namespaces with" + "\n group = " + KAM_GROUP + "\n version = " + KAM_VERSION + "\n plural = " + KAM_PLURAL ) ; } Object kamResource = coa . listClusterCustomObject ( KAM_GROUP , KAM_VERSION , KAM_PLURAL , null , null , null , null , 60 , null , 60 , false ) ; return KAppNavEndpoint . getItemAsList ( client , kamResource ) ; }
Retrieve all "KindActionMapping" custom resources in a cluster
Retrieve all " KindActionMapping " custom resources in a cluster