workload

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package workload provides functions used to translate OAM workload types into Kubernetes objects.

Index

Constants

View Source
const LabelKey = "workload.oam.crossplane.io"

LabelKey is the label applied to translated workload objects.

Variables

This section is empty.

Functions

func ServiceInjector

func ServiceInjector(ctx context.Context, w oam.Workload, objs []oam.Object) ([]oam.Object, error)

ServiceInjector adds a Service object for the first Port on the first Container for the first Deployment observed in a workload translation.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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