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) RunProxyServer(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 ¶
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 ¶
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) RunProxyServer ¶
func (o LicenseProxyServerOptions) RunProxyServer(ctx context.Context) error
RunProxyServer 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.