exec

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var Options = SubscriptionCMDOptions{
	MetricsAddr:          "",
	SyncInterval:         60,
	LeaseDurationSeconds: 60,
	Standalone:           false,
	DeployAgent:          false,
	AgentImage:           "quay.io/open-cluster-management/multicloud-operators-subscription:latest",
}

Functions

func ProcessFlags

func ProcessFlags()

ProcessFlags parses command line parameters into Options

func RunManager

func RunManager()

Types

type SubscriptionCMDOptions

type SubscriptionCMDOptions struct {
	MetricsAddr           string
	ClusterName           string
	HubConfigFilePathName string
	TLSKeyFilePathName    string
	TLSCrtFilePathName    string
	SyncInterval          int
	DisableTLS            bool
	Standalone            bool
	DeployAgent           bool
	AgentImage            string
	LeaseDurationSeconds  int
}

SubscriptionCMDOptions for command line flag parsing

Jump to

Keyboard shortcuts

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