Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultPlatform = "platform-default"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureOptions ¶
type FeatureOptions struct { TenantOfInitialAdministrator string UserOfInitialAdministrator string SyncProjectsWithNamespaces bool }
func NewFeatureOptions ¶
func NewFeatureOptions() *FeatureOptions
func (*FeatureOptions) AddFlags ¶
func (o *FeatureOptions) AddFlags(fs *pflag.FlagSet)
func (*FeatureOptions) ApplyFlags ¶
func (o *FeatureOptions) ApplyFlags() []error
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 PlatformAPIClient *controlleroptions.APIServerClientOptions RegistryAPIClient *controlleroptions.APIServerClientOptions AuthAPIClient *controlleroptions.APIServerClientOptions FeatureOptions *FeatureOptions Audit *genericapiserveroptions.AuditOptions }
Options is the main context object for the TKE business 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.