Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCreateServerFunc ¶
func RegisterCreateServerFunc(f CreateServerFunc)
func StartDNSHandlerServer ¶
func StartDNSHandlerServer(logctx logger.LogContext, config *RemoteAccessServerConfig) (common.RemoteProviderServer, error)
Types ¶
type CreateServerFunc ¶
type CreateServerFunc func(logctx logger.LogContext) common.RemoteProviderServer
type RemoteAccessServerConfig ¶
type RemoteAccessServerConfig struct { Port int CACertFilename string SecretName resources.ObjectName ServerSecretProvider ServerSecretProvider }
type ServerSecretProvider ¶
type ServerSecretProvider interface { UpdateSecret(secret *corev1.Secret) AddUpdateHandler(handler ServerSecretUpdateHandler) }
ServerSecretProvider informs handlers on updated secret
type ServerSecretUpdateHandler ¶
ServerSecretUpdateHandler is called on updated server secret
Click to show internal directories.
Click to hide internal directories.