k3s/pkg/openapi/zz_generated_bindata.go

259 lines
1.7 MiB
Go
Raw Normal View History

2019-01-26 04:56:12 +00:00
// Code generated by go-bindata.
// sources:
// vendor/k8s.io/kubernetes/openapi.json
// vendor/k8s.io/kubernetes/openapi.pb
// DO NOT EDIT!
package openapi
import (
"bytes"
"compress/gzip"
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"strings"
"time"
)
func bindataRead(data []byte, name string) ([]byte, error) {
gz, err := gzip.NewReader(bytes.NewBuffer(data))
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
var buf bytes.Buffer
_, err = io.Copy(&buf, gz)
clErr := gz.Close()
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
if clErr != nil {
return nil, err
}
return buf.Bytes(), nil
}
type asset struct {
bytes []byte
info os.FileInfo
}
type bindataFileInfo struct {
name string
size int64
mode os.FileMode
modTime time.Time
}
func (fi bindataFileInfo) Name() string {
return fi.name
}
func (fi bindataFileInfo) Size() int64 {
return fi.size
}
func (fi bindataFileInfo) Mode() os.FileMode {
return fi.mode
}
func (fi bindataFileInfo) ModTime() time.Time {
return fi.modTime
}
func (fi bindataFileInfo) IsDir() bool {
return false
}
func (fi bindataFileInfo) Sys() interface{} {
return nil
}
2019-04-08 21:06:13 +00:00
var _openapiJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x7f\x73\xdb\x38\x96\xf7\xfb\x56\x50\xde\x5b\xe5\xee\x67\x6d\xb9\x33\xbb\x55\x33\x37\xa9\xad\x5b\xee\xc4\x99\xc9\x3e\x99\x8e\x37\xce\xf4\xd4\xad\x9b\xad\x1d\x88\x84\x24\x3e\xa6\x08\x36\x41\xda\x71\x4f\xe5\xbd\xdf\xc2\x01\x40\x82\xfa\x2d\x91\x12\x45\xe9\xfb\x57\xa7\x65\x09\xc4\x2f\x1e\x1c\x7c\xce\xc1\x17\xff\xbc\x50\xcf\x7c\x3c\x16\xd9\xc5\xeb\x8b\x3f\x0c\x7e\xba\xb8\xba\x88\x92\x91\xbc\x78\xfd\xcf\x8b\x3c\xca\x63\x71\xf1\xfa\xe2\x7f\x17\x43\x91\x25\x22\x17\xea\xe2\xea\xe2\x49\x64\x2a\x92\xc9\xc5\xeb\x8b\xa7\x9f\x06\x3f\x0d\x7e\xba\xf8\x7e\x75\x91\xf2\x7c\xa2\xf4\x2f\x6e\x78\x1a\xdd\xe8\x7f\x8c\x45\xae\xff\x13\x0a\x15\x64\x51\x9a\x9b\x1f\x8c\x45\xce\xf8\x13\x8f\x62\x3e\x8c\x05\xbb\xbd\xff\xc0\x6c\x61\xba\xdc\x40\x26\xaa\x98\x0a\x75\xf1\xfa\xff\xbb\xe0\x69\x1a\x47\x01\xd7\x3f\xbb\xf9\x3f\x4a\x26\x17\x57\xb5\x8f\x5e\xf8\x34\x9e\xf9\xe8\x29\x09\x07\x8f\x65\x35\x07\x69\x26\x73\x39\x2c\x46\x17\xff\x7d\x75\x91\x66\x32\x2c\x82\x3d\x14\xac\x82\x89\xb0\x15\x9e\xe4\x79\xaa\xf4\x67\x39\x1f\xd3\x07\x81\xcc\x84\xfe\x7f\x99\x8a\x8c\x0a\xfa\x10\x9a\x0e\x78\x2b\x33\x71\x7b\xff\xe1\xd7\xaa\xe1\x99\x50\xa9\x4c\x94\xa0\x0e\xfc\xc3\x4f\x3f\xcd\xf7\xdb\xa7\xff\x7d\x61\x9f\xc6\xf5\x1f\xff\xaf\x4c\x8c\x2e\x5e\x5f\xfc\xcb\x4d\x28\x46\x51\x12\xe9\x2f\xa9\x9b\x48\x0e\x1e\xff\xa4\x06\x3c\x8d\xa6\x3c\x98\x44\x89\xc8\x5e\x06\xe9\xe3\x58\x7f\xa0\x06\x53\x91\xf3\xc1\xd3\xab\x81\xff\xe0\xef\xdf\xaf\x2e\xfe\xfd\xa7\x57\xf3\x4f\xfb\x5b\xc2\x8b\x7c\x22\xb3\xe8\x77\x11\x5e\x7c\xff\xae\xbf\x47\xc3\xfa\xf4\x6a\xd3\x91\xcd\x84\x92\x45\x16\x88\xd3\x1c\xd6\xff\x79\x7a\xb5\x74\x64\x7f\x7d\x75\x7b\xff\xe1\xb3\xd7\xfc\xc3\x0e\xae\x7b\xf2\xc7\x48\xe5\x3b\x0d\x70\x20\xa7\xa9\x4c\x44\x92\xab\x9c\xe7\x85\xad\xf6\xc2\x11\x8f\x23\x95\x33\x39\xfc\x3f\x22\xc8\x15\x93\x23\xf6\x18\x25\x21\x7b\xeb\x7e\xfe\x40\x3f\x9f\x19\xfe\xff\x75\xf3\xbf\xf6\x37\x70\x57\x73\x65\xbd\x51\x79\x26\xf8\xf4\x3f\x9e\x79\x1e\x4c\x36\x2b\xa5\xfe\x93\x5d\xe7\x82\xee\x1a\x33\x19\xe6\xfb\xa3\xed\xf9\x30\xd0\xb5\xd0\xa3\x3f\xf3\xa8\xad\x66\xc0\xd5\xc5\xb7\xeb\xaa\x37\xae\x79\xe0\x8d\xf1\xc5\xcc\x1f\xc7\x99\x2c\xd2\x6b\x6b\xb7\xaf\xf5\xa8\xd3\x14\xd1\x9f\x5e\xbc\xbe\xb8\xb8\xba\x30\x1f\x5d\xcc\x37\xdd\x5b\x38\x5e\xd1\x43\x53\x9e\xf1\xa9\xc8\x45\xa6\xbb\xf3\x9f\x17\x45\x12\xfd\x56\x88\x0f\xb9\x98\xaa\x8b\xd7\x79\x56\x88\xab\x8b\xfc\x25\xd5\xeb\x8f\xca\xb3\x28\x19\x5f\x5c\xcd\xb4\xe2\xcb\x44\xb0\x40\x26\x79\x94\x14\x82\x49\xfa\x94\xa9\x89\x2c\xe2\x90\x0d\x05\x53\x22\x67\xcf\x13\x91\xb0\x4c\xe4\x59\x24\x9e\xa2\x64\xcc\xa6\x32\x23\xeb\x54\xc4\xb9\x62\xa3\x4c\x4e\x59\x3e\xd1\xdf\xcc\x9e\x44\x36\x60\x0f\x51\x12\x08\x96\x4f\x22\xc5\x9e\x78\x5c\x08\x16\x29\xfb\x37\x46\x9d\x2f\xc2\x2b\x16\xc4\x91\x7e\x3b\xd8\x94\xbf\x30\x99\xc4\x2f\xac\x50\x82\x0a\x29\x2b\x62\x7e\x4a\x85\x73\x96\x66\xe2\x29\x92\x85\x62\xbf\x15\x22\x7b\xb1\x8f\x66\xcf\x51\x3e\x61\x51\x28\x92\x3c\x0a\x78\x6c\xff\x56\xf5\x06\xfb\x41\x7c\x0b\x44\x9a\xb3\x91\xcc\xa8\x6c\x53\xa4\x1c\x95\x0f\xf9\x91\xf1\x24\xf4\xea\x4e\xd5\xc9\x84\x7e\x19\x19\x9f\xad\x4a\x94\xb3\x50\x0a\xc5\x12\x99\xb3\x4c\x04\x72\x9c\x44\xbf\x8b\x01\xfb\x30\x32\x05\xa4\x22\x88\x46\x91\x08\xe7\x7e\xa6\x7f\xc1\x62\x99\x8c\x45\xa6\x3f\x8a\x42\xdd\x9d\xf9\x44\xf7\x46\x21\x58\x2e\x99\xf8\x96\x46\x66\xda\xb3\x1f\xc6\x22\x11\x19\x8f\xe3\x17\x36\x8a\x9e\xe8\xaf\xa3\x68\x94\x0b\x91\xb0\x69\x94\x14\xb9\x50\x3f\x32\x99\x99\xba\x8d\xa2\x71\x61\x7f\x16\x4c\x78\x32\x16\x4c\x26\x5e\x5b\xae\xfc\x76\x3d\x47\x71\xcc\xcc\x3b\x13\x9a\x6e\xe3\xec\xdf\x5f\xfd\xc4\x9c\xa1\xbb\xd3\x55\x10\x21\x13\x59\xa6\xfb\x4a\x8e\x4d\x05\xed\x37\xcb\x16\xe5\xf2\x51\x24\x65\x93\xcd\x18\xb2\x44\x88\x50\x99\x6f\xa9\x48\xe5\xfa\x23\x3d\xe1\xaf\x74\x87\x4d\x0b\xa5\x3b\x4b\xe5\x3c\xcb\xf5\x6f\xa2\x8c\xfe\x46\x05\xcb\x22\xaf\x8f\xf8\x28\x12\x71\x38\x60\x9f\xf4\xa3\x9f\x23\x25\xae\xfc\xa7\xe8\x91\x51\x22\x09\x19\x4f\x24\xd5\x8d\xca\xc9\xc4\x6f\x85\xb0\xe5\xd1\xb7\xa9\x86\x7a\x78\x44\xf4\x24\xc2\xea\x73\xdd\x58\x6a\xdc\xda\x6e\xa1\x72\xa9\xc2\x7a\xa6\x97\x93\x3b\x11\xdf\x72\xf6\x28\x5e\xae\xd8\xb0\xc8\xab\x8f\x63\x9e\xeb\xe7\xab\x84\xa7\x6a\x22\xf3\x2b\xf6
2019-01-26 04:56:12 +00:00
func openapiJsonBytes() ([]byte, error) {
return bindataRead(
_openapiJson,
"openapi.json",
)
}
func openapiJson() (*asset, error) {
bytes, err := openapiJsonBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "openapi.json", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2019-04-08 21:06:13 +00:00
var _openapiPb = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x7b\x78\x1c\xc7\x75\xe0\xfb\xcd\x00\x14\xa9\x92\x6c\xd1\x65\x3b\x8e\x46\xa2\x54\x1c\x90\x02\x39\x04\x7a\x38\x20\xc5\x07\x20\x8a\xc4\x00\xa0\x08\x10\x22\x61\x80\xa6\x62\xc7\x31\xdd\xd3\x5d\x18\xb4\xd8\xd3\xdd\xee\xee\x01\x04\xed\x3a\x0f\x29\x76\x9c\x87\xef\x3a\xf6\xf5\x23\x4e\xec\x68\xaf\xb3\x5a\x2b\xab\xf8\x15\x6f\xb2\x59\xdf\x6c\xbc\xc9\xb5\xa3\xb5\x12\xad\xbd\x71\xa2\x24\xbe\xf1\xae\xaf\x7d\xf3\x70\xe2\xac\x63\xfb\xfb\x92\xf8\x26\xeb\xfb\xd5\xa3\xbb\x6b\x5e\x98\xc1\x70\xf0\x20\x79\xfe\xa1\xa0\xe9\xee\xea\xea\x7a\x9c\x3a\xe7\x57\xa7\xce\x41\x7d\x23\xda\x61\xfc\x0a\x84\xce\x57\x4b\xd4\x77\x68\x48\x03\x7c\xcb\xf2\x61\xed\xb0\x76\xb8\xf8\xad\x77\xff\x74\x0a\xff\xec\x1e\x34\x93\xd7\x3d\x2b\x60\xff\xd0\xc7\x42\xea\x04\x96\xeb\x04\xda\xd5\x13\x81\x66\xb9\xf9\xe5\x42\x89\x86\x7a\x21\x6f\x54\x83\xd0\xad\xf8\x34\x70\xab\xbe\x41\x4d\xba\x68\x39\x56\xc8\x6e\xcc\xff\x0b\x47\xaf\xd0\x37\xe7\x83\x50\x0f\xab\x01\xfe\xed\xbb\xf1\x13\xfd\xe8\x95\x35\x65\x5d\x91\x85\x64\xee\xf7\xa9\x6e\x12\x71\x27\x71\x17\x49\xb8\x44\x49\xe0\x51\xc3\x5a\xb4\xa8\x49\x26\xf8\x2b\xe6\xe5\x2b\x26\xe3\x57\xe4\x8e\xb1\xc7\xc6\xd5\x12\x2f\x8b\x02\x5b\x3d\xb1\xc0\xdf\x30\xb2\x5b\xf7\x3c\xdb\x32\x74\xf6\x53\xfe\xd1\xc0\x75\x6a\x7f\x59\xd5\x2b\xf6\xc8\x80\xfa\xcb\xb2\x63\x6a\x57\xe3\x76\xd2\x3c\xdf\x0d\xdd\x52\x75\x71\xb4\x2f\x97\xcf\xcd\xbc\x33\x85\x56\x50\xdf\xc8\xe1\xc3\xd8\x43\x0e\x4a\x5f\x3c\x8f\x97\xd0\x22\x32\x07\xf2\x6a\x63\x58\x2e\x6f\xb8\x9a\xcf\x1f\x66\xad\x4b\xfd\x65\xea\x6b\xde\xd5\x32\xbb\x56\x77\x83\x26\xdb\x47\x6b\xf5\x3d\xe8\x55\xa8\xef\xe8\xe1\x02\xde\x8d\x5e\x8a\x6e\x7f\x8d\xa3\x57\xc3\x25\xd7\xb7\x1e\xa7\xe6\xfc\x8e\xa5\x30\xf4\x82\x47\xf7\xa0\x97\x3f\x36\x9c\xd4\x7c\x58\x37\xd8\x63\xf8\x16\xdc\x5f\xa6\x21\x7a\xf4\x4d\xe8\xde\x9a\xcb\x65\xdf\xad\x7a\xc3\xcb\xd4\x67\xaf\x1f\xbe\x6a\x39\x26\xbe\x80\x67\xf9\xaf\xa3\xa4\xd9\x30\x40\xec\x9e\xd1\x96\x3d\x84\x64\x51\xa3\x44\x7e\x09\xca\xfc\x9f\xa8\xd5\x20\x38\xe1\x53\xcf\xd6\x0d\xba\xfe\x71\x70\x52\x3e\xb9\xd5\x43\xa1\xf8\x38\x7a\x0c\x2d\xe3\xfe\x92\x6b\xae\x66\xf8\xbf\x24\x95\xdb\xa4\xa1\x50\xfc\x60\x1a\xfd\x7c\x1a\xbf\x2f\x9d\x79\x77\x1a\xef\x78\x53\x95\xfa\xab\x99\x7f\x48\x3d\xb2\x44\x1d\xe2\xf9\x34\xa0\x4e\x38\x44\x2c\xc7\x64\x9f\x41\x03\x12\x2e\xe9\x21\xa9\xb8\xa6\xb5\x28\xbf\x2b\x20\xc1\x92\x5b\xb5\x4d\xe2\xb8\x21\x29\x51\xe2\xb1\x8e\x0b\x42\x6a\x6a\x64\xdc\x21\x96\xb3\xac\xdb\x96\x49\x5c\x9f\x54\x1d\x9f\x1a\x6e\xd9\x61\xa3\x8c\x98\xfe\xea\x7c\xd5\x21\xa6\xe5\x53\x23\xb4\x96\x29\x59\xb1\x6c\x9b\xf8\x34\xa8\xda\x21\xb1\x1c\xa2\x3b\x84\xfa\xbe\xeb\xb3\x9f\x3c\xd7\x09\x28\xd1\x1d\xf6\x0a\xb2\x58\xf5\xc3\x25\xea\x13\xcf\x77\x0d\x1a\x04\x96\x53\x8e\xba\xdb\xa7\x6f\xaa\xd2\x20\xd4\xc8\x65\xfe\xc6\x65\xdd\xae\xd2\x80\xe8\x3e\x1d\x25\xc3\x64\xdc\xb6\x47\x89\x6e\xdb\xec\xc5\xc4\xaf\x3a\x6c\xa8\x94\x69\x20\x5e\xcb\x6a\x2d\x8a\xa3\x66\xf6\x16\x51\xb5\x91\x5b\x82\xd0\xb7\x9c\xf2\x53\xa9\x54\xf1\x3d\x69\xf4\xae\x34\x7e\x47\x3a\xf3\xf6\xb8\x81\xbe\x9e\x5a\xb4\xa8\x6d\x3e\xac\x3b\x7a\x99\xfa\xc4\x0a\x88\x4e\x98\xd4\x22\x7a\x10\xb8\x86\xa5\x87\xd4\x24\x2b\x56\xb8\xc4\x6b\xa6\x1b\xa1\xeb\xb3\x26\xa0\x4e\x68\x85\xab\xa2\x0d\xad\x80\x54\xf4\xab\xac\xfe\xe1\x12\x0d\x28\x31\x96\x74\xa7\x4c\x03\x8d\x5c\x5a\xa2\xa2\xf2\xa4\x52\x0d\x78\x93\xda\x34\xe0\x0d\xef\xb0\x32\x0a\x23\x27\xd8\xbd\xbe\x6e\x84\xd4\x0f\x88\xed\x3a\xe5\x21\xde\x38\xae\x63\xaf\x12\xc3\x75\x42\xdd\x62\x3d\x67\x39\xa1\x5e\xb2\xa9\x72\xef\x10\xd1\x03\xc2\xc7\x13\x35\x49\x69\x95\xf0\x89\x3e\x9a\xcf\x97\x5d\x5b\x77\xca\x9a\xeb\x97\xf3\xde\xd5\x72\xbe\xea\x58\x86\x6b\xd2\xfc\xc0\x74\x30\xc7\x4a\xd1\xb2\xb7\xab\xdf\xaa\x34\xcc\xcc\x3b\xd2\x5b\x27\xc0\xfe\x25\x7b\x71\x01\x57\x51\x80\x76\x4e\xf8\x94\xb5\xf8\x75\x21\x3e\xbd\x6a\xc7\xe2\xb3\x41\x06\x5e\x83\x3c\x2d\x7e\xf5\xf6\x56\xe2\x73\xdc\xd3\xfd\xd0\xd2\x6d\x7b\x95\x54\x3d\x53\x0f\xbb\x90\xa3\xc7\x3d\x3d\x34\x96\xb6\x52\x8a\xde\x55\x5f\xd0\x30\xaf\xd2\x21\xf6\xe7\xe8\xdd\xea\xc5\x0a\xf5\xcb\x54\xbd\x7a\x9f\x7a\x35\x08\x7d\x3d\xa4\x65\xcb\x18\xae\xbf\xaf\x78\x01\xcd\xa2\x99\x3a\x19\x3d\x8a\x4e\xb4\x1a\x6f\x15\xdd\x58\xb2\x1c\xea\xaf\x
2019-01-26 04:56:12 +00:00
func openapiPbBytes() ([]byte, error) {
return bindataRead(
_openapiPb,
"openapi.pb",
)
}
func openapiPb() (*asset, error) {
bytes, err := openapiPbBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "openapi.pb", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
// Asset loads and returns the asset for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func Asset(name string) ([]byte, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
}
return a.bytes, nil
}
return nil, fmt.Errorf("Asset %s not found", name)
}
// MustAsset is like Asset but panics when Asset would return an error.
// It simplifies safe initialization of global variables.
func MustAsset(name string) []byte {
a, err := Asset(name)
if err != nil {
panic("asset: Asset(" + name + "): " + err.Error())
}
return a
}
// AssetInfo loads and returns the asset info for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func AssetInfo(name string) (os.FileInfo, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
}
return a.info, nil
}
return nil, fmt.Errorf("AssetInfo %s not found", name)
}
// AssetNames returns the names of the assets.
func AssetNames() []string {
names := make([]string, 0, len(_bindata))
for name := range _bindata {
names = append(names, name)
}
return names
}
// _bindata is a table, holding each asset generator, mapped to its name.
var _bindata = map[string]func() (*asset, error){
"openapi.json": openapiJson,
"openapi.pb": openapiPb,
}
// AssetDir returns the file names below a certain
// directory embedded in the file by go-bindata.
// For example if you run go-bindata on data/... and data contains the
// following hierarchy:
// data/
// foo.txt
// img/
// a.png
// b.png
// then AssetDir("data") would return []string{"foo.txt", "img"}
// AssetDir("data/img") would return []string{"a.png", "b.png"}
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
// AssetDir("") will return []string{"data"}.
func AssetDir(name string) ([]string, error) {
node := _bintree
if len(name) != 0 {
cannonicalName := strings.Replace(name, "\\", "/", -1)
pathList := strings.Split(cannonicalName, "/")
for _, p := range pathList {
node = node.Children[p]
if node == nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
}
}
if node.Func != nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
rv := make([]string, 0, len(node.Children))
for childName := range node.Children {
rv = append(rv, childName)
}
return rv, nil
}
type bintree struct {
Func func() (*asset, error)
Children map[string]*bintree
}
var _bintree = &bintree{nil, map[string]*bintree{
"openapi.json": &bintree{openapiJson, map[string]*bintree{}},
"openapi.pb": &bintree{openapiPb, map[string]*bintree{}},
}}
// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
data, err := Asset(name)
if err != nil {
return err
}
info, err := AssetInfo(name)
if err != nil {
return err
}
err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
if err != nil {
return err
}
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
if err != nil {
return err
}
err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
if err != nil {
return err
}
return nil
}
// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
children, err := AssetDir(name)
// File
if err != nil {
return RestoreAsset(dir, name)
}
// Dir
for _, child := range children {
err = RestoreAssets(dir, filepath.Join(name, child))
if err != nil {
return err
}
}
return nil
}
func _filePath(dir, name string) string {
cannonicalName := strings.Replace(name, "\\", "/", -1)
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
}