Files
c/kubernetes/model/v1_overhead.h
Brendan Burns d72a1c8566 Automated openapi generation from release-1.32
Signed-off-by: Kubernetes Prow Robot <k8s.ci.robot@gmail.com>
2025-02-11 19:36:46 +00:00

39 lines
819 B
C

/*
* v1_overhead.h
*
* Overhead structure represents the resource overhead associated with running a pod.
*/
#ifndef _v1_overhead_H_
#define _v1_overhead_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_overhead_t v1_overhead_t;
typedef struct v1_overhead_t {
list_t* pod_fixed; //map
int _library_owned; // Is the library responsible for freeing this object?
} v1_overhead_t;
__attribute__((deprecated)) v1_overhead_t *v1_overhead_create(
list_t* pod_fixed
);
void v1_overhead_free(v1_overhead_t *v1_overhead);
v1_overhead_t *v1_overhead_parseFromJSON(cJSON *v1_overheadJSON);
cJSON *v1_overhead_convertToJSON(v1_overhead_t *v1_overhead);
#endif /* _v1_overhead_H_ */