Documentation
¶
Index ¶
Constants ¶
View Source
const (
KubeJWTAuthenticatorType = "KubeJWTAuthenticator"
)
Variables ¶
This section is empty.
Functions ¶
func SetupLogging ¶ added in v1.1.0
func SetupLogging(levelStr string)
SetupLogging configures the global slog logger
Types ¶
type KubeJWTAuthenticator ¶ added in v1.1.0
type KubeJWTAuthenticator struct {
// contains filtered or unexported fields
}
KubeJWTAuthenticator authenticates K8s JWTs.
func NewKubeJWTAuthenticator ¶ added in v1.1.0
func NewKubeJWTAuthenticator( client kubernetes.Interface, ) *KubeJWTAuthenticator
NewKubeJWTAuthenticator creates a new kubeJWTAuthenticator.
func (*KubeJWTAuthenticator) Authenticate ¶ added in v1.1.0
func (a *KubeJWTAuthenticator) Authenticate(authRequest security.AuthContext) (*security.Caller, error)
Authenticate authenticates the call using the K8s JWT from the request's context
func (*KubeJWTAuthenticator) AuthenticatorType ¶ added in v1.1.0
func (a *KubeJWTAuthenticator) AuthenticatorType() string
type Options ¶
type Options struct {
APIClient apiclient.Client
ExtraInformerCacheSyncHandlers []cache.InformerSynced
GatewayControllerExtension pluginsdk.GatewayControllerExtension
ControllerName string
AgentgatewayClassName string
AdditionalGatewayClasses map[string]*deployer.GatewayClassInfo
ExtraAgwPlugins func(ctx context.Context, agw *agwplugins.AgwCollections) []agwplugins.AgwPlugin
HelmValuesGeneratorOverride func(inputs *deployer.Inputs) deployer.HelmValuesGenerator
XDSListener net.Listener
RestConfig *rest.Config
CtrlMgrOptions func(context.Context) *ctrl.Options
ExtraManagerConfig []func(mgr manager.Manager) error
ExtraRunnables []func(ctx context.Context, agw *agwplugins.AgwCollections, s *apisettings.Settings) (bool, manager.Runnable)
KrtDebugger *krt.DebugHandler
GlobalSettings *apisettings.Settings
LeaderElectionID string
ExtraStatusHandlers map[schema.GroupVersionKind]syncer.ResourceStatusSyncer
// CredentialResolverFactory builds the complete credential resolver chain.
// If unset, the built-in Secret resolver is used.
CredentialResolverFactory agwplugins.CredentialResolverFactory
AgentGatewaySyncerOptions []syncer.AgentgatewaySyncerOption
// PersistedJWKS overrides the default JWKS persistence layer.
// When set, setup uses this instance instead of creating one with DefaultJwksStorePrefix.
PersistedJWKS *jwks.PersistedEntries
}
Click to show internal directories.
Click to hide internal directories.