embed

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: Apache-2.0, BSD-3-Clause, MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCreateServerFunc

func RegisterCreateServerFunc(f CreateServerFunc)

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

type ServerSecretUpdateHandler func(secret *corev1.Secret)

ServerSecretUpdateHandler is called on updated server secret

Jump to

Keyboard shortcuts

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