当前位置:网站首页>Build your own DSL with go and HCl
Build your own DSL with go and HCl
2022-06-24 01:42:00 【Solution jdon】
DSL For domain specific languages .
Kubernetes、Docker compose、Jenkins CI、Gitlab CI or Ansible The main goal of such tools is to customize their behavior through configuration . They are like a black box , According to input (YAML/JSON The descriptor ) Will produce different outputs .
HCL representative HashiCorp Configuration language , It is better than JSON or YAML More powerful , Because it provides a mechanism . Implement dynamic configuration file , We'll see later .HCL Some of its advantages are listed below :
- Even for non-technical people , It's also easy to read ( And writing ).
- As we will do , Implement customization DSL Not rocket science , Because parsing 、 Validation and a lot of things are out of the box .
- A bunch of existing functions have been provided .
- image HashiCorp Such a well-known company participated in the project ,Terraform、Nomad and Vault And other great products have been used HCL. It means Ops The community is used to this grammar .
On the other hand , Based on HCL The custom of DSL, You will need to know Go.
Click on the original text in detail
边栏推荐
- Network security meets new regulations again, UK and US warn apt hacker attacks November 18 global network security hotspots
- Logistics industry supplier collaborative management platform supplier life cycle management to optimize logistics costs
- Troubleshooting and repair of easygbs docking with universal video equipment to broadcast message 487
- Note sharing (5) -precautions for Oracle to MySQL
- How to make a fixed asset identification card
- How to select storage space for website construction what factors should be considered in selecting space
- [dry goods] four tools linkage of automated batch hole digging process
- How to realize court face recognition / flow statistics based on easycvr technology?
- Virtual currency mining detection and defense
- Introduction to trusted service manager
猜你喜欢

I, a 27 year old female programmer, feel that life is meaningless, not counting the accumulation fund deposit of 430000

【Flutter】如何使用Flutter包和插件

It's too difficult for me. Ali has had 7 rounds of interviews (5 years of experience and won the offer of P7 post)
![[flutter] comment utiliser les paquets et plug - ins flutter](/img/a6/e494dcdb2d3830b6d6c24d0ee05af2.png)
[flutter] comment utiliser les paquets et plug - ins flutter
![[SQL injection 12] user agent injection foundation and Practice (based on burpsuite tool and sqli labs LESS18 target machine platform)](/img/c8/f6c2a62b8ab8fa88bd2b3d8f35f592.jpg)
[SQL injection 12] user agent injection foundation and Practice (based on burpsuite tool and sqli labs LESS18 target machine platform)
![[SQL injection 13] referer injection foundation and Practice (based on burpseuite tool and sqli labs less19 target platform)](/img/b5/a8c4bbaf868dd20b7dc9449d2a4378.jpg)
[SQL injection 13] referer injection foundation and Practice (based on burpseuite tool and sqli labs less19 target platform)
随机推荐
【Flutter】如何使用Flutter包和插件
Go language core 36 lectures (go language practice and application VI) -- learning notes
What are the selected CDN content acceleration scenarios of Tencent cloud?
Echo framework: implementing timeout Middleware
Software cost evaluation: a method for estimating software scale by fast function point method
Login server in VNC mode
Technology sharing | Clickhouse cluster's way of expanding replicas under sharding
How to build high quality and high brand websites what should be paid attention to in the construction of enterprise websites
[combat power upgrade] Tencent cloud's first arm architecture instance was launched! Experience the new architecture computing power!
What is function point analysis - FPA
Note 3 of disruptor: basic operation of ring queue (without disruptor class)
Blog platform was falsely blackmailed and the new hacker organization claimed responsibility for the Israeli attack | November 16 global network security hotspot
Remove the cloud disk service display "continued" logo
Eight common errors in programming
[technology for grass planting] lightweight 248 helps individual developers go to the cloud
How to learn website construction does website construction need code
How to self-study website construction is website construction company reliable
Can the server be restarted through the fortress machine? How are the fortress machines connected to the server
From idea to finished product, the necessary process of APP product development
Collation of commonly used glusterfs commands