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

50 lines
1.1 KiB
C

/*
* v1_config_map.h
*
* ConfigMap holds configuration data for pods to consume.
*/
#ifndef _v1_config_map_H_
#define _v1_config_map_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_config_map_t v1_config_map_t;
#include "v1_object_meta.h"
typedef struct v1_config_map_t {
char *api_version; // string
list_t* binary_data; //map
list_t* data; //map
int immutable; //boolean
char *kind; // string
struct v1_object_meta_t *metadata; //model
int _library_owned; // Is the library responsible for freeing this object?
} v1_config_map_t;
__attribute__((deprecated)) v1_config_map_t *v1_config_map_create(
char *api_version,
list_t* binary_data,
list_t* data,
int immutable,
char *kind,
v1_object_meta_t *metadata
);
void v1_config_map_free(v1_config_map_t *v1_config_map);
v1_config_map_t *v1_config_map_parseFromJSON(cJSON *v1_config_mapJSON);
cJSON *v1_config_map_convertToJSON(v1_config_map_t *v1_config_map);
#endif /* _v1_config_map_H_ */