class Kubernetes::Client
- Kubernetes::Client
- Reference
- Object
Defined in:
lib/kubernetes/src/kubernetes.cr:15lib/kubernetes/src/kubernetes.cr:1153
lib/kubernetes/src/kubernetes.cr:1157
lib/kubernetes/src/kubernetes.cr:1162
lib/kubernetes/src/kubernetes.cr:1167
lib/kubernetes/src/kubernetes.cr:1172
lib/kubernetes/src/kubernetes.cr:1178
lib/kubernetes/src/kubernetes.cr:1184
rails_app_operator.cr:17
rails_app_operator.cr:25
rails_app_operator.cr:103
rails_app_operator.cr:111
rails_app_operator.cr:119
Instance Method Summary
- #apply_certificate(resource : Resource(JSON::Any), spec, name : String = resource.metadata.name, namespace : String | Nil = resource.metadata.namespace, force : Bool = false, field_manager : String | Nil = nil)
- #apply_certificate(metadata : NamedTuple | Metadata, api_version : String = "cert-manager.io/v1", kind : String = "Certificate", force : Bool = false, field_manager : String | Nil = nil, **kwargs)
- #apply_configmap(resource : Kubernetes::ConfigMap, spec, name : String = resource.metadata.name, namespace : String | Nil = resource.metadata.namespace, force : Bool = false, field_manager : String | Nil = nil)
- #apply_configmap(metadata : NamedTuple, data, status = nil, api_version : String = "v1", kind : String = "ConfigMap", force : Bool = false, field_manager : String | Nil = nil)
- #apply_configmap(metadata : NamedTuple | Metadata, api_version : String = "/v1", kind : String = "ConfigMap", force : Bool = false, field_manager : String | Nil = nil, **kwargs)
- #apply_persistentvolume(resource : Resource(JSON::Any), spec, name : String = resource.metadata.name, force : Bool = false, field_manager : String | Nil = nil)
- #apply_persistentvolume(metadata : NamedTuple | Metadata, api_version : String = "/v1", kind : String = "PersistentVolume", force : Bool = false, field_manager : String | Nil = nil, **kwargs)
- #apply_persistentvolumeclaim(resource : Resource(JSON::Any), spec, name : String = resource.metadata.name, namespace : String | Nil = resource.metadata.namespace, force : Bool = false, field_manager : String | Nil = nil)
- #apply_persistentvolumeclaim(metadata : NamedTuple | Metadata, api_version : String = "/v1", kind : String = "PersistentVolumeClaim", force : Bool = false, field_manager : String | Nil = nil, **kwargs)
- #apply_rails_app(resource : Kubernetes::Resource(RailsApp), spec, name : String = resource.metadata.name, namespace : String | Nil = resource.metadata.namespace, force : Bool = false, field_manager : String | Nil = nil)
- #apply_rails_app(metadata : NamedTuple | Metadata, api_version : String = "jgaskins.dev/v1beta1", kind : String = "RailsApp", force : Bool = false, field_manager : String | Nil = nil, **kwargs)
- #certificate(name : String, namespace : String = "default", resource_version : String = "")
- #certificates(namespace : String | Nil = "default", label_selector = nil)
- #configmap(name : String, namespace : String = "default", resource_version : String = "")
- #configmap(namespace : String | Nil = "default", label_selector = nil)
- #delete_certificate(resource : Resource(JSON::Any))
- #delete_certificate(name : String, namespace : String = "default")
- #delete_configmap(resource : Kubernetes::ConfigMap)
- #delete_configmap(name : String, namespace : String = "default")
- #delete_persistentvolume(resource : Resource(JSON::Any))
- #delete_persistentvolume(name : String)
- #delete_persistentvolumeclaim(resource : Resource(JSON::Any))
- #delete_persistentvolumeclaim(name : String, namespace : String = "default")
- #delete_rails_app(resource : Kubernetes::Resource(RailsApp))
- #delete_rails_app(name : String, namespace : String = "default")
- #patch_certificate(name : String, namespace, **kwargs)
- #patch_certificate_subresource(name : String, subresource : String, namespace : String = "default", **args)
- #patch_configmap(name : String, namespace, **kwargs)
- #patch_configmap_subresource(name : String, subresource : String, namespace : String = "default", **args)
- #patch_persistentvolume(name : String, **kwargs)
- #patch_persistentvolume_subresource(name : String, subresource : String, **args)
- #patch_persistentvolumeclaim(name : String, namespace, **kwargs)
- #patch_persistentvolumeclaim_subresource(name : String, subresource : String, namespace : String = "default", **args)
- #patch_rails_app(name : String, namespace, **kwargs)
- #patch_rails_app_subresource(name : String, subresource : String, namespace : String = "default", **args)
- #persistentvolume(name : String, namespace : String = "default", resource_version : String = "")
- #persistentvolumeclaim(name : String, namespace : String = "default", resource_version : String = "")
- #persistentvolumeclaims(namespace : String | Nil = "default", label_selector = nil)
- #persistentvolumes(label_selector = nil)
- #rails_app(name : String, namespace : String = "default", resource_version : String = "")
- #rails_apps(namespace : String | Nil = "default", label_selector = nil)
- #watch_certificates(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &)
- #watch_configmap(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &)
- #watch_persistentvolumeclaims(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &)
- #watch_persistentvolumes(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &)
- #watch_rails_apps(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &)
Instance Method Detail
def apply_certificate(resource : Resource(JSON::Any), spec, name : String = resource.metadata.name, namespace : String | Nil = resource.metadata.namespace, force : Bool = false, field_manager : String | Nil = nil)
#
def apply_certificate(metadata : NamedTuple | Metadata, api_version : String = "cert-manager.io/v1", kind : String = "Certificate", force : Bool = false, field_manager : String | Nil = nil, **kwargs)
#
def apply_configmap(resource : Kubernetes::ConfigMap, spec, name : String = resource.metadata.name, namespace : String | Nil = resource.metadata.namespace, force : Bool = false, field_manager : String | Nil = nil)
#
def apply_configmap(metadata : NamedTuple, data, status = nil, api_version : String = "v1", kind : String = "ConfigMap", force : Bool = false, field_manager : String | Nil = nil)
#
def apply_configmap(metadata : NamedTuple | Metadata, api_version : String = "/v1", kind : String = "ConfigMap", force : Bool = false, field_manager : String | Nil = nil, **kwargs)
#
def apply_persistentvolume(resource : Resource(JSON::Any), spec, name : String = resource.metadata.name, force : Bool = false, field_manager : String | Nil = nil)
#
def apply_persistentvolume(metadata : NamedTuple | Metadata, api_version : String = "/v1", kind : String = "PersistentVolume", force : Bool = false, field_manager : String | Nil = nil, **kwargs)
#
def apply_persistentvolumeclaim(resource : Resource(JSON::Any), spec, name : String = resource.metadata.name, namespace : String | Nil = resource.metadata.namespace, force : Bool = false, field_manager : String | Nil = nil)
#
def apply_persistentvolumeclaim(metadata : NamedTuple | Metadata, api_version : String = "/v1", kind : String = "PersistentVolumeClaim", force : Bool = false, field_manager : String | Nil = nil, **kwargs)
#
def apply_rails_app(resource : Kubernetes::Resource(RailsApp), spec, name : String = resource.metadata.name, namespace : String | Nil = resource.metadata.namespace, force : Bool = false, field_manager : String | Nil = nil)
#
def apply_rails_app(metadata : NamedTuple | Metadata, api_version : String = "jgaskins.dev/v1beta1", kind : String = "RailsApp", force : Bool = false, field_manager : String | Nil = nil, **kwargs)
#
def patch_certificate_subresource(name : String, subresource : String, namespace : String = "default", **args)
#
def patch_configmap_subresource(name : String, subresource : String, namespace : String = "default", **args)
#
def patch_persistentvolumeclaim_subresource(name : String, subresource : String, namespace : String = "default", **args)
#
def patch_rails_app_subresource(name : String, subresource : String, namespace : String = "default", **args)
#
def persistentvolume(name : String, namespace : String = "default", resource_version : String = "")
#
def persistentvolumeclaim(name : String, namespace : String = "default", resource_version : String = "")
#
def watch_certificates(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &)
#
def watch_configmap(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &)
#
def watch_persistentvolumeclaims(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &)
#
def watch_persistentvolumes(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &)
#
def watch_rails_apps(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &)
#