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

47 lines
1.4 KiB
C

/*
* v1_downward_api_volume_file.h
*
* DownwardAPIVolumeFile represents information to create the file containing the pod field
*/
#ifndef _v1_downward_api_volume_file_H_
#define _v1_downward_api_volume_file_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_downward_api_volume_file_t v1_downward_api_volume_file_t;
#include "v1_object_field_selector.h"
#include "v1_resource_field_selector.h"
typedef struct v1_downward_api_volume_file_t {
struct v1_object_field_selector_t *field_ref; //model
int mode; //numeric
char *path; // string
struct v1_resource_field_selector_t *resource_field_ref; //model
int _library_owned; // Is the library responsible for freeing this object?
} v1_downward_api_volume_file_t;
__attribute__((deprecated)) v1_downward_api_volume_file_t *v1_downward_api_volume_file_create(
v1_object_field_selector_t *field_ref,
int mode,
char *path,
v1_resource_field_selector_t *resource_field_ref
);
void v1_downward_api_volume_file_free(v1_downward_api_volume_file_t *v1_downward_api_volume_file);
v1_downward_api_volume_file_t *v1_downward_api_volume_file_parseFromJSON(cJSON *v1_downward_api_volume_fileJSON);
cJSON *v1_downward_api_volume_file_convertToJSON(v1_downward_api_volume_file_t *v1_downward_api_volume_file);
#endif /* _v1_downward_api_volume_file_H_ */