Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeBrainOption ¶
type KubeBrainOption struct { // key prefix Prefix string // TODO validate key by prefix when read and write SkippedPrefixes []string ClusterName string EnableStorageMetrics bool // contains filtered or unexported fields }
func NewOptions ¶
func NewOptions() *KubeBrainOption
func (*KubeBrainOption) AddFlags ¶
func (o *KubeBrainOption) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags to fs and binds them to options.
func (*KubeBrainOption) Run ¶
func (o *KubeBrainOption) Run(ctx context.Context) error
Run runs the storage engine
func (*KubeBrainOption) Validate ¶
func (o *KubeBrainOption) Validate() error
Validate checks the option before running
Click to show internal directories.
Click to hide internal directories.