config

package
v0.0.0-...-f77f48b Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: LGPL-2.1 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	FileStorage struct {
		Location string `toml:"location"`
	} `toml:"file_storage"`

	Repository struct {
		Golangs []GoRepoConf     `toml:"golang"`
		Mavens  []MavenRepoConf  `toml:"maven"`
		Dockers []DockerRepoConf `toml:"docker"`
	} `toml:"repository"`

	Shared struct {
		Debug     bool               `toml:"debug"`
		Listen    string             `toml:"listen"`
		Listeners []ListenerElemConf `toml:"listeners"`
	} `toml:"mxartifact"`
}

type DockerRepoConf

type DockerRepoConf struct {
	Name               string `toml:"name"`
	Type               string `toml:"type"`
	BaseUrl            string `toml:"base_url"`
	HttpProxy          string `toml:"http_proxy"`
	UpstreamRepository string `toml:"upstream_repository"`
	BindListeners      []struct {
		Name    string            `toml:"name"`
		Options map[string]string `toml:"options"`
	} `toml:"bind_listeners"`

	ParentRepository string `toml:"parent_repository"`
}

type GoRepoConf

type GoRepoConf struct {
	Name               string `toml:"name"`
	Type               string `toml:"type"`
	BaseUrl            string `toml:"base_url"`
	HttpProxy          string `toml:"http_proxy"`
	UpstreamRepository string `toml:"upstream_repository"`

	ParentRepository string `toml:"parent_repository"`
}

type ListenerElemConf

type ListenerElemConf struct {
	Name      string            `toml:"name"`
	Addresses []string          `toml:"addresses"`
	Options   map[string]string `toml:"options"`
}

type MavenRepoConf

type MavenRepoConf struct {
	Name               string `toml:"name"`
	Type               string `toml:"type"`
	BaseUrl            string `toml:"base_url"`
	HttpProxy          string `toml:"http_proxy"`
	UpstreamRepository string `toml:"upstream_repository"`

	ParentRepository string `toml:"parent_repository"`
}

Jump to

Keyboard shortcuts

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