workload

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Translator

type Translator interface {
	TranslateWorkloads(
		deployments appsv1sets.DeploymentSet,
		daemonSets appsv1sets.DaemonSetSet,
		statefulSets appsv1sets.StatefulSetSet,
		meshes v1sets.MeshSet,
	) v1sets.WorkloadSet
}

the mesh-workload translator converts deployments with injected sidecars into Workload CRs

func NewTranslator

func NewTranslator(ctx context.Context, workloadDetector detector.WorkloadDetector) Translator

Directories

Path Synopsis
mocks
Package mock_detector is a generated GoMock package.
Package mock_detector is a generated GoMock package.
osm
Package mock_workload is a generated GoMock package.
Package mock_workload is a generated GoMock package.

Jump to

Keyboard shortcuts

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