Documentation ¶
Index ¶
- Constants
- func GetZitiBinaryPath(c *model.Component, version string) string
- type CaddyType
- func (self *CaddyType) Dump() any
- func (self *CaddyType) GetVersion() string
- func (self *CaddyType) InitType(*model.Component)
- func (self *CaddyType) InitializeHost(r model.Run, c *model.Component) error
- func (self *CaddyType) IsRunning(_ model.Run, c *model.Component) (bool, error)
- func (self *CaddyType) Label() string
- func (self *CaddyType) StageFiles(r model.Run, c *model.Component) error
- func (self *CaddyType) Start(_ model.Run, c *model.Component) error
- func (self *CaddyType) Stop(_ model.Run, c *model.Component) error
- type ControllerType
- func (self *ControllerType) Dump() any
- func (self *ControllerType) GetActions() map[string]model.ComponentAction
- func (self *ControllerType) GetBinaryPath(c *model.Component) string
- func (self *ControllerType) GetVersion() string
- func (self *ControllerType) InitRaft(run model.Run, c *model.Component) error
- func (self *ControllerType) InitStandalone(run model.Run, c *model.Component) error
- func (self *ControllerType) InitType(*model.Component)
- func (self *ControllerType) IsRunning(_ model.Run, c *model.Component) (bool, error)
- func (self *ControllerType) Label() string
- func (self *ControllerType) StageFiles(r model.Run, c *model.Component) error
- func (self *ControllerType) Start(r model.Run, c *model.Component) error
- func (self *ControllerType) Stop(_ model.Run, c *model.Component) error
- type EchoServerMode
- type EchoServerType
- func (self *EchoServerType) Dump() any
- func (self *EchoServerType) GetVersion() string
- func (self *EchoServerType) InitType(*model.Component)
- func (self *EchoServerType) IsRunning(_ model.Run, c *model.Component) (bool, error)
- func (self *EchoServerType) Label() string
- func (self *EchoServerType) StageFiles(r model.Run, c *model.Component) error
- func (self *EchoServerType) Start(run model.Run, c *model.Component) error
- func (self *EchoServerType) Stop(_ model.Run, c *model.Component) error
- type IPerfServerType
- func (self *IPerfServerType) Dump() any
- func (self *IPerfServerType) GetPort() uint16
- func (self *IPerfServerType) GetVersion() string
- func (self *IPerfServerType) IsRunning(_ model.Run, c *model.Component) (bool, error)
- func (self *IPerfServerType) Label() string
- func (self *IPerfServerType) Start(_ model.Run, c *model.Component) error
- func (self *IPerfServerType) Stop(_ model.Run, c *model.Component) error
- type RouterType
- func (self *RouterType) CreateAndEnroll(run model.Run, c *model.Component) error
- func (self *RouterType) Dump() any
- func (self *RouterType) GetActions() map[string]model.ComponentAction
- func (self *RouterType) GetConfigName(c *model.Component) string
- func (self *RouterType) GetVersion() string
- func (self *RouterType) InitType(*model.Component)
- func (self *RouterType) InitializeHost(run model.Run, c *model.Component) error
- func (self *RouterType) IsRunning(_ model.Run, c *model.Component) (bool, error)
- func (self *RouterType) Label() string
- func (self *RouterType) ReEnroll(run model.Run, c *model.Component) error
- func (self *RouterType) StageFiles(r model.Run, c *model.Component) error
- func (self *RouterType) Start(r model.Run, c *model.Component) error
- func (self *RouterType) Stop(run model.Run, c *model.Component) error
- type SimpleSimType
- func (self *SimpleSimType) Dump() any
- func (self *SimpleSimType) GetVersion() string
- func (self *SimpleSimType) IsRunning(_ model.Run, c *model.Component) (bool, error)
- func (self *SimpleSimType) Label() string
- func (self *SimpleSimType) StageFiles(r model.Run, c *model.Component) error
- func (self *SimpleSimType) Start(_ model.Run, c *model.Component) error
- func (self *SimpleSimType) Stop(_ model.Run, c *model.Component) error
- type ZCatMode
- type ZCatType
- func (self *ZCatType) Dump() any
- func (self *ZCatType) GetVersion() string
- func (self *ZCatType) InitType(*model.Component)
- func (self *ZCatType) IsRunning(_ model.Run, c *model.Component) (bool, error)
- func (self *ZCatType) Label() string
- func (self *ZCatType) StageFiles(r model.Run, c *model.Component) error
- func (self *ZCatType) Stop(_ model.Run, c *model.Component) error
- type ZitiEdgeTunnelType
- func (self *ZitiEdgeTunnelType) Dump() any
- func (self *ZitiEdgeTunnelType) GetActions() map[string]model.ComponentAction
- func (self *ZitiEdgeTunnelType) GetConfigPath(c *model.Component) string
- func (self *ZitiEdgeTunnelType) GetVersion() string
- func (self *ZitiEdgeTunnelType) InitType(*model.Component)
- func (self *ZitiEdgeTunnelType) IsRunning(_ model.Run, c *model.Component) (bool, error)
- func (self *ZitiEdgeTunnelType) Label() string
- func (self *ZitiEdgeTunnelType) ReEnroll(run model.Run, c *model.Component) error
- func (self *ZitiEdgeTunnelType) StageFiles(r model.Run, c *model.Component) error
- func (self *ZitiEdgeTunnelType) Start(_ model.Run, c *model.Component) error
- func (self *ZitiEdgeTunnelType) Stop(_ model.Run, c *model.Component) error
- type ZitiTunnelMode
- type ZitiTunnelType
- func (self *ZitiTunnelType) Dump() any
- func (self *ZitiTunnelType) GetActions() map[string]model.ComponentAction
- func (self *ZitiTunnelType) GetConfigPath(c *model.Component) string
- func (self *ZitiTunnelType) GetVersion() string
- func (self *ZitiTunnelType) InitType(*model.Component)
- func (self *ZitiTunnelType) InitializeHost(_ model.Run, c *model.Component) error
- func (self *ZitiTunnelType) IsRunning(_ model.Run, c *model.Component) (bool, error)
- func (self *ZitiTunnelType) Label() string
- func (self *ZitiTunnelType) ReEnroll(run model.Run, c *model.Component) error
- func (self *ZitiTunnelType) StageFiles(r model.Run, c *model.Component) error
- func (self *ZitiTunnelType) Start(_ model.Run, c *model.Component) error
- func (self *ZitiTunnelType) StartIndividual(c *model.Component, idx int) error
- func (self *ZitiTunnelType) Stop(_ model.Run, c *model.Component) error
- type ZrokControllerType
- func (self *ZrokControllerType) Dump() any
- func (self *ZrokControllerType) GetActions() map[string]model.ComponentAction
- func (self *ZrokControllerType) GetVersion() string
- func (self *ZrokControllerType) Init(run model.Run, c *model.Component) error
- func (self *ZrokControllerType) InitType(*model.Component)
- func (self *ZrokControllerType) IsRunning(_ model.Run, c *model.Component) (bool, error)
- func (self *ZrokControllerType) Label() string
- func (self *ZrokControllerType) PreCreateAccounts(run model.Run, c *model.Component) error
- func (self *ZrokControllerType) StageFiles(r model.Run, c *model.Component) error
- func (self *ZrokControllerType) Start(_ model.Run, c *model.Component) error
- func (self *ZrokControllerType) Stop(_ model.Run, c *model.Component) error
- type ZrokFrontendType
- func (self *ZrokFrontendType) Dump() any
- func (self *ZrokFrontendType) GetVersion() string
- func (self *ZrokFrontendType) Init(run model.Run, c *model.Component) error
- func (self *ZrokFrontendType) InitType(*model.Component)
- func (self *ZrokFrontendType) IsRunning(_ model.Run, c *model.Component) (bool, error)
- func (self *ZrokFrontendType) Label() string
- func (self *ZrokFrontendType) StageFiles(r model.Run, c *model.Component) error
- func (self *ZrokFrontendType) Start(_ model.Run, c *model.Component) error
- func (self *ZrokFrontendType) Stop(_ model.Run, c *model.Component) error
- type ZrokLoopTestType
- func (self *ZrokLoopTestType) Dump() any
- func (self *ZrokLoopTestType) GetVersion() string
- func (self *ZrokLoopTestType) Init(run model.Run, c *model.Component) error
- func (self *ZrokLoopTestType) InitType(*model.Component)
- func (self *ZrokLoopTestType) InitializeHost(_ model.Run, c *model.Component) error
- func (self *ZrokLoopTestType) IsRunning(_ model.Run, c *model.Component) (bool, error)
- func (self *ZrokLoopTestType) Label() string
- func (self *ZrokLoopTestType) StageFiles(r model.Run, c *model.Component) error
- func (self *ZrokLoopTestType) Start(_ model.Run, c *model.Component) error
- func (self *ZrokLoopTestType) Stop(_ model.Run, c *model.Component) error
Constants ¶
View Source
const ( RouterActionsCreateAndEnroll = "createAndEnroll" RouterActionsReEnroll = "reEnroll" )
View Source
const (
ControllerActionInitStandalone = "initStandalone"
)
View Source
const (
ZrokControllerActionPreCreateAccounts = "preCreateAccounts"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CaddyType ¶
type CaddyType struct { ConfigSourceFS fs.FS ConfigSource string ConfigName string Version string LocalPath string PreCreateClients string }
func (*CaddyType) GetVersion ¶
func (*CaddyType) InitializeHost ¶
func (*CaddyType) StageFiles ¶
type ControllerType ¶
type ControllerType struct { ConfigSourceFS fs.FS ConfigSource string ConfigName string Version string LocalPath string DNSNames []string Debug bool }
func (*ControllerType) Dump ¶
func (self *ControllerType) Dump() any
func (*ControllerType) GetActions ¶
func (self *ControllerType) GetActions() map[string]model.ComponentAction
func (*ControllerType) GetBinaryPath ¶
func (self *ControllerType) GetBinaryPath(c *model.Component) string
func (*ControllerType) GetVersion ¶
func (self *ControllerType) GetVersion() string
func (*ControllerType) InitStandalone ¶
func (*ControllerType) InitType ¶
func (self *ControllerType) InitType(*model.Component)
func (*ControllerType) Label ¶
func (self *ControllerType) Label() string
func (*ControllerType) StageFiles ¶
type EchoServerMode ¶
type EchoServerMode int
type EchoServerType ¶
func (*EchoServerType) Dump ¶
func (self *EchoServerType) Dump() any
func (*EchoServerType) GetVersion ¶
func (self *EchoServerType) GetVersion() string
func (*EchoServerType) InitType ¶
func (self *EchoServerType) InitType(*model.Component)
func (*EchoServerType) Label ¶
func (self *EchoServerType) Label() string
func (*EchoServerType) StageFiles ¶
type IPerfServerType ¶
type IPerfServerType struct {
Port uint16
}
func (*IPerfServerType) Dump ¶
func (self *IPerfServerType) Dump() any
func (*IPerfServerType) GetPort ¶
func (self *IPerfServerType) GetPort() uint16
func (*IPerfServerType) GetVersion ¶
func (self *IPerfServerType) GetVersion() string
func (*IPerfServerType) Label ¶
func (self *IPerfServerType) Label() string
type RouterType ¶
type RouterType struct { ConfigSourceFS fs.FS ConfigSource string ConfigName string Version string LocalPath string Debug bool }
func (*RouterType) CreateAndEnroll ¶
func (*RouterType) Dump ¶
func (self *RouterType) Dump() any
func (*RouterType) GetActions ¶
func (self *RouterType) GetActions() map[string]model.ComponentAction
func (*RouterType) GetConfigName ¶
func (self *RouterType) GetConfigName(c *model.Component) string
func (*RouterType) GetVersion ¶
func (self *RouterType) GetVersion() string
func (*RouterType) InitType ¶
func (self *RouterType) InitType(*model.Component)
func (*RouterType) InitializeHost ¶
func (*RouterType) Label ¶
func (self *RouterType) Label() string
func (*RouterType) StageFiles ¶
type SimpleSimType ¶
func (*SimpleSimType) Dump ¶
func (self *SimpleSimType) Dump() any
func (*SimpleSimType) GetVersion ¶
func (self *SimpleSimType) GetVersion() string
func (*SimpleSimType) Label ¶
func (self *SimpleSimType) Label() string
func (*SimpleSimType) StageFiles ¶
type ZCatType ¶
func (*ZCatType) GetVersion ¶
func (*ZCatType) StageFiles ¶
type ZitiEdgeTunnelType ¶
type ZitiEdgeTunnelType struct { Version string ZitiVersion string LocalPath string LogConfig string VerbosityLevel uint16 ConfigPathF func(c *model.Component) string }
func (*ZitiEdgeTunnelType) Dump ¶
func (self *ZitiEdgeTunnelType) Dump() any
func (*ZitiEdgeTunnelType) GetActions ¶
func (self *ZitiEdgeTunnelType) GetActions() map[string]model.ComponentAction
func (*ZitiEdgeTunnelType) GetConfigPath ¶
func (self *ZitiEdgeTunnelType) GetConfigPath(c *model.Component) string
func (*ZitiEdgeTunnelType) GetVersion ¶
func (self *ZitiEdgeTunnelType) GetVersion() string
func (*ZitiEdgeTunnelType) InitType ¶
func (self *ZitiEdgeTunnelType) InitType(*model.Component)
func (*ZitiEdgeTunnelType) Label ¶
func (self *ZitiEdgeTunnelType) Label() string
func (*ZitiEdgeTunnelType) StageFiles ¶
type ZitiTunnelMode ¶
type ZitiTunnelMode int
const ( ZitiTunnelModeTproxy ZitiTunnelMode = 0 ZitiTunnelModeProxy ZitiTunnelMode = 1 ZitiTunnelModeHost ZitiTunnelMode = 2 ZitiTunnelActionsReEnroll = "reEnroll" )
func (ZitiTunnelMode) String ¶
func (self ZitiTunnelMode) String() string
type ZitiTunnelType ¶
type ZitiTunnelType struct { Mode ZitiTunnelMode Version string LocalPath string ConfigPathF func(c *model.Component) string HA bool Count uint8 }
func (*ZitiTunnelType) Dump ¶
func (self *ZitiTunnelType) Dump() any
func (*ZitiTunnelType) GetActions ¶
func (self *ZitiTunnelType) GetActions() map[string]model.ComponentAction
func (*ZitiTunnelType) GetConfigPath ¶
func (self *ZitiTunnelType) GetConfigPath(c *model.Component) string
func (*ZitiTunnelType) GetVersion ¶
func (self *ZitiTunnelType) GetVersion() string
func (*ZitiTunnelType) InitType ¶
func (self *ZitiTunnelType) InitType(*model.Component)
func (*ZitiTunnelType) InitializeHost ¶
func (*ZitiTunnelType) Label ¶
func (self *ZitiTunnelType) Label() string
func (*ZitiTunnelType) StageFiles ¶
func (*ZitiTunnelType) StartIndividual ¶
func (self *ZitiTunnelType) StartIndividual(c *model.Component, idx int) error
type ZrokControllerType ¶
type ZrokControllerType struct { ConfigSourceFS fs.FS ConfigSource string ConfigName string Version string LocalPath string PreCreateClients string }
func (*ZrokControllerType) Dump ¶
func (self *ZrokControllerType) Dump() any
func (*ZrokControllerType) GetActions ¶
func (self *ZrokControllerType) GetActions() map[string]model.ComponentAction
func (*ZrokControllerType) GetVersion ¶
func (self *ZrokControllerType) GetVersion() string
func (*ZrokControllerType) InitType ¶
func (self *ZrokControllerType) InitType(*model.Component)
func (*ZrokControllerType) Label ¶
func (self *ZrokControllerType) Label() string
func (*ZrokControllerType) PreCreateAccounts ¶
func (*ZrokControllerType) StageFiles ¶
type ZrokFrontendType ¶
type ZrokFrontendType struct { ConfigSourceFS fs.FS ConfigSource string ConfigName string Version string LocalPath string DNS string ZrokCtrlSelector string }
func (*ZrokFrontendType) Dump ¶
func (self *ZrokFrontendType) Dump() any
func (*ZrokFrontendType) GetVersion ¶
func (self *ZrokFrontendType) GetVersion() string
func (*ZrokFrontendType) InitType ¶
func (self *ZrokFrontendType) InitType(*model.Component)
func (*ZrokFrontendType) Label ¶
func (self *ZrokFrontendType) Label() string
func (*ZrokFrontendType) StageFiles ¶
type ZrokLoopTestType ¶
type ZrokLoopTestType struct { Version string LocalPath string Iterations uint32 Loopers uint8 Pacing time.Duration }
func (*ZrokLoopTestType) Dump ¶
func (self *ZrokLoopTestType) Dump() any
func (*ZrokLoopTestType) GetVersion ¶
func (self *ZrokLoopTestType) GetVersion() string
func (*ZrokLoopTestType) InitType ¶
func (self *ZrokLoopTestType) InitType(*model.Component)
func (*ZrokLoopTestType) InitializeHost ¶
func (*ZrokLoopTestType) Label ¶
func (self *ZrokLoopTestType) Label() string
func (*ZrokLoopTestType) StageFiles ¶
Source Files ¶
- component_caddy.go
- component_common.go
- component_controller.go
- component_echo_server.go
- component_iperf.go
- component_router.go
- component_simple_sim.go
- component_zcat.go
- component_ziti_edge_tunnel.go
- component_ziti_tunnel.go
- component_zrok_controller.go
- component_zrok_frontend.go
- component_zrok_looptest.go
Click to show internal directories.
Click to hide internal directories.