* If the data type of query parameter is "int" or "bool" in OpenAPI Spec, the request url will not be generated correctly. ( PR #6692 )
38 lines
1.3 KiB
C
38 lines
1.3 KiB
C
/*
|
|
* v1beta2_rolling_update_stateful_set_strategy.h
|
|
*
|
|
* RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
|
|
*/
|
|
|
|
#ifndef _v1beta2_rolling_update_stateful_set_strategy_H_
|
|
#define _v1beta2_rolling_update_stateful_set_strategy_H_
|
|
|
|
#include <string.h>
|
|
#include "../external/cJSON.h"
|
|
#include "../include/list.h"
|
|
#include "../include/keyValuePair.h"
|
|
#include "../include/binary.h"
|
|
|
|
typedef struct v1beta2_rolling_update_stateful_set_strategy_t v1beta2_rolling_update_stateful_set_strategy_t;
|
|
|
|
|
|
|
|
|
|
typedef struct v1beta2_rolling_update_stateful_set_strategy_t {
|
|
int partition; //numeric
|
|
|
|
} v1beta2_rolling_update_stateful_set_strategy_t;
|
|
|
|
v1beta2_rolling_update_stateful_set_strategy_t *v1beta2_rolling_update_stateful_set_strategy_create(
|
|
int partition
|
|
);
|
|
|
|
void v1beta2_rolling_update_stateful_set_strategy_free(v1beta2_rolling_update_stateful_set_strategy_t *v1beta2_rolling_update_stateful_set_strategy);
|
|
|
|
v1beta2_rolling_update_stateful_set_strategy_t *v1beta2_rolling_update_stateful_set_strategy_parseFromJSON(cJSON *v1beta2_rolling_update_stateful_set_strategyJSON);
|
|
|
|
cJSON *v1beta2_rolling_update_stateful_set_strategy_convertToJSON(v1beta2_rolling_update_stateful_set_strategy_t *v1beta2_rolling_update_stateful_set_strategy);
|
|
|
|
#endif /* _v1beta2_rolling_update_stateful_set_strategy_H_ */
|
|
|