dex

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector

type Connector struct {
	Type string `json:"connectorType"`
	Name string `json:"connectorName"`
	ID   string `json:"id"`

	Config string `json:"connectorConfig"`
}

type DexConfig

type DexConfig struct {
	Oidc DexOidc `json:"oidc"`
}

type DexOidc

type DexOidc struct {
	Giantswarm *DexOidcOwner `json:"giantswarm,omitempty"`
	Customer   *DexOidcOwner `json:"customer,omitempty"`
}

func (DexOidc) StoredAsMap added in v0.21.0

func (d DexOidc) StoredAsMap() bool

StoredAsMap reports whether either owner's connectors were read from the map form. The operator writes lists, so such a Secret is rewritten.

type DexOidcOwner

type DexOidcOwner struct {
	Connectors []Connector `json:"connectors,omitempty"`
	// contains filtered or unexported fields
}

DexOidcOwner holds one owner's connectors. It reads connectors as a list or as a map keyed by id, and writes a list: dex-app releases before 3.5.0 only accept a list.

func (*DexOidcOwner) UnmarshalJSON added in v0.21.0

func (d *DexOidcOwner) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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