redis: kubedb.dev/redis/pkg/cmds/server Index | Files

package server

import "kubedb.dev/redis/pkg/cmds/server"

Index

Package Files

options.go start.go

type ExtraOptions Uses

type ExtraOptions struct {
    LicenseFile    string
    QPS            float64
    Burst          int
    ResyncPeriod   time.Duration
    MaxNumRequeues int
    NumThreads     int

    EnableMutatingWebhook   bool
    EnableValidatingWebhook bool
}

func NewExtraOptions Uses

func NewExtraOptions() *ExtraOptions

func (*ExtraOptions) AddFlags Uses

func (s *ExtraOptions) AddFlags(fs *pflag.FlagSet)

func (*ExtraOptions) AddGoFlags Uses

func (s *ExtraOptions) AddGoFlags(fs *flag.FlagSet)

func (*ExtraOptions) ApplyTo Uses

func (s *ExtraOptions) ApplyTo(cfg *controller.OperatorConfig) error

type RedisServerOptions Uses

type RedisServerOptions struct {
    RecommendedOptions *genericoptions.RecommendedOptions
    ExtraOptions       *ExtraOptions

    StdOut io.Writer
    StdErr io.Writer
}

func NewRedisServerOptions Uses

func NewRedisServerOptions(out, errOut io.Writer) *RedisServerOptions

func (RedisServerOptions) AddFlags Uses

func (o RedisServerOptions) AddFlags(fs *pflag.FlagSet)

func (*RedisServerOptions) Complete Uses

func (o *RedisServerOptions) Complete() error

func (RedisServerOptions) Config Uses

func (o RedisServerOptions) Config() (*server.RedisServerConfig, error)

func (RedisServerOptions) Run Uses

func (o RedisServerOptions) Run(stopCh <-chan struct{}) error

func (RedisServerOptions) Validate Uses

func (o RedisServerOptions) Validate(args []string) error

Package server imports 30 packages (graph) and is imported by 2 packages. Updated 2020-11-24. Refresh now. Tools for package owners.