Debian Codegraph @

api/types/loadrestrictions.go

raw
1 // Copyright 2019 The Kubernetes Authors.
2 // SPDX-License-Identifier: Apache-2.0
3
4 package types
5
6 // Restrictions on what things can be referred to
7 // in a kustomization file.
8 //
9 //go:generate stringer -type=LoadRestrictions
10 type LoadRestrictions int
11
12 const (
13 LoadRestrictionsUnknown LoadRestrictions = iota
14
15 // Files referenced by a kustomization file must be in
16 // or under the directory holding the kustomization
17 // file itself.
18 LoadRestrictionsRootOnly
19
20 // The kustomization file may specify absolute or
21 // relative paths to patch or resources files outside
22 // its own tree.
23 LoadRestrictionsNone
24 )