package equinoxe-hlc

  1. Overview
  2. Docs

Module Equinoxe_hlc.OrgaSource

A module to interact with Equinix organization.

Sourcetype id

The unique identifier for the an organization.

Sourcetype config = {
  1. id : id;
  2. name : string;
  3. account_id : string;
  4. website : string;
  5. maintenance_email : string;
  6. max_projects : int;
}

Type that represents an organization configuration.

Sourceval id_of_string : string -> id

id_of_string str creates an id from a string from the Equinix API.

Sourceval to_string : config -> string

to_string config returns a string representing an organization configuration.

Sourceval get_from : t -> id -> config io

get_from t id returns an organization configuration associated with the id given.

Sourceval get_all : t -> config list io

get_all t return all the organization associated with the t api token.

Sourceval pp : config -> unit

pp config pretty-prints an organization configuration.