密钥(Long Syntax)
| 20 | |
| 21 | // 密钥(Long Syntax) |
| 22 | type 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 | // 实现公共接口 |
| 31 | func (SecretComplex) IsSecret() bool { |
nothing calls this directly
no outgoing calls
no test coverage detected