mod

package
v0.0.0-...-32ee16b Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const LTSRebalancedModName = LTSRebalancedRepoOwner + "." + LTSRebalancedRepoName
View Source
const LTSRebalancedRepoName = "LTSRebalance"
View Source
const LTSRebalancedRepoOwner = "Dinorush"
View Source
const RebalancedLtsModTest = "rebalanced_lts_mod_test"

Variables

View Source
var ByName = map[string]func() Mod{
	"pg9182_metrics": func() Mod {
		return &PG9182Metrics{}
	},
	"rebalanced_lts_mod": func() Mod { return &RebalancedLTS{PreRelease: false} },
	RebalancedLtsModTest: func() Mod { return &RebalancedLTS{PreRelease: true} },
	"titan_debug":        func() Mod { return &TitanDebug{} },
	"ctf_experimental":   func() Mod { return &TestCTFSpawns{} },
	"remove_navmesh":     func() Mod { return &RemoveNavmesh{} },
	"holo_shift_mod": func() Mod {
		return &ThunderstoreMod{
			Enabled: false,
			Name:    "HoloShift",
		}
	},
	"parseable_logs": func() Mod {
		return &ThunderstoreMod{
			Enabled: false,
			Name:    "ParseableLogs",
		}
	},
	"ramp_water": func() Mod {
		return &ThunderstoreMod{
			Enabled: false,
			Name:    "RampWater",
		}
	},
	"better_homestead": func() Mod {
		return &ThunderstoreMod{
			Enabled: false,
			Name:    "BetterHomestead",
		}
	},
	"better_rise": func() Mod {
		return &ThunderstoreMod{
			Enabled: false,
			Name:    "BetterRise",
		}
	},
	"archon": func() Mod {
		return &ThunderstoreMod{
			Enabled: false,
			Name:    "MoblinArchon",
		}
	},
}
View Source
var ErrNoTagsFound = fmt.Errorf("no tags found")

Functions

This section is empty.

Types

type Mod

type Mod interface {
	ModParams(ctx context.Context) (cmd string, dockerArgs string, downloadLink string, version string, requiredByClient bool, err error)
	Validate(otherMods []Mod) error
	EnabledByDefault() bool
}

type PG9182Metrics

type PG9182Metrics struct{}

func (PG9182Metrics) EnabledByDefault

func (r PG9182Metrics) EnabledByDefault() bool

func (PG9182Metrics) ModParams

func (r PG9182Metrics) ModParams(ctx context.Context) (string, string, string, string, bool, error)

func (PG9182Metrics) Validate

func (r PG9182Metrics) Validate(otherMods []Mod) error

type RebalancedLTS

type RebalancedLTS struct {
	PreRelease bool
}

func (RebalancedLTS) EnabledByDefault

func (r RebalancedLTS) EnabledByDefault() bool

func (RebalancedLTS) ModParams

func (r RebalancedLTS) ModParams(ctx context.Context) (string, string, string, string, bool, error)

func (RebalancedLTS) Validate

func (r RebalancedLTS) Validate(otherMods []Mod) error

type RemoveNavmesh

type RemoveNavmesh struct{}

func (RemoveNavmesh) EnabledByDefault

func (r RemoveNavmesh) EnabledByDefault() bool

func (RemoveNavmesh) ModParams

func (r RemoveNavmesh) ModParams(ctx context.Context) (string, string, string, string, bool, error)

func (RemoveNavmesh) Validate

func (r RemoveNavmesh) Validate(otherMods []Mod) error

type TestCTFSpawns

type TestCTFSpawns struct{}

func (TestCTFSpawns) EnabledByDefault

func (r TestCTFSpawns) EnabledByDefault() bool

func (TestCTFSpawns) ModParams

func (r TestCTFSpawns) ModParams(ctx context.Context) (string, string, string, string, bool, error)

func (TestCTFSpawns) Validate

func (r TestCTFSpawns) Validate(otherMods []Mod) error

type ThunderstoreMod

type ThunderstoreMod struct {
	Enabled bool
	Name    string
}

func (ThunderstoreMod) EnabledByDefault

func (h ThunderstoreMod) EnabledByDefault() bool

func (ThunderstoreMod) ModParams

func (ThunderstoreMod) Validate

func (r ThunderstoreMod) Validate(otherMods []Mod) error

type TitanDebug

type TitanDebug struct{}

func (TitanDebug) EnabledByDefault

func (h TitanDebug) EnabledByDefault() bool

func (TitanDebug) ModParams

func (h TitanDebug) ModParams(ctx context.Context) (string, string, string, string, bool, error)

func (TitanDebug) Validate

func (r TitanDebug) Validate(otherMods []Mod) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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