class Kube::Helper

Included Modules

Defined in:

kube-helper/version.cr
kube/helper.cr

Constant Summary

VERSION = {{ (`shards version \"/srv/crystaldoc.info/github-spoved-kube-helper-v1.0.5/src/kube-helper\"`).chomp.stringify }}

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Kube::Helper::Group

apply_group(group : ::Group) apply_group, is_helm_app?(options : AppOptions) : Bool is_helm_app?

Instance methods inherited from module Kube::Helper::Helm

_helm_with_chart(options, &) _helm_with_chart, _helm_with_values(options, &) _helm_with_values, _run_helm(name, options : AppOptions, ks_path : String | Nil = nil) _run_helm, chart_installed?(name, options) chart_installed?, helm(*_args, namespace, silent : Bool = false, json : Bool = true, version : String | Nil = nil, ks_path : String | Nil = nil, value_files : Array(String) | Nil = nil) helm, kube_context : String | Nil kube_context, opt(key : Symbol) : Bool | String | Nil | Array(String) opt, update_helm_repos update_helm_repos, workdir : String workdir

Instance methods inherited from module Kube::Helper::Apps

apply_after(options, ks_path : String) apply_after, apply_app(app : AppOptions, group_name : String = "root") apply_app, apply_before(options, ks_path : String) apply_before, apply_kustomize(k : KustomizeConfig, ks_path)
apply_kustomize(app : AppOptions, group_name)
apply_kustomize
, run_after(app) run_after, run_before(app) run_before, should_skip?(options : AppOptions) : Bool
should_skip?(options : KustomizeConfig) : Bool
should_skip?

Instance methods inherited from module Kube::Helper::Secrets

apply_configmap(secret : Secret, ks_path : String) apply_configmap, apply_secret(secret : Secret, ks_path : String) apply_secret, build_secret_args(secret, args) build_secret_args, from_file_args(file) : String from_file_args, from_literal_args(env) : String from_literal_args, with_kube_template_file(args, &) with_kube_template_file

Instance methods inherited from module Kube::Helper::Kubectl

apply_file(file, ks_path : String) apply_file, apply_manifest(path : String, namespace : String, ks_path : String)
apply_manifest(path : String, ks_path : String)
apply_manifest
, create_ns(ns : Namespace)
create_ns(ns : String)
create_ns
, kube_context : String | Nil kube_context, kubectl(args : Array(String), silent = false)
kubectl(*args)
kubectl
, kubectl?(*args) kubectl?, opt(key : Symbol) : Bool | String | Nil | Array(String) opt

Instance methods inherited from module Kube::Helper::Args

parse_args parse_args

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.logger #

[View source]

Instance Method Detail

def check_apps #

[View source]
def check_config_maps(ks_path : String) #

[View source]
def check_groups #

[View source]
def check_kustomize #

[View source]
def check_manifests(ks_path : String) #

[View source]
def check_namespaces #

[View source]
def check_secrets(ks_path : String) #

[View source]
def config : Config #

[View source]
def dry_run? : Bool #

[View source]
def find_bins #

[View source]
def get_path(sub_path) #

[View source]
def group_names #

[View source]
def kube_context : String | Nil #

[View source]
def list_apps #

[View source]
def list_kustomize #

[View source]
def logger #

[View source]
def opt(key : Symbol) : Bool | String | Nil | Array(String) #

[View source]
def opts #

[View source]
def parse_cmd(cmd) #

[View source]
def run! #

[View source]
def run_cmd(cmd, args) #

[View source]
def workdir : String #

[View source]