EmbeddedLoader returns embedded policies
| 91 | |
| 92 | // EmbeddedLoader returns embedded policies |
| 93 | type EmbeddedLoader struct{} |
| 94 | |
| 95 | func (e *EmbeddedLoader) Load(_ context.Context, attachment *v1.PolicyAttachment) (*v1.Policy, *PolicyDescriptor, error) { |
| 96 | return attachment.GetEmbedded(), nil, nil |
nothing calls this directly
no outgoing calls
no test coverage detected