From 64550cc8039ece334e087c79135fd352b2ebe99b Mon Sep 17 00:00:00 2001 From: rektdeckard Date: Thu, 12 Sep 2024 14:54:06 -0600 Subject: [PATCH] chore(app): add IsSandbox Template field --- pkg/bootstrap/bootstrap.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkg/bootstrap/bootstrap.go b/pkg/bootstrap/bootstrap.go index 9684bc16..f249a943 100644 --- a/pkg/bootstrap/bootstrap.go +++ b/pkg/bootstrap/bootstrap.go @@ -53,12 +53,13 @@ const ( ) type Template struct { - Name string `yaml:"name" json:"name"` - Desc string `yaml:"desc" json:"description,omitempty"` - URL string `yaml:"url" json:"url,omitempty"` - Docs string `yaml:"docs" json:"docs_url,omitempty"` - Image string `yaml:"image" json:"image_ref,omitempty"` - Tags []string `yaml:"tags" json:"tags,omitempty"` + Name string `yaml:"name" json:"name"` + Desc string `yaml:"desc" json:"description,omitempty"` + URL string `yaml:"url" json:"url,omitempty"` + Docs string `yaml:"docs" json:"docs_url,omitempty"` + Image string `yaml:"image" json:"image_ref,omitempty"` + Tags []string `yaml:"tags" json:"tags,omitempty"` + IsSandbox bool `yaml:"is_sandbox" json:"is_sandbox,omitempty"` } func FetchTemplates(ctx context.Context) ([]Template, error) {