resolver

package
v0.0.0-...-ac6872c Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const HeadersKey string = "headers"

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sResolver

type K8sResolver struct {
	K8sProxy *proxy.Proxy
}

func (*K8sResolver) FetchURL

func (r *K8sResolver) FetchURL(ctx context.Context, args struct{ URL string }) (*string, error)

func (*K8sResolver) SelfSubjectAccessReview

func (r *K8sResolver) SelfSubjectAccessReview(ctx context.Context, args SSARArgs) (*auth.SelfSubjectAccessReview, error)

type RootResolver

type RootResolver struct {
	*K8sResolver
}

type SSARArgs

type SSARArgs struct {
	Group     *string `json:"group"`
	Resource  *string `json:"resource"`
	Verb      *string `json:"verb"`
	Namespace *string `json:"namespace"`
}

Jump to

Keyboard shortcuts

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