def run(arg=None): pods = args.get(["_kubernetes", "_run"], arg) for pod in pods: facade.run(**args.remove_leading_underscores(pod))
def get(arg=None): reqs = args.get(['_http', '_get'], arg) get_each(reqs)
def apply(arg=None): templates = args.get(["_kubernetes", "_templates"], arg) bloks.kubernetes.provisioner.up() apply_each(templates)
def execute(arg=None): templates = args.get(["_kubernetes", "_templates"], arg) bloks.kubernetes.provisioner.up() execute_each(templates)
def logs(arg=None): templates = args.get(["_kubernetes", "_templates"], arg) bloks.kubernetes.provisioner.up() logs_each(templates)
def build(arg=None): images = args.get(["_docker", "_image"], arg) for image in images: facade.build(image)
def build(arg=None): apps = args.get(["_golang", "_build"], arg) for app in apps: facade.build(app)