| // Copyright 2022 The LUCI Authors. |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| // AUTOGENERATED. DO NOT EDIT. |
| |
| // Package assets is generated by go.chromium.org/luci/tools/cmd/assets. |
| // |
| // It contains all [*.css *.html *.js *.py *.tmpl] files found in the package as byte arrays. |
| package assets |
| |
| // GetAsset returns an asset by its name. Returns nil if no such asset exists. |
| func GetAsset(name string) []byte { |
| return []byte(files[name]) |
| } |
| |
| // GetAssetString is version of GetAsset that returns string instead of byte |
| // slice. Returns empty string if no such asset exists. |
| func GetAssetString(name string) string { |
| return files[name] |
| } |
| |
| // GetAssetSHA256 returns the asset checksum. Returns nil if no such asset |
| // exists. |
| func GetAssetSHA256(name string) []byte { |
| data := fileSha256s[name] |
| if data == nil { |
| return nil |
| } |
| return append([]byte(nil), data...) |
| } |
| |
| // Assets returns a map of all assets. |
| func Assets() map[string]string { |
| cpy := make(map[string]string, len(files)) |
| for k, v := range files { |
| cpy[k] = v |
| } |
| return cpy |
| } |
| |
| var files = map[string]string{ |
| "sitecustomize.py": string([]byte{35, 32, |
| 67, 111, 112, 121, 114, 105, 103, 104, 116, 32, 50, 48, 49, 55, |
| 32, 84, 104, 101, 32, 76, 85, 67, 73, 32, 65, 117, 116, 104, |
| 111, 114, 115, 46, 10, 35, 10, 35, 32, 76, 105, 99, 101, 110, |
| 115, 101, 100, 32, 117, 110, 100, 101, 114, 32, 116, 104, 101, 32, |
| 65, 112, 97, 99, 104, 101, 32, 76, 105, 99, 101, 110, 115, 101, |
| 44, 32, 86, 101, 114, 115, 105, 111, 110, 32, 50, 46, 48, 32, |
| 40, 116, 104, 101, 32, 34, 76, 105, 99, 101, 110, 115, 101, 34, |
| 41, 59, 10, 35, 32, 121, 111, 117, 32, 109, 97, 121, 32, 110, |
| 111, 116, 32, 117, 115, 101, 32, 116, 104, 105, 115, 32, 102, 105, |
| 108, 101, 32, 101, 120, 99, 101, 112, 116, 32, 105, 110, 32, 99, |
| 111, 109, 112, 108, 105, 97, 110, 99, 101, 32, 119, 105, 116, 104, |
| 32, 116, 104, 101, 32, 76, 105, 99, 101, 110, 115, 101, 46, 10, |
| 35, 32, 89, 111, 117, 32, 109, 97, 121, 32, 111, 98, 116, 97, |
| 105, 110, 32, 97, 32, 99, 111, 112, 121, 32, 111, 102, 32, 116, |
| 104, 101, 32, 76, 105, 99, 101, 110, 115, 101, 32, 97, 116, 10, |
| 35, 10, 35, 32, 32, 32, 32, 32, 32, 104, 116, 116, 112, 58, |
| 47, 47, 119, 119, 119, 46, 97, 112, 97, 99, 104, 101, 46, 111, |
| 114, 103, 47, 108, 105, 99, 101, 110, 115, 101, 115, 47, 76, 73, |
| 67, 69, 78, 83, 69, 45, 50, 46, 48, 10, 35, 10, 35, 32, |
| 85, 110, 108, 101, 115, 115, 32, 114, 101, 113, 117, 105, 114, 101, |
| 100, 32, 98, 121, 32, 97, 112, 112, 108, 105, 99, 97, 98, 108, |
| 101, 32, 108, 97, 119, 32, 111, 114, 32, 97, 103, 114, 101, 101, |
| 100, 32, 116, 111, 32, 105, 110, 32, 119, 114, 105, 116, 105, 110, |
| 103, 44, 32, 115, 111, 102, 116, 119, 97, 114, 101, 10, 35, 32, |
| 100, 105, 115, 116, 114, 105, 98, 117, 116, 101, 100, 32, 117, 110, |
| 100, 101, 114, 32, 116, 104, 101, 32, 76, 105, 99, 101, 110, 115, |
| 101, 32, 105, 115, 32, 100, 105, 115, 116, 114, 105, 98, 117, 116, |
| 101, 100, 32, 111, 110, 32, 97, 110, 32, 34, 65, 83, 32, 73, |
| 83, 34, 32, 66, 65, 83, 73, 83, 44, 10, 35, 32, 87, 73, |
| 84, 72, 79, 85, 84, 32, 87, 65, 82, 82, 65, 78, 84, 73, |
| 69, 83, 32, 79, 82, 32, 67, 79, 78, 68, 73, 84, 73, 79, |
| 78, 83, 32, 79, 70, 32, 65, 78, 89, 32, 75, 73, 78, 68, |
| 44, 32, 101, 105, 116, 104, 101, 114, 32, 101, 120, 112, 114, 101, |
| 115, 115, 32, 111, 114, 32, 105, 109, 112, 108, 105, 101, 100, 46, |
| 10, 35, 32, 83, 101, 101, 32, 116, 104, 101, 32, 76, 105, 99, |
| 101, 110, 115, 101, 32, 102, 111, 114, 32, 116, 104, 101, 32, 115, |
| 112, 101, 99, 105, 102, 105, 99, 32, 108, 97, 110, 103, 117, 97, |
| 103, 101, 32, 103, 111, 118, 101, 114, 110, 105, 110, 103, 32, 112, |
| 101, 114, 109, 105, 115, 115, 105, 111, 110, 115, 32, 97, 110, 100, |
| 10, 35, 32, 108, 105, 109, 105, 116, 97, 116, 105, 111, 110, 115, |
| 32, 117, 110, 100, 101, 114, 32, 116, 104, 101, 32, 76, 105, 99, |
| 101, 110, 115, 101, 46, 10, 10, 35, 32, 84, 104, 105, 115, 32, |
| 102, 105, 108, 101, 32, 105, 115, 32, 97, 100, 100, 101, 100, 32, |
| 116, 111, 32, 96, 118, 112, 121, 116, 104, 111, 110, 96, 45, 103, |
| 101, 110, 101, 114, 97, 116, 101, 100, 32, 86, 105, 114, 116, 117, |
| 97, 108, 69, 110, 118, 115, 46, 32, 67, 117, 114, 114, 101, 110, |
| 116, 108, 121, 32, 105, 116, 32, 104, 97, 115, 32, 110, 111, 10, |
| 35, 32, 102, 117, 110, 99, 116, 105, 111, 110, 97, 108, 105, 116, |
| 121, 44, 32, 98, 117, 116, 32, 105, 115, 32, 108, 101, 102, 116, |
| 32, 97, 115, 32, 97, 32, 112, 108, 97, 99, 101, 104, 111, 108, |
| 100, 101, 114, 32, 102, 111, 114, 32, 102, 117, 116, 117, 114, 101, |
| 32, 101, 120, 116, 101, 110, 115, 105, 111, 110, 115, 46, 10}), |
| } |
| |
| var fileSha256s = map[string][]byte{ |
| "sitecustomize.py": {165, 102, |
| 71, 144, 207, 182, 91, 235, 130, 225, 99, 163, 212, 250, 203, 88, |
| 15, 206, 33, 16, 28, 149, 14, 167, 222, 74, 132, 172, 219, 167, |
| 2, 230}, |
| } |