apply

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applier

type Applier interface {
	Apply(
		ctx context.Context,
		input input.LocalSnapshot,
		userSupplied input.RemoteSnapshot,
	)
}

the Applier validates user-applied configuration and produces a snapshot that is ready for translation (i.e. with accepted policies applied to all the Status of all targeted Destinations) Note that the Applier also updates the statuses of objects contained in the input Snapshot. The Input Snapshot's SyncStatuses method should usually be called after running the Applier.

func NewApplier

func NewApplier(
	translator translation.Translator,
) Applier

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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