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()
Click to show internal directories.
Click to hide internal directories.