class Kubernetes::Client

Defined in:

lib/kubernetes/src/kubernetes.cr:15
lib/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

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) #

[View source]
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) #

[View source]
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) #

[View source]
def apply_configmap(metadata : NamedTuple, data, status = nil, api_version : String = "v1", kind : String = "ConfigMap", force : Bool = false, field_manager : String | Nil = nil) #

[View source]
def apply_configmap(metadata : NamedTuple | Metadata, api_version : String = "/v1", kind : String = "ConfigMap", force : Bool = false, field_manager : String | Nil = nil, **kwargs) #

[View source]
def apply_persistentvolume(resource : Resource(JSON::Any), spec, name : String = resource.metadata.name, force : Bool = false, field_manager : String | Nil = nil) #

[View source]
def apply_persistentvolume(metadata : NamedTuple | Metadata, api_version : String = "/v1", kind : String = "PersistentVolume", force : Bool = false, field_manager : String | Nil = nil, **kwargs) #

[View source]
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) #

[View source]
def apply_persistentvolumeclaim(metadata : NamedTuple | Metadata, api_version : String = "/v1", kind : String = "PersistentVolumeClaim", force : Bool = false, field_manager : String | Nil = nil, **kwargs) #

[View source]
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 certificate(name : String, namespace : String = "default", resource_version : String = "") #

[View source]
def certificates(namespace : String | Nil = "default", label_selector = nil) #

[View source]
def configmap(name : String, namespace : String = "default", resource_version : String = "") #

[View source]
def configmap(namespace : String | Nil = "default", label_selector = nil) #

[View source]
def delete_certificate(resource : Resource(JSON::Any)) #

[View source]
def delete_certificate(name : String, namespace : String = "default") #

[View source]
def delete_configmap(resource : Kubernetes::ConfigMap) #

[View source]
def delete_configmap(name : String, namespace : String = "default") #

[View source]
def delete_persistentvolume(resource : Resource(JSON::Any)) #

[View source]
def delete_persistentvolume(name : String) #

[View source]
def delete_persistentvolumeclaim(resource : Resource(JSON::Any)) #

[View source]
def delete_persistentvolumeclaim(name : String, namespace : String = "default") #

[View source]
def delete_rails_app(resource : Kubernetes::Resource(RailsApp)) #

def delete_rails_app(name : String, namespace : String = "default") #

def patch_certificate(name : String, namespace, **kwargs) #

[View source]
def patch_certificate_subresource(name : String, subresource : String, namespace : String = "default", **args) #

[View source]
def patch_configmap(name : String, namespace, **kwargs) #

[View source]
def patch_configmap_subresource(name : String, subresource : String, namespace : String = "default", **args) #

[View source]
def patch_persistentvolume(name : String, **kwargs) #

[View source]
def patch_persistentvolume_subresource(name : String, subresource : String, **args) #

[View source]
def patch_persistentvolumeclaim(name : String, namespace, **kwargs) #

[View source]
def patch_persistentvolumeclaim_subresource(name : String, subresource : String, namespace : String = "default", **args) #

[View source]
def patch_rails_app(name : String, namespace, **kwargs) #

def patch_rails_app_subresource(name : String, subresource : String, namespace : String = "default", **args) #

def persistentvolume(name : String, namespace : String = "default", resource_version : String = "") #

[View source]
def persistentvolumeclaim(name : String, namespace : String = "default", resource_version : String = "") #

[View source]
def persistentvolumeclaims(namespace : String | Nil = "default", label_selector = nil) #

[View source]
def persistentvolumes(label_selector = nil) #

[View source]
def rails_app(name : String, namespace : String = "default", resource_version : String = "") #

def rails_apps(namespace : String | Nil = "default", label_selector = nil) #

def watch_certificates(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &) #

[View source]
def watch_configmap(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &) #

[View source]
def watch_persistentvolumeclaims(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &) #

[View source]
def watch_persistentvolumes(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &) #

[View source]
def watch_rails_apps(resource_version = "0", timeout : Time::Span = 10.minutes, namespace : String | Nil = nil, labels label_selector : String = "", &) #