apply

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: Apache-2.0 Imports: 15 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.Snapshot)
}

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 TrafficTargets) 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