NetworkManager/src/nm-cloud-setup
Thomas Haller 5a564ca17c
glib-aux,cloud-setup: move nm{cs,}_utils_poll() to libnm-glib-aux
The idea is to have useful and correct helper functions, that are
generic and reusable.

nmcs_utils_poll() was done with that intent, and it is a generally
useful function. As the implementation shows, it's not entirely trivial
to get all the parameters right, when it comes to glib-integration
(GMainContext and GTask) and polling.

Whether something like a generic poll helper is a useful thing at all,
may be a valid question. E.g. you need several hooks, and the usage is
still not trivial. Regardless of that, "nm-cloud-setup-utils.c" already
had such a helper. This is only about moving it to a place where it is
actually accessible to others.

And, if it turns out to be a good idea after all, then somebody else
could use it.
2023-03-13 17:13:01 +01:00
..
tests format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
90-nm-cloud-setup.sh cloud-setup: move from "clients/cloud-setup/" to "src/nm-cloud-setup/" 2021-03-15 17:10:53 +01:00
main.c nm-cloud-setup: simplify clearing variables in retry loop 2022-12-14 17:33:57 +01:00
meson.build cloud-setup: configure secondary ip in Aliyun cloud 2021-07-19 17:41:52 +02:00
nm-cloud-setup-utils.c glib-aux,cloud-setup: move nm{cs,}_utils_poll() to libnm-glib-aux 2023-03-13 17:13:01 +01:00
nm-cloud-setup-utils.h glib-aux,cloud-setup: move nm{cs,}_utils_poll() to libnm-glib-aux 2023-03-13 17:13:01 +01:00
nm-cloud-setup.service.in cloud-setup: configure secondary ip in Aliyun cloud 2021-07-19 17:41:52 +02:00
nm-cloud-setup.timer cloud-setup: move from "clients/cloud-setup/" to "src/nm-cloud-setup/" 2021-03-15 17:10:53 +01:00
nm-http-client.c glib-aux,cloud-setup: move nm{cs,}_utils_poll() to libnm-glib-aux 2023-03-13 17:13:01 +01:00
nm-http-client.h cloud-setup: make nm_http_client_req() accept a method argument 2023-03-07 13:54:03 +01:00
nmcs-provider-aliyun.c cloud-setup: make nm_http_client_req() accept a method argument 2023-03-07 13:54:03 +01:00
nmcs-provider-aliyun.h all: use _NM_G_TYPE_CHECK_INSTANCE_CAST() for internal uses 2022-12-16 10:55:03 +01:00
nmcs-provider-azure.c cloud-setup: make nm_http_client_req() accept a method argument 2023-03-07 13:54:03 +01:00
nmcs-provider-azure.h all: use _NM_G_TYPE_CHECK_INSTANCE_CAST() for internal uses 2022-12-16 10:55:03 +01:00
nmcs-provider-ec2.c cloud-setup/ec2: start with requesting a IMDSv2 token 2023-03-07 13:54:08 +01:00
nmcs-provider-ec2.h all: use _NM_G_TYPE_CHECK_INSTANCE_CAST() for internal uses 2022-12-16 10:55:03 +01:00
nmcs-provider-gcp.c cloud-setup: make nm_http_client_req() accept a method argument 2023-03-07 13:54:03 +01:00
nmcs-provider-gcp.h all: use _NM_G_TYPE_CHECK_INSTANCE_CAST() for internal uses 2022-12-16 10:55:03 +01:00
nmcs-provider.c cloud-setup: use union for NMCSProviderGetConfigIfaceData.priv 2022-05-05 08:37:29 +02:00
nmcs-provider.h cloud-setup: document detect() and get_config() methods 2023-03-07 13:54:03 +01:00
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02:00

nm-cloud-setup

A NetworkManager client application that aims to automatically configure the network in a cloud environment.

See:

  • man 8 nm-cloud-setup ([www])