utils

package
v0.3.37-nightly.20261113 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const WellknownConfigURL = "builder-configuration"

WellknownConfigURL returns the URL for the well-known endpoint.

Variables

This section is empty.

Functions

func ScanDir

func ScanDir(path string, ignore []string) []string

ScanDir scans a directory for folders and files, ignoring specified paths.

Types

type WellknownConfig

type WellknownConfig struct {
	// OidcIssuer is the URL to the OIDC issuer.
	//
	// Default: "http://builder.internal:5556/dex"
	OidcIssuer string `json:"oidc_issuer" xml:"oidc_issuer" default:"http://builder.internal:5556/dex"`
	// ApiURL is the URL to the API.
	//
	// Default: "http://builder.internal:8080/api/v1"
	ApiURL string `json:"api_url" xml:"api_url" default:"http://builder.internal:8080/api/v1"`
}

WellknownConfig is the well-known configuration for the builder.

func DefaultWellknown

func DefaultWellknown() WellknownConfig

DefaultWellknown returns the default well-known response.

Jump to

Keyboard shortcuts

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