github.com/datadog/cilium@v1.6.12/common/const.go (about) 1 // Copyright 2016-2017 Authors of Cilium 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 // http://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 package common 16 17 const ( 18 // Consul dedicated constants 19 20 // OperationalPath is the base path to store the operational details in the kvstore. 21 OperationalPath = "cilium-net/operational" 22 23 // ServicesKeyPath is the base path where services are stored in the kvstore. 24 ServicesKeyPath = OperationalPath + "/ServicesV2/SHA256SUMServices" 25 // ServicePathV1 is the base path for the services stored in the kvstore. 26 ServicePathV1 = OperationalPath + "/Services/" 27 28 // Miscellaneous dedicated constants 29 30 // NodeConfigFile is the name of the C header which contains the node's 31 // network parameters. 32 NodeConfigFile = "node_config.h" 33 // CHeaderFileName is the name of the C header file for BPF programs for a 34 // particular endpoint. 35 CHeaderFileName = "lxc_config.h" 36 // NetdevHeaderFileName is the name of the header file used for bpf_netdev.c and bpf_overlay.c. 37 NetdevHeaderFileName = "netdev_config.h" 38 // PreFilterHeaderFileName is the name of the header file used for bpf_xdp.c. 39 PreFilterHeaderFileName = "filter_config.h" 40 // CiliumCHeaderPrefix is the prefix using when printing/writing an endpoint in a 41 // base64 form. 42 CiliumCHeaderPrefix = "CILIUM_BASE64_" 43 )