struct
Kubernetes::GroupVersionForDiscovery
- Kubernetes::GroupVersionForDiscovery
- Struct
- Value
- Object
Overview
GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_apimachinery_pkg_apis_meta_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#group_version : String | Nil
groupVersion specifies the API group and version in the form "group/version"
-
#group_version=(group_version : String | Nil)
groupVersion specifies the API group and version in the form "group/version"
-
#version : String | Nil
version specifies the version in the form of "version".
-
#version=(version : String | Nil)
version specifies the version in the form of "version".
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
groupVersion specifies the API group and version in the form "group/version"
groupVersion specifies the API group and version in the form "group/version"
version specifies the version in the form of "version". This is to save the clients the trouble of splitting the GroupVersion.
version specifies the version in the form of "version". This is to save the clients the trouble of splitting the GroupVersion.