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

45 lines
922 B
C

/*
* v1_taint.h
*
* The node this Taint is attached to has the \&quot;effect\&quot; on any pod that does not tolerate the Taint.
*/
#ifndef _v1_taint_H_
#define _v1_taint_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_taint_t v1_taint_t;
typedef struct v1_taint_t {
char *effect; // string
char *key; // string
char *time_added; //date time
char *value; // string
int _library_owned; // Is the library responsible for freeing this object?
} v1_taint_t;
__attribute__((deprecated)) v1_taint_t *v1_taint_create(
char *effect,
char *key,
char *time_added,
char *value
);
void v1_taint_free(v1_taint_t *v1_taint);
v1_taint_t *v1_taint_parseFromJSON(cJSON *v1_taintJSON);
cJSON *v1_taint_convertToJSON(v1_taint_t *v1_taint);
#endif /* _v1_taint_H_ */