creinit

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: MIT Imports: 18 Imported by: 1 module, 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 (
	HelloWorldTemplate string = "HelloWorld"
	PoRTemplate        string = "PoR"
)
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