Documentation ¶
Index ¶
Constants ¶
View Source
const (
SafeGuardAnnotationProtected = "safeguard.jw-s.com/protected"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtectedResourceService ¶
type ProtectedResourceService interface {
IsProtected(ctx context.Context, name, namespace string, gvr v1.GroupVersionResource) (bool, error)
}
func NewProtectedResourceService ¶
func NewProtectedResourceService(cfg *Config) ProtectedResourceService
Click to show internal directories.
Click to hide internal directories.