 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerOption ¶
type ServerOption struct {
	ChaosLevel           int
	ControllerConfigFile string
	PrintVersion         bool
	GCInterval           time.Duration
	JsonLogFormat        bool
}
    ServerOption is the main context object for the controller manager.
func NewServerOption ¶
func NewServerOption() *ServerOption
NewServerOption creates a new CMServer with a default config.
func (*ServerOption) AddFlags ¶
func (s *ServerOption) AddFlags(fs *flag.FlagSet)
AddFlags adds flags for a specific CMServer to the specified FlagSet
 Click to show internal directories. 
   Click to hide internal directories.