Documentation ¶
Index ¶
- Constants
- func BuildDockerLoad(target, tag string, dkr *docker.Client, r io.Reader, w io.Writer, ...) error
- func GenerateId(prefix string, size int) string
- func GetDefaultProctype(b *pb.Build) string
- func GetJobID(name, process_type string) string
- func GetProcessCommand(proctype string, b *pb.Build) (command []string, err error)
- func LoadEnvironment(data []byte) pb.Environment
- func MergeAppDomains(domains []string, item string) []string
- func ScaleApp(c *kubernetes.Clientset, namespace, app, image string, ...) (err error)
- func UpdateApp(c *kubernetes.Clientset, build *pb.Build, ns, image string, sqlProxy bool, ...) error
- type ExtProcfile
- type Process
- type Procfile
- type StdProcfile
Constants ¶
View Source
const ( StandardType = "standard" ExtentedType = "extended" WebProcessKind = "web" CmdProcessKind = "cmd" RunProcessKind = "run" )
Variables ¶
This section is empty.
Functions ¶
func BuildDockerLoad ¶
func GenerateId ¶
func GetDefaultProctype ¶
func GetProcessCommand ¶
func LoadEnvironment ¶
func LoadEnvironment(data []byte) pb.Environment
func MergeAppDomains ¶
Types ¶
type ExtProcfile ¶
func (ExtProcfile) HasProcessType ¶
func (s ExtProcfile) HasProcessType(key string) bool
func (ExtProcfile) Version ¶
func (s ExtProcfile) Version() string
type Procfile ¶
type Procfile interface { Version() string HasProcessType(string) bool Command(proctype string) ([]string, error) }
func ParseProcfile ¶
type StdProcfile ¶
func (StdProcfile) HasProcessType ¶
func (s StdProcfile) HasProcessType(key string) bool
func (StdProcfile) Version ¶
func (s StdProcfile) Version() string
Click to show internal directories.
Click to hide internal directories.