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

43 lines
1.4 KiB
C

/*
* v1_custom_resource_subresources.h
*
* CustomResourceSubresources defines the status and scale subresources for CustomResources.
*/
#ifndef _v1_custom_resource_subresources_H_
#define _v1_custom_resource_subresources_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_custom_resource_subresources_t v1_custom_resource_subresources_t;
#include "object.h"
#include "v1_custom_resource_subresource_scale.h"
typedef struct v1_custom_resource_subresources_t {
struct v1_custom_resource_subresource_scale_t *scale; //model
object_t *status; //object
int _library_owned; // Is the library responsible for freeing this object?
} v1_custom_resource_subresources_t;
__attribute__((deprecated)) v1_custom_resource_subresources_t *v1_custom_resource_subresources_create(
v1_custom_resource_subresource_scale_t *scale,
object_t *status
);
void v1_custom_resource_subresources_free(v1_custom_resource_subresources_t *v1_custom_resource_subresources);
v1_custom_resource_subresources_t *v1_custom_resource_subresources_parseFromJSON(cJSON *v1_custom_resource_subresourcesJSON);
cJSON *v1_custom_resource_subresources_convertToJSON(v1_custom_resource_subresources_t *v1_custom_resource_subresources);
#endif /* _v1_custom_resource_subresources_H_ */