Module: CronKubernetes

Extended by:
Configurable
Defined in:
lib/cron_kubernetes.rb,
lib/cron_kubernetes/version.rb,
lib/cron_kubernetes/cron_job.rb,
lib/cron_kubernetes/cron_tab.rb,
lib/cron_kubernetes/scheduler.rb,
lib/cron_kubernetes/configurable.rb,
lib/cron_kubernetes/context/kubectl.rb,
lib/cron_kubernetes/kubernetes_client.rb,
lib/cron_kubernetes/context/well_known.rb,
lib/cron_kubernetes/kubeclient_context.rb

Overview

Configure and deploy Kubernetes CronJobs from ruby

Defined Under Namespace

Modules: Configurable, Context Classes: CronJob, CronTab, KubeclientContext, KubernetesClient, Scheduler

Constant Summary collapse

VERSION =
"3.0.0"

Class Method Summary collapse

Methods included from Configurable

configuration, define_setting

Class Method Details

.schedule(&block) ⇒ Object



35
36
37
# File 'lib/cron_kubernetes.rb', line 35

def schedule(&block)
  CronKubernetes::Scheduler.instance.instance_eval(&block)
end