Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Backend grpcinternal.BackendReadWriter
AutoEnrollmentBackend grpcinternal.AutoEnrollmentReadCreator
AutoDiscoveryBackend grpcinternal.AutoDiscoveryReadCreator
BindAddrPort netip.AddrPort
Logger logr.Logger
AutoEnrollmentEnabled bool
AutoDiscoveryEnabled bool
AutoDiscoveryNamespace string
}
type Option ¶
type Option func(*Config)
Option is a functional option type.
func WithAutoDiscoveryNamespace ¶ added in v0.19.0
WithAutoDiscoveryNamespace sets the namespace for auto discovery.
func WithBackend ¶
func WithBackend(b grpcinternal.BackendReadWriter) Option
WithBackend sets the backend for the server.
func WithBindAddrPort ¶
WithBindAddrPort sets the bind address and port for the server.
Click to show internal directories.
Click to hide internal directories.