Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ExtensionName string // Namespace is the namespace which will be used for heartbeat lease resource. Namespace string // RenewIntervalSeconds defines how often the heartbeat lease is renewed. RenewIntervalSeconds int32 }
Config is a completed heartbeat controller configuration.
func (*Config) Apply ¶
func (c *Config) Apply(opts *heartbeat.AddOptions)
Apply sets the values of this Config in the given heartbeat.AddOptions.
type Options ¶
type Options struct { ExtensionName string // Namespace is the namespace which will be used for the heartbeat lease resource. Namespace string // RenewIntervalSeconds defines how often the heartbeat lease is renewed. RenewIntervalSeconds int32 // contains filtered or unexported fields }
Options are command line options that can be set for the heartbeat controller.
Click to show internal directories.
Click to hide internal directories.