authchecker

package
v2.0.0-...-7b710ec Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthChecker

type AuthChecker struct {
	Err error

	Client   dynamic.ResourceInterface
	FilePath string
	FileData []byte

	Logger    logr.Logger
	RetryTime time.Duration
	// contains filtered or unexported fields
}

func (*AuthChecker) Check

func (c *AuthChecker) Check(_ *http.Request) error

func (*AuthChecker) CheckToken

func (c *AuthChecker) CheckToken(ctx context.Context) (err error)

func (*AuthChecker) Clear

func (c *AuthChecker) Clear()

func (*AuthChecker) HasErr

func (c *AuthChecker) HasErr() bool

func (*AuthChecker) SetErr

func (c *AuthChecker) SetErr(err error)

func (*AuthChecker) Start

func (c *AuthChecker) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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