Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Lavacca <[email protected]>
  • Loading branch information
mlavacca committed Oct 9, 2024
1 parent e6ba101 commit 91b243e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions controller/dataplane/konnect_extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ import (
)

var (
ErrCrossNamespaceReference = errors.New("cross-namespace reference is not currently supported for Konnect extensions")
ErrKonnectExtensionNotFound = errors.New("konnect extension not found")
// ErrCrossNamespaceReference is returned when a Konnect extension references a different namespace.
ErrCrossNamespaceReference = errors.New("cross-namespace reference is not currently supported for Konnect extensions")
// ErrKonnectExtensionNotFound is returned when a Konnect extension is not found.
ErrKonnectExtensionNotFound = errors.New("konnect extension not found")
// ErrClusterCertificateNotFound is returned when a cluster certificate secret referenced in the KonnectExtension is not found.
ErrClusterCertificateNotFound = errors.New("cluster certificate not found")
)

Expand Down

0 comments on commit 91b243e

Please sign in to comment.