Documentation ¶
Overview ¶
Package resourcedescriptors Code generated by go-bindata. (@generated) DO NOT EDIT. sources: acme.cert-manager.io/v1alpha2/challenges.yaml acme.cert-manager.io/v1alpha2/orders.yaml admissionregistration.k8s.io/v1/mutatingwebhookconfigurations.yaml admissionregistration.k8s.io/v1/validatingwebhookconfigurations.yaml admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations.yaml admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations.yaml apiextensions.k8s.io/v1/customresourcedefinitions.yaml apiextensions.k8s.io/v1beta1/customresourcedefinitions.yaml apiregistration.k8s.io/v1/apiservices.yaml apiregistration.k8s.io/v1beta1/apiservices.yaml appcatalog.appscode.com/v1alpha1/appbindings.yaml apps/v1/controllerrevisions.yaml apps/v1/daemonsets.yaml apps/v1/deployments.yaml apps/v1/replicasets.yaml apps/v1/statefulsets.yaml authentication.k8s.io/v1/tokenreviews.yaml authentication.k8s.io/v1beta1/tokenreviews.yaml authorization.k8s.io/v1/localsubjectaccessreviews.yaml authorization.k8s.io/v1/selfsubjectaccessreviews.yaml authorization.k8s.io/v1/selfsubjectrulesreviews.yaml authorization.k8s.io/v1/subjectaccessreviews.yaml authorization.k8s.io/v1beta1/localsubjectaccessreviews.yaml authorization.k8s.io/v1beta1/selfsubjectaccessreviews.yaml authorization.k8s.io/v1beta1/selfsubjectrulesreviews.yaml authorization.k8s.io/v1beta1/subjectaccessreviews.yaml autoscaling/v1/horizontalpodautoscalers.yaml autoscaling/v2beta1/horizontalpodautoscalers.yaml autoscaling/v2beta2/horizontalpodautoscalers.yaml batch/v1/jobs.yaml batch/v1beta1/cronjobs.yaml catalog.kubedb.com/v1alpha1/elasticsearchversions.yaml catalog.kubedb.com/v1alpha1/etcdversions.yaml catalog.kubedb.com/v1alpha1/memcachedversions.yaml catalog.kubedb.com/v1alpha1/mongodbversions.yaml catalog.kubedb.com/v1alpha1/mysqlversions.yaml catalog.kubedb.com/v1alpha1/perconaxtradbversions.yaml catalog.kubedb.com/v1alpha1/pgbouncerversions.yaml catalog.kubedb.com/v1alpha1/postgresversions.yaml catalog.kubedb.com/v1alpha1/proxysqlversions.yaml catalog.kubedb.com/v1alpha1/redisversions.yaml catalog.kubevault.com/v1alpha1/vaultserverversions.yaml cert-manager.io/v1alpha2/certificaterequests.yaml cert-manager.io/v1alpha2/certificates.yaml cert-manager.io/v1alpha2/clusterissuers.yaml cert-manager.io/v1alpha2/issuers.yaml certificates.k8s.io/v1beta1/certificatesigningrequests.yaml cluster.x-k8s.io/v1alpha3/machines.yaml cluster.x-k8s.io/v1alpha3/machinesets.yaml coordination.k8s.io/v1/leases.yaml coordination.k8s.io/v1beta1/leases.yaml core/v1/bindings.yaml core/v1/componentstatuses.yaml core/v1/configmaps.yaml core/v1/endpoints.yaml core/v1/events.yaml core/v1/limitranges.yaml core/v1/namespaces.yaml core/v1/nodes.yaml core/v1/persistentvolumeclaims.yaml core/v1/persistentvolumes.yaml core/v1/pods.yaml core/v1/replicationcontrollers.yaml core/v1/resourcequotas.yaml core/v1/secrets.yaml core/v1/serviceaccounts.yaml core/v1/services.yaml dba.kubedb.com/v1alpha1/elasticsearchmodificationrequests.yaml dba.kubedb.com/v1alpha1/etcdmodificationrequests.yaml dba.kubedb.com/v1alpha1/memcachedmodificationrequests.yaml dba.kubedb.com/v1alpha1/mongodbmodificationrequests.yaml dba.kubedb.com/v1alpha1/mysqlmodificationrequests.yaml dba.kubedb.com/v1alpha1/perconaxtradbmodificationrequests.yaml dba.kubedb.com/v1alpha1/pgbouncermodificationrequests.yaml dba.kubedb.com/v1alpha1/postgresmodificationrequests.yaml dba.kubedb.com/v1alpha1/proxysqlmodificationrequests.yaml dba.kubedb.com/v1alpha1/redismodificationrequests.yaml discovery.k8s.io/v1beta1/endpointslices.yaml engine.kubevault.com/v1alpha1/awsaccesskeyrequests.yaml engine.kubevault.com/v1alpha1/awsroles.yaml engine.kubevault.com/v1alpha1/azureaccesskeyrequests.yaml engine.kubevault.com/v1alpha1/azureroles.yaml engine.kubevault.com/v1alpha1/databaseaccessrequests.yaml engine.kubevault.com/v1alpha1/gcpaccesskeyrequests.yaml engine.kubevault.com/v1alpha1/gcproles.yaml engine.kubevault.com/v1alpha1/mongodbroles.yaml engine.kubevault.com/v1alpha1/mysqlroles.yaml engine.kubevault.com/v1alpha1/postgresroles.yaml engine.kubevault.com/v1alpha1/secretengines.yaml events.k8s.io/v1beta1/events.yaml extensions/v1beta1/ingresses.yaml extensions/v1beta1/networkpolicies.yaml extensions/v1beta1/podsecuritypolicies.yaml installer.kubedb.com/v1alpha1/kubedboperators.yaml installer.kubevault.com/v1alpha1/kubevaultoperators.yaml installer.stash.appscode.com/v1alpha1/stashoperators.yaml kubedb.com/v1alpha1/dormantdatabases.yaml kubedb.com/v1alpha1/elasticsearches.yaml kubedb.com/v1alpha1/etcds.yaml kubedb.com/v1alpha1/mariadbs.yaml kubedb.com/v1alpha1/memcacheds.yaml kubedb.com/v1alpha1/mongodbs.yaml kubedb.com/v1alpha1/mysqls.yaml kubedb.com/v1alpha1/perconaxtradbs.yaml kubedb.com/v1alpha1/pgbouncers.yaml kubedb.com/v1alpha1/postgreses.yaml kubedb.com/v1alpha1/proxysqls.yaml kubedb.com/v1alpha1/redises.yaml kubedb.com/v1alpha1/snapshots.yaml kubevault.com/v1alpha1/vaultservers.yaml meta.appscode.com/v1alpha1/resourcedescriptors.yaml monitoring.coreos.com/v1/alertmanagers.yaml monitoring.coreos.com/v1/podmonitors.yaml monitoring.coreos.com/v1/prometheuses.yaml monitoring.coreos.com/v1/prometheusrules.yaml monitoring.coreos.com/v1/servicemonitors.yaml networking.k8s.io/v1/networkpolicies.yaml networking.k8s.io/v1beta1/ingresses.yaml node.k8s.io/v1beta1/runtimeclasses.yaml policy/v1beta1/poddisruptionbudgets.yaml policy/v1beta1/podsecuritypolicies.yaml policy.kubevault.com/v1alpha1/vaultpolicies.yaml policy.kubevault.com/v1alpha1/vaultpolicybindings.yaml rbac.authorization.k8s.io/v1/clusterrolebindings.yaml rbac.authorization.k8s.io/v1/clusterroles.yaml rbac.authorization.k8s.io/v1/rolebindings.yaml rbac.authorization.k8s.io/v1/roles.yaml rbac.authorization.k8s.io/v1beta1/clusterrolebindings.yaml rbac.authorization.k8s.io/v1beta1/clusterroles.yaml rbac.authorization.k8s.io/v1beta1/rolebindings.yaml rbac.authorization.k8s.io/v1beta1/roles.yaml scheduling.k8s.io/v1/priorityclasses.yaml scheduling.k8s.io/v1beta1/priorityclasses.yaml stash.appscode.com/v1alpha1/recoveries.yaml stash.appscode.com/v1alpha1/repositories.yaml stash.appscode.com/v1alpha1/restics.yaml stash.appscode.com/v1beta1/backupbatches.yaml stash.appscode.com/v1beta1/backupblueprints.yaml stash.appscode.com/v1beta1/backupconfigurations.yaml stash.appscode.com/v1beta1/backupsessions.yaml stash.appscode.com/v1beta1/functions.yaml stash.appscode.com/v1beta1/restoresessions.yaml stash.appscode.com/v1beta1/tasks.yaml storage.k8s.io/v1/csinodes.yaml storage.k8s.io/v1/storageclasses.yaml storage.k8s.io/v1/volumeattachments.yaml storage.k8s.io/v1beta1/csidrivers.yaml storage.k8s.io/v1beta1/csinodes.yaml storage.k8s.io/v1beta1/storageclasses.yaml storage.k8s.io/v1beta1/volumeattachments.yaml voyager.appscode.com/v1beta1/certificates.yaml voyager.appscode.com/v1beta1/ingresses.yaml
Index ¶
- func Asset(name string) ([]byte, error)
- func AssetDir(name string) ([]string, error)
- func AssetInfo(name string) (os.FileInfo, error)
- func AssetNames() []string
- func LoadByFile(filename string) (*v1alpha1.ResourceDescriptor, error)
- func LoadByGVR(gvr schema.GroupVersionResource) (*v1alpha1.ResourceDescriptor, error)
- func LoadByName(name string) (*v1alpha1.ResourceDescriptor, error)
- func MustAsset(name string) []byte
- func RestoreAsset(dir, name string) error
- func RestoreAssets(dir, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Asset ¶
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 ¶
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 ¶
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 LoadByFile ¶
func LoadByFile(filename string) (*v1alpha1.ResourceDescriptor, error)
func LoadByGVR ¶
func LoadByGVR(gvr schema.GroupVersionResource) (*v1alpha1.ResourceDescriptor, error)
func LoadByName ¶
func LoadByName(name string) (*v1alpha1.ResourceDescriptor, error)
func MustAsset ¶
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
func RestoreAsset ¶
RestoreAsset restores an asset under the given directory
func RestoreAssets ¶
RestoreAssets restores an asset under the given directory recursively
Types ¶
This section is empty.