internal

package
v0.0.0-...-2119b44 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceName = "network"

Variables

View Source
var IsDebugMode = false

Functions

This section is empty.

Types

type Config

type Config struct {
	config.BaseConfig             `mapstructure:",squash"`
	Metrics                       config.Metrics
	Server                        rest.HttpConfig
	ApiIf                         config.ServiceApiIf
	DB                            config.Database
	ServiceRouter                 string
	GitUser                       string
	GitPass                       string
	Docker                        Docker
	NodeImage                     string
	NodeCmd                       []string
	Kubeconfig                    string
	Queue                         config.Queue
	RepoServerUrl                 string
	Namespace                     string `default:"default"`
	TerminationGracePeriodSeconds int64  `default:"60"`
	ActiveDeadlineSeconds         int64  `default:"60"`
	TtlHours                      int64  `default:"720"` /* 30 days */
}
var ServiceConfig *Config

func NewConfig

func NewConfig() *Config

Info/List--> Get

Update --> PUT
Add --> POST
delete -> delete

type Docker

type Docker struct {
	User string
	Pass string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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