config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLatestImageName

func GetLatestImageName(eazy EazyYml) string

func GetLatestIntegrationImageName

func GetLatestIntegrationImageName(eazy EazyYml) string

Types

type EazyYml

type EazyYml struct {
	Name        string
	Runtime     string `yaml:"runtime"`
	EazyVersion string `yaml:"eazyVersion"`
	Releases    []string
	Image       string
	Build       struct {
		BuildEnvironment string `yaml:"buildEnvironment"`
		Image            string
		Command          []string
	}
	Deployment struct {
		Env    []string
		Ports  []string
		Health []string
	}
	Integration struct {
		Bootstrap        []string
		RunTest          []string `yaml:"runTest"`
		Dependencies     []string
		PeerDependencies []string `yaml:"peerDependencies"`
	}
}

EazyYml stuct for eazy.yml file in the repo's

func EazyYmlUnmarshal

func EazyYmlUnmarshal(in []byte) (EazyYml, error)

EazyzYmlUnmarshal EaztYml

type RuntimeConfig

type RuntimeConfig struct {
	User          string
	Env           []string
	Command       []string
	Mounts        []mount.Mount
	Wait          bool
	ExposePorts   bool
	Attach        bool
	IsRootImage   bool
	WorkingDir    string
	Dockerfile    string
	SkipImagePull bool
}

RuntimeConfig base config for all runtimes

Jump to

Keyboard shortcuts

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