Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrafanaAPIServerOptions ¶
type GrafanaAPIServerOptions struct { ServerRunOptions *genericoptions.ServerRunOptions RecommendedOptions *genericoptions.RecommendedOptions APIEnablement *genericoptions.APIEnablementOptions StdOut io.Writer StdErr io.Writer AlternateDNS []string }
GrafanaAPIServerOptions contains state for master/api server
func NewGrafanaAPIServerOptions ¶
func NewGrafanaAPIServerOptions(out, errOut io.Writer) *GrafanaAPIServerOptions
NewGrafanaAPIServerOptions returns a new GrafanaAPIServerOptions
func (GrafanaAPIServerOptions) AddFlags ¶
func (o GrafanaAPIServerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds the grafana-apiserver flags to the flagset.
func (GrafanaAPIServerOptions) Complete ¶
func (o GrafanaAPIServerOptions) Complete() error
Complete fills in fields required to have valid data
func (GrafanaAPIServerOptions) Config ¶
func (o GrafanaAPIServerOptions) Config() (*apiserver.Config, error)
Config returns config for the api server given GrafanaAPIServerOptions
func (GrafanaAPIServerOptions) Run ¶
func (o GrafanaAPIServerOptions) Run(stopCh <-chan struct{}) error
RunGrafanaAPIServer starts a new GrafanaAPIServer given GrafanaAPIServerOptions
func (GrafanaAPIServerOptions) Validate ¶
func (o GrafanaAPIServerOptions) Validate() error
Validate validates the kinds-apiserver options.
Click to show internal directories.
Click to hide internal directories.