hostfirewall

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Change

type Change struct {
	Kind   string `json:"kind"`
	Name   string `json:"name"`
	Action string `json:"action"`
}

type ExecRunner

type ExecRunner struct{}

func (ExecRunner) Run

func (ExecRunner) Run(ctx context.Context, args ...string) (string, error)

type Reconciler

type Reconciler struct {
	Runner Runner
}

func (Reconciler) Apply

Apply adds only explicitly declared gha-fleet UFW rules. Existing host rules are preserved. Managed rules that are no longer in the plan fail closed so a firewall policy change can never silently broaden access or delete operator state.

type Result

type Result struct {
	Applied bool     `json:"applied"`
	Changes []Change `json:"changes"`
}

type Runner

type Runner interface {
	Run(ctx context.Context, args ...string) (string, error)
}

Jump to

Keyboard shortcuts

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