oidc

package
v1.9.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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() (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