fake

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeReader

type FakeReader struct {
	GetUserHeadersFunc         func() ([]string, error)
	GetGroupHeadersFunc        func() ([]string, error)
	GetExtraHeaderPrefixesFunc func() ([]string, error)
	GetClientCAFunc            func() (*x509.CertPool, error)
}

func NewFakeReader

func NewFakeReader() *FakeReader

func (*FakeReader) GetClientCA

func (f *FakeReader) GetClientCA() (*x509.CertPool, error)

func (*FakeReader) GetExtraHeaderPrefixes

func (f *FakeReader) GetExtraHeaderPrefixes() ([]string, error)

func (*FakeReader) GetGroupHeaders

func (f *FakeReader) GetGroupHeaders() ([]string, error)

func (*FakeReader) GetUserHeaders

func (f *FakeReader) GetUserHeaders() ([]string, error)

func (*FakeReader) Stop

func (f *FakeReader) Stop()

Jump to

Keyboard shortcuts

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