Documentation
¶
Overview ¶
Package delegatedauthimpl provides a no-op implementation of the delegatedauth component
Index ¶
- type DelegatedAuthNoop
- func (d *DelegatedAuthNoop) AddInstance(_ context.Context, _ delegatedauth.InstanceParams) error
- func (d *DelegatedAuthNoop) HTML(_ bool, buffer io.Writer) error
- func (d *DelegatedAuthNoop) JSON(_ bool, stats map[string]interface{}) error
- func (d *DelegatedAuthNoop) Name() string
- func (d *DelegatedAuthNoop) Section() string
- func (d *DelegatedAuthNoop) Text(_ bool, buffer io.Writer) error
- type Provides
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DelegatedAuthNoop ¶ added in v0.84.0
type DelegatedAuthNoop struct{}
func (*DelegatedAuthNoop) AddInstance ¶ added in v0.84.0
func (d *DelegatedAuthNoop) AddInstance(_ context.Context, _ delegatedauth.InstanceParams) error
AddInstance does nothing in the noop implementation
func (*DelegatedAuthNoop) HTML ¶ added in v0.84.0
func (d *DelegatedAuthNoop) HTML(_ bool, buffer io.Writer) error
HTML renders the HTML status output
func (*DelegatedAuthNoop) JSON ¶ added in v0.84.0
func (d *DelegatedAuthNoop) JSON(_ bool, stats map[string]interface{}) error
JSON populates the status stats map
func (*DelegatedAuthNoop) Name ¶ added in v0.84.0
func (d *DelegatedAuthNoop) Name() string
Name returns the name for status sorting
func (*DelegatedAuthNoop) Section ¶ added in v0.84.0
func (d *DelegatedAuthNoop) Section() string
Section returns the section name for status grouping
type Provides ¶
type Provides struct {
Comp delegatedauth.Component
StatusProvider status.InformationProvider
}
Provides list the provided interfaces from the delegatedauth Component
func NewComponent ¶
func NewComponent() Provides
NewComponent returns a no-op implementation for the delegated auth component
Click to show internal directories.
Click to hide internal directories.