config

package
v0.0.0-...-c977e9b Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigDto

type ConfigDto struct {
	Version string  `json:"version"`
	Jobs    JobsDto `json:"jobs"`
}

func Import

func Import(version string) ConfigDto

type IntegrityOptionsDto

type IntegrityOptionsDto struct {
	Upsert bool `json:"upsert"`
}

type JobDto

type JobDto struct {
	Name    string     `json:"name"`
	Source  string     `json:"source"`
	Target  string     `json:"target"`
	Options OptionsDto `json:"options"`
}

type JobsDto

type JobsDto []JobDto

type MirOptionsDto

type MirOptionsDto struct {
	DryRun        bool     `json:"dry-run"`
	ExcludeDirs   []string `json:"exclude-dirs"`
	ForceOverride bool     `json:"force-override"`
}

type OptionsDto

type OptionsDto struct {
	Mir       MirOptionsDto       `json:"mir"`
	Integrity IntegrityOptionsDto `json:"integrity"`
}

Jump to

Keyboard shortcuts

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