Documentation
¶
Index ¶
Constants ¶
View Source
const (
ServingPort = 8443
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRecommendedOptions ¶
type AuthRecommendedOptions struct { SecureServing SecureServingOptions NTP NTPOptions Github github.Options Gitlab gitlab.Options Token token.Options Google google.Options Azure azure.Options LDAP ldap.Options AuthProvider providers.AuthProviders }
func NewAuthRecommendedOptions ¶
func NewAuthRecommendedOptions() *AuthRecommendedOptions
func (*AuthRecommendedOptions) AddFlags ¶
func (o *AuthRecommendedOptions) AddFlags(fs *pflag.FlagSet)
func (*AuthRecommendedOptions) Validate ¶
func (o *AuthRecommendedOptions) Validate() []error
type AuthzRecommendedOptions ¶
type AuthzRecommendedOptions struct { Azure options.Options AuthzProvider authz.AuthzProviders }
func NewAuthzRecommendedOptions ¶
func NewAuthzRecommendedOptions() *AuthzRecommendedOptions
func (*AuthzRecommendedOptions) AddFlags ¶
func (o *AuthzRecommendedOptions) AddFlags(fs *pflag.FlagSet)
func (*AuthzRecommendedOptions) Validate ¶
func (o *AuthzRecommendedOptions) Validate(opts *AuthRecommendedOptions) []error
type Authzhandler ¶
type Authzhandler struct { AuthRecommendedOptions *AuthRecommendedOptions AuthzRecommendedOptions *AuthzRecommendedOptions Store authz.Store }
func (*Authzhandler) ServeHTTP ¶
func (s *Authzhandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
type NTPOptions ¶
func NewNTPOptions ¶
func NewNTPOptions() NTPOptions
func (*NTPOptions) AddFlags ¶
func (o *NTPOptions) AddFlags(fs *pflag.FlagSet)
func (*NTPOptions) Enabled ¶
func (o *NTPOptions) Enabled() bool
func (NTPOptions) ToArgs ¶
func (o NTPOptions) ToArgs() []string
func (*NTPOptions) Validate ¶
func (o *NTPOptions) Validate() []error
type SecureServingOptions ¶
type SecureServingOptions struct { SecureAddr string CACertFile string CertFile string KeyFile string // contains filtered or unexported fields }
func NewSecureServingOptions ¶
func NewSecureServingOptions() SecureServingOptions
func NewSecureServingOptionsFromDir ¶
func NewSecureServingOptionsFromDir(pkiDir string) SecureServingOptions
func (*SecureServingOptions) AddFlags ¶
func (o *SecureServingOptions) AddFlags(fs *pflag.FlagSet)
func (SecureServingOptions) Apply ¶
func (o SecureServingOptions) Apply(d *apps.Deployment) (extraObjs []runtime.Object, err error)
func (SecureServingOptions) UseTLS ¶
func (o SecureServingOptions) UseTLS() bool
func (*SecureServingOptions) Validate ¶
func (o *SecureServingOptions) Validate() []error
type Server ¶
type Server struct { AuthRecommendedOptions *AuthRecommendedOptions AuthzRecommendedOptions *AuthzRecommendedOptions TokenAuthenticator *token.Authenticator WriteTimeout time.Duration ReadTimeout time.Duration }
func (Server) ListenAndServe ¶
func (s Server) ListenAndServe()
Click to show internal directories.
Click to hide internal directories.