Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def refresh(app_name, deployment, verbose):
"""Refresh the project's deployment(s) by recreating the currently running containers"""
set_verbosity(verbose)
hokusai.refresh(KUBE_CONTEXT, deployment, namespace=clean_string(app_name))
def restart(deployment, verbose):
"""Alias for 'refresh'"""
set_verbosity(verbose)
hokusai.refresh(KUBE_CONTEXT, deployment)
def restart(app_name, deployment, verbose):
"""Alias for 'refresh'"""
set_verbosity(verbose)
hokusai.refresh(KUBE_CONTEXT, deployment, namespace=clean_string(app_name))
def restart(deployment, verbose):
"""Alias for 'refresh'"""
set_verbosity(verbose)
hokusai.refresh(KUBE_CONTEXT, deployment)
def refresh(deployment, verbose):
"""Refresh the project's deployment(s) by recreating the currently running containers"""
set_verbosity(verbose)
hokusai.refresh(KUBE_CONTEXT, deployment)
def refresh(deployment, verbose):
"""Refresh the project's deployment(s) by recreating the currently running containers"""
set_verbosity(verbose)
hokusai.refresh(KUBE_CONTEXT, deployment)