networks

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package networks contains the route handlers related to ZeroTier networks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignmentPool added in v0.7.1

type AssignmentPool struct {
	Range       netipx.IPRange
	Enabled     bool
	ExactPrefix bool
	Prefix      netip.Prefix
}

type DeviceViewData added in v0.7.1

type DeviceViewData struct {
	Member          client.Member
	Network         zerotier.ControllerNetwork
	NetworkDNSNamed bool
}

type Handlers

type Handlers struct {
	// contains filtered or unexported fields
}

func (*Handlers) HandleDeviceAuthorizationPost

func (h *Handlers) HandleDeviceAuthorizationPost() auth.HTTPHandlerFunc

func (*Handlers) HandleDeviceIPPost added in v0.7.1

func (h *Handlers) HandleDeviceIPPost() auth.HTTPHandlerFunc

func (*Handlers) HandleDeviceNamePost

func (h *Handlers) HandleDeviceNamePost() auth.HTTPHandlerFunc

func (*Handlers) HandleDevicePub added in v0.7.1

func (h *Handlers) HandleDevicePub() turbostreams.HandlerFunc

func (*Handlers) HandleDeviceSub added in v0.7.1

func (h *Handlers) HandleDeviceSub() turbostreams.HandlerFunc

func (*Handlers) HandleDevicesPost

func (h *Handlers) HandleDevicesPost() auth.HTTPHandlerFunc

func (*Handlers) HandleDevicesPub added in v0.5.0

func (h *Handlers) HandleDevicesPub() turbostreams.HandlerFunc

func (*Handlers) HandleDevicesSub added in v0.5.0

func (h *Handlers) HandleDevicesSub() turbostreams.HandlerFunc

func (*Handlers) HandleNetworkAutoIPPoolsPost added in v0.7.1

func (h *Handlers) HandleNetworkAutoIPPoolsPost() auth.HTTPHandlerFunc

func (*Handlers) HandleNetworkAutoIPv4ModesPost added in v0.7.1

func (h *Handlers) HandleNetworkAutoIPv4ModesPost() auth.HTTPHandlerFunc

func (*Handlers) HandleNetworkAutoIPv6ModesPost added in v0.7.1

func (h *Handlers) HandleNetworkAutoIPv6ModesPost() auth.HTTPHandlerFunc

func (*Handlers) HandleNetworkGet

func (h *Handlers) HandleNetworkGet() auth.HTTPHandlerFunc

func (*Handlers) HandleNetworkNamePost

func (h *Handlers) HandleNetworkNamePost() echo.HandlerFunc

func (*Handlers) HandleNetworkPost

func (h *Handlers) HandleNetworkPost() echo.HandlerFunc

func (*Handlers) HandleNetworkRoutesPost added in v0.7.1

func (h *Handlers) HandleNetworkRoutesPost() auth.HTTPHandlerFunc

func (*Handlers) HandleNetworkRulesPost

func (h *Handlers) HandleNetworkRulesPost() auth.HTTPHandlerFunc

func (*Handlers) HandleNetworksGet

func (h *Handlers) HandleNetworksGet() auth.HTTPHandlerFunc

func (*Handlers) HandleNetworksPost

func (h *Handlers) HandleNetworksPost() echo.HandlerFunc

func (*Handlers) Register

func (h *Handlers) Register(er godest.EchoRouter, tsr turbostreams.Router, ss *session.Store)

type NetworkDNS

type NetworkDNS struct {
	Named            bool
	Aliases          []string
	DeviceSubdomains map[string]client.Subdomain
	OtherSubdomains  []client.Subdomain
}

type NetworkViewData added in v0.5.2

type NetworkViewData struct {
	Controller       ztcontrollers.Controller
	Network          zerotier.ControllerNetwork
	Members          []client.Member
	AssignmentPools  []AssignmentPool
	JSONPrintedRules string
	DomainName       string
	NetworkDNS       NetworkDNS
}

type NetworksViewData added in v0.5.2

type NetworksViewData struct {
	Controller ztcontrollers.Controller
	Networks   map[string]zerotier.ControllerNetwork
}

Jump to

Keyboard shortcuts

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