Files
c/kubernetes/model/v1_deployment_status.h
Hui Yu 8ba394045d commit
1. The kubernetes-client/gen setting for c generator

    2. The source code generated by OpenAPI c generator
2020-03-18 17:24:33 +08:00

49 lines
1.2 KiB
C

/*
* v1_deployment_status.h
*
* DeploymentStatus is the most recently observed status of the Deployment.
*/
#ifndef _v1_deployment_status_H_
#define _v1_deployment_status_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "v1_deployment_condition.h"
typedef struct v1_deployment_status_t {
int available_replicas; //numeric
int collision_count; //numeric
list_t *conditions; //nonprimitive container
long observed_generation; //numeric
int ready_replicas; //numeric
int replicas; //numeric
int unavailable_replicas; //numeric
int updated_replicas; //numeric
} v1_deployment_status_t;
v1_deployment_status_t *v1_deployment_status_create(
int available_replicas,
int collision_count,
list_t *conditions,
long observed_generation,
int ready_replicas,
int replicas,
int unavailable_replicas,
int updated_replicas
);
void v1_deployment_status_free(v1_deployment_status_t *v1_deployment_status);
v1_deployment_status_t *v1_deployment_status_parseFromJSON(cJSON *v1_deployment_statusJSON);
cJSON *v1_deployment_status_convertToJSON(v1_deployment_status_t *v1_deployment_status);
#endif /* _v1_deployment_status_H_ */