services

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 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 Image

type Image struct {
	Repository string `yaml:"repository"`
	Tag        string `yaml:"tag"`
	PullPolicy string `yaml:"pullPolicy"`
}

type Ports

type Ports struct {
	Http   *int `yaml:"http,omitempty"`
	Https  *int `yaml:"https,omitempty"`
	P2p    *int `yaml:"p2p,omitempty"`
	P2pudp *int `yaml:"p2pudp,omitempty"`
}

type Service

type Service struct {
	Enabled      bool  `yaml:"enabled"`
	ReplicaCount int   `yaml:"replicaCount"`
	Image        Image `yaml:"image"`
	Ports        Ports `yaml:"ports,omitempty"`
}

type ServiceInterface

type ServiceInterface interface {
	Default() ServiceInterface
	Configure() ServiceInterface
}

type ServicesConfig

type ServicesConfig map[string]ServiceInterface

Jump to

Keyboard shortcuts

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