* If the data type of query parameter is "int" or "bool" in OpenAPI Spec, the request url will not be generated correctly. ( PR #6692 )
38 lines
826 B
C
38 lines
826 B
C
/*
|
|
* v1alpha1_overhead.h
|
|
*
|
|
* Overhead structure represents the resource overhead associated with running a pod.
|
|
*/
|
|
|
|
#ifndef _v1alpha1_overhead_H_
|
|
#define _v1alpha1_overhead_H_
|
|
|
|
#include <string.h>
|
|
#include "../external/cJSON.h"
|
|
#include "../include/list.h"
|
|
#include "../include/keyValuePair.h"
|
|
#include "../include/binary.h"
|
|
|
|
typedef struct v1alpha1_overhead_t v1alpha1_overhead_t;
|
|
|
|
|
|
|
|
|
|
typedef struct v1alpha1_overhead_t {
|
|
list_t* pod_fixed; //map
|
|
|
|
} v1alpha1_overhead_t;
|
|
|
|
v1alpha1_overhead_t *v1alpha1_overhead_create(
|
|
list_t* pod_fixed
|
|
);
|
|
|
|
void v1alpha1_overhead_free(v1alpha1_overhead_t *v1alpha1_overhead);
|
|
|
|
v1alpha1_overhead_t *v1alpha1_overhead_parseFromJSON(cJSON *v1alpha1_overheadJSON);
|
|
|
|
cJSON *v1alpha1_overhead_convertToJSON(v1alpha1_overhead_t *v1alpha1_overhead);
|
|
|
|
#endif /* _v1alpha1_overhead_H_ */
|
|
|