( regionSlug: string, cluster: ClusterPathParams, )
| 30 | }; |
| 31 | |
| 32 | export const absoluteClusterPath = ( |
| 33 | regionSlug: string, |
| 34 | cluster: ClusterPathParams, |
| 35 | ) => `${regionPath(regionSlug)}/clusters/${relativeClusterPath(cluster)}`; |
| 36 | |
| 37 | export const relativeClusterPath = (cluster: ClusterPathParams) => |
| 38 | `${cluster.id}/${encodeURIComponent(cluster.name)}`; |
no test coverage detected