Documentation ¶
Overview ¶
Package crds contains CustomResourceDefinition manifests for operator-framework APIs.
Package crds generated by go-bindata.// sources: operators.coreos.com_catalogsources.yaml operators.coreos.com_clusterserviceversions.yaml operators.coreos.com_installplans.yaml operators.coreos.com_olmconfigs.yaml operators.coreos.com_operatorconditions.yaml operators.coreos.com_operatorgroups.yaml operators.coreos.com_operators.yaml operators.coreos.com_subscriptions.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 CatalogSource() *apiextensionsv1.CustomResourceDefinition
- func ClusterServiceVersion() *apiextensionsv1.CustomResourceDefinition
- func InstallPlan() *apiextensionsv1.CustomResourceDefinition
- func MustAsset(name string) []byte
- func OLMConfig() *apiextensionsv1.CustomResourceDefinition
- func Operator() *apiextensionsv1.CustomResourceDefinition
- func OperatorCondition() *apiextensionsv1.CustomResourceDefinition
- func OperatorGroup() *apiextensionsv1.CustomResourceDefinition
- func RestoreAsset(dir, name string) error
- func RestoreAssets(dir, name string) error
- func Subscription() *apiextensionsv1.CustomResourceDefinition
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 CatalogSource ¶
func CatalogSource() *apiextensionsv1.CustomResourceDefinition
CatalogSource returns a copy of the CustomResourceDefinition for the latest version of the CatalogSource API.
func ClusterServiceVersion ¶
func ClusterServiceVersion() *apiextensionsv1.CustomResourceDefinition
ClusterServiceVersion returns a copy of the CustomResourceDefinition for the latest version of the ClusterServiceVersion API.
func InstallPlan ¶
func InstallPlan() *apiextensionsv1.CustomResourceDefinition
InstallPlan returns a copy of the CustomResourceDefinition for the latest version of the InstallPlan API.
func MustAsset ¶
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
func OLMConfig ¶ added in v0.11.0
func OLMConfig() *apiextensionsv1.CustomResourceDefinition
OLMConfig returns a copy of the CustomResourceDefinition for the latest version of the OLMConfig API.
func Operator ¶
func Operator() *apiextensionsv1.CustomResourceDefinition
Operator returns a copy of the CustomResourceDefinition for the latest version of the Operator API.
func OperatorCondition ¶ added in v0.3.23
func OperatorCondition() *apiextensionsv1.CustomResourceDefinition
OperatorCondition returns a copy of the CustomResourceDefinition for the latest version of the OperatorCondition API.
func OperatorGroup ¶
func OperatorGroup() *apiextensionsv1.CustomResourceDefinition
OperatorGroup returns a copy of the CustomResourceDefinition for the latest version of the OperatorGroup API.
func RestoreAsset ¶
RestoreAsset restores an asset under the given directory
func RestoreAssets ¶
RestoreAssets restores an asset under the given directory recursively
func Subscription ¶
func Subscription() *apiextensionsv1.CustomResourceDefinition
Subscription returns a copy of the CustomResourceDefinition for the latest version of the Subscription API.
Types ¶
This section is empty.