put_model

Function put_model 

Source
pub async fn put_model(
    client: &Client,
    lattice: Option<String>,
    model: &str,
) -> Result<(String, String)>
Expand description

Put a model definition, instructing wadm to store the application manifest for later deploys

§Arguments

  • client - The Client to use in order to send the request message
  • lattice - Optional lattice name that the application manifest will be stored on, defaults to default
  • model - The full YAML or JSON string containing the OAM wadm manifest

§Returns

The name and version of the model that was put