pkg

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
* v1_jsonbody 兼容 apitestsv1 里的 json body 渲染逻辑: - 反序列化,当类型是 map 或 slice 时进行处理 - value(map 的 value、slice 的 value) 必须**全量匹配** {{.+}},不支持 {{.+}}xxx 这种 - 匹配之后,替换时根据配置的具体类型进行渲染 举例: - 例如 map 有一组 kv 为 "key1": "{{ticketID}}" - 若参数 ticketID 为 integer(10),渲染结果为 "key1": 10 - 若参数 ticketID 为 string("10"),渲染结果为 "key1": "10" - 假如 map 有一组 kv 为 "key1": {{ticketID}} - 此时反序列化失败,不进行 v1 渲染 - 此时走 v2 渲染逻辑,即文本渲染。
* v1_jsonbody 兼容 apitestsv1 里的 json body 渲染逻辑: - 反序列化,当类型是 map 或 slice 时进行处理 - value(map 的 value、slice 的 value) 必须**全量匹配** {{.+}},不支持 {{.+}}xxx 这种 - 匹配之后,替换时根据配置的具体类型进行渲染 举例: - 例如 map 有一组 kv 为 "key1": "{{ticketID}}" - 若参数 ticketID 为 integer(10),渲染结果为 "key1": 10 - 若参数 ticketID 为 string("10"),渲染结果为 "key1": "10" - 假如 map 有一组 kv 为 "key1": {{ticketID}} - 此时反序列化失败,不进行 v1 渲染 - 此时走 v2 渲染逻辑,即文本渲染。
cookiejar
Package cookiejar implements an in-memory RFC 6265-compliant http.CookieJar.
Package cookiejar implements an in-memory RFC 6265-compliant http.CookieJar.
apis/flinkoperator/v1beta1
Package v1beta1 is the v1beta1 version of the flinkcluster API.
Package v1beta1 is the v1beta1 version of the flinkcluster API.
apis/openyurt/v1alpha1
+groupName=apps.openyurt.io Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +kubebuilder:object:generate=true +groupName=apps.openyurt.io
+groupName=apps.openyurt.io Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +kubebuilder:object:generate=true +groupName=apps.openyurt.io
clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
clientset/versioned/typed/flinkoperator/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
clientset/versioned/typed/openyurt/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
Package cron implements a cron spec parser and job runner.
Package cron implements a cron spec parser and job runner.
crypto
Use: 1.
Use: 1.
database
encoding
Package envconf 从环境变量加载配置项用于初始化具体的配置对象。
Package envconf 从环境变量加载配置项用于初始化具体的配置对象。
Usage: poolSize := 10 pool := goroutinepool.New(poolSize) pool.Start() pool.Go(func(){...}) // `Go' will return `NoMoreWorkerErr' if no more worker available pool.MustGo(func(){...}) // `MustGo' will block until any worker available pool.Stop() // `Stop' will block to wait all workers done pool.Start() // and the same pool can be reused
Usage: poolSize := 10 pool := goroutinepool.New(poolSize) pool.Start() pool.Go(func(){...}) // `Go' will return `NoMoreWorkerErr' if no more worker available pool.MustGo(func(){...}) // `MustGo' will block until any worker available pool.Stop() // `Stop' will block to wait all workers done pool.Start() // and the same pool can be reused
http
httpclient
Package httpclient impl http client Package httpclient impl http client
Package httpclient impl http client Package httpclient impl http client
httpserver
Package httpserver httpserver统一封装,使API注册更容易
Package httpserver httpserver统一封装,使API注册更容易
httpserver/errorresp
Package errorresp 封装了错误定义
Package errorresp 封装了错误定义
cacheetcd
LRU + Watch
LRU + Watch
etcd
Package etcd 是 jsonstore 使用 etcd 作为 backend 的实现
Package etcd 是 jsonstore 使用 etcd 作为 backend 的实现
lru
mem
memetcd
内存 + etcd, 内存中的数据自动与 etcd 中同步
内存 + etcd, 内存中的数据自动与 etcd 中同步
stm
Package stm impl jsonstore stm with etcd concurrency package
Package stm impl jsonstore stm with etcd concurrency package
storetypes
Package storetypes define jsonstore public types
Package storetypes define jsonstore public types
timeout
重复插入key相同的value, 不更新该key的deadline
重复插入key相同的value, 不更新该key的deadline
k8s
kms
kmstypes
kms package 提供统一加密服务。
kms package 提供统一加密服务。
log
Package loop 提供了一个循环执行某个方法的功能,可以自定义执行时间等。
Package loop 提供了一个循环执行某个方法的功能,可以自定义执行时间等。
使用方法: 从环境变量中根据规则解析出 logrus 日志前缀 与 eventbox dest 的映射关系。
使用方法: 从环境变量中根据规则解析出 logrus 日志前缀 与 eventbox dest 的映射关系。
parser
diceyml
该 visitor 处理 diceyml 中一些字段的默认值 原本的parser会把 global env 塞到各个 service 的 env 去 找出依赖却不存在的 service 找出没有被其他service依赖的后端service, 前端service不考虑(也就是有expose的service) 检查 service name 合法性
该 visitor 处理 diceyml 中一些字段的默认值 原本的parser会把 global env 塞到各个 service 的 env 去 找出依赖却不存在的 service 找出没有被其他service依赖的后端service, 前端service不考虑(也就是有expose的service) 检查 service name 合法性
pipelineyml/pipelineymlv1
All struct fields are required, unless "Optional" explicitly declared.
All struct fields are required, unless "Optional" explicitly declared.
schedule
schedulepolicy/constraintbuilders
Package constraintbuilders Generate various executor specific constraints (constraints) according to scheduleInfo
Package constraintbuilders Generate various executor specific constraints (constraints) according to scheduleInfo
schedulepolicy/labelconfig
Package labelconfig label 调度相关 key 名, 以及中间结构定义
Package labelconfig label 调度相关 key 名, 以及中间结构定义
hmac
HMAC Algorithm
HMAC Algorithm
Package strutil 字符串工具包
Package strutil 字符串工具包
terminal
table
example: 1.
example: 1.
time
package xmind require python3
package xmind require python3

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL