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    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • VAO_delete    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • VBO_delete    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • cl:delete    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • cl:delete-if    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • cl:delete-if-not    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • delete    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • delete-at-index    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • fleet-connect    scheme    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet-eval    scheme    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet-killemall    scheme    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_connect_to_nodes    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_get_api    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_get_ip_list    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_get_machines    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_get_state    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_get_state    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_get_units    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_message_all_nodes_sync    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_message_node_sync    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_print_machines    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_print_state    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_print_state    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_print_unit    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_print_unit_state    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_print_units    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_response_error_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_set_unit_state    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_set_unit_state    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_submit_extempore_service    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • ghttp_perform_DELETE    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • impc:ti:unity?    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • sys_env_delete    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • unit    xtlang    /digego/extempore/tree/v0.8.9/tests/core/algebraic_data_types.xtm
  • unit    xtlang    /digego/extempore/tree/v0.8.9/tests/core/algebraic_data_types.xtm
  • unit    xtlang    /digego/extempore/tree/v0.8.9/libs/base/prelude.xtm
  • unit    xtlang    /digego/extempore/tree/v0.8.9/libs/base/prelude.xtm
  • unit    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/algebraic_data_types.xtm
  • unit    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/algebraic_data_types.xtm