Define more than one Type
per Attestor
#1839
Annotations
10 errors
attestation/vex/vex.go#L39
cannot use &Attestor{} (value of type *Attestor) as attestation.Attestor value in variable declaration: *Attestor does not implement attestation.Attestor (wrong type for method Type)
|
attestation/vex/vex.go#L43
cannot use Type (untyped string constant "https://openvex.dev/ns") as attestation.TypeSet value in argument to attestation.RegisterAttestation
|
attestation/vex/vex.go#L44
cannot use New() (value of type *Attestor) as attestation.Attestor value in return statement: *Attestor does not implement attestation.Attestor (wrong type for method Type)
|
attestation/factory_test.go#L45
cannot use attestor.predicateType (variable of type string) as TypeSet value in argument to RegisterAttestation
|
attestation/factory_test.go#L45
cannot use &attestor (value of type *dummyAttestor) as Attestor value in return statement: *dummyAttestor does not implement Attestor (wrong type for method Type)
|
attestation/aws-iid/aws-iid_test.go#L84
invalid operation: a.Type() != Type (mismatched types attestation.TypeSet and untyped string)
|
attestation/oci/oci_test.go#L63
invalid operation: a.Type() != Type (mismatched types attestation.TypeSet and untyped string)
|
attestation/oci/oci_test.go#L115
cannot use testProducter{…} (value of type testProducter) as attestation.Attestor value in array or slice literal: testProducter does not implement attestation.Attestor (wrong type for method Type)
|
attestation/link/link_test.go#L37
invalid operation: link.Type() != Type (mismatched types attestation.TypeSet and untyped string)
|
attestation/sbom/sbom_test.go#L35
invalid operation: provenance.Type() != Type (mismatched types attestation.TypeSet and untyped string)
|
This job failed
Loading