Help us shape the future of Go! Take the 2026 Go Developer Survey

controller

package
v0.0.15 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PprofReadTimeout  = 10 * time.Second
	PprofWriteTimeout = 10 * time.Second
)
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 OperatorNamespace

func OperatorNamespace() string

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
}

type ResourceObject

type ResourceObject interface {
	rtclient.Object
	WithStatus
}

type WithStatus

type WithStatus interface {
	GetStatus() *daptCtrlApi.Status
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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