2020-03-18 18:46:47 -04:00
|
|
|
// The root folder for this documentation category is `pages/docs`
|
|
|
|
//
|
|
|
|
// - A string refers to the name of a file
|
|
|
|
// - A "category" value refers to the name of a directory
|
|
|
|
// - All directories must have an "index.mdx" file to serve as
|
|
|
|
// the landing page for the category
|
|
|
|
|
|
|
|
export default [
|
2020-03-24 19:48:37 -04:00
|
|
|
{
|
|
|
|
category: 'from-1.5',
|
|
|
|
content: [
|
|
|
|
'variables',
|
|
|
|
'locals',
|
|
|
|
'syntax',
|
|
|
|
'expressions',
|
|
|
|
'syntax-json',
|
|
|
|
{
|
|
|
|
category: 'functions',
|
|
|
|
content: [
|
|
|
|
{
|
|
|
|
category: 'numeric',
|
|
|
|
content: [
|
|
|
|
'abs',
|
|
|
|
'ceil',
|
|
|
|
'floor',
|
|
|
|
'log',
|
|
|
|
'max',
|
|
|
|
'min',
|
|
|
|
'parseint',
|
|
|
|
'pow',
|
2020-03-26 20:28:32 -04:00
|
|
|
'signum',
|
|
|
|
],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
category: 'string',
|
|
|
|
content: [
|
|
|
|
'chomp',
|
|
|
|
'format',
|
|
|
|
'formatlist',
|
|
|
|
'indent',
|
|
|
|
'join',
|
|
|
|
'lower',
|
|
|
|
'replace',
|
|
|
|
'regexreplace',
|
|
|
|
'split',
|
|
|
|
'strrev',
|
|
|
|
'substr',
|
|
|
|
'title',
|
|
|
|
'trim',
|
|
|
|
'trimprefix',
|
|
|
|
'trimsuffix',
|
|
|
|
'trimspace',
|
2020-03-26 20:28:32 -04:00
|
|
|
'upper',
|
|
|
|
],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
category: 'collection',
|
|
|
|
content: [
|
|
|
|
'chunklist',
|
|
|
|
'coalesce',
|
|
|
|
'coalescelist',
|
|
|
|
'compact',
|
|
|
|
'concat',
|
|
|
|
'contains',
|
|
|
|
'distinct',
|
|
|
|
'element',
|
|
|
|
'flatten',
|
|
|
|
'keys',
|
|
|
|
'length',
|
|
|
|
'lookup',
|
|
|
|
'merge',
|
|
|
|
'range',
|
|
|
|
'reverse',
|
|
|
|
'setintersection',
|
|
|
|
'setproduct',
|
|
|
|
'setunion',
|
|
|
|
'slice',
|
|
|
|
'sort',
|
|
|
|
'values',
|
2020-03-26 20:28:32 -04:00
|
|
|
'zipmap',
|
|
|
|
],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
category: 'encoding',
|
|
|
|
content: [
|
|
|
|
'base64decode',
|
|
|
|
'base64encode',
|
|
|
|
'csvdecode',
|
|
|
|
'jsondecode',
|
|
|
|
'jsonencode',
|
|
|
|
'urlencode',
|
|
|
|
'yamldecode',
|
2020-03-26 20:28:32 -04:00
|
|
|
'yamlencode',
|
|
|
|
],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
category: 'file',
|
|
|
|
content: [
|
|
|
|
'abspath',
|
|
|
|
'basename',
|
|
|
|
'dirname',
|
|
|
|
'file',
|
|
|
|
'fileexists',
|
|
|
|
'fileset',
|
2020-03-26 20:28:32 -04:00
|
|
|
'pathexpand',
|
|
|
|
],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
category: 'datetime',
|
2020-03-26 20:28:32 -04:00
|
|
|
content: ['formatdate', 'timeadd', 'timestamp'],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
category: 'crypto',
|
2020-03-26 20:28:32 -04:00
|
|
|
content: [
|
|
|
|
'bcrypt',
|
|
|
|
'md5',
|
|
|
|
'rsadecrypt',
|
|
|
|
'sha1',
|
|
|
|
'sha256',
|
|
|
|
'sha512',
|
|
|
|
],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
category: 'uuid',
|
2020-03-26 20:28:32 -04:00
|
|
|
content: ['uuidv4', 'uuidv5'],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
category: 'ipnet',
|
2020-03-26 20:28:32 -04:00
|
|
|
content: ['cidrhost', 'cidrnetmask', 'cidrsubnet'],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
category: 'conversion',
|
2020-03-26 20:28:32 -04:00
|
|
|
content: ['can', 'convert', 'try'],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
'--------',
|
|
|
|
'terminology',
|
|
|
|
{
|
|
|
|
category: 'commands',
|
2020-03-26 20:28:32 -04:00
|
|
|
content: ['build', 'console', 'fix', 'inspect', 'validate'],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
category: 'templates',
|
|
|
|
content: [
|
|
|
|
'builders',
|
|
|
|
'communicator',
|
|
|
|
'engine',
|
|
|
|
'post-processors',
|
|
|
|
'provisioners',
|
2020-03-26 20:28:32 -04:00
|
|
|
'user-variables',
|
|
|
|
],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
'----------',
|
|
|
|
{ category: 'communicators', content: ['ssh', 'winrm'] },
|
2020-03-18 18:46:47 -04:00
|
|
|
{
|
|
|
|
category: 'builders',
|
2020-03-24 19:48:37 -04:00
|
|
|
content: [
|
|
|
|
'alicloud-ecs',
|
2020-03-26 20:28:32 -04:00
|
|
|
{
|
|
|
|
category: 'amazon',
|
|
|
|
content: ['chroot', 'ebs', 'ebssurrogate', 'ebsvolume', 'instance'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
category: 'azure',
|
|
|
|
content: ['arm', 'chroot'],
|
|
|
|
},
|
2020-03-24 19:48:37 -04:00
|
|
|
'cloudstack',
|
|
|
|
'digitalocean',
|
|
|
|
'docker',
|
|
|
|
'file',
|
|
|
|
'googlecompute',
|
|
|
|
'hetzner-cloud',
|
|
|
|
'hyperone',
|
2020-03-26 20:28:32 -04:00
|
|
|
{ category: 'hyperv', content: ['iso', 'vmcx'] },
|
2020-03-24 19:48:37 -04:00
|
|
|
'linode',
|
|
|
|
'lxc',
|
|
|
|
'lxd',
|
|
|
|
'ncloud',
|
|
|
|
'null',
|
|
|
|
'oneandone',
|
|
|
|
'openstack',
|
2020-03-26 20:28:32 -04:00
|
|
|
{ category: 'oracle', content: ['classic', 'oci'] },
|
|
|
|
{
|
|
|
|
category: 'outscale',
|
|
|
|
content: ['chroot', 'bsu', 'bsusurrogate', 'bsuvolume'],
|
|
|
|
},
|
|
|
|
{ category: 'parallels', content: ['iso', 'pvm'] },
|
2020-03-24 19:48:37 -04:00
|
|
|
'profitbricks',
|
|
|
|
'proxmox',
|
|
|
|
'qemu',
|
|
|
|
'scaleway',
|
|
|
|
'tencentcloud-cvm',
|
|
|
|
'jdcloud',
|
|
|
|
'triton',
|
|
|
|
'ucloud-uhost',
|
|
|
|
'vagrant',
|
2020-03-26 20:28:32 -04:00
|
|
|
{
|
|
|
|
category: 'virtualbox',
|
|
|
|
content: ['iso', 'ovf', 'vm'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
category: 'vmware',
|
|
|
|
content: ['iso', 'vmx', 'vsphere-iso', 'vsphere-clone'],
|
|
|
|
},
|
2020-03-24 19:48:37 -04:00
|
|
|
'yandex',
|
|
|
|
'custom',
|
2020-03-26 20:28:32 -04:00
|
|
|
'community-supported',
|
|
|
|
],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
category: 'provisioners',
|
|
|
|
content: [
|
|
|
|
'ansible-local',
|
|
|
|
'ansible',
|
|
|
|
'breakpoint',
|
|
|
|
'chef-client',
|
|
|
|
'chef-solo',
|
|
|
|
'converge',
|
|
|
|
'file',
|
|
|
|
'inspec',
|
|
|
|
'powershell',
|
|
|
|
'puppet-masterless',
|
|
|
|
'puppet-server',
|
|
|
|
'salt-masterless',
|
|
|
|
'shell',
|
|
|
|
'shell-local',
|
|
|
|
'windows-shell',
|
|
|
|
'windows-restart',
|
|
|
|
'custom',
|
2020-03-26 20:28:32 -04:00
|
|
|
'community-supported',
|
|
|
|
],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
category: 'post-processors',
|
|
|
|
content: [
|
|
|
|
'alicloud-import',
|
|
|
|
'amazon-import',
|
|
|
|
'artifice',
|
|
|
|
'compress',
|
|
|
|
'checksum',
|
|
|
|
'digitalocean-import',
|
|
|
|
'docker-import',
|
|
|
|
'docker-push',
|
|
|
|
'docker-save',
|
|
|
|
'docker-tag',
|
|
|
|
'exoscale-import',
|
|
|
|
'googlecompute-export',
|
|
|
|
'googlecompute-import',
|
|
|
|
'manifest',
|
|
|
|
'shell-local',
|
|
|
|
'ucloud-import',
|
|
|
|
'vagrant',
|
|
|
|
'vagrant-cloud',
|
|
|
|
'vsphere',
|
2020-03-26 20:28:32 -04:00
|
|
|
'vsphere-template',
|
2020-04-26 19:21:13 -04:00
|
|
|
'yandex-export',
|
2020-03-26 20:28:32 -04:00
|
|
|
],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
'----------',
|
|
|
|
'install',
|
|
|
|
'----------',
|
|
|
|
{
|
|
|
|
category: 'extending',
|
|
|
|
content: [
|
|
|
|
'plugins',
|
|
|
|
'custom-builders',
|
|
|
|
'custom-post-processors',
|
2020-03-26 20:28:32 -04:00
|
|
|
'custom-provisioners',
|
|
|
|
],
|
2020-03-24 19:48:37 -04:00
|
|
|
},
|
|
|
|
'---------',
|
|
|
|
'environment-variables',
|
|
|
|
'core-configuration',
|
2020-03-26 20:28:32 -04:00
|
|
|
'debugging',
|
2020-03-18 18:46:47 -04:00
|
|
|
]
|