config

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: ISC Imports: 6 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 {
	DefaultRepository string
	Repositories      map[string]RepositoryConfig
	Sources           map[string]SourceConfig
	Destinations      map[string]DestinationConfig
}

func NewConfig added in v1.1.0

func NewConfig() *Config

func (*Config) GetDestination added in v1.1.0

func (c *Config) GetDestination(name string) (map[string]string, bool)

func (*Config) GetRepository

func (c *Config) GetRepository(name string) (map[string]string, error)

func (*Config) GetSource added in v1.1.0

func (c *Config) GetSource(name string) (map[string]string, bool)

func (*Config) HasDestination added in v1.1.0

func (c *Config) HasDestination(name string) bool

func (*Config) HasRepository

func (c *Config) HasRepository(name string) bool

func (*Config) HasSource added in v1.1.0

func (c *Config) HasSource(name string) bool

type DestinationConfig added in v1.1.0

type DestinationConfig = map[string]string

type RepositoryConfig

type RepositoryConfig = map[string]string

type SourceConfig added in v1.1.0

type SourceConfig = map[string]string

Jump to

Keyboard shortcuts

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