Documentation
¶
Index ¶
- Constants
- func HttpRedirectHandler(tls config.Tls) echo.HandlerFunc
- func HttpsRedirect(c config.Tls) echo.MiddlewareFunc
- func IndexHandler(code int) echo.HandlerFunc
- func KeyHandler(keys *config.ServerKeys) echo.HandlerFunc
- func Version(c echo.Context) error
- type AuthFormData
- type AuthenticationHandlers
- func (h *AuthenticationHandlers) Callback(c echo.Context) error
- func (h *AuthenticationHandlers) EndOAuth(c echo.Context) error
- func (h *AuthenticationHandlers) Error(c echo.Context) error
- func (h *AuthenticationHandlers) ProcessAuth(c echo.Context) error
- func (h *AuthenticationHandlers) StartAuth(c echo.Context) error
- func (h *AuthenticationHandlers) Success(c echo.Context) error
- type CreatePeerHandler
- type DNSHandlers
- type IDTokenHandlers
- type NoiseHandlers
- type PollNetMapHandler
- type RegistrationHandlers
- type SSHActionHandlers
- type Selector
- type TailnetSelectionData
- type TailnetSelectionForm
Constants ¶
View Source
const (
NoiseCapabilityVersion = 28
)
Variables ¶
This section is empty.
Functions ¶
func HttpRedirectHandler ¶
func HttpsRedirect ¶
func IndexHandler ¶
func IndexHandler(code int) echo.HandlerFunc
func KeyHandler ¶
func KeyHandler(keys *config.ServerKeys) echo.HandlerFunc
Types ¶
type AuthFormData ¶
type AuthenticationHandlers ¶
type AuthenticationHandlers struct {
// contains filtered or unexported fields
}
func NewAuthenticationHandlers ¶
func NewAuthenticationHandlers( config *config.Config, authProvider auth.Provider, systemIAMPolicy *domain.IAMPolicy, repository domain.Repository) *AuthenticationHandlers
func (*AuthenticationHandlers) Callback ¶
func (h *AuthenticationHandlers) Callback(c echo.Context) error
func (*AuthenticationHandlers) EndOAuth ¶
func (h *AuthenticationHandlers) EndOAuth(c echo.Context) error
func (*AuthenticationHandlers) Error ¶
func (h *AuthenticationHandlers) Error(c echo.Context) error
func (*AuthenticationHandlers) ProcessAuth ¶
func (h *AuthenticationHandlers) ProcessAuth(c echo.Context) error
func (*AuthenticationHandlers) StartAuth ¶
func (h *AuthenticationHandlers) StartAuth(c echo.Context) error
func (*AuthenticationHandlers) Success ¶
func (h *AuthenticationHandlers) Success(c echo.Context) error
type CreatePeerHandler ¶
type CreatePeerHandler func(p key.MachinePublic) http.Handler
type DNSHandlers ¶ added in v0.3.0
type DNSHandlers struct {
// contains filtered or unexported fields
}
func NewDNSHandlers ¶ added in v0.3.0
func NewDNSHandlers(createBinder bind.Factory, provider dns.Provider) *DNSHandlers
func (*DNSHandlers) SetDNS ¶ added in v0.3.0
func (h *DNSHandlers) SetDNS(c echo.Context) error
type IDTokenHandlers ¶ added in v0.3.0
type IDTokenHandlers struct {
// contains filtered or unexported fields
}
func NewIDTokenHandlers ¶ added in v0.3.0
func NewIDTokenHandlers(createBinder bind.Factory, config *config.Config, repository domain.Repository) *IDTokenHandlers
func (*IDTokenHandlers) FetchToken ¶ added in v0.3.0
func (h *IDTokenHandlers) FetchToken(c echo.Context) error
func (*IDTokenHandlers) Jwks ¶ added in v0.3.0
func (h *IDTokenHandlers) Jwks(c echo.Context) error
func (*IDTokenHandlers) OpenIDConfig ¶ added in v0.3.0
func (h *IDTokenHandlers) OpenIDConfig(c echo.Context) error
type NoiseHandlers ¶
type NoiseHandlers struct {
// contains filtered or unexported fields
}
func NewNoiseHandlers ¶
func NewNoiseHandlers(controlKey key.MachinePrivate, createPeerHandler CreatePeerHandler) *NoiseHandlers
func (*NoiseHandlers) Upgrade ¶
func (h *NoiseHandlers) Upgrade(c echo.Context) error
type PollNetMapHandler ¶
type PollNetMapHandler struct {
// contains filtered or unexported fields
}
func NewPollNetMapHandler ¶
func NewPollNetMapHandler( createBinder bind.Factory, sessionManager core.PollMapSessionManager, repository domain.Repository) *PollNetMapHandler
func (*PollNetMapHandler) PollNetMap ¶
func (h *PollNetMapHandler) PollNetMap(c echo.Context) error
type RegistrationHandlers ¶
type RegistrationHandlers struct {
// contains filtered or unexported fields
}
func NewRegistrationHandlers ¶
func NewRegistrationHandlers( createBinder bind.Factory, config *config.Config, sessionManager core.PollMapSessionManager, repository domain.Repository) *RegistrationHandlers
func (*RegistrationHandlers) Register ¶
func (h *RegistrationHandlers) Register(c echo.Context) error
type SSHActionHandlers ¶ added in v0.4.0
type SSHActionHandlers struct {
// contains filtered or unexported fields
}
func NewSSHActionHandlers ¶ added in v0.4.0
func NewSSHActionHandlers(createBinder bind.Factory, config *config.Config, repository domain.Repository) *SSHActionHandlers
func (*SSHActionHandlers) CheckAuth ¶ added in v0.4.0
func (h *SSHActionHandlers) CheckAuth(c echo.Context) error
func (*SSHActionHandlers) StartAuth ¶ added in v0.4.0
func (h *SSHActionHandlers) StartAuth(c echo.Context) error
type TailnetSelectionData ¶
Click to show internal directories.
Click to hide internal directories.