heartbeat

package
v0.20.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "tmc-synctarget-heartbeat"

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitFunc

type CommitFunc = func(context.Context, *Resource, *Resource) error

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(
	kcpClusterClient kcpclientset.ClusterInterface,
	tmcClusterClient tmcclientset.ClusterInterface,
	syncTargetInformer workloadv1alpha1informers.SyncTargetClusterInformer,
	heartbeatThreshold time.Duration,
) (*Controller, error)

func (*Controller) Start

func (c *Controller) Start(ctx context.Context)

type SyncTarget

type SyncTarget = workloadv1alpha1.SyncTarget

type SyncTargetSpec

type SyncTargetSpec = workloadv1alpha1.SyncTargetSpec

type SyncTargetStatus

type SyncTargetStatus = workloadv1alpha1.SyncTargetStatus

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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