config

package
v0.0.0-...-acfd9b1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceConfigBuilder

type ServiceConfigBuilder struct {
	PublicUrl                  string   //ENV FLUFIK_PUBLIC_URL
	RootRepoPath               string   //ENV FLUFIK_ROOT_PATH
	RpmRepositoryName          string   //ENV FLUFIK_RPM_REPO_NAME
	RpmRepositoryOsName        []string //ENV FLUFIK_RPM_REPO_SUPPORTED_OSNAME
	RpmRepositoryRhelVersion   []string //ENV FLUFIK_RPM_REPO_RHEL_SUPPORTED_VERSION
	RpmRepositoryFedoraVersion []string //ENV FLUFIK_RPM_REPO_FEDORA_SUPPORTED_VERSION
	RpmRepositoryArch          []string //ENV FLUFIK_RPM_REPO_SUPPORTED_ARCH
	ListenPort                 string   //ENV FLUFIK_LPORT
	SupportArch                []string //ENV FLUFIK_SUPPORT_ARCH
	Sections                   []string //ENV FLUFIK_SECTIONS
	DistroNames                []string //ENV FLUFIK_DISTRO_NAMES
}

func GetServiceConfiguration

func GetServiceConfiguration() (*ServiceConfigBuilder, error)

Jump to

Keyboard shortcuts

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