serialize

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoMain

type RepoMain struct {
	Name         string   `yaml:"name" validate:"required,alphanum"`
	Desc         string   `yaml:"description" validate:"required"`
	TemplateURLs []string `yaml:"templates"`
}

RepoMain yaml file stored as `repo.yml` in the projects root directory

type RepoTemplateFile

type RepoTemplateFile struct {
	Name     string   `yaml:"name" validate:"required,alphanum"`
	Desc     string   `yaml:"description" validate:"required"`
	URL      string   `yaml:"url" validate:"required,url"`
	Versions []string `yaml:"versions"`
}

RepoTemplateFile file written to a repo as `template/${TEMPLATE}.yml`

type TemplateMain

type TemplateMain struct {
	Name string            `yaml:"name" validate:"required,alphanum"`
	Desc string            `yaml:"description" validate:"required"`
	Envs map[string]string `yaml:"envs"` // Required environment variables
}

TemplateMain template yaml file stored as `.kick.yml` in the projects root directory

Jump to

Keyboard shortcuts

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