tilt-starlark-codegen

command module
v0.0.0-...-0dbbd9f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

README

tilt-starlark-codegen

Build Status

Generates starlark functions based on Kubernetes-style API models

This repo is intended for:

  1. Developers who want to add new data models to Tilt, then auto-generate functions for the Tiltfile DSL.

  2. Developers who want to see a simple example of Go-based code generators based on Kubernetes' gengo

Usage

# Sample input and output
tilt-starlark-codegen ./path/to/input ./path/to/output

# In the Tilt codebase
tilt-starlark-codegen ./pkg/apis/core/v1alpha1 ./internal/tiltfile/v1alpha1

# Dry run (print to stdout)
tilt-starlark-codegen ./pkg/apis/core/v1alpha1 -

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL