Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomMetricsAdapterServerOptions ¶
type CustomMetricsAdapterServerOptions struct { // genericoptions.ReccomendedOptions - EtcdOptions Recommended *genericoptions.RecommendedOptions SecureServing *genericoptions.SecureServingOptions Authentication *genericoptions.DelegatingAuthenticationOptions Authorization *genericoptions.DelegatingAuthorizationOptions Features *genericoptions.FeatureOptions StdOut io.Writer StdErr io.Writer }
CustomMetricsAdapterServerOptions stores a configuration for custom metrics adapter.
func NewCustomMetricsAdapterServerOptions ¶
func NewCustomMetricsAdapterServerOptions(out, errOut io.Writer) *CustomMetricsAdapterServerOptions
NewCustomMetricsAdapterServerOptions creates CustomMetricsAdapterServerOptions for provided output interface.
func (*CustomMetricsAdapterServerOptions) Complete ¶
func (o *CustomMetricsAdapterServerOptions) Complete() error
Complete fills in any fields not set that are required to have valid data. Currently all fields are set by NewCustomMetricsAdapterServerOptions, so this is a no-op.
func (CustomMetricsAdapterServerOptions) Config ¶
func (o CustomMetricsAdapterServerOptions) Config() (*apiserver.Config, error)
Config returns apiserver.Config object from CustomMetricsAdapterServerOptions.
func (CustomMetricsAdapterServerOptions) Validate ¶
func (o CustomMetricsAdapterServerOptions) Validate(args []string) error
Validate validates CustomMetricsAdapterServerOptions. Currently all fields are correctly set in NewCustomMetricsAdapterServerOptions, so this is a no-op.
Click to show internal directories.
Click to hide internal directories.