Documentation
¶
Index ¶
Constants ¶
View Source
const WatchNamespaceEnvVar = "WATCH_NAMESPACE"
WatchNamespaceEnvVar is the constant for env variable WATCH_NAMESPACE which is the namespace where the watch activity happens. this value is empty if the operator is running with clusterScope.
Variables ¶
View Source
var Options = SubscriptionCMDOptions{ MetricsAddr: "", SyncInterval: 60, Standalone: false, }
Functions ¶
func RunManager ¶
func RunManager()
Types ¶
type SubscriptionCMDOptions ¶
type SubscriptionCMDOptions struct {
MetricsAddr string
ClusterName string
ClusterNamespace string
HubConfigFilePathName string
TLSKeyFilePathName string
TLSCrtFilePathName string
SyncInterval int
DisableTLS bool
Standalone bool
}
SubscriptionCMDOptions for command line flag parsing
Click to show internal directories.
Click to hide internal directories.