Documentation ¶
Overview ¶
Package resourcedescriptors Code generated by go-bindata. (@generated) DO NOT EDIT. sources: acme.cert-manager.io/v1/challenges.yaml acme.cert-manager.io/v1/orders.yaml acme.cert-manager.io/v1alpha2/challenges.yaml acme.cert-manager.io/v1alpha2/orders.yaml acme.cert-manager.io/v1alpha3/challenges.yaml acme.cert-manager.io/v1alpha3/orders.yaml acme.cert-manager.io/v1beta1/challenges.yaml acme.cert-manager.io/v1beta1/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 app.k8s.io/v1beta1/applications.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 auditregistration.k8s.io/v1alpha1/auditsinks.yaml authentication.k8s.io/v1/tokenrequests.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 autoscaling.k8s.io/v1/verticalpodautoscalercheckpoints.yaml autoscaling.k8s.io/v1/verticalpodautoscalers.yaml autoscaling.k8s.io/v1beta1/verticalpodautoscalers.yaml autoscaling.k8s.io/v1beta2/verticalpodautoscalercheckpoints.yaml autoscaling.k8s.io/v1beta2/verticalpodautoscalers.yaml autoscaling.kubedb.com/v1alpha1/elasticsearchautoscalers.yaml autoscaling.kubedb.com/v1alpha1/etcdautoscalers.yaml autoscaling.kubedb.com/v1alpha1/mariadbautoscalers.yaml autoscaling.kubedb.com/v1alpha1/memcachedautoscalers.yaml autoscaling.kubedb.com/v1alpha1/mongodbautoscalers.yaml autoscaling.kubedb.com/v1alpha1/mysqlautoscalers.yaml autoscaling.kubedb.com/v1alpha1/perconaxtradbautoscalers.yaml autoscaling.kubedb.com/v1alpha1/pgbouncerautoscalers.yaml autoscaling.kubedb.com/v1alpha1/postgresautoscalers.yaml autoscaling.kubedb.com/v1alpha1/proxysqlautoscalers.yaml autoscaling.kubedb.com/v1alpha1/redisautoscalers.yaml autoscaling.kubedb.com/v1alpha1/verticalautoscalercheckpoints.yaml autoscaling.kubedb.com/v1alpha1/verticalautoscalers.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/mariadbversions.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/v1/certificaterequests.yaml cert-manager.io/v1/certificates.yaml cert-manager.io/v1/clusterissuers.yaml cert-manager.io/v1/issuers.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 cert-manager.io/v1alpha3/certificaterequests.yaml cert-manager.io/v1alpha3/certificates.yaml cert-manager.io/v1alpha3/clusterissuers.yaml cert-manager.io/v1alpha3/issuers.yaml cert-manager.io/v1beta1/certificaterequests.yaml cert-manager.io/v1beta1/certificates.yaml cert-manager.io/v1beta1/clusterissuers.yaml cert-manager.io/v1beta1/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/ephemeralcontainers.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/podstatusresults.yaml core/v1/rangeallocations.yaml core/v1/replicationcontrollers.yaml core/v1/resourcequotas.yaml core/v1/secrets.yaml core/v1/serviceaccounts.yaml core/v1/services.yaml discovery.k8s.io/v1alpha1/endpointslice.yaml discovery.k8s.io/v1alpha1/endpointslices.yaml discovery.k8s.io/v1beta1/endpointslice.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/daemonsets.yaml extensions/v1beta1/deployments.yaml extensions/v1beta1/ingresses.yaml extensions/v1beta1/networkpolicies.yaml extensions/v1beta1/podsecuritypolicies.yaml extensions/v1beta1/replicasets.yaml extensions/v1beta1/scales.yaml flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas.yaml flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations.yaml grafana.searchlight.dev/v1alpha1/dashboards.yaml grafana.searchlight.dev/v1alpha1/dashboardtemplates.yaml grafana.searchlight.dev/v1alpha1/datasources.yaml imagepolicy.k8s.io/v1alpha1/imagereviews.yaml kubedb.com/v1alpha2/elasticsearches.yaml kubedb.com/v1alpha2/etcds.yaml kubedb.com/v1alpha2/mariadbs.yaml kubedb.com/v1alpha2/memcacheds.yaml kubedb.com/v1alpha2/mongodbs.yaml kubedb.com/v1alpha2/mysqls.yaml kubedb.com/v1alpha2/perconaxtradbs.yaml kubedb.com/v1alpha2/pgbouncers.yaml kubedb.com/v1alpha2/postgreses.yaml kubedb.com/v1alpha2/proxysqls.yaml kubedb.com/v1alpha2/redises.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/probes.yaml monitoring.coreos.com/v1/prometheuses.yaml monitoring.coreos.com/v1/prometheusrules.yaml monitoring.coreos.com/v1/servicemonitors.yaml monitoring.coreos.com/v1/thanosrulers.yaml monitoring.coreos.com/v1alpha1/alertmanagerconfigs.yaml networking.k8s.io/v1/networkpolicies.yaml networking.k8s.io/v1beta1/ingressclasses.yaml networking.k8s.io/v1beta1/ingresses.yaml node.k8s.io/v1alpha1/runtimeclasses.yaml node.k8s.io/v1beta1/runtimeclasses.yaml ops.kubedb.com/v1alpha1/elasticsearchopsrequests.yaml ops.kubedb.com/v1alpha1/etcdopsrequests.yaml ops.kubedb.com/v1alpha1/mariadbopsrequests.yaml ops.kubedb.com/v1alpha1/memcachedopsrequests.yaml ops.kubedb.com/v1alpha1/mongodbopsrequests.yaml ops.kubedb.com/v1alpha1/mysqlopsrequests.yaml ops.kubedb.com/v1alpha1/perconaxtradbopsrequests.yaml ops.kubedb.com/v1alpha1/pgbounceropsrequests.yaml ops.kubedb.com/v1alpha1/postgresopsrequests.yaml ops.kubedb.com/v1alpha1/proxysqlopsrequests.yaml ops.kubedb.com/v1alpha1/redisopsrequests.yaml policy/v1beta1/evictions.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/v1alpha1/clusterrolebindings.yaml rbac.authorization.k8s.io/v1alpha1/clusterroles.yaml rbac.authorization.k8s.io/v1alpha1/rolebindings.yaml rbac.authorization.k8s.io/v1alpha1/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 repositories.stash.appscode.com/v1alpha1/snapshots.yaml scheduling.k8s.io/v1/priorityclasses.yaml scheduling.k8s.io/v1alpha1/priorityclasses.yaml scheduling.k8s.io/v1beta1/priorityclasses.yaml settings.k8s.io/v1alpha1/podpresets.yaml snapshot.storage.k8s.io/v1/volumesnapshotclasses.yaml snapshot.storage.k8s.io/v1/volumesnapshotcontents.yaml snapshot.storage.k8s.io/v1/volumesnapshots.yaml snapshot.storage.k8s.io/v1beta1/volumesnapshotclasses.yaml snapshot.storage.k8s.io/v1beta1/volumesnapshotcontents.yaml snapshot.storage.k8s.io/v1beta1/volumesnapshots.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/restorebatches.yaml stash.appscode.com/v1beta1/restoresessions.yaml stash.appscode.com/v1beta1/tasks.yaml storage.k8s.io/v1/csidrivers.yaml storage.k8s.io/v1/csinodes.yaml storage.k8s.io/v1/storageclasses.yaml storage.k8s.io/v1/volumeattachments.yaml storage.k8s.io/v1alpha1/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.