HTTPSLoader loader loads policies from HTTP or HTTPS references
| 128 | |
| 129 | // HTTPSLoader loader loads policies from HTTP or HTTPS references |
| 130 | type HTTPSLoader struct{} |
| 131 | |
| 132 | func (l *HTTPSLoader) Load(_ context.Context, attachment *v1.PolicyAttachment) (*v1.Policy, *PolicyDescriptor, error) { |
| 133 | ref, wantDigest := ExtractDigest(attachment.GetRef()) |
nothing calls this directly
no outgoing calls
no test coverage detected