Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureOptions ¶
type FeatureOptions struct {
Repo RepoOptions
}
FeatureOptions contains configuration items related to application attributes.
func NewFeatureOptions ¶
func NewFeatureOptions() *FeatureOptions
NewFeatureOptions creates a FeatureOptions object with default parameters.
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 SecureServing *apiserveroptions.SecureServingOptions Debug *apiserveroptions.DebugOptions ETCD *storageoptions.ETCDStorageOptions Generic *apiserveroptions.GenericOptions Authentication *apiserveroptions.AuthenticationWithAPIOptions Authorization *apiserveroptions.AuthorizationOptions RegistryAPIClient *controlleroptions.APIServerClientOptions PlatformAPIClient *controlleroptions.APIServerClientOptions Audit *genericapiserveroptions.AuditOptions FeatureOptions *FeatureOptions }
Options is the main context object for the TKE application 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.
type RepoOptions ¶
type RepoOptions struct { Scheme string DomainSuffix string CaFile string Admin string AdminPassword string }
RepoOptions contains configuration items related to application attributes.
func (*RepoOptions) ApplyTo ¶
func (o *RepoOptions) ApplyTo(cfg *appconfig.RepoConfiguration) error
ApplyTo fills up Debugging config with options.