config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: MIT Imports: 2 Imported by: 1 module, 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

func Library

func Library() *runtime.Library

func LibraryConfiguration

func LibraryConfiguration() *cfg.ConfigurationType[*Configuration]

Types

type Configuration

type Configuration struct {
	Kubeconfig               *string
	CurrentContext           *string
	Namespace                *string
	Server                   *string
	TLSServerName            *string
	InsecureSkipTLSVerify    *bool
	CertificateAuthority     *string
	CertificateAuthorityData *string
	ProxyURL                 *string
	DisableCompression       *bool
	ClientCertificate        *string
	ClientCertificateData    *string
	ClientKey                *string
	ClientKeyData            *string `ub:",sensitive,allow-nonpersistent"`
	Token                    *string `ub:",sensitive,allow-nonpersistent"`
	TokenFile                *string
	// Exec configures standard client-go credential commands. They run synchronously
	// and do not inherit Kubernetes request contexts; operation timeouts do not
	// interrupt them. Credential commands must terminate independently.
	Exec        *Exec
	As          *string
	AsUID       *string
	AsGroups    *[]string
	AsUserExtra *map[string][]string
}

type Exec

type Exec struct {
	Command            string
	APIVersion         string
	Args               *[]string
	Env                *[]ExecEnv
	InteractiveMode    *string
	ProvideClusterInfo *bool
	InstallHint        *string
}

type ExecEnv

type ExecEnv struct {
	Name  string
	Value string `ub:",sensitive,allow-nonpersistent"`
}

Jump to

Keyboard shortcuts

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