controller

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterTypeVanilla   ClusterType = "Vanilla"
	ClusterTypeOpenShift ClusterType = "OpenShift"

	FieldManager     = "dapr-kubernetes-controller"
	NamespaceDefault = "dapr-system"
	NamespaceEnv     = "DAPR_KUBERNETES_OPERATOR_NAMESPACE"
)

Variables

View Source
var (
	Scheme = runtime.NewScheme()
	Log    = ctrl.Log.WithName("controller")
)

Functions

func Start

func Start(options Options, setup func(manager.Manager, Options) error) error

Types

type ClusterType

type ClusterType string

type Options

type Options struct {
	MetricsAddr                   string
	ProbeAddr                     string
	PprofAddr                     string
	LeaderElectionID              string
	LeaderElectionNamespace       string
	EnableLeaderElection          bool
	ReleaseLeaderElectionOnCancel bool
	WatchSelectors                map[rtclient.Object]rtcache.ByObject
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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