Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultDeviceName specifies name of WireGuard network device. DefaultDeviceName = "wg0" UDPPort = 31820 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PeerController ¶
type PeerController struct {
// contains filtered or unexported fields
}
func NewPeerController ¶
func NewPeerController(spec Specification, w *wireguard, octopusFactory octopusinformers.SharedInformerFactory) (*PeerController, error)
func (*PeerController) Handle ¶
func (c *PeerController) Handle(obj interface{}) (requeueAfter *time.Duration, err error)
func (*PeerController) Start ¶
func (p *PeerController) Start(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.