Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONPatternMatching ¶
type JSONPatternMatching struct {
Rules []common.JSONPatternMatchingRule
}
func (*JSONPatternMatching) Call ¶
func (jsonAuth *JSONPatternMatching) Call(pipeline common.AuthPipeline, ctx context.Context) (bool, error)
type KubernetesAuthz ¶ added in v0.5.0
type KubernetesAuthz struct { User common.JSONValue Groups []string ResourceAttributes *KubernetesAuthzResourceAttributes // contains filtered or unexported fields }
func NewKubernetesAuthz ¶ added in v0.5.0
func NewKubernetesAuthz(user common.JSONValue, groups []string, resourceAttributes *KubernetesAuthzResourceAttributes) (*KubernetesAuthz, error)
func (*KubernetesAuthz) Call ¶ added in v0.5.0
func (k *KubernetesAuthz) Call(pipeline common.AuthPipeline, ctx context.Context) (bool, error)
type KubernetesAuthzResourceAttributes ¶ added in v0.5.0
type OPA ¶
type OPA struct { Rego string `yaml:"rego"` OPAExternalSource OPAExternalSource // contains filtered or unexported fields }
func NewOPAAuthorization ¶
type OPAExternalSource ¶ added in v0.5.0
type OPAExternalSource struct { Endpoint string auth_credentials.AuthCredentials }
Click to show internal directories.
Click to hide internal directories.