class K8S::Api::Apps::V1::ControllerRevision
Overview
ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- K8S::Kubernetes::Resource::Object
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.16/api/apps/v1/controller_revision.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, revision : Int32, data : Apimachinery::Runtime::RawExtension? = nil, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil)
Class Method Summary
Instance Method Summary
- #api_version : String
- #data : Apimachinery::Runtime::RawExtension?
- #data=(data : Apimachinery::Runtime::RawExtension?)
- #kind : String
- #merge(other)
-
#metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
Standard object's metadata.
-
#metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
Standard object's metadata.
- #revision : Int32
- #revision=(revision : Int32)
- #to_h
Instance methods inherited from module K8S::Kubernetes::Resource::Object
api_version : String
api_version,
kind : String
kind,
metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
metadata,
metadata! : Apimachinery::Apis::Meta::V1::ObjectMeta
metadata!
Instance methods inherited from class K8S::Kubernetes::Resource
api_version : String
api_version,
kind : String
kind
Constructor methods inherited from class K8S::Kubernetes::Resource
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Class methods inherited from class K8S::Kubernetes::Resource
from_file(file)
from_file,
from_files(*paths)
from_files
Constructor Detail
Class Method Detail
Instance Method Detail
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata