Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubHookRules ¶
type GitHubHookRules struct {
// contains filtered or unexported fields
}
GitHubHookRules -
func (*GitHubHookRules) Cleanup ¶
func (g *GitHubHookRules) Cleanup() error
Cleanup - remove the rules that were created
func (*GitHubHookRules) Init ¶
func (g *GitHubHookRules) Init() error
Init - sets up iptables rules so that GitHub's webhook source IP addresses can access the given ports. This creates a separate chain named `github-hooks`
type IPAddr ¶
IPAddr - same as net.IPAddr, but a json.Unmarshaler and json.Marshaler
func (IPAddr) MarshalJSON ¶
MarshalJSON - fulfils json.Marshaler
func (*IPAddr) UnmarshalJSON ¶
UnmarshalJSON - fulfils json.Unmarshaler
type IPNet ¶
IPNet - same as net.IPNet, but a json.Unmarshaler and json.Marshaler
func (*IPNet) MarshalJSON ¶
MarshalJSON - fulfils json.Marshaler
func (*IPNet) UnmarshalJSON ¶
UnmarshalJSON - fulfils json.Unmarshaler
Click to show internal directories.
Click to hide internal directories.