cloudnet

package
v0.0.0-...-2b29b9b Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteUpdateInput

type RouteUpdateInput struct {
	apis.StandaloneResourceBaseUpdateInput

	Network string `json:"network"`

	Gateway string `json:"gateway"`
}

type RouterUpdateInput

type RouterUpdateInput struct {
	apis.StandaloneResourceBaseUpdateInput

	User string `json:"user"`

	Host string `json:"host"`

	Port *int `json:"port"`

	PrivateKey string `json:"private_key"`

	RealizeWgIfaces *bool `json:"realize_wg_ifaces"`

	RealizeRoutes *bool `json:"realize_routes"`

	RealizeRules *bool `json:"realize_rules"`

	OldEndpoint string `json:"_old_endpoint"`
}

type RuleUpdateInput

type RuleUpdateInput struct {
	apis.StandaloneResourceBaseUpdateInput

	Prio int `json:"prio"`

	MatchSrcNet string `json:"match_src_net"`

	MatchDestNet string `json:"match_dest_net"`

	MatchProto string `json:"match_proto"`

	MatchSrcPort int `json:"match_src_port"`

	MatchDestPort int `json:"match_dest_port"`

	MatchInIfname string `json:"match_in_ifname"`

	MatchOutIfname string `json:"match_out_ifname"`

	Action string `json:"action"`

	ActionOptions string `json:"action_options"`
}

Jump to

Keyboard shortcuts

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