exec

package
v0.2.2-pre Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

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 ProcessFlags

func ProcessFlags()

ProcessFlags parses command line parameters into Options

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

Jump to

Keyboard shortcuts

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