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

operator

package
v1.7.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunWebhooks added in v1.4.3

func RunWebhooks(enableLeaderElection bool)

Types

type Config added in v0.6.0

type Config struct {
	MTLSEnabled bool
	Credentials credentials.TLSCredentials
}

Config returns an operator config options.

func LoadConfiguration added in v0.6.0

func LoadConfiguration(name string, client client.Client) (*Config, error)

LoadConfiguration loads the Kubernetes configuration and returns an Operator Config.

type Operator

type Operator interface {
	Run(ctx context.Context)
}

Operator is an Dapr Kubernetes Operator for managing components and sidecar lifecycle.

func NewOperator

func NewOperator(config, certChainPath string, enableLeaderElection bool) Operator

NewOperator returns a new Dapr Operator.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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