MCPcopy
hub / github.com/1Panel-dev/KubePi / scaleStatefulset

Function scaleStatefulset

web/dashboard/src/api/statefulsets.js:35–37  ·  view source on GitHub ↗
(cluster_name, namespace, statefulset, data)

Source from the content-addressed store, hash-verified

33}
34
35export function scaleStatefulset(cluster_name, namespace, statefulset, data) {
36 return patch(`${statefulsetUrlWithNs(cluster_name, namespace)}/${statefulset}/scale`, data);
37}
38
39export function patchStatefulset(cluster_name, namespace, statefulset, data) {
40 return patch(`${statefulsetUrlWithNs(cluster_name, namespace)}/${statefulset}`, data);

Callers

nothing calls this directly

Calls 2

patchFunction · 0.90
statefulsetUrlWithNsFunction · 0.85

Tested by

no test coverage detected