Documentation ¶
Index ¶
- Constants
- type FakeConfigRotator
- func (f *FakeConfigRotator) AddListener(listener utilrest.ConfigRotatorListener) utilrest.ConfigRotatorListenerRegistration
- func (f *FakeConfigRotator) Check(req *http.Request) error
- func (f *FakeConfigRotator) ClientConfig() *rest.Config
- func (f *FakeConfigRotator) EnqueueAll()
- func (f *FakeConfigRotator) Init(ctx context.Context, force bool) error
- func (f *FakeConfigRotator) Listeners() []utilrest.ConfigRotatorListener
- func (f *FakeConfigRotator) Name() string
- func (f *FakeConfigRotator) RemoveListener(reg utilrest.ConfigRotatorListenerRegistration)
- func (f *FakeConfigRotator) SetClientConfig(cfg *rest.Config)
- func (f *FakeConfigRotator) SetTransportConfig(cfg *rest.Config)
- func (f *FakeConfigRotator) Start(ctx context.Context) error
- func (f *FakeConfigRotator) Started() bool
- func (f *FakeConfigRotator) TransportConfig() *rest.Config
- type FakeConfigRotatorListenerHandle
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) AddListener ¶
func (f *FakeConfigRotator) AddListener(listener utilrest.ConfigRotatorListener) utilrest.ConfigRotatorListenerRegistration
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 (f *FakeConfigRotator) Listeners() []utilrest.ConfigRotatorListener
func (*FakeConfigRotator) Name ¶
func (f *FakeConfigRotator) Name() string
func (*FakeConfigRotator) RemoveListener ¶
func (f *FakeConfigRotator) RemoveListener(reg utilrest.ConfigRotatorListenerRegistration)
func (*FakeConfigRotator) SetClientConfig ¶
func (f *FakeConfigRotator) SetClientConfig(cfg *rest.Config)
func (*FakeConfigRotator) SetTransportConfig ¶
func (f *FakeConfigRotator) SetTransportConfig(cfg *rest.Config)
func (*FakeConfigRotator) Started ¶
func (f *FakeConfigRotator) Started() bool
func (*FakeConfigRotator) TransportConfig ¶
func (f *FakeConfigRotator) TransportConfig() *rest.Config
type FakeConfigRotatorListenerHandle ¶
type FakeConfigRotatorListenerHandle struct {
utilrest.ConfigRotatorListener
}
Click to show internal directories.
Click to hide internal directories.