fleet_delete_unit   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/fleet.xtm

Implementation

(bind-func fleet_delete_unit
  (let ((url:i8* (zalloc 256)))
    (lambda (host:i8* port:i32 unit:i8*)
      (sprintf url "http://%s:%d/%s/units/%s" host port FLEET_API_VERSION unit)
      (let ((response (ghttp_request_body_as_json (ghttp_perform_DELETE url))))
        (if (not (fleet_response_error_p response #t))
            (println "Fleet: successfully deleted unit"))
        (json_decref response)))))


Back to Index

Similar Entries

  • Texture_delete    xtlang
  • VAO_delete    xtlang
  • VBO_delete    xtlang
  • cl:delete    scheme
  • cl:delete-if    scheme
  • cl:delete-if-not    scheme
  • delete    xtlang
  • delete-at-index    scheme
  • fleet-connect    scheme
  • fleet-eval    scheme
  • fleet-killemall    scheme
  • fleet_connect_to_nodes    xtlang
  • fleet_get_api    xtlang
  • fleet_get_ip_list    xtlang
  • fleet_get_machines    xtlang
  • fleet_get_state    xtlang
  • fleet_get_state    xtlang
  • fleet_get_units    xtlang
  • fleet_message_all_nodes_sync    xtlang
  • fleet_message_node_sync    xtlang
  • fleet_print_machines    xtlang
  • fleet_print_state    xtlang
  • fleet_print_state    xtlang
  • fleet_print_unit    xtlang
  • fleet_print_unit_state    xtlang
  • fleet_print_units    xtlang
  • fleet_response_error_p    xtlang
  • fleet_set_unit_state    xtlang
  • fleet_set_unit_state    xtlang
  • fleet_submit_extempore_service    xtlang
  • ghttp_perform_DELETE    xtlang
  • impc:ti:unity?    scheme
  • sys_env_delete    xtlang
  • unit    xtlang
  • unit    xtlang
  • unit    xtlang
  • unit    xtlang
  • unit    xtlang
  • unit    xtlang