ca0ecbd3ab
Now document labeling would allow to have same document to be deployed to different clusters, ephemeral or target at the same type. Change-Id: Ia1bb618c322c19c4db3c47b3d19c630b61125f5c
16 lines
302 B
Go
16 lines
302 B
Go
package document
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
// ErrDocNotFound returned if desired document not found
|
|
type ErrDocNotFound struct {
|
|
Selector string
|
|
Kind string
|
|
}
|
|
|
|
func (e ErrDocNotFound) Error() string {
|
|
return fmt.Sprintf("Document filtered by selector %s with Kind %s not found", e.Selector, e.Kind)
|
|
}
|