学习笔记11.2

学习笔记

学习成果

工作中阅读文档:
rego

原句:The with keyword allows queries to programmatically specify values nested under the input Document

翻译:关键字“ with”允许查询以编程方式指定嵌套在输入Document和数据Document下的值

原句:For example, given the simple authorization policy in the Imports section, we can write a query that checks whether a particular request would be allowed:

翻译:例如,给定Imports部分中的简单授权策略,我们可以编写一个查询来检查是否允许特定请求

原句:The with keyword acts as a modifier on expressions. A single expression is allowed to have zero or more with modifiers. The with keyword has the following syntax

翻译:with关键字用作表达式的修饰符。单个表达式允许带修饰符的零个或多个。 with关键字具有以下语法

Afero框架

原句:Afero is a filesystem framework providing a simple, uniform and universal API interacting with any filesystem, as an abstraction layer providing interfaces, types and methods. Afero has an exceptionally clean interface and simple design without needless constructors or initialization methods

翻译:Afero是一个文件系统框架,它提供了一个简单、统一和通用的 API 与任何文件系统进行交互,作为一个抽象层提供了接口、类型和方法。Afero 有一个非常干净的界面和简单的设计,没有不必要的构造函数或初始化方法

原句:Afero is also a library providing a base set of interoperable backend filesystems that make it easy to work with afero while retaining all the power and benefit of the os and ioutil packages.

翻译:Afero 也是一个提供可互操作的后端文件系统的基本集合的库,这些文件系统可以方便地使用 Afero,同时保留操作系统和 ioutil 包的所有功能和好处。

python出现高频词:

sample 解释:样本

script 解释:脚本

server 解释:服务器

simple 解释:简单的,低级

stack 解释:栈

start 解释:开始,启动

string 解释:字符串

value 解释:变量,值

version 解释:版本

access 解释:入口

参考文档资料:

​ https://www.openpolicyagent.org/docs/latest/policy-language/(rego官方文档)

​ https://github.com/spf13/afero(Afero框架)

​ https://lab.crossincode.com/recite/(一个学习编程高频词的网站)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值