config

package
v0.0.0-...-5a711ff Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApplicationSetting = &Application{}
View Source
var DatabaseSetting = &Database{}

Functions

func SetUp

func SetUp(path string)

Types

type Application

type Application struct {
	RunType string
	Port    string
}

type Config

type Config struct {
	Name          string
	AttachStdin   bool
	AttachStdout  bool
	AttachStderr  bool
	Cmd           []string
	Image         string
	Memory        int64
	Disk          int64
	Env           []string
	RestartPolicy string
	Cpus          float32
	PortBindings  string
}

type Database

type Database struct {
	DbType     string
	DbPort     int
	DbUsername string
	DbPassword string
	DbName     string
	DbTimezone string
	SSLMode    string
}

Jump to

Keyboard shortcuts

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