| 47 | } |
| 48 | |
| 49 | type JSONImageSecretsOutput struct { |
| 50 | Timestamp time.Time |
| 51 | ImageName string `json:"Image Name"` |
| 52 | ImageID string `json:"Image ID"` |
| 53 | ContainerID string `json:"Container ID"` |
| 54 | Secrets []SecretFound |
| 55 | } |
| 56 | |
| 57 | func (imageOutput *JSONImageSecretsOutput) SetImageName(imageName string) { |
| 58 | imageOutput.ImageName = imageName |
nothing calls this directly
no outgoing calls
no test coverage detected