template

package
v0.0.0-...-4c964c4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateScriptFromTemplate

func GenerateScriptFromTemplate(name string, data interface{}) (string, error)

func LoadTemplates

func LoadTemplates() error

Types

type CloneCodePayload

type CloneCodePayload struct {
	RepoURL  string
	Image    string
	Branch   string
	RepoName string
	Name     string
	Email    string
}

type RunSSHServerPayload

type RunSSHServerPayload struct {
	Port string
}

type RunVSCodeWebPayload

type RunVSCodeWebPayload struct {
	Port string
}

type SetupGitCredentialsPayload

type SetupGitCredentialsPayload struct {
	CloneURLWithCreds string
}

type SetupSSHServerPayload

type SetupSSHServerPayload struct {
	Username   string
	AccessType enum.GitspaceAccessType
}

type SetupUserPayload

type SetupUserPayload struct {
	Username   string
	AccessKey  string
	AccessType enum.GitspaceAccessType
	HomeDir    string
}

Jump to

Keyboard shortcuts

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