Documentation ¶
Index ¶
Constants ¶
View Source
const ( InaddrAny = "0.0.0.0" Inaddr6Any = "::" InaddrLoop = "localhost" Inaddr6Loop = "::1" )
Variables ¶
This section is empty.
Functions ¶
func InstallFlags ¶
func InstallFlags(flags *pflag.FlagSet, opt *VolumeWatcherOpts)
Types ¶
type NotifyEventType ¶
type NotifyEventType int
const ( UnixSignal NotifyEventType = iota // "signal" WebHook // "http" ShellTool // "exec" SQL // "sql" TPLScript // "tpl" Comb // "comb" )
func (*NotifyEventType) Set ¶
func (f *NotifyEventType) Set(val string) error
func (*NotifyEventType) String ¶
func (f *NotifyEventType) String() string
func (*NotifyEventType) Type ¶
func (f *NotifyEventType) Type() string
type ReconfigureServiceOptions ¶
type ReconfigureServiceOptions struct { GrpcPort int PodIP string // EnableRemoteOnlineUpdate enables remote online update RemoteOnlineUpdateEnable bool // EnableContainerRuntime enables container runtime ContainerRuntimeEnable bool DebugMode bool ContainerRuntime cfgutil.CRIType RuntimeEndpoint string }
type VolumeWatcherOpts ¶
type VolumeWatcherOpts struct { VolumeDirs []string // Exec command for reload BackupPath string LogLevel string CombConfig string ServiceOpt ReconfigureServiceOptions }
func NewVolumeWatcherOpts ¶
func NewVolumeWatcherOpts() *VolumeWatcherOpts
Click to show internal directories.
Click to hide internal directories.