ci

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CiYml

type CiYml struct {
	Prepare Steps              `yaml:"prepare"`
	Test    Steps              `yaml:"test"`
	Run     map[string]Service `yaml:"run"`
}

func ReadYmlFile

func ReadYmlFile(fs billy.Filesystem, path string) (*CiYml, error)

type Network

type Network struct {
	Path      string `yaml:"path"`
	StripPath bool   `yaml:"stripPath"`
	Paths     []Path `yaml:"paths"`
	Ports     []Port `yaml:"ports"`
}

type Path

type Path struct {
	Port      int    `yaml:"port"`
	Path      string `yaml:"path"`
	StripPath bool   `yaml:"stripPath"`
}

type Port

type Port struct {
	Port     int  `yaml:"port"`
	IsPublic bool `yaml:"isPublic"`
}

type Service

type Service struct {
	Steps    []Step  `yaml:"steps"`
	Plan     int     `yaml:"plan"`
	Replicas int     `yaml:"replicas"`
	IsPublic bool    `yaml:"isPublic"`
	Network  Network `yaml:"network"`
}

type Step

type Step struct {
	Name    string `yaml:"name"`
	Command string `yaml:"command"`
}

type Steps

type Steps struct {
	Steps []Step `yaml:"steps"`
}

Jump to

Keyboard shortcuts

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