options

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClaimSource

type ClaimSource struct {
	ClaimName         string `json:"claim"`
	Prefix            string `json:"prefix"`
	BasicAuthPassword string `json:"basicAuthPassword"`
}

func (*ClaimSource) Clone

func (c *ClaimSource) Clone() ClaimSource
type Header struct {
	Name   string        `json:"name"`
	Values []HeaderValue `json:"values"`
}

type HeaderValue

type HeaderValue struct {
	*ClaimSource `json:",omitempty"`
}

func (*HeaderValue) Clone

func (h *HeaderValue) Clone() HeaderValue

type HeaderValues

type HeaderValues []HeaderValue

func (HeaderValues) Clone

func (values HeaderValues) Clone() HeaderValues

type Headers

type Headers []Header

func (Headers) Clone

func (headers Headers) Clone() Headers

type Mapping

type Mapping struct {
	Name     string `json:"name"`
	Multiple bool   `json:"multiple"`
}

type Redirect

type Redirect struct {
	RootURL        string `json:"rootURL"`
	LogoutRedirect string `json:"logoutUrl"`
}

type Resource

type Resource struct {
	Methods []string `json:"methods"`
	URL     string   `json:"url"`
	Roles   []string `json:"roles"`
}

type Upstream

type Upstream struct {
	URL                   string     `json:"url"`
	Mapping               Mapping    `json:"mapping"`
	Resources             []Resource `json:"resources"`
	InSecureSkipTlsVerify bool       `json:"insecureSkipTlsVerify"`
	InjectRequestHeaders  []Header   `json:"injectRequestHeaders"`
}

Jump to

Keyboard shortcuts

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