Files
c/kubernetes/model/v1_uncounted_terminated_pods.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

41 lines
1.2 KiB
C

/*
* v1_uncounted_terminated_pods.h
*
* UncountedTerminatedPods holds UIDs of Pods that have terminated but haven&#39;t been accounted in Job status counters.
*/
#ifndef _v1_uncounted_terminated_pods_H_
#define _v1_uncounted_terminated_pods_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_uncounted_terminated_pods_t v1_uncounted_terminated_pods_t;
typedef struct v1_uncounted_terminated_pods_t {
list_t *failed; //primitive container
list_t *succeeded; //primitive container
int _library_owned; // Is the library responsible for freeing this object?
} v1_uncounted_terminated_pods_t;
__attribute__((deprecated)) v1_uncounted_terminated_pods_t *v1_uncounted_terminated_pods_create(
list_t *failed,
list_t *succeeded
);
void v1_uncounted_terminated_pods_free(v1_uncounted_terminated_pods_t *v1_uncounted_terminated_pods);
v1_uncounted_terminated_pods_t *v1_uncounted_terminated_pods_parseFromJSON(cJSON *v1_uncounted_terminated_podsJSON);
cJSON *v1_uncounted_terminated_pods_convertToJSON(v1_uncounted_terminated_pods_t *v1_uncounted_terminated_pods);
#endif /* _v1_uncounted_terminated_pods_H_ */