module Kubernetes
Defined in:
crd.crkubernetes.cr
serializable.cr
Constant Summary
-
VERSION =
"0.1.0"
Macro Summary
-
define_resource(name, group, type, version = "v1", prefix = "apis", api_version = nil, kind = nil, list_type = nil, singular_name = nil, cluster_wide = false)
Define a new Kubernetes resource type.
- import_crd(yaml_file)
Macro Detail
macro define_resource(name, group, type, version = "v1", prefix = "apis", api_version = nil, kind = nil, list_type = nil, singular_name = nil, cluster_wide = false)
#
Define a new Kubernetes resource type. This can be used to specify your CRDs to be able to manage your custom resources in Crystal code.