import{a7 as o,a4 as r}from"./index-BKr2rJhV.js";const a=o.injectEndpoints({endpoints:s=>({getProjectKubeLabels:s.query({query:({id:e})=>({url:`project/${e}/kube/label`}),providesTags:[r.ProjectTags.KubernetesLabels]}),getProjectKubePriorityClasses:s.query({query:({id:e})=>({url:`project/${e}/kube/priorityclass`}),providesTags:[r.ProjectTags.KubernetesPriorityClasses]}),getProjectKubeQueues:s.query({query:({id:e})=>({url:`project/${e}/kube/queue`}),providesTags:[r.ProjectTags.KubernetesQueues]}),getProjectKubeClusterInfo:s.query({query:({id:e})=>({url:`project/${e}/kube/clusterinfo`}),providesTags:[r.ProjectTags.KubernetesClusterInfo]}),getProjectKubeNamespaceInfo:s.query({query:({id:e})=>({url:`project/${e}/kube/namespaceinfo`}),providesTags:[r.ProjectTags.KubernetesNamespaceInfo]}),setProjectKubeBase:s.mutation({query:({id:e,baseLabels:t,basePriorityClass:u})=>({url:`project/${e}/kube/base`,method:"post",data:{value:{priorityClass:u,labels:t}}}),invalidatesTags:[r.ProjectTags.KubernetesPriorityClasses,r.ProjectTags.KubernetesLabels]}),getProjectQueueUtilization:s.query({query:({id:e})=>({url:`project/${e}/kube/queueutilization`}),providesTags:[r.ProjectTags.QueueUtilization]})}),overrideExisting:!0}),{useGetProjectKubeLabelsQuery:i,useGetProjectKubePriorityClassesQuery:n,useGetProjectKubeQueuesQuery:j,useSetProjectKubeBaseMutation:b,useGetProjectKubeClusterInfoQuery:p,useGetProjectKubeNamespaceInfoQuery:y,useGetProjectQueueUtilizationQuery:P}=a;export{i as a,n as b,j as c,y as d,P as e,b as f,p as u};
