service

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifact added in v0.5.0

type Artifact struct {
	Id       string `yaml:"id"`
	Group    string `yaml:"group"`
	Release  string `yaml:"release"`
	Snapshot string `yaml:"snapshot"`
	User     string `yaml:"user"`
	Password string `yaml:"password"`
}

type Requirements

type Requirements struct {
	RAM              string   `yaml:"ram"`
	Disk             string   `yaml:"disk"`
	CPU              int      `yaml:"cpu"`
	PropertiesName   string   `yaml:"properties_name"`
	WebserverPortKey string   `yaml:"webserver_port_key"`
	NotClusterAble   bool     `yaml:"not_cluster_able"`
	IsFrontend       bool     `yaml:"is_frontend"`
	Roles            []string `yaml:"roles"`
	Services         []string `yaml:"services"`
}

type Service

type Service struct {
	Name         string       `yaml:"name"`
	ServiceType  string       `yaml:"service_type"`
	HealthType   string       `yaml:"health_type"`
	APIPath      string       `yaml:"api_path"`
	Artifact     Artifact     `yaml:"artifact"`
	Requirements Requirements `yaml:"requirements"`
}

Jump to

Keyboard shortcuts

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