Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetfilterRoute ¶
type NetfilterRoute struct {
// contains filtered or unexported fields
}
NetfilterRoute implements the engine.credentialsProxyRoute interface by running the external 'iptables' command
func NewNetfilterRoute ¶
func NewNetfilterRoute(cmdExec exec.Exec) (*NetfilterRoute, error)
NewNetfilterRoute creates a new NetfilterRoute object
func (*NetfilterRoute) Create ¶
func (route *NetfilterRoute) Create() error
Create creates the credentials proxy endpoint route in the netfilter table
func (*NetfilterRoute) Remove ¶
func (route *NetfilterRoute) Remove() error
Remove removes the route for the credentials endpoint from the netfilter table
Click to show internal directories.
Click to hide internal directories.