agent

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LedgerAnnotationLocation    = "ledger.stenic.io/location"
	LedgerAnnotationEnvironment = "ledger.stenic.io/environment"
	LedgerAnnotationApplication = "ledger.stenic.io/application"
	LedgerAnnotationIgnore      = "ledger.stenic.io/ignore"
)

Variables

This section is empty.

Functions

func Run

func Run(opts Options)

Types

type Event added in v1.4.7

type Event struct {
	Environment string
	Application string
	Location    string
	Version     string
}

type LedgerDeploymemtReconciler added in v1.4.7

type LedgerDeploymemtReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder

	RefreshRate time.Duration
}

func (*LedgerDeploymemtReconciler) Reconcile added in v1.4.7

func (*LedgerDeploymemtReconciler) SetupWithManager added in v1.4.7

func (r *LedgerDeploymemtReconciler) SetupWithManager(mgr ctrl.Manager) error

type LedgerStatefulsetReconciler added in v1.4.7

type LedgerStatefulsetReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder

	RefreshRate time.Duration
}

func (*LedgerStatefulsetReconciler) Reconcile added in v1.4.7

func (*LedgerStatefulsetReconciler) SetupWithManager added in v1.4.7

func (r *LedgerStatefulsetReconciler) SetupWithManager(mgr ctrl.Manager) error

type NotifyFunc added in v1.4.7

type NotifyFunc func(events []Event) error

NotifyFunc represents callback function for Pod event

type Options added in v1.9.0

type Options struct {
	Endpoint   string
	Namespaces string
	Location   string

	LeaderElection          bool
	LeaderElectionNamespace string
}

Jump to

Keyboard shortcuts

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