rulesdefault

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package rulesdefault serves the default ExitMesh rule bundle sources embedded from rules/ and builds their archives.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Archive

func Archive(targetType string) ([]byte, error)

Archive builds the default bundle.tar.gz of targetType in memory, byte-identical to bundle.Build over rules/<targetType>.

func Sources

func Sources(targetType string) (map[string][]byte, error)

Sources returns the default bundle sources of targetType keyed by archive member path.

func Targets

func Targets() []string

Targets returns the target types that have a default bundle.

Types

This section is empty.

Jump to

Keyboard shortcuts

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