assets

package
v4.2.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package assets Code generated by go-bindata. (@generated) DO NOT EDIT. sources: manifests/bootstrap-pod-v2.yaml manifests/containerruntimeconfig.crd.yaml manifests/controllerconfig.crd.yaml manifests/kubeletconfig.crd.yaml manifests/machineconfig.crd.yaml manifests/machineconfigcontroller/clusterrole.yaml manifests/machineconfigcontroller/clusterrolebinding.yaml manifests/machineconfigcontroller/controllerconfig.yaml manifests/machineconfigcontroller/deployment.yaml manifests/machineconfigcontroller/sa.yaml manifests/machineconfigdaemon/clusterrole.yaml manifests/machineconfigdaemon/clusterrolebinding.yaml manifests/machineconfigdaemon/daemonset.yaml manifests/machineconfigdaemon/events-clusterrole.yaml manifests/machineconfigdaemon/events-rolebinding-default.yaml manifests/machineconfigdaemon/events-rolebinding-target.yaml manifests/machineconfigdaemon/sa.yaml manifests/machineconfigpool.crd.yaml manifests/machineconfigserver/clusterrole.yaml manifests/machineconfigserver/clusterrolebinding.yaml manifests/machineconfigserver/csr-bootstrap-role-binding.yaml manifests/machineconfigserver/csr-renewal-role-binding.yaml manifests/machineconfigserver/daemonset.yaml manifests/machineconfigserver/kube-apiserver-serving-ca-configmap.yaml manifests/machineconfigserver/node-bootstrapper-sa.yaml manifests/machineconfigserver/node-bootstrapper-token.yaml manifests/machineconfigserver/sa.yaml manifests/master.machineconfigpool.yaml manifests/worker.machineconfigpool.yaml

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asset

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

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

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

func AssetNames() []string

AssetNames returns the names of the assets.

func MustAsset

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

func RestoreAsset(dir, name string) error

RestoreAsset restores an asset under the given directory

func RestoreAssets

func RestoreAssets(dir, name string) error

RestoreAssets restores an asset under the given directory recursively

Types

This section is empty.

Jump to

Keyboard shortcuts

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