Function parse_image_string

Source
pub fn parse_image_string(
    image_string: &str,
) -> Result<(String, String), String>
Expand description

§Parses an image string

§Parameters

  • image_string - the string to be parsed

§Returns

When the provided string is valid, the method returns a 2-tuple containing:

  • registry of the image
  • image id