options

package
v0.0.0-...-323aa8a Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationFlags

type AuthenticationFlags struct {

	// custom authentication
	AuthPlugin string
	AuthParams string

	// TLS mutual authentication
	TLSCertFile string
	TLSKeyFile  string

	// token-based authentication
	Token     string
	TokenFile string

	// OAuth 2.0-based authentication
	Oauth2Issuer   string
	Oauth2ClientID string
	Oauth2Audience string
	Oauth2KeyFile  string
}

AuthenticationFlags defines common authentication flags for Pulsar.

func (*AuthenticationFlags) AddFlags

func (f *AuthenticationFlags) AddFlags(flags *flag.FlagSet)

func (*AuthenticationFlags) ToAuthenticationProvider

func (f *AuthenticationFlags) ToAuthenticationProvider() (pulsar.Authentication, error)

func (*AuthenticationFlags) Validate

func (f *AuthenticationFlags) Validate() error

Jump to

Keyboard shortcuts

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