annotate

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: EPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginSourceAttribute = "controller.devfile.io/imported-by"
	EndpointURLAttribute  = "controller.devfile.io/endpoint-url"
)

Variables

This section is empty.

Functions

func AddSourceAttributesForTemplate added in v0.3.0

func AddSourceAttributesForTemplate(sourceID string, template *dw.DevWorkspaceTemplateSpec)

AddSourceAttributesForTemplate adds an attribute 'controller.devfile.io/imported-by=sourceID' to all elements of a plugin that support attributes.

func AddURLAttributesToEndpoints

func AddURLAttributesToEndpoints(workspace *dw.DevWorkspaceTemplateSpec, exposedEndpoints map[string]v1alpha1.ExposedEndpointList)

Types

This section is empty.

Jump to

Keyboard shortcuts

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