class K8S::Apimachinery::Apis::Meta::V1::APIGroup
- K8S::Apimachinery::Apis::Meta::V1::APIGroup
- Reference
- Object
Overview
APIGroup contains the name, the supported versions, and the preferred version of a group.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.15/apimachinery/apis/meta/v1/api_group.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, name : String, versions : Array(Apimachinery::Apis::Meta::V1::GroupVersionForDiscovery), api_version : String? = nil, kind : String? = nil, preferred_version : Apimachinery::Apis::Meta::V1::GroupVersionForDiscovery? = nil, server_address_by_client_cidrs : Array(Apimachinery::Apis::Meta::V1::ServerAddressByClientCIDR)? = nil)
Instance Method Summary
- #api_version : String?
- #api_version=(api_version : String?)
- #kind : String?
- #kind=(kind : String?)
- #name : String
- #name=(name : String)
- #preferred_version : Apimachinery::Apis::Meta::V1::GroupVersionForDiscovery?
- #preferred_version=(preferred_version : Apimachinery::Apis::Meta::V1::GroupVersionForDiscovery?)
- #server_address_by_client_cidrs : Array(Apimachinery::Apis::Meta::V1::ServerAddressByClientCIDR)?
- #server_address_by_client_cidrs=(server_address_by_client_cidrs : Array(Apimachinery::Apis::Meta::V1::ServerAddressByClientCIDR)?)
- #versions : Array(Apimachinery::Apis::Meta::V1::GroupVersionForDiscovery)
- #versions=(versions : Array(Apimachinery::Apis::Meta::V1::GroupVersionForDiscovery))
Constructor Detail
def self.new(*, name : String, versions : Array(Apimachinery::Apis::Meta::V1::GroupVersionForDiscovery), api_version : String? = nil, kind : String? = nil, preferred_version : Apimachinery::Apis::Meta::V1::GroupVersionForDiscovery? = nil, server_address_by_client_cidrs : Array(Apimachinery::Apis::Meta::V1::ServerAddressByClientCIDR)? = nil)
#
Instance Method Detail
def preferred_version=(preferred_version : Apimachinery::Apis::Meta::V1::GroupVersionForDiscovery?)
#
def server_address_by_client_cidrs : Array(Apimachinery::Apis::Meta::V1::ServerAddressByClientCIDR)?
#
def server_address_by_client_cidrs=(server_address_by_client_cidrs : Array(Apimachinery::Apis::Meta::V1::ServerAddressByClientCIDR)?)
#
def versions=(versions : Array(Apimachinery::Apis::Meta::V1::GroupVersionForDiscovery))
#