Loader defines the interface for policy loaders from contract attachments
| 46 | |
| 47 | // Loader defines the interface for policy loaders from contract attachments |
| 48 | type Loader interface { |
| 49 | Load(context.Context, *v1.PolicyAttachment) (*v1.Policy, *PolicyDescriptor, error) |
| 50 | } |
| 51 | |
| 52 | // PolicyDescriptor Represents a policy reference. Used as FQ references. |
| 53 | type PolicyDescriptor struct { |
no outgoing calls
no test coverage detected