PoC: refactoring variable sources, experimenting with more constraints #262
Annotations
8 errors
verify
Process completed with exit code 2.
|
lint:
cmd/resolutioncli/main.go#L128
undefined: controllers.NewVariableSource (typecheck)
|
lint:
internal/controllers/admission_test.go#L1
: # github.com/operator-framework/operator-controller/internal/controllers_test [github.com/operator-framework/operator-controller/internal/controllers.test]
|
lint:
internal/controllers/operator_controller_test.go#L37
undefined: controllers.NewVariableSource (typecheck)
|
lint:
internal/resolution/v2/variablesources/operator.go#L146
`if op.Spec.UpgradeEdgeConstraintPolicy == operatorsv1alpha1.UpgradeEdgeConstraintPolicyEnforce` has complex nested blocks (complexity: 7) (nestif)
|
lint:
internal/resolution/v2/variablesources/operator.go#L177
`if op.Spec.ClusterConstraintPolicy == operatorsv1alpha1.ClusterConstraintPolicyEnforce` has complex nested blocks (complexity: 6) (nestif)
|
lint:
internal/controllers/validators/validators.go#L17
func `validateSemver` is unused (unused)
|
lint
Process completed with exit code 2.
|