Files
c/kubernetes/model/v1_custom_resource_subresource_scale.h
Hui Yu ab432efa49 [API] Re-run code generator to merge the changes of OpenAPITools/openapi-generator to fix the bug:
* If the data type of query parameter is "int" or "bool" in OpenAPI Spec, the request url will not be generated correctly. ( PR #6692 )
2020-06-20 09:41:15 +08:00

42 lines
1.3 KiB
C

/*
* v1_custom_resource_subresource_scale.h
*
* CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.
*/
#ifndef _v1_custom_resource_subresource_scale_H_
#define _v1_custom_resource_subresource_scale_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_subresource_scale_t v1_custom_resource_subresource_scale_t;
typedef struct v1_custom_resource_subresource_scale_t {
char *label_selector_path; // string
char *spec_replicas_path; // string
char *status_replicas_path; // string
} v1_custom_resource_subresource_scale_t;
v1_custom_resource_subresource_scale_t *v1_custom_resource_subresource_scale_create(
char *label_selector_path,
char *spec_replicas_path,
char *status_replicas_path
);
void v1_custom_resource_subresource_scale_free(v1_custom_resource_subresource_scale_t *v1_custom_resource_subresource_scale);
v1_custom_resource_subresource_scale_t *v1_custom_resource_subresource_scale_parseFromJSON(cJSON *v1_custom_resource_subresource_scaleJSON);
cJSON *v1_custom_resource_subresource_scale_convertToJSON(v1_custom_resource_subresource_scale_t *v1_custom_resource_subresource_scale);
#endif /* _v1_custom_resource_subresource_scale_H_ */