resources

package
v0.0.0-...-ced564e Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type LaunchData

type LaunchData struct {
	Processes []Process `yaml:"processes"`
}

type Process

type Process struct {
	Type      string `yaml:"type" json:"type"`
	Command   string `yaml:"command" json:"command"`
	Platforms struct {
		Cloudfoundry struct {
			SidecarFor []string `yaml:"sidecar_for" json:"sidecar_for"`
		} `yaml:"cloudfoundry" json:"cloudfoundry"`
	} `yaml:"platforms" json:"platforms"`
	Limits struct {
		Memory int `yaml:"memory" json:"memory"`
	} `yaml:"limits" json:"limits"`
}

func MergeProcesses

func MergeProcesses(listA []Process, listB []Process) []Process

func ProcDataToProcesses

func ProcDataToProcesses(procData map[string]string) []Process

func (*Process) Replaceable

func (p *Process) Replaceable(otherProc Process) bool

Jump to

Keyboard shortcuts

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