Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureOptions ¶
type FeatureOptions struct { PolicyPath string CategoryPath string TenantAdmin string TenantAdminSecret string CasbinModelFile string CasbinReloadInterval time.Duration }
func NewFeatureOptions ¶
func NewFeatureOptions() *FeatureOptions
func (*FeatureOptions) AddFlags ¶
func (o *FeatureOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags for console to the specified FlagSet object.
func (*FeatureOptions) ApplyFlags ¶
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 Debug *apiserveroptions.DebugOptions SecureServing *apiserveroptions.SecureServingOptions Component *controlleroptions.ComponentOptions AuthAPIClient *controlleroptions.APIServerClientOptions FeatureOptions *FeatureOptions }
Options is the main context object for the TKE controller manager.
func NewOptions ¶
func NewOptions(serverName string, allControllers []string, disabledByDefaultControllers []string) *Options
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.