Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFirewaller ¶
func NewFirewaller(st *apifirewaller.State) (_ worker.Worker, err error)
NewFirewaller returns a new Firewaller or a new FirewallerV0, depending on what the API supports.
Types ¶
type Firewaller ¶
type Firewaller struct {
// contains filtered or unexported fields
}
Firewaller watches the state for port ranges opened or closed on machines and reflects those changes onto the backing environment. Uses Firewaller API V1.
func (*Firewaller) Err ¶
func (fw *Firewaller) Err() (reason error)
Err returns the reason why the firewaller has stopped or tomb.ErrStillAlive when it is still alive.
Click to show internal directories.
Click to hide internal directories.