creinit

package
v0.5.1-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const SdkVersion = "v0.7.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 {
	ProjectPath  string
	ProjectName  string
	TemplateID   uint32
	WorkflowName string
}

type LanguageTemplate

type LanguageTemplate struct {
	Title     string
	Lang      TemplateLanguage
	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
	Lang   TemplateLanguage
}

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