class Pyrite::Apimachinery::Apis::Meta::V1::APIVersions

Overview

APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.

Defined in:

versions/v1.14/apimachinery/apis/meta/v1/api_versions.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.


def self.new(pull : JSON::PullParser) #

APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.


def self.new(*, api_version : String? = nil, kind : String? = nil, server_address_by_client_cidrs : Array, versions : Array) #

Instance Method Detail

def api_version : String? #

def api_version=(api_version : String?) #

def kind : String? #

def kind=(kind : String?) #

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 : Array(String) #

def versions=(versions : Array(String)) #