Files
c/kubernetes/model/v1_daemon_endpoint.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

39 lines
923 B
C

/*
* v1_daemon_endpoint.h
*
* DaemonEndpoint contains information about a single Daemon endpoint.
*/
#ifndef _v1_daemon_endpoint_H_
#define _v1_daemon_endpoint_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_daemon_endpoint_t v1_daemon_endpoint_t;
typedef struct v1_daemon_endpoint_t {
int port; //numeric
int _library_owned; // Is the library responsible for freeing this object?
} v1_daemon_endpoint_t;
__attribute__((deprecated)) v1_daemon_endpoint_t *v1_daemon_endpoint_create(
int port
);
void v1_daemon_endpoint_free(v1_daemon_endpoint_t *v1_daemon_endpoint);
v1_daemon_endpoint_t *v1_daemon_endpoint_parseFromJSON(cJSON *v1_daemon_endpointJSON);
cJSON *v1_daemon_endpoint_convertToJSON(v1_daemon_endpoint_t *v1_daemon_endpoint);
#endif /* _v1_daemon_endpoint_H_ */