Crate docker_pose

Source

Structs§

Args
ComposeYaml
DockerCommand
GitCommand
ReplaceTag

Enums§

Commands
Formats
Objects
Verbosity

Functions§

cmd_call
cmd_call_to_string
get a string that should be identical to a command-line tool call made by std::process::Command.
cmd_exit_code
cmd_get_success_output_or_fail
Get the string from the output that was generated by a call to bin bin_cmd. If was not successful print the error and exit. If quiet is false also print any warning detected (stderr output).
cmd_write_stderr
cmd_write_stdout
get_and_save
get_compose_filename
get_service
get_slug
Get a slug version of the text compatible with a tag name to be published in a docker registry, with only number, letters, the symbol “-” or the symbol “.”, and no more than 63 characters long, all in lowercase.
get_yml_content
header
Parser of headers in the form of “Name: value”. Return a tuple of 2 strings: (“text1, “text2”).
positive_less_than_32
print_names
string_no_empty
string_script
Parser of strings in the form of “text1:text2”. Return a tuple of 2 strings: (“text1, “text2”).
unwrap_filter_regex
Get the regex value expressed in &str, or exit if the filter passed doesn’t star with “regex=” or “regex!=” prefixes. When expression has “=” the bool is true, when is “!=” the bool is false. If the option passed is None, this method returns None as well.
unwrap_filter_tag
Get the tag value (or None), or exit if the filter passed doesn’t star with “tag=” prefix.