Documentation ¶
Overview ¶
Package models generated by go-bindata.// 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.12.yaml.template upup/models/cloudup/resources/addons/authentication.kope.io/k8s-1.12.yaml upup/models/cloudup/resources/addons/aws-cloud-controller.addons.k8s.io/k8s-1.18.yaml.template upup/models/cloudup/resources/addons/aws-ebs-csi-driver.addons.k8s.io/k8s-1.17.yaml.template upup/models/cloudup/resources/addons/aws-load-balancer-controller.addons.k8s.io/k8s-1.9.yaml.template upup/models/cloudup/resources/addons/certmanager.io/k8s-1.16.yaml.template 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/v1.4.0.yaml upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.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/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/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/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.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-v1.9.yaml.template upup/models/cloudup/resources/addons/networking.cilium.io/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/networking.flannel/k8s-1.12.yaml.template upup/models/cloudup/resources/addons/networking.kope.io/k8s-1.12.yaml upup/models/cloudup/resources/addons/networking.kuberouter/k8s-1.12.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.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.weave/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.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.template upup/models/cloudup/resources/addons/storage-aws.addons.k8s.io/v1.7.0.yaml.template upup/models/cloudup/resources/addons/storage-gce.addons.k8s.io/v1.7.0.yaml.template upup/models/cloudup/resources/addons/storage-openstack.addons.k8s.io/k8s-1.16.yaml.template
Index ¶
- Variables
- func Asset(name string) ([]byte, error)
- func AssetDir(name string) ([]string, error)
- func AssetInfo(name string) (os.FileInfo, error)
- func AssetNames() []string
- func MustAsset(name string) []byte
- func RestoreAsset(dir, name string) error
- func RestoreAssets(dir, name string) error
- type AssetPath
- func (p *AssetPath) Base() string
- func (p *AssetPath) CreateFile(data io.ReadSeeker, acl vfs.ACL) error
- func (p *AssetPath) Join(relativePath ...string) vfs.Path
- func (p *AssetPath) Path() string
- func (p *AssetPath) ReadDir() ([]vfs.Path, error)
- func (p *AssetPath) ReadFile() ([]byte, error)
- func (p *AssetPath) ReadTree() ([]vfs.Path, error)
- func (p *AssetPath) Remove() error
- func (p *AssetPath) RemoveAllVersions() error
- func (p *AssetPath) String() string
- func (p *AssetPath) WriteFile(data io.ReadSeeker, acl vfs.ACL) error
- func (p *AssetPath) WriteTo(out io.Writer) (int64, error)
Constants ¶
This section is empty.
Variables ¶
var ReadOnlyError = errors.New("AssetPath is read-only")
Functions ¶
func Asset ¶ added in v1.18.0
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
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
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
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
RestoreAsset restores an asset under the given directory
func RestoreAssets ¶ added in v1.18.0
RestoreAssets restores an asset under the given directory recursively
Types ¶
type AssetPath ¶
type AssetPath struct {
// contains filtered or unexported fields
}