testing

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const FakeConfigRotatorName = "fake-config-rotator"

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeConfigRotator

type FakeConfigRotator struct {
	// contains filtered or unexported fields
}

func NewFakeConfigRotator

func NewFakeConfigRotator() *FakeConfigRotator

func (*FakeConfigRotator) Check

func (f *FakeConfigRotator) Check(req *http.Request) error

func (*FakeConfigRotator) ClientConfig

func (f *FakeConfigRotator) ClientConfig() *rest.Config

func (*FakeConfigRotator) EnqueueAll

func (f *FakeConfigRotator) EnqueueAll()

func (*FakeConfigRotator) Init

func (f *FakeConfigRotator) Init(ctx context.Context, force bool) error

func (*FakeConfigRotator) Listeners

func (*FakeConfigRotator) Name

func (f *FakeConfigRotator) Name() string

func (*FakeConfigRotator) RemoveListener

func (*FakeConfigRotator) SetClientConfig

func (f *FakeConfigRotator) SetClientConfig(cfg *rest.Config)

func (*FakeConfigRotator) SetTransportConfig

func (f *FakeConfigRotator) SetTransportConfig(cfg *rest.Config)

func (*FakeConfigRotator) Start

func (f *FakeConfigRotator) Start(ctx context.Context) error

func (*FakeConfigRotator) Started

func (f *FakeConfigRotator) Started() bool

func (*FakeConfigRotator) TransportConfig

func (f *FakeConfigRotator) TransportConfig() *rest.Config

type FakeConfigRotatorListenerHandle

type FakeConfigRotatorListenerHandle struct {
	utilrest.ConfigRotatorListener
}

Jump to

Keyboard shortcuts

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