Files
c/kubernetes/model/v1_deployment_status.h

56 lines
1.5 KiB
C
Raw Permalink Normal View History

/*
* 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 "../include/binary.h"
typedef struct v1_deployment_status_t v1_deployment_status_t;
#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 terminating_replicas; //numeric
int unavailable_replicas; //numeric
int updated_replicas; //numeric
int _library_owned; // Is the library responsible for freeing this object?
} v1_deployment_status_t;
__attribute__((deprecated)) 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 terminating_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_ */