workload

package
v0.12.7 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 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 v1alpha2sets.MeshSet) v1alpha2sets.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