oidc

package
v1.11.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataGathererOIDC

type DataGathererOIDC struct {
	// contains filtered or unexported fields
}

DataGathererOIDC stores the config for an oidc datagatherer.

func (*DataGathererOIDC) Fetch

func (g *DataGathererOIDC) Fetch(ctx context.Context) (any, int, error)

Fetch will fetch the OIDC discovery document and JWKS from the cluster API server.

func (*DataGathererOIDC) Run

func (g *DataGathererOIDC) Run(ctx context.Context) error

func (*DataGathererOIDC) WaitForCacheSync

func (g *DataGathererOIDC) WaitForCacheSync(ctx context.Context) error

type OIDCDiscovery

type OIDCDiscovery struct {
	// KubeConfigPath is the path to the kubeconfig file. If empty, will assume it runs in-cluster.
	KubeConfigPath string `yaml:"kubeconfig"`
}

OIDCDiscovery contains the configuration for the oidc data-gatherer.

func (*OIDCDiscovery) NewDataGatherer

func (c *OIDCDiscovery) NewDataGatherer(ctx context.Context) (datagatherer.DataGatherer, error)

func (*OIDCDiscovery) UnmarshalYAML

func (c *OIDCDiscovery) UnmarshalYAML(unmarshal func(any) error) error

UnmarshalYAML unmarshals the Config resolving GroupVersionResource.

Jump to

Keyboard shortcuts

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