exec

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 36 Imported by: 0

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 ProcessFlags

func ProcessFlags()

ProcessFlags parses command line parameters into Options

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
	AgentInstallAll             bool
}

SubscriptionCMDOptions for command line flag parsing

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL