Debian Codegraph @

policy/testdata/errors_unreachable/config.yaml

raw
1 # Copyright 2024 Google LLC
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # https://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 name: "errors_unreachable"
16 extensions:
17 - name: "lists"
18 - name: "sets"
19 - name: "strings"
20 version: "latest"
21 variables:
22 - name: "destination.ip"
23 type:
24 type_name: "string"
25 - name: "origin.ip"
26 type:
27 type_name: "string"
28 - name: "spec.restricted_destinations"
29 type:
30 type_name: "list"
31 params:
32 - type_name: "string"
33 - name: "spec.origin"
34 type:
35 type_name: "string"
36 - name: "request"
37 type:
38 type_name: "map"
39 params:
40 - type_name: "string"
41 - type_name: "dyn"
42 - name: "resource"
43 type:
44 type_name: "map"
45 params:
46 - type_name: "string"
47 - type_name: "dyn"
48 functions:
49 - name: "locationCode"
50 overloads:
51 - id: "locationCode_string"
52 args:
53 - type_name: "string"
54 return:
55 type_name: "string"