MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / SecretComplex

Struct SecretComplex

cli/pkg/docker/compose/secret_complex.go:22–28  ·  view source on GitHub ↗

密钥(Long Syntax)

Source from the content-addressed store, hash-verified

20
21// 密钥(Long Syntax)
22type SecretComplex struct {
23 Source string `yaml:"source"` // 名称
24 Target string `yaml:"target,omitempty"` // 文件名
25 Uid string `yaml:"uid,omitempty"` // 文件UID
26 Gid string `yaml:"gid,omitempty"` // 文件GID
27 Mode string `yaml:"mode,omitempty"` // 文件权限
28}
29
30// 实现公共接口
31func (SecretComplex) IsSecret() bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected