Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureOptions ¶ added in v1.9.0
type FeatureOptions struct {
NotFoundCRDProxy bool
}
FeatureOptions contains the options that feature gate.
func NewFeatureOptions ¶ added in v1.9.0
func NewFeatureOptions() *FeatureOptions
NewFeatureOptions creates an Options object with default feature parameters.
func (*FeatureOptions) AddFlags ¶ added in v1.9.0
func (o *FeatureOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags for log to the specified FlagSet object.
func (*FeatureOptions) ApplyFlags ¶ added in v1.9.0
func (o *FeatureOptions) ApplyFlags() []error
ApplyFlags parsing parameters from the command line or configuration file to the options instance.
type Options ¶
type Options struct { Log *log.Options SecureServing *apiserveroptions.SecureServingOptions Debug *apiserveroptions.DebugOptions ETCD *storageoptions.ETCDStorageOptions Generic *apiserveroptions.GenericOptions Authentication *apiserveroptions.AuthenticationWithAPIOptions Authorization *apiserveroptions.AuthorizationOptions Audit *genericapiserveroptions.AuditOptions FeatureOptions *FeatureOptions }
Options is the main context object for the TKE platform apiserver.
func NewOptions ¶
NewOptions creates a new Options with a default config.
func (*Options) AddFlags ¶
AddFlags adds flags for a specific server to the specified FlagSet object.
func (*Options) ApplyFlags ¶
ApplyFlags parsing parameters from the command line or configuration file to the options instance.
Click to show internal directories.
Click to hide internal directories.