packer-cn/website/data/docs-navigation.js

311 lines
6.8 KiB
JavaScript
Raw Normal View History

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: [
2020-05-26 09:29:47 -04:00
{
category: 'blocks',
content: [
2020-05-26 09:29:47 -04:00
{
category: 'build',
content: [
'source',
'provisioner',
'post-processor',
'post-processors',
],
2020-05-26 09:29:47 -04:00
},
'locals',
'source',
'variable',
'packer',
],
2020-05-26 09:29:47 -04:00
},
2020-03-24 19:48:37 -04:00
{
category: 'functions',
content: [
{
category: 'contextual',
content: [
'aws_secretsmanager',
'consul',
'env',
'vault',
],
},
2020-03-24 19:48:37 -04:00
{
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',
'regex_replace',
2020-03-24 19:48:37 -04:00
'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'],
},
],
},
'variables',
'locals',
'contextual-variables',
'path-variables',
'syntax',
'onlyexcept',
'expressions',
'syntax-json',
2020-03-26 20:28:32 -04:00
],
2020-03-24 19:48:37 -04:00
},
'--------',
'terminology',
{
category: 'commands',
content: ['build', 'console', 'fix', 'fmt', 'inspect', 'validate', 'hcl2_upgrade'],
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',
2020-09-14 15:22:18 -04:00
{ category: 'proxmox', content: ['iso', 'clone'] },
2020-03-24 19:48:37 -04:00
'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-07-08 15:54:20 -04:00
'yandex-import',
2020-08-10 08:09:58 -04:00
'community-supported',
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
]