Files
c/kubernetes/model/v1_role_ref.h
Brendan Burns d72a1c8566 Automated openapi generation from release-1.32
Signed-off-by: Kubernetes Prow Robot <k8s.ci.robot@gmail.com>
2025-02-11 19:36:46 +00:00

43 lines
884 B
C

/*
* v1_role_ref.h
*
* RoleRef contains information that points to the role being used
*/
#ifndef _v1_role_ref_H_
#define _v1_role_ref_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_role_ref_t v1_role_ref_t;
typedef struct v1_role_ref_t {
char *api_group; // string
char *kind; // string
char *name; // string
int _library_owned; // Is the library responsible for freeing this object?
} v1_role_ref_t;
__attribute__((deprecated)) v1_role_ref_t *v1_role_ref_create(
char *api_group,
char *kind,
char *name
);
void v1_role_ref_free(v1_role_ref_t *v1_role_ref);
v1_role_ref_t *v1_role_ref_parseFromJSON(cJSON *v1_role_refJSON);
cJSON *v1_role_ref_convertToJSON(v1_role_ref_t *v1_role_ref);
#endif /* _v1_role_ref_H_ */