struct Kubernetes::CustomResourceDefinitionStatus

Overview

CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition

Included Modules

Defined in:

generated/models/io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

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

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

def self.new(*, __pull_for_json_serializable pull : ::JSON::PullParser) #

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

Macro Detail

macro field(name, type = nil, **options, &block) #

Helper macro for defining fields with automatic camelCase conversion


Instance Method Detail

def accepted_names : CustomResourceDefinitionNames | Nil #

acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec.


def accepted_names=(accepted_names : CustomResourceDefinitionNames | Nil) #

acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec.


def conditions : Array(CustomResourceDefinitionCondition) | Nil #

conditions indicate state for particular aspects of a CustomResourceDefinition


def conditions=(conditions : Array(CustomResourceDefinitionCondition) | Nil) #

conditions indicate state for particular aspects of a CustomResourceDefinition


def observed_generation : Int64 | Nil #

The generation observed by the CRD controller.


def observed_generation=(observed_generation : Int64 | Nil) #

The generation observed by the CRD controller.


def stored_versions : Array(String) | Nil #

storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from spec.versions while they exist in this list.


def stored_versions=(stored_versions : Array(String) | Nil) #

storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from spec.versions while they exist in this list.