2020-03-18 17:24:33 +08:00
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include "../include/apiClient.h"
|
|
|
|
|
#include "../include/list.h"
|
|
|
|
|
#include "../external/cJSON.h"
|
|
|
|
|
#include "../include/keyValuePair.h"
|
2020-06-20 09:41:15 +08:00
|
|
|
#include "../include/binary.h"
|
2022-03-09 10:56:53 +08:00
|
|
|
#include "../model/object.h"
|
2020-03-18 17:24:33 +08:00
|
|
|
#include "../model/v1_api_resource_list.h"
|
|
|
|
|
#include "../model/v1_delete_options.h"
|
|
|
|
|
#include "../model/v1_priority_class.h"
|
|
|
|
|
#include "../model/v1_priority_class_list.h"
|
|
|
|
|
#include "../model/v1_status.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// create a PriorityClass
|
|
|
|
|
//
|
|
|
|
|
v1_priority_class_t*
|
2022-04-12 21:14:09 +08:00
|
|
|
SchedulingV1API_createPriorityClass(apiClient_t *apiClient, v1_priority_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation );
|
2020-03-18 17:24:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// delete collection of PriorityClass
|
|
|
|
|
//
|
|
|
|
|
v1_status_t*
|
2021-09-14 21:52:06 +08:00
|
|
|
SchedulingV1API_deleteCollectionPriorityClass(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int timeoutSeconds , v1_delete_options_t * body );
|
2020-03-18 17:24:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// delete a PriorityClass
|
|
|
|
|
//
|
|
|
|
|
v1_status_t*
|
2020-04-02 10:47:22 +08:00
|
|
|
SchedulingV1API_deletePriorityClass(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body );
|
2020-03-18 17:24:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// get available resources
|
|
|
|
|
//
|
|
|
|
|
v1_api_resource_list_t*
|
|
|
|
|
SchedulingV1API_getAPIResources(apiClient_t *apiClient);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// list or watch objects of kind PriorityClass
|
|
|
|
|
//
|
|
|
|
|
v1_priority_class_list_t*
|
2021-09-14 21:52:06 +08:00
|
|
|
SchedulingV1API_listPriorityClass(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int timeoutSeconds , int watch );
|
2020-03-18 17:24:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// partially update the specified PriorityClass
|
|
|
|
|
//
|
|
|
|
|
v1_priority_class_t*
|
2022-04-12 21:14:09 +08:00
|
|
|
SchedulingV1API_patchPriorityClass(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force );
|
2020-03-18 17:24:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// read the specified PriorityClass
|
|
|
|
|
//
|
|
|
|
|
v1_priority_class_t*
|
2021-09-14 21:52:06 +08:00
|
|
|
SchedulingV1API_readPriorityClass(apiClient_t *apiClient, char * name , char * pretty );
|
2020-03-18 17:24:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// replace the specified PriorityClass
|
|
|
|
|
//
|
|
|
|
|
v1_priority_class_t*
|
2022-04-12 21:14:09 +08:00
|
|
|
SchedulingV1API_replacePriorityClass(apiClient_t *apiClient, char * name , v1_priority_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation );
|
2020-03-18 17:24:33 +08:00
|
|
|
|
|
|
|
|
|