You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
import { kubeflow } from "@/components/models/management/Kubeflow";
|
|
|
|
|
import { request } from "@/components/service/index";
|
|
|
|
|
export const kubeflowService = {
|
|
|
|
|
upload: (payload: kubeflow) => {
|
|
|
|
|
return request.post("/pipelines/upload", payload);
|
|
|
|
|
},
|
|
|
|
|
run: (payload: kubeflow) => {
|
|
|
|
|
return request.post("/pipelines/runs", payload);
|
|
|
|
|
},
|
|
|
|
|
kubeflowSize: (payload: kubeflow) => {
|
|
|
|
|
return request.post("/pipelines/experiments", payload);
|
|
|
|
|
},
|
|
|
|
|
};
|