Documentation ¶
Overview ¶
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Index ¶
Constants ¶
View Source
const (
AppName = "kube-oidc-proxy"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditOptions ¶ added in v0.3.0
type AuditOptions struct {
*apiserveroptions.AuditOptions
}
func NewAuditOptions ¶ added in v0.3.0
func NewAuditOptions(nfs *cliflag.NamedFlagSets) *AuditOptions
func (*AuditOptions) AddFlags ¶ added in v0.3.0
func (a *AuditOptions) AddFlags(fs *pflag.FlagSet) *AuditOptions
type ClientOptions ¶
type ClientOptions struct {
*genericclioptions.ConfigFlags
}
func NewClientOptions ¶ added in v0.3.0
func NewClientOptions(nfs *cliflag.NamedFlagSets) *ClientOptions
func (*ClientOptions) AddFlags ¶
func (c *ClientOptions) AddFlags(fs *pflag.FlagSet) *ClientOptions
func (*ClientOptions) ClientFlagsChanged ¶
func (c *ClientOptions) ClientFlagsChanged(cmd *cobra.Command) bool
type ExtraHeaderOptions ¶ added in v0.3.0
type ExtraHeaderOptions struct { EnableClientIPExtraUserHeader bool ExtraUserHeaders map[string][]string }
func (*ExtraHeaderOptions) AddFlags ¶ added in v0.3.0
func (e *ExtraHeaderOptions) AddFlags(fs *pflag.FlagSet)
type KubeOIDCProxyOptions ¶
type KubeOIDCProxyOptions struct { DisableImpersonation bool ReadinessProbePort int FlushInterval time.Duration ExtraHeaderOptions ExtraHeaderOptions TokenPassthrough TokenPassthroughOptions }
func NewKubeOIDCProxyOptions ¶ added in v0.3.0
func NewKubeOIDCProxyOptions(nfs *cliflag.NamedFlagSets) *KubeOIDCProxyOptions
func (*KubeOIDCProxyOptions) AddFlags ¶
func (k *KubeOIDCProxyOptions) AddFlags(fs *pflag.FlagSet) *KubeOIDCProxyOptions
type MiscOptions ¶ added in v0.3.0
type MiscOptions struct {
// contains filtered or unexported fields
}
func NewMiscOptions ¶ added in v0.3.0
func NewMiscOptions(nfs *cliflag.NamedFlagSets) *MiscOptions
func (*MiscOptions) AddFlags ¶ added in v0.3.0
func (m *MiscOptions) AddFlags(fs *pflag.FlagSet) *MiscOptions
func (*MiscOptions) PrintVersionAndExit ¶ added in v0.3.0
func (m *MiscOptions) PrintVersionAndExit()
type OIDCAuthenticationOptions ¶
type OIDCAuthenticationOptions struct { CAFile string ClientID string IssuerURL string UsernameClaim string UsernamePrefix string GroupsClaim string GroupsPrefix string SigningAlgs []string RequiredClaims map[string]string }
func NewOIDCAuthenticationOptions ¶ added in v0.3.0
func NewOIDCAuthenticationOptions(nfs *cliflag.NamedFlagSets) *OIDCAuthenticationOptions
func (*OIDCAuthenticationOptions) AddFlags ¶
func (o *OIDCAuthenticationOptions) AddFlags(fs *pflag.FlagSet) *OIDCAuthenticationOptions
func (*OIDCAuthenticationOptions) Validate ¶
func (o *OIDCAuthenticationOptions) Validate() error
type Options ¶ added in v0.3.0
type Options struct { App *KubeOIDCProxyOptions OIDCAuthentication *OIDCAuthenticationOptions SecureServing *SecureServingOptions Audit *AuditOptions Client *ClientOptions Misc *MiscOptions // contains filtered or unexported fields }
type SecureServingOptions ¶ added in v0.3.0
type SecureServingOptions struct {
*apiserveroptions.SecureServingOptions
}
func NewSecureServingOptions ¶ added in v0.3.0
func NewSecureServingOptions(nfs *cliflag.NamedFlagSets) *SecureServingOptions
func (*SecureServingOptions) AddFlags ¶ added in v0.3.0
func (s *SecureServingOptions) AddFlags(fs *pflag.FlagSet) *SecureServingOptions
type TokenPassthroughOptions ¶
func (*TokenPassthroughOptions) AddFlags ¶
func (t *TokenPassthroughOptions) AddFlags(fs *pflag.FlagSet)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.