2023-06-05 02:09:22 +00:00
|
|
|
/*
|
|
|
|
|
* v1alpha1_match_condition.h
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _v1alpha1_match_condition_H_
|
|
|
|
|
#define _v1alpha1_match_condition_H_
|
|
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
|
#include "../external/cJSON.h"
|
|
|
|
|
#include "../include/list.h"
|
|
|
|
|
#include "../include/keyValuePair.h"
|
|
|
|
|
#include "../include/binary.h"
|
|
|
|
|
|
|
|
|
|
typedef struct v1alpha1_match_condition_t v1alpha1_match_condition_t;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct v1alpha1_match_condition_t {
|
|
|
|
|
char *expression; // string
|
|
|
|
|
char *name; // string
|
|
|
|
|
|
2025-02-11 19:36:46 +00:00
|
|
|
int _library_owned; // Is the library responsible for freeing this object?
|
2023-06-05 02:09:22 +00:00
|
|
|
} v1alpha1_match_condition_t;
|
|
|
|
|
|
2025-02-11 19:36:46 +00:00
|
|
|
__attribute__((deprecated)) v1alpha1_match_condition_t *v1alpha1_match_condition_create(
|
2023-06-05 02:09:22 +00:00
|
|
|
char *expression,
|
|
|
|
|
char *name
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
void v1alpha1_match_condition_free(v1alpha1_match_condition_t *v1alpha1_match_condition);
|
|
|
|
|
|
|
|
|
|
v1alpha1_match_condition_t *v1alpha1_match_condition_parseFromJSON(cJSON *v1alpha1_match_conditionJSON);
|
|
|
|
|
|
|
|
|
|
cJSON *v1alpha1_match_condition_convertToJSON(v1alpha1_match_condition_t *v1alpha1_match_condition);
|
|
|
|
|
|
|
|
|
|
#endif /* _v1alpha1_match_condition_H_ */
|
|
|
|
|
|