embed

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 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, error)

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