Documentation ¶
Index ¶
- type ExtraOptions
- type LicenseProxyServerOptions
- func (o LicenseProxyServerOptions) AddFlags(fs *pflag.FlagSet)
- func (o *LicenseProxyServerOptions) Complete() error
- func (o *LicenseProxyServerOptions) Config() (*apiserver.Config, error)
- func (o LicenseProxyServerOptions) Run(ctx context.Context) error
- func (o LicenseProxyServerOptions) Validate(args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtraOptions ¶
type ExtraOptions struct { QPS float64 Burst int BaseURL string Token string CAFile string InsecureSkipTLSVerify bool LicenseDir string CacheDir string HubKubeconfig string SpokeClusterName string }
func NewExtraOptions ¶
func NewExtraOptions() *ExtraOptions
func (*ExtraOptions) AddFlags ¶
func (s *ExtraOptions) AddFlags(fs *pflag.FlagSet)
func (*ExtraOptions) ApplyTo ¶
func (s *ExtraOptions) ApplyTo(cfg *apiserver.ExtraConfig) error
func (*ExtraOptions) Validate ¶ added in v0.0.2
func (s *ExtraOptions) Validate() []error
type LicenseProxyServerOptions ¶
type LicenseProxyServerOptions struct { RecommendedOptions *genericoptions.RecommendedOptions ExtraOptions *ExtraOptions StdOut io.Writer StdErr io.Writer }
LicenseProxyServerOptions contains state for master/api server
func NewUIServerOptions ¶
func NewUIServerOptions(out, errOut io.Writer) *LicenseProxyServerOptions
NewUIServerOptions returns a new LicenseProxyServerOptions
func (LicenseProxyServerOptions) AddFlags ¶
func (o LicenseProxyServerOptions) AddFlags(fs *pflag.FlagSet)
func (*LicenseProxyServerOptions) Complete ¶
func (o *LicenseProxyServerOptions) Complete() error
Complete fills in fields required to have valid data
func (*LicenseProxyServerOptions) Config ¶
func (o *LicenseProxyServerOptions) Config() (*apiserver.Config, error)
Config returns config for the api server given LicenseProxyServerOptions
func (LicenseProxyServerOptions) Run ¶ added in v0.0.8
func (o LicenseProxyServerOptions) Run(ctx context.Context) error
Run starts a new LicenseProxyServer given LicenseProxyServerOptions
func (LicenseProxyServerOptions) Validate ¶
func (o LicenseProxyServerOptions) Validate(args []string) error
Validate validates LicenseProxyServerOptions
Click to show internal directories.
Click to hide internal directories.