MCPcopy Create free account

hub / github.com/Azure/dev-box-images / functions

Functions60 in github.com/Azure/dev-box-images

↓ 13 callersFunction_missing_key_or_value
(obj, key)
builder/image.py:78
↓ 10 callersFunctionerror_exit
(message)
builder/syaml.py:15
↓ 9 callersFunctionerror_exit
(message)
builder/image.py:39
↓ 7 callersFunction_has_key_and_value
(obj, key)
builder/image.py:74
↓ 6 callersFunction_parse_command
Parses a command (string or list of args), adds the required arguments, and replaces executable with full path
builder/packer.py:34
↓ 6 callersFunctioncli
Runs an azure cli command and returns the json response
builder/azure.py:74
↓ 6 callersFunctioncli_async
Runs an azure cli command and returns the json response
builder/azure.py:189
↓ 5 callersFunctionerror_exit
(message)
builder/azure.py:23
↓ 3 callersFunction_az
Run an az cli command and return the result as a dict or None if the resource was not found.
tools/stop-boxes.py:43
↓ 3 callersFunctionerror_exit
(message)
tools/stop-boxes.py:11
↓ 2 callersFunction_deployment_group_create_cmd
(group_name, template_file, params_file, image)
builder/azure.py:32
↓ 2 callersFunction_get
Get the image properties from the image.yaml file
builder/image.py:126
↓ 2 callersFunction_group_create_cmd
(group_name, image)
builder/azure.py:28
↓ 2 callersFunction_img_def_create_cmd
(image)
builder/azure.py:47
↓ 2 callersFunction_img_def_show_cmd
(image)
builder/azure.py:37
↓ 2 callersFunction_img_ver_show_cmd
(image)
builder/azure.py:42
↓ 2 callersFunction_is_devops
(url)
builder/repos.py:10
↓ 2 callersFunction_is_github
(url)
builder/repos.py:6
↓ 2 callersFunction_parse_command
Parses a command (string or list of args), adds the required arguments, and replaces executable with full path
builder/azure.py:54
↓ 2 callersFunction_validate
Validate the image properties after supplementing azure stuff
builder/image.py:95
↓ 2 callersFunctionerror_exit
(message)
builder/builder.py:34
↓ 2 callersFunctionget
Get the image properties from the image.yaml file optionally supplementing with info from azure
builder/image.py:163
↓ 2 callersFunctionget_common
Get the common properties from the images.yaml file in the root of the images directory
builder/image.py:57
↓ 2 callersFunctionimage_names
Get the list of image names from the images directory
builder/image.py:206
↓ 2 callersFunctionparse
simple yaml parser, only supports a single level of nesting and arrays that use the '-' notation
builder/syaml.py:61
↓ 1 callersFunction_is_valid_uuid
Check if uuid_to_test is a valid UUID.
tools/stop-boxes.py:16
↓ 1 callersFunction_parse_az_command
Parse an az command into a list of arguments for subprocess.run
tools/stop-boxes.py:25
↓ 1 callersFunction_parse_devops_url
Parse an Azure DevOps repository git url into its parts
builder/repos.py:46
↓ 1 callersFunction_parse_github_url
Parse a GitHub repository git url into its parts
builder/repos.py:14
↓ 1 callersFunction_pre_validate
Validate the image properties without doing any azure stuff
builder/image.py:82
↓ 1 callersFunction_process_image_async
(name)
builder/build.py:53
↓ 1 callersFunctionall
Get all the image properties from the image.yaml files
builder/image.py:196
↓ 1 callersFunctionbuild
Executes the packer build command on an image
builder/packer.py:101
↓ 1 callersFunctionbuild_async
Executes the packer build command on an image
builder/packer.py:167
↓ 1 callersFunctionget_gallery
Get the gallery properties from the gallery.yaml file in the root of the repo
builder/image.py:44
↓ 1 callersFunctionget_vars
Gets the available packer variables from the variable.pkr.hcl file
builder/packer.py:54
↓ 1 callersFunctionget_vars_async
Gets the available packer variables from the variable.pkr.hcl file
builder/packer.py:123
↓ 1 callersFunctioninit
Executes the packer init command on an image
builder/packer.py:91
↓ 1 callersFunctioninit_async
Executes the packer init command on an image
builder/packer.py:154
↓ 1 callersFunctionmain
(gallery, common, names, params, suffix, skip_build=False)
builder/build.py:26
↓ 1 callersFunctionmain_async
(gallery, common, names, params, suffix, skip_build=False)
builder/build.py:49
↓ 1 callersFunctionparse_url
Parse a repository git url into its parts. Supports GitHub and Azure DevOps
builder/repos.py:98
↓ 1 callersFunctionsave_vars_file
Saves properties from image.yaml to a packer auto variables file
builder/packer.py:68
↓ 1 callersFunctionvalidate
validate the yaml object against the required and allowed keys
builder/syaml.py:44
Functiondeploy_builder
Deploys the builder resources to kick off the image build
builder/azure.py:169
Functiondeploy_builder_async
Deploys the builder resources to kick off the image build
builder/azure.py:262
Functionensure_image_def_version
Ensures that the image definition exists and the version does not exist in the gallery
builder/azure.py:109
Functionensure_image_def_version_async
Ensures that the image definition exists and the version does not exist in the gallery
builder/azure.py:227
Functionerror_exit
(message)
builder/build.py:21
Functionerror_exit
(message)
builder/packer.py:29
Functionexecute
Executes the packer init and build commands on an image
builder/packer.py:113
Functionexecute_async
Executes the packer init and build commands on an image
builder/packer.py:182
FunctiongetLogger
(name, level=logging.DEBUG)
builder/loggers.py:22
Functionget_async
Get the image properties from the image.yaml file optionally supplementing with info from azure
builder/image.py:223
Functionget_file
Get the path to a yaml or yml file in a directory
builder/syaml.py:20
Functionget_sub
Returns the current subscription id from the azure cli
builder/azure.py:103
Functionget_sub_async
Returns the current subscription id from the azure cli
builder/azure.py:221
Functionsave_params_file
(image, params, filename)
builder/azure.py:144
Functionsave_vars_file_async
Saves properties from each image.yaml to packer auto variables files
builder/packer.py:137
Functionsave_vars_files
Saves properties from each image.yaml to packer auto variables files
builder/packer.py:85