blob: 4f88b5881ad8933950f329a32f0f8617ec62eea6 [file] [log] [blame]
// Copyright 2021 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 vendored is generated by go.chromium.org/luci/tools/cmd/assets.
//
// It contains all [*.css *.html *.js *.star *.tmpl] files found in the package as byte arrays.
package vendored
// 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{
"starlarktest/assert.star": string([]byte{35, 32,
80, 114, 101, 100, 101, 99, 108, 97, 114, 101, 100, 32, 98, 117,
105, 108, 116, 45, 105, 110, 115, 32, 102, 111, 114, 32, 116, 104,
105, 115, 32, 109, 111, 100, 117, 108, 101, 58, 10, 35, 10, 35,
32, 101, 114, 114, 111, 114, 40, 109, 115, 103, 41, 58, 32, 114,
101, 112, 111, 114, 116, 32, 97, 110, 32, 101, 114, 114, 111, 114,
32, 105, 110, 32, 71, 111, 39, 115, 32, 116, 101, 115, 116, 32,
102, 114, 97, 109, 101, 119, 111, 114, 107, 32, 119, 105, 116, 104,
111, 117, 116, 32, 104, 97, 108, 116, 105, 110, 103, 32, 101, 120,
101, 99, 117, 116, 105, 111, 110, 46, 10, 35, 32, 32, 84, 104,
105, 115, 32, 105, 115, 32, 100, 105, 115, 116, 105, 110, 99, 116,
32, 102, 114, 111, 109, 32, 116, 104, 101, 32, 98, 117, 105, 108,
116, 45, 105, 110, 32, 102, 97, 105, 108, 32, 102, 117, 110, 99,
116, 105, 111, 110, 44, 32, 119, 104, 105, 99, 104, 32, 104, 97,
108, 116, 115, 32, 101, 120, 101, 99, 117, 116, 105, 111, 110, 46,
10, 35, 32, 99, 97, 116, 99, 104, 40, 102, 41, 58, 32, 101,
118, 97, 108, 117, 97, 116, 101, 32, 102, 40, 41, 32, 97, 110,
100, 32, 114, 101, 116, 117, 114, 110, 115, 32, 105, 116, 115, 32,
101, 118, 97, 108, 117, 97, 116, 105, 111, 110, 32, 101, 114, 114,
111, 114, 32, 109, 101, 115, 115, 97, 103, 101, 44, 32, 105, 102,
32, 97, 110, 121, 10, 35, 32, 109, 97, 116, 99, 104, 101, 115,
40, 115, 116, 114, 44, 32, 112, 97, 116, 116, 101, 114, 110, 41,
58, 32, 114, 101, 112, 111, 114, 116, 32, 119, 104, 101, 116, 104,
101, 114, 32, 115, 116, 114, 32, 109, 97, 116, 99, 104, 101, 115,
32, 114, 101, 103, 117, 108, 97, 114, 32, 101, 120, 112, 114, 101,
115, 115, 105, 111, 110, 32, 112, 97, 116, 116, 101, 114, 110, 46,
10, 35, 32, 109, 111, 100, 117, 108, 101, 40, 42, 42, 107, 119,
97, 114, 103, 115, 41, 58, 32, 97, 32, 99, 111, 110, 115, 116,
114, 117, 99, 116, 111, 114, 32, 102, 111, 114, 32, 97, 32, 109,
111, 100, 117, 108, 101, 46, 10, 35, 32, 95, 102, 114, 101, 101,
122, 101, 40, 120, 41, 58, 32, 102, 114, 101, 101, 122, 101, 32,
116, 104, 101, 32, 118, 97, 108, 117, 101, 32, 120, 32, 97, 110,
100, 32, 101, 118, 101, 114, 121, 116, 104, 105, 110, 103, 32, 114,
101, 97, 99, 104, 97, 98, 108, 101, 32, 102, 114, 111, 109, 32,
105, 116, 46, 10, 35, 10, 35, 32, 67, 108, 105, 101, 110, 116,
115, 32, 109, 97, 121, 32, 117, 115, 101, 32, 116, 104, 101, 115,
101, 32, 102, 117, 110, 99, 116, 105, 111, 110, 115, 32, 116, 111,
32, 100, 101, 102, 105, 110, 101, 32, 116, 104, 101, 105, 114, 32,
111, 119, 110, 32, 116, 101, 115, 116, 105, 110, 103, 32, 97, 98,
115, 116, 114, 97, 99, 116, 105, 111, 110, 115, 46, 10, 10, 100,
101, 102, 32, 95, 101, 113, 40, 120, 44, 32, 121, 41, 58, 10,
32, 32, 32, 32, 105, 102, 32, 120, 32, 33, 61, 32, 121, 58,
10, 32, 32, 32, 32, 32, 32, 32, 32, 101, 114, 114, 111, 114,
40, 34, 37, 114, 32, 33, 61, 32, 37, 114, 34, 32, 37, 32,
40, 120, 44, 32, 121, 41, 41, 10, 10, 100, 101, 102, 32, 95,
110, 101, 40, 120, 44, 32, 121, 41, 58, 10, 32, 32, 32, 32,
105, 102, 32, 120, 32, 61, 61, 32, 121, 58, 10, 32, 32, 32,
32, 32, 32, 32, 32, 101, 114, 114, 111, 114, 40, 34, 37, 114,
32, 61, 61, 32, 37, 114, 34, 32, 37, 32, 40, 120, 44, 32,
121, 41, 41, 10, 10, 100, 101, 102, 32, 95, 116, 114, 117, 101,
40, 99, 111, 110, 100, 44, 32, 109, 115, 103, 32, 61, 32, 34,
97, 115, 115, 101, 114, 116, 105, 111, 110, 32, 102, 97, 105, 108,
101, 100, 34, 41, 58, 10, 32, 32, 32, 32, 105, 102, 32, 110,
111, 116, 32, 99, 111, 110, 100, 58, 10, 32, 32, 32, 32, 32,
32, 32, 32, 101, 114, 114, 111, 114, 40, 109, 115, 103, 41, 10,
10, 100, 101, 102, 32, 95, 108, 116, 40, 120, 44, 32, 121, 41,
58, 10, 32, 32, 32, 32, 105, 102, 32, 110, 111, 116, 32, 40,
120, 32, 60, 32, 121, 41, 58, 10, 32, 32, 32, 32, 32, 32,
32, 32, 101, 114, 114, 111, 114, 40, 34, 37, 115, 32, 105, 115,
32, 110, 111, 116, 32, 108, 101, 115, 115, 32, 116, 104, 97, 110,
32, 37, 115, 34, 32, 37, 32, 40, 120, 44, 32, 121, 41, 41,
10, 10, 100, 101, 102, 32, 95, 99, 111, 110, 116, 97, 105, 110,
115, 40, 120, 44, 32, 121, 41, 58, 10, 32, 32, 32, 32, 105,
102, 32, 121, 32, 110, 111, 116, 32, 105, 110, 32, 120, 58, 10,
32, 32, 32, 32, 32, 32, 32, 32, 101, 114, 114, 111, 114, 40,
34, 37, 115, 32, 100, 111, 101, 115, 32, 110, 111, 116, 32, 99,
111, 110, 116, 97, 105, 110, 32, 37, 115, 34, 32, 37, 32, 40,
120, 44, 32, 121, 41, 41, 10, 10, 100, 101, 102, 32, 95, 102,
97, 105, 108, 115, 40, 102, 44, 32, 112, 97, 116, 116, 101, 114,
110, 41, 58, 10, 32, 32, 32, 32, 34, 97, 115, 115, 101, 114,
116, 95, 102, 97, 105, 108, 115, 32, 97, 115, 115, 101, 114, 116,
115, 32, 116, 104, 97, 116, 32, 101, 118, 97, 108, 117, 97, 116,
105, 111, 110, 32, 111, 102, 32, 102, 40, 41, 32, 102, 97, 105,
108, 115, 32, 119, 105, 116, 104, 32, 116, 104, 101, 32, 115, 112,
101, 99, 105, 102, 105, 101, 100, 32, 101, 114, 114, 111, 114, 46,
34, 10, 32, 32, 32, 32, 109, 115, 103, 32, 61, 32, 99, 97,
116, 99, 104, 40, 102, 41, 10, 32, 32, 32, 32, 105, 102, 32,
109, 115, 103, 32, 61, 61, 32, 78, 111, 110, 101, 58, 10, 32,
32, 32, 32, 32, 32, 32, 32, 101, 114, 114, 111, 114, 40, 34,
101, 118, 97, 108, 117, 97, 116, 105, 111, 110, 32, 115, 117, 99,
99, 101, 101, 100, 101, 100, 32, 117, 110, 101, 120, 112, 101, 99,
116, 101, 100, 108, 121, 32, 40, 119, 97, 110, 116, 32, 101, 114,
114, 111, 114, 32, 109, 97, 116, 99, 104, 105, 110, 103, 32, 37,
114, 41, 34, 32, 37, 32, 112, 97, 116, 116, 101, 114, 110, 41,
10, 32, 32, 32, 32, 101, 108, 105, 102, 32, 110, 111, 116, 32,
109, 97, 116, 99, 104, 101, 115, 40, 112, 97, 116, 116, 101, 114,
110, 44, 32, 109, 115, 103, 41, 58, 10, 32, 32, 32, 32, 32,
32, 32, 32, 101, 114, 114, 111, 114, 40, 34, 114, 101, 103, 117,
108, 97, 114, 32, 101, 120, 112, 114, 101, 115, 115, 105, 111, 110,
32, 40, 37, 115, 41, 32, 100, 105, 100, 32, 110, 111, 116, 32,
109, 97, 116, 99, 104, 32, 101, 114, 114, 111, 114, 32, 40, 37,
115, 41, 34, 32, 37, 32, 40, 112, 97, 116, 116, 101, 114, 110,
44, 32, 109, 115, 103, 41, 41, 10, 10, 102, 114, 101, 101, 122,
101, 32, 61, 32, 95, 102, 114, 101, 101, 122, 101, 32, 32, 35,
32, 97, 110, 32, 101, 120, 112, 111, 114, 116, 101, 100, 32, 103,
108, 111, 98, 97, 108, 32, 119, 104, 111, 115, 101, 32, 118, 97,
108, 117, 101, 32, 105, 115, 32, 116, 104, 101, 32, 98, 117, 105,
108, 116, 45, 105, 110, 32, 102, 114, 101, 101, 122, 101, 32, 102,
117, 110, 99, 116, 105, 111, 110, 10, 10, 97, 115, 115, 101, 114,
116, 32, 61, 32, 109, 111, 100, 117, 108, 101, 40, 10, 32, 32,
32, 32, 34, 97, 115, 115, 101, 114, 116, 34, 44, 10, 32, 32,
32, 32, 102, 97, 105, 108, 32, 61, 32, 101, 114, 114, 111, 114,
44, 10, 32, 32, 32, 32, 101, 113, 32, 61, 32, 95, 101, 113,
44, 10, 32, 32, 32, 32, 110, 101, 32, 61, 32, 95, 110, 101,
44, 10, 32, 32, 32, 32, 116, 114, 117, 101, 32, 61, 32, 95,
116, 114, 117, 101, 44, 10, 32, 32, 32, 32, 108, 116, 32, 61,
32, 95, 108, 116, 44, 10, 32, 32, 32, 32, 99, 111, 110, 116,
97, 105, 110, 115, 32, 61, 32, 95, 99, 111, 110, 116, 97, 105,
110, 115, 44, 10, 32, 32, 32, 32, 102, 97, 105, 108, 115, 32,
61, 32, 95, 102, 97, 105, 108, 115, 44, 10, 41, 10}),
}
var fileSha256s = map[string][]byte{
"starlarktest/assert.star": {217, 40,
237, 125, 179, 192, 76, 97, 242, 221, 156, 46, 179, 91, 103, 107,
172, 245, 112, 119, 252, 21, 64, 3, 100, 4, 189, 224, 109, 163,
240, 240},
}