Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerRunOptions ¶
type ServerRunOptions struct { GenericServerRunOptions *genericoptions.ServerRunOptions Mysql *apioptions.MysqlOptions //hold etcd //Etcd *genericoptions.EtcdOptions SecureServing *genericoptions.SecureServingOptionsWithLoopback InsecureServing *apioptions.InsecureServingOptions Audit *genericoptions.AuditOptions Features *genericoptions.FeatureOptions Admission *apioptions.AdmissionOptions Authentication *apioptions.BuiltInAuthenticationOptions Authorization *apioptions.BuiltInAuthorizationOptions StorageSerialization *apioptions.StorageSerializationOptions APIEnablement *genericoptions.APIEnablementOptions //our custom options SwaggerUIFilePath string }
ServerRunOptions astagent custom options
func NewServerRunOptions ¶
func NewServerRunOptions() *ServerRunOptions
NewServerRunOptions new a ASTAgentOptions
func (*ServerRunOptions) AddFlags ¶
func (o *ServerRunOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags for a specific APIServer to the specified FlagSet
func (*ServerRunOptions) Validate ¶
func (s *ServerRunOptions) Validate() []error
Validate checks ServerRunOptions and return a slice of found errors.
Click to show internal directories.
Click to hide internal directories.