oauth_apiserver

package
v0.0.0-...-fa1f097 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOAuthAPIServerCommand

func NewOAuthAPIServerCommand(name string, out io.Writer) *cobra.Command

func RunOAuthAPIServer

func RunOAuthAPIServer(serverOptions *OAuthAPIServerOptions, stopCh <-chan struct{}) error

Types

type OAuthAPIServerOptions

type OAuthAPIServerOptions struct {
	GenericServerRunOptions *genericapiserveroptions.ServerRunOptions
	RecommendedOptions      *genericapiserveroptions.RecommendedOptions
	TokenValidationOptions  *tokenvalidationoptions.TokenValidationOptions

	Output io.Writer
}

func NewOAuthAPIServerOptions

func NewOAuthAPIServerOptions(out io.Writer) *OAuthAPIServerOptions

func (*OAuthAPIServerOptions) AddFlags

func (o *OAuthAPIServerOptions) AddFlags(fs *pflag.FlagSet)

func (*OAuthAPIServerOptions) Complete

func (o *OAuthAPIServerOptions) Complete() error

func (*OAuthAPIServerOptions) NewOAuthAPIServerConfig

func (o *OAuthAPIServerOptions) NewOAuthAPIServerConfig() (*apiserver.Config, error)

func (OAuthAPIServerOptions) Validate

func (o OAuthAPIServerOptions) Validate(args []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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