models

package
v1.19.0-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2020 License: Apache-2.0 Imports: 10 Imported by: 188

Documentation

Overview

Code generated for package models by go-bindata DO NOT EDIT. (@generated) sources: upup/models/cloudup/resources/addons/OWNERS upup/models/cloudup/resources/addons/anonymous-issuer-discovery.addons.k8s.io/k8s-1.16.yaml.template upup/models/cloudup/resources/addons/authentication.aws/k8s-1.10.yaml.template upup/models/cloudup/resources/addons/authentication.aws/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/authentication.kope.io/k8s-1.12.yaml upup/models/cloudup/resources/addons/authentication.kope.io/k8s-1.8.yaml upup/models/cloudup/resources/addons/cluster-autoscaler.addons.k8s.io/k8s-1.15.yaml.template upup/models/cloudup/resources/addons/core.addons.k8s.io/addon.yaml upup/models/cloudup/resources/addons/core.addons.k8s.io/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/core.addons.k8s.io/k8s-1.7.yaml.template upup/models/cloudup/resources/addons/core.addons.k8s.io/v1.4.0.yaml upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.6.yaml.template upup/models/cloudup/resources/addons/digitalocean-cloud-controller.addons.k8s.io/k8s-1.8.yaml.template upup/models/cloudup/resources/addons/dns-controller.addons.k8s.io/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/dns-controller.addons.k8s.io/k8s-1.6.yaml.template upup/models/cloudup/resources/addons/external-dns.addons.k8s.io/README.md upup/models/cloudup/resources/addons/external-dns.addons.k8s.io/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/external-dns.addons.k8s.io/k8s-1.6.yaml.template upup/models/cloudup/resources/addons/kops-controller.addons.k8s.io/k8s-1.16.yaml.template upup/models/cloudup/resources/addons/kube-dns.addons.k8s.io/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/kube-dns.addons.k8s.io/k8s-1.6.yaml.template upup/models/cloudup/resources/addons/kubelet-api.rbac.addons.k8s.io/k8s-1.9.yaml upup/models/cloudup/resources/addons/limit-range.addons.k8s.io/addon.yaml upup/models/cloudup/resources/addons/limit-range.addons.k8s.io/v1.5.0.yaml upup/models/cloudup/resources/addons/metadata-proxy.addons.k8s.io/addon.yaml upup/models/cloudup/resources/addons/metadata-proxy.addons.k8s.io/v0.1.12.yaml upup/models/cloudup/resources/addons/metrics-server.addons.k8s.io/k8s-1.11.yaml.template upup/models/cloudup/resources/addons/networking.amazon-vpc-routed-eni/k8s-1.10.yaml.template upup/models/cloudup/resources/addons/networking.amazon-vpc-routed-eni/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/networking.amazon-vpc-routed-eni/k8s-1.16.yaml.template upup/models/cloudup/resources/addons/networking.cilium.io/k8s-1.12-v1.8.yaml.template upup/models/cloudup/resources/addons/networking.cilium.io/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/networking.cilium.io/k8s-1.7.yaml.template upup/models/cloudup/resources/addons/networking.flannel/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/networking.flannel/k8s-1.6.yaml.template upup/models/cloudup/resources/addons/networking.kope.io/k8s-1.12.yaml upup/models/cloudup/resources/addons/networking.kope.io/k8s-1.6.yaml upup/models/cloudup/resources/addons/networking.kuberouter/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/networking.kuberouter/k8s-1.6.yaml.template upup/models/cloudup/resources/addons/networking.projectcalico.org/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/networking.projectcalico.org/k8s-1.16.yaml.template upup/models/cloudup/resources/addons/networking.projectcalico.org/k8s-1.7-v3.yaml.template upup/models/cloudup/resources/addons/networking.projectcalico.org/k8s-1.7.yaml.template upup/models/cloudup/resources/addons/networking.projectcalico.org.canal/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/networking.projectcalico.org.canal/k8s-1.15.yaml.template upup/models/cloudup/resources/addons/networking.projectcalico.org.canal/k8s-1.16.yaml.template upup/models/cloudup/resources/addons/networking.projectcalico.org.canal/k8s-1.9.yaml.template upup/models/cloudup/resources/addons/networking.weave/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/networking.weave/k8s-1.9.yaml.template upup/models/cloudup/resources/addons/node-authorizer.addons.k8s.io/k8s-1.10.yaml.template upup/models/cloudup/resources/addons/node-authorizer.addons.k8s.io/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/node-termination-handler.aws/k8s-1.11.yaml.template upup/models/cloudup/resources/addons/nodelocaldns.addons.k8s.io/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/openstack.addons.k8s.io/k8s-1.13.yaml.template upup/models/cloudup/resources/addons/podsecuritypolicy.addons.k8s.io/k8s-1.10.yaml.template upup/models/cloudup/resources/addons/podsecuritypolicy.addons.k8s.io/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/rbac.addons.k8s.io/k8s-1.8.yaml upup/models/cloudup/resources/addons/scheduler.addons.k8s.io/v1.7.0.yaml upup/models/cloudup/resources/addons/spotinst-kubernetes-cluster-controller.addons.k8s.io/v1.14.0.yaml.template upup/models/cloudup/resources/addons/spotinst-kubernetes-cluster-controller.addons.k8s.io/v1.9.0.yaml.template upup/models/cloudup/resources/addons/storage-aws.addons.k8s.io/v1.15.0.yaml upup/models/cloudup/resources/addons/storage-aws.addons.k8s.io/v1.7.0.yaml upup/models/cloudup/resources/addons/storage-gce.addons.k8s.io/v1.7.0.yaml upup/models/cloudup/resources/addons/storage-openstack.addons.k8s.io/k8s-1.16.yaml.template

Index

Constants

This section is empty.

Variables

View Source
var ReadOnlyError = errors.New("AssetPath is read-only")

Functions

func Asset added in v1.18.0

func Asset(name string) ([]byte, error)

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 AssetDir added in v1.18.0

func AssetDir(name string) ([]string, error)

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 AssetInfo added in v1.18.0

func AssetInfo(name string) (os.FileInfo, error)

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 AssetNames added in v1.18.0

func AssetNames() []string

AssetNames returns the names of the assets.

func MustAsset added in v1.18.0

func MustAsset(name string) []byte

MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.

func RestoreAsset added in v1.18.0

func RestoreAsset(dir, name string) error

RestoreAsset restores an asset under the given directory

func RestoreAssets added in v1.18.0

func RestoreAssets(dir, name string) error

RestoreAssets restores an asset under the given directory recursively

Types

type AssetPath

type AssetPath struct {
	// contains filtered or unexported fields
}

func NewAssetPath

func NewAssetPath(location string) *AssetPath

func (*AssetPath) Base

func (p *AssetPath) Base() string

func (*AssetPath) CreateFile

func (p *AssetPath) CreateFile(data io.ReadSeeker, acl vfs.ACL) error

func (*AssetPath) Join

func (p *AssetPath) Join(relativePath ...string) vfs.Path

func (*AssetPath) Path

func (p *AssetPath) Path() string

func (*AssetPath) ReadDir

func (p *AssetPath) ReadDir() ([]vfs.Path, error)

func (*AssetPath) ReadFile

func (p *AssetPath) ReadFile() ([]byte, error)

ReadFile implements Path::ReadFile

func (*AssetPath) ReadTree

func (p *AssetPath) ReadTree() ([]vfs.Path, error)

func (*AssetPath) Remove

func (p *AssetPath) Remove() error

func (*AssetPath) RemoveAllVersions added in v1.16.3

func (p *AssetPath) RemoveAllVersions() error

func (*AssetPath) String

func (p *AssetPath) String() string

func (*AssetPath) WriteFile

func (p *AssetPath) WriteFile(data io.ReadSeeker, acl vfs.ACL) error

func (*AssetPath) WriteTo added in v1.10.0

func (p *AssetPath) WriteTo(out io.Writer) (int64, error)

WriteTo implements io.WriterTo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL