Files
c/kubernetes/model/v1alpha1_overhead.h
Hui Yu ab432efa49 [API] Re-run code generator to merge the changes of OpenAPITools/openapi-generator to fix the bug:
* If the data type of query parameter is "int" or "bool" in OpenAPI Spec, the request url will not be generated correctly. ( PR #6692 )
2020-06-20 09:41:15 +08:00

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_ */