cli

package
v0.0.0-...-f72491b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2018 License: Apache-2.0 Imports: 37 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (

	// flags
	FlagEmitPostMigrationEvent    = "emit-post-migration-event"
	FlagPostMigrationEventTimeout = "post-migration-event-timeout"
	FlagForcedSchemas             = "forced-schemas"
	FlagLockWithETCD              = "lock-with-etcd"
	FlagSyncETCDEvent             = "sync-etcd-event"
)

Variables

This section is empty.

Functions

func Run

func Run(name, usage string)

Run execute main command

func SnakeToCamel

func SnakeToCamel(in *pongo2.Value, param *pongo2.Value) (*pongo2.Value, *pongo2.Error)

SnakeToCamel changes value from snake case to camel case

Types

type SchemaWithPolicy

type SchemaWithPolicy struct {
	Schema   *schema.Schema
	Policies []string
}

SchemaWithPolicy ...

type TemplateDef

type TemplateDef struct {
	Type         string `yaml:"type"`          // All, ResourceGroup, Resource
	Package      string `yaml:"package"`       // Code generation directory. Default "gen".
	OutputPath   string `yaml:"output_path"`   // This could be template string. "dir/{{Resource.ID}}".go
	TemplatePath string `yaml:"template_path"` // Path to template
	Language     string `yaml:"language"`      // Type of programming language. Eg: go(Default), typescript
}

TemplateDef template def defines file

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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