1
0
mirror of https://github.com/Luzifer/promcertcheck.git synced 2024-09-19 17:32:57 +00:00

Re-generate bindata

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-06-04 11:24:00 +02:00
parent 96194f9f93
commit 7526a22842
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -1,10 +1,10 @@
// Code generated by go-bindata. // Code generated by go-bindata. DO NOT EDIT.
// sources: // sources:
// display.html // display.html
// DO NOT EDIT!
package main package main
import ( import (
"bytes" "bytes"
"compress/gzip" "compress/gzip"
@ -37,6 +37,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
return buf.Bytes(), nil return buf.Bytes(), nil
} }
type asset struct { type asset struct {
bytes []byte bytes []byte
info fileInfoEx info fileInfoEx
@ -77,7 +78,7 @@ func (fi bindataFileInfo) Sys() interface{} {
return nil return nil
} }
var _displayHtml = []byte( var _bindataDisplayhtml = []byte(
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x56\x59\x6f\xdc\xb6\x13\x7f\xcf\xa7\x98\x08\x30\x92\x18\x91\xf8\xb7" + "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x56\x59\x6f\xdc\xb6\x13\x7f\xcf\xa7\x98\x08\x30\x92\x18\x91\xf8\xb7" +
"\xfd\x0f\x9a\xba\xd2\x02\xa9\x6b\x34\x6e\x53\x27\x8d\xd3\x0b\x41\x1e\xb8\xe2\x48\xe2\x86\x22\x15\xce\x48\xeb\xed" + "\xfd\x0f\x9a\xba\xd2\x02\xa9\x6b\x34\x6e\x53\x27\x8d\xd3\x0b\x41\x1e\xb8\xe2\x48\xe2\x86\x22\x15\xce\x48\xeb\xed" +
"\x22\xdf\xbd\xa0\xb4\x97\xf7\x70\x93\xbe\x68\x77\x86\x33\xbf\x39\x38\x07\xd3\x87\x3f\xbc\xbe\x78\xf7\xd7\x9b\x4b" + "\x22\xdf\xbd\xa0\xb4\x97\xf7\x70\x93\xbe\x68\x77\x86\x33\xbf\x39\x38\x07\xd3\x87\x3f\xbc\xbe\x78\xf7\xd7\x9b\x4b" +
@ -116,27 +117,40 @@ var _displayHtml = []byte(
"\x6d\x95\xee\xb4\x6a\xa5\xe9\xb7\x24\x81\x24\xb0\x88\x0a\xd5\x21\x87\xbf\xf4\xad\x30\xd9\x7e\x2a\x6c\xbb\x9c\x8a" + "\x6d\x95\xee\xb4\x6a\xa5\xe9\xb7\x24\x81\x24\xb0\x88\x0a\xd5\x21\x87\xbf\xf4\xad\x30\xd9\x7e\x2a\x6c\xbb\x9c\x8a" +
"\x61\x5f\xa5\x62\x78\x1f\xfe\x13\x00\x00\xff\xff\x21\xaf\x29\x78\x30\x0a\x00\x00") "\x61\x5f\xa5\x62\x78\x1f\xfe\x13\x00\x00\xff\xff\x21\xaf\x29\x78\x30\x0a\x00\x00")
func displayHtmlBytes() ([]byte, error) { func bindataDisplayhtmlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
_displayHtml, _bindataDisplayhtml,
"display.html", "display.html",
) )
} }
func displayHtml() (*asset, error) {
bytes, err := displayHtmlBytes()
func bindataDisplayhtml() (*asset, error) {
bytes, err := bindataDisplayhtmlBytes()
if err != nil { if err != nil {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "display.html", size: 2608, md5checksum: "", mode: os.FileMode(436), modTime: time.Unix(1509896935, 0)} info := bindataFileInfo{
name: "display.html",
size: 2608,
md5checksum: "",
mode: os.FileMode(436),
modTime: time.Unix(1509896935, 0),
}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
//
// Asset loads and returns the asset for the given name. // Asset loads and returns the asset for the given name.
// It returns an error if the asset could not be found or // It returns an error if the asset could not be found or
// could not be loaded. // could not be loaded.
//
func Asset(name string) ([]byte, error) { func Asset(name string) ([]byte, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1) cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok { if f, ok := _bindata[cannonicalName]; ok {
@ -149,8 +163,11 @@ func Asset(name string) ([]byte, error) {
return nil, &os.PathError{Op: "open", Path: name, Err: os.ErrNotExist} return nil, &os.PathError{Op: "open", Path: name, Err: os.ErrNotExist}
} }
//
// MustAsset is like Asset but panics when Asset would return an error. // MustAsset is like Asset but panics when Asset would return an error.
// It simplifies safe initialization of global variables. // It simplifies safe initialization of global variables.
// nolint: deadcode
//
func MustAsset(name string) []byte { func MustAsset(name string) []byte {
a, err := Asset(name) a, err := Asset(name)
if err != nil { if err != nil {
@ -160,9 +177,10 @@ func MustAsset(name string) []byte {
return a return a
} }
//
// AssetInfo loads and returns the asset info for the given name. // AssetInfo loads and returns the asset info for the given name.
// It returns an error if the asset could not be found or // It returns an error if the asset could not be found or could not be loaded.
// could not be loaded. //
func AssetInfo(name string) (os.FileInfo, error) { func AssetInfo(name string) (os.FileInfo, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1) cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok { if f, ok := _bindata[cannonicalName]; ok {
@ -175,7 +193,10 @@ func AssetInfo(name string) (os.FileInfo, error) {
return nil, &os.PathError{Op: "open", Path: name, Err: os.ErrNotExist} return nil, &os.PathError{Op: "open", Path: name, Err: os.ErrNotExist}
} }
//
// AssetNames returns the names of the assets. // AssetNames returns the names of the assets.
// nolint: deadcode
//
func AssetNames() []string { func AssetNames() []string {
names := make([]string, 0, len(_bindata)) names := make([]string, 0, len(_bindata))
for name := range _bindata { for name := range _bindata {
@ -184,11 +205,14 @@ func AssetNames() []string {
return names return names
} }
//
// _bindata is a table, holding each asset generator, mapped to its name. // _bindata is a table, holding each asset generator, mapped to its name.
//
var _bindata = map[string]func() (*asset, error){ var _bindata = map[string]func() (*asset, error){
"display.html": displayHtml, "display.html": bindataDisplayhtml,
} }
//
// AssetDir returns the file names below a certain // AssetDir returns the file names below a certain
// directory embedded in the file by go-bindata. // directory embedded in the file by go-bindata.
// For example if you run go-bindata on data/... and data contains the // For example if you run go-bindata on data/... and data contains the
@ -202,6 +226,7 @@ var _bindata = map[string]func() (*asset, error){
// AssetDir("data/img") would return []string{"a.png", "b.png"} // AssetDir("data/img") would return []string{"a.png", "b.png"}
// AssetDir("foo.txt") and AssetDir("notexist") would return an error // AssetDir("foo.txt") and AssetDir("notexist") would return an error
// AssetDir("") will return []string{"data"}. // AssetDir("") will return []string{"data"}.
//
func AssetDir(name string) ([]string, error) { func AssetDir(name string) ([]string, error) {
node := _bintree node := _bintree
if len(name) != 0 { if len(name) != 0 {
@ -210,12 +235,20 @@ func AssetDir(name string) ([]string, error) {
for _, p := range pathList { for _, p := range pathList {
node = node.Children[p] node = node.Children[p]
if node == nil { if node == nil {
return nil, &os.PathError{Op: "open", Path: name, Err: os.ErrNotExist} return nil, &os.PathError{
Op: "open",
Path: name,
Err: os.ErrNotExist,
}
} }
} }
} }
if node.Func != nil { if node.Func != nil {
return nil, &os.PathError{Op: "open", Path: name, Err: os.ErrNotExist} return nil, &os.PathError{
Op: "open",
Path: name,
Err: os.ErrNotExist,
}
} }
rv := make([]string, 0, len(node.Children)) rv := make([]string, 0, len(node.Children))
for childName := range node.Children { for childName := range node.Children {
@ -224,13 +257,14 @@ func AssetDir(name string) ([]string, error) {
return rv, nil return rv, nil
} }
type bintree struct { type bintree struct {
Func func() (*asset, error) Func func() (*asset, error)
Children map[string]*bintree Children map[string]*bintree
} }
var _bintree = &bintree{nil, map[string]*bintree{ var _bintree = &bintree{Func: nil, Children: map[string]*bintree{
"display.html": {displayHtml, map[string]*bintree{}}, "display.html": {Func: bindataDisplayhtml, Children: map[string]*bintree{}},
}} }}
// RestoreAsset restores an asset under the given directory // RestoreAsset restores an asset under the given directory