Documentation ¶
Index ¶
Constants ¶
View Source
const (
AddonName = "application-manager"
)
Variables ¶
View Source
var Options = SubscriptionCMDOptions{ MetricsAddr: "", KubeConfig: "", SyncInterval: 60, LeaseDurationSeconds: 60, LeaderElectionLeaseDuration: 137 * time.Second, LeaderElectionRenewDeadline: 107 * time.Second, LeaderElectionRetryPeriod: 26 * time.Second, Standalone: false, AgentImage: "quay.io/open-cluster-management/multicloud-operators-subscription:latest", Debug: false, }
Functions ¶
func RunManager ¶
func RunManager()
Types ¶
type SubscriptionCMDOptions ¶
type SubscriptionCMDOptions struct { MetricsAddr string KubeConfig string ClusterName string HubConfigFilePathName string TLSKeyFilePathName string TLSCrtFilePathName string SyncInterval int DisableTLS bool Standalone bool AgentImage string LeaseDurationSeconds int LeaderElectionLeaseDuration time.Duration LeaderElectionRenewDeadline time.Duration LeaderElectionRetryPeriod time.Duration Debug bool }
SubscriptionCMDOptions for command line flag parsing
Click to show internal directories.
Click to hide internal directories.