exec

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AddonName = "application-manager"
)

Variables

View Source
var Options = SubscriptionCMDOptions{
	MetricsAddr:                        "",
	KubeConfig:                         "",
	SyncInterval:                       60,
	LeaseDurationSeconds:               60,
	LeaderElectionLeaseDurationSeconds: 137,
	RenewDeadlineSeconds:               107,
	RetryPeriodSeconds:                 26,
	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
	LeaderElectionLeaseDurationSeconds int
	RenewDeadlineSeconds               int
	RetryPeriodSeconds                 int
	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