creinit

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HelloWorldTemplate string = "HelloWorld"
	PoRTemplate        string = "PoR"
	ConfHTTPTemplate   string = "ConfHTTP"
)
View Source
const (
	SdkVersion              = "v1.0.0"
	EVMCapabilitiesVersion  = "v1.0.0-beta.0"
	HTTPCapabilitiesVersion = "v1.0.0-beta.0"
	CronCapabilitiesVersion = "v1.0.0-beta.0"
)
View Source
const SecretsFileName = "secrets.yaml"

Variables

This section is empty.

Functions

func New

func New(runtimeContext *runtime.Context) *cobra.Command

Types

type Inputs

type Inputs struct {
	ProjectName  string `validate:"omitempty,project_name" cli:"project-name"`
	TemplateID   uint32 `validate:"omitempty,min=0"`
	WorkflowName string `validate:"omitempty,workflow_name" cli:"workflow-name"`
	RPCUrl       string `validate:"omitempty,url" cli:"rpc-url"`
}

type LanguageTemplate

type LanguageTemplate struct {
	Title      string
	Lang       TemplateLanguage
	EntryPoint string
	Workflows  []WorkflowTemplate
}

func (LanguageTemplate) GetTitle

func (l LanguageTemplate) GetTitle() string

type TemplateLanguage

type TemplateLanguage string
const (
	TemplateLangGo TemplateLanguage = "go"
	TemplateLangTS TemplateLanguage = "typescript"
)

type TitledTemplate

type TitledTemplate interface {
	GetTitle() string
}

type WorkflowTemplate

type WorkflowTemplate struct {
	Folder string
	Title  string
	ID     uint32
	Name   string
}

func (WorkflowTemplate) GetTitle

func (w WorkflowTemplate) GetTitle() string

Jump to

Keyboard shortcuts

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