Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v0.6.0
type Config struct {
// RawControlplaneUserRegex is a regular expression to match the username in
// admission request to distinguish if the request is coming from controlplane.
RawControlplaneUserRegex string `envconfig:"CONTROLPLANE_USER_REGEX"`
ControlplaneUserRegex *regexp.Regexp `ignored:"true"`
}
func ConfigFromEnv ¶ added in v0.6.0
func ConfigFromEnv() Config
type IsRequestFromKargoControlplaneFn ¶ added in v0.6.0
func IsRequestFromKargoControlplane ¶ added in v0.6.0
func IsRequestFromKargoControlplane(regex *regexp.Regexp) IsRequestFromKargoControlplaneFn
Click to show internal directories.
Click to hide internal directories.