cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: Apache-2.0 Imports: 37 Imported by: 6

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