synctargetexports

package
v0.11.0-alpha.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ControllerName = "kcp-synctarget-export-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitFunc added in v0.11.0

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

type Controller

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

func NewController

NewController returns a controller which update syncedResource in status based on supportedExports in spec of a syncTarget.

func (*Controller) Start

func (c *Controller) Start(ctx context.Context, numThreads int)

Start starts the controller workers.

type Patcher added in v0.11.0

type Resource added in v0.11.0

type SyncTarget added in v0.11.0

type SyncTarget = workloadv1alpha1.SyncTarget

type SyncTargetSpec added in v0.11.0

type SyncTargetSpec = workloadv1alpha1.SyncTargetSpec

type SyncTargetStatus added in v0.11.0

type SyncTargetStatus = workloadv1alpha1.SyncTargetStatus

Jump to

Keyboard shortcuts

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