Documentation ¶
Index ¶
- type AuthorizationProfileConfig
- type ConditionAndConfig
- type ConditionClaimConfig
- type ConditionConfig
- type ConditionFalseConfig
- type ConditionHostConfig
- type ConditionNotConfig
- type ConditionOrConfig
- type ConditionPathConfig
- type ConditionRedirectConfig
- type ConditionTrueConfig
- type ConditionUnauthorizedConfig
- type MatchProfileConfig
- type MutatorConfig
- type MutatorHeaderConfig
- type MutatorProfileConfig
- type OidcProfileConfig
- type RootConfig
- type RuleConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationProfileConfig ¶
type AuthorizationProfileConfig struct {
Condition ConditionConfig `yaml:"condition"`
}
type ConditionAndConfig ¶
type ConditionAndConfig struct {
Conditions []*ConditionConfig `yaml:"conditions"`
}
func (*ConditionAndConfig) UnmarshalYAML ¶
func (cond *ConditionAndConfig) UnmarshalYAML(value *yaml.Node) error
type ConditionClaimConfig ¶
type ConditionClaimConfig struct {
ClaimTpl string `yaml:"claim"`
}
func (*ConditionClaimConfig) UnmarshalYAML ¶
func (cond *ConditionClaimConfig) UnmarshalYAML(value *yaml.Node) error
type ConditionConfig ¶
type ConditionConfig struct { True *ConditionTrueConfig `yaml:"true"` False *ConditionFalseConfig `yaml:"false"` And *ConditionAndConfig `yaml:"and"` Or *ConditionOrConfig `yaml:"or"` Not *ConditionNotConfig `yaml:"not"` Redirect *ConditionRedirectConfig `yaml:"redirect"` Host *ConditionHostConfig `yaml:"host"` Path *ConditionPathConfig `yaml:"path"` Claim *ConditionClaimConfig `yaml:"claim"` }
func (*ConditionConfig) UnmarshalYAML ¶
func (cond *ConditionConfig) UnmarshalYAML(value *yaml.Node) error
type ConditionFalseConfig ¶
type ConditionFalseConfig struct { }
type ConditionHostConfig ¶
type ConditionHostConfig struct {
HostTpl string `yaml:"host"`
}
func (*ConditionHostConfig) UnmarshalYAML ¶
func (cond *ConditionHostConfig) UnmarshalYAML(value *yaml.Node) error
type ConditionNotConfig ¶
type ConditionNotConfig struct {
Condition *ConditionConfig `yaml:"condition"`
}
type ConditionOrConfig ¶
type ConditionOrConfig struct {
Conditions []*ConditionConfig `yaml:"conditions"`
}
func (*ConditionOrConfig) UnmarshalYAML ¶
func (cond *ConditionOrConfig) UnmarshalYAML(value *yaml.Node) error
type ConditionPathConfig ¶
type ConditionPathConfig struct {
PathTpl string `yaml:"path"`
}
func (*ConditionPathConfig) UnmarshalYAML ¶
func (cond *ConditionPathConfig) UnmarshalYAML(value *yaml.Node) error
type ConditionRedirectConfig ¶
type ConditionRedirectConfig struct { }
type ConditionTrueConfig ¶
type ConditionTrueConfig struct { }
type ConditionUnauthorizedConfig ¶
type ConditionUnauthorizedConfig struct { }
type MatchProfileConfig ¶
type MatchProfileConfig struct {
Condition ConditionConfig `yaml:"condition"`
}
type MutatorConfig ¶
type MutatorConfig struct {
Header *MutatorHeaderConfig `yaml:"header"`
}
func (*MutatorConfig) UnmarshalYAML ¶
func (mut *MutatorConfig) UnmarshalYAML(value *yaml.Node) error
type MutatorHeaderConfig ¶
type MutatorProfileConfig ¶
type MutatorProfileConfig struct {
Mutators []MutatorConfig `yaml:"mutators"`
}
type OidcProfileConfig ¶
type OidcProfileConfig struct { Oidc struct { DiscoveryUrlTmpl string `yaml:"discoveryURL"` ClientIdTmpl string `yaml:"clientId"` ClientSecretTmpl string `yaml:"clientSecret"` ScopesTmpl string `yaml:"scopes"` StandardFlow struct { CallbackTimeoutTmpl string `yaml:"callbackTimeout"` } `yaml:"standardFlow"` } `yaml:"oidc"` LoginTimeoutTmpl string `yaml:"loginTimeout"` Cookie struct { DomainTmpl string `yaml:"domain"` PathTmpl string `yaml:"path"` SecureTmpl string `yaml:"secure"` } `yaml:"cookie"` }
type RootConfig ¶
type RootConfig struct { Http struct { Address string `yaml:"address"` Port int `yaml:"port"` BaseUrl string `yaml:"baseUrl"` } `yaml:"http"` MatchProfiles map[string]MatchProfileConfig `yaml:"matchProfiles"` OidcProfiles map[string]OidcProfileConfig `yaml:"oidcProfiles"` AuthorizationProfiles map[string]AuthorizationProfileConfig `yaml:"authorizationProfiles"` MutatorProfiles map[string]MutatorProfileConfig `yaml:"mutatorProfiles"` Rules []RuleConfig `yaml:"rules"` }
Click to show internal directories.
Click to hide internal directories.