Documentation ¶
Index ¶
- Constants
- type ClientApiFactory
- type ClientApiHandler
- func (clientApi ClientApiHandler) Binding() string
- func (clientApi ClientApiHandler) IsHandler(r *http.Request) bool
- func (clientApi ClientApiHandler) Options() map[interface{}]interface{}
- func (clientApi ClientApiHandler) RootPath() string
- func (clientApi ClientApiHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
- type Controller
- func (c *Controller) Enabled() bool
- func (c *Controller) GetCtrlHandlers(ch channel2.Channel) []channel2.ReceiveHandler
- func (c *Controller) GetMgmtHandlers() []channel2.ReceiveHandler
- func (c *Controller) Initialize()
- func (c *Controller) IsEnabled() bool
- func (c *Controller) LoadConfig(cfgmap map[interface{}]interface{}) error
- func (c *Controller) Run()
- func (c *Controller) SetHostController(h env.HostController)
- func (c *Controller) Shutdown()
- type ManagementApiFactory
- type ManagementApiHandler
- func (managementApi ManagementApiHandler) Binding() string
- func (managementApi ManagementApiHandler) IsHandler(r *http.Request) bool
- func (managementApi ManagementApiHandler) Options() map[interface{}]interface{}
- func (managementApi ManagementApiHandler) RootPath() string
- func (managementApi ManagementApiHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
Constants ¶
View Source
const (
ZitiInstanceId = "ziti-instance-id"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientApiFactory ¶ added in v0.19.109
type ClientApiFactory struct { InitFunc func(clientApi *ClientApiHandler) error // contains filtered or unexported fields }
func NewClientApiFactory ¶ added in v0.19.109
func NewClientApiFactory(appEnv *env.AppEnv) *ClientApiFactory
func (ClientApiFactory) Binding ¶ added in v0.19.109
func (factory ClientApiFactory) Binding() string
func (ClientApiFactory) New ¶ added in v0.19.109
func (factory ClientApiFactory) New(_ *xweb.WebListener, options map[interface{}]interface{}) (xweb.WebHandler, error)
type ClientApiHandler ¶ added in v0.19.109
type ClientApiHandler struct {
// contains filtered or unexported fields
}
func NewClientApiHandler ¶ added in v0.19.109
func NewClientApiHandler(ae *env.AppEnv, options map[interface{}]interface{}) (*ClientApiHandler, error)
func (ClientApiHandler) Binding ¶ added in v0.19.109
func (clientApi ClientApiHandler) Binding() string
func (ClientApiHandler) IsHandler ¶ added in v0.19.109
func (clientApi ClientApiHandler) IsHandler(r *http.Request) bool
func (ClientApiHandler) Options ¶ added in v0.19.109
func (clientApi ClientApiHandler) Options() map[interface{}]interface{}
func (ClientApiHandler) RootPath ¶ added in v0.19.109
func (clientApi ClientApiHandler) RootPath() string
func (ClientApiHandler) ServeHTTP ¶ added in v0.19.109
func (clientApi ClientApiHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
type Controller ¶
func NewController ¶
func NewController(cfg config.Configurable) (*Controller, error)
func (*Controller) Enabled ¶
func (c *Controller) Enabled() bool
func (*Controller) GetCtrlHandlers ¶
func (c *Controller) GetCtrlHandlers(ch channel2.Channel) []channel2.ReceiveHandler
func (*Controller) GetMgmtHandlers ¶
func (c *Controller) GetMgmtHandlers() []channel2.ReceiveHandler
func (*Controller) Initialize ¶
func (c *Controller) Initialize()
func (*Controller) IsEnabled ¶
func (c *Controller) IsEnabled() bool
func (*Controller) LoadConfig ¶
func (c *Controller) LoadConfig(cfgmap map[interface{}]interface{}) error
func (*Controller) Run ¶
func (c *Controller) Run()
func (*Controller) SetHostController ¶
func (c *Controller) SetHostController(h env.HostController)
func (*Controller) Shutdown ¶
func (c *Controller) Shutdown()
type ManagementApiFactory ¶ added in v0.19.109
type ManagementApiFactory struct { InitFunc func(managementApi *ManagementApiHandler) error // contains filtered or unexported fields }
func NewManagementApiFactory ¶ added in v0.19.109
func NewManagementApiFactory(appEnv *env.AppEnv) *ManagementApiFactory
func (ManagementApiFactory) Binding ¶ added in v0.19.109
func (factory ManagementApiFactory) Binding() string
func (ManagementApiFactory) New ¶ added in v0.19.109
func (factory ManagementApiFactory) New(_ *xweb.WebListener, options map[interface{}]interface{}) (xweb.WebHandler, error)
type ManagementApiHandler ¶ added in v0.19.109
type ManagementApiHandler struct {
// contains filtered or unexported fields
}
func NewManagementApiHandler ¶ added in v0.19.109
func NewManagementApiHandler(ae *env.AppEnv, options map[interface{}]interface{}) (*ManagementApiHandler, error)
func (ManagementApiHandler) Binding ¶ added in v0.19.109
func (managementApi ManagementApiHandler) Binding() string
func (ManagementApiHandler) IsHandler ¶ added in v0.19.109
func (managementApi ManagementApiHandler) IsHandler(r *http.Request) bool
func (ManagementApiHandler) Options ¶ added in v0.19.109
func (managementApi ManagementApiHandler) Options() map[interface{}]interface{}
func (ManagementApiHandler) RootPath ¶ added in v0.19.109
func (managementApi ManagementApiHandler) RootPath() string
func (ManagementApiHandler) ServeHTTP ¶ added in v0.19.109
func (managementApi ManagementApiHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
Click to show internal directories.
Click to hide internal directories.