shim

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: EPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

package shim contains functions for generating metadata needed by Che-Theia for correct representation of workspaces. These functions serve to enable compatibility between devfile 2.0 workspaces and Che-Theia until Theia gets devfile 2.0 support.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillDefaultEnvVars

func FillDefaultEnvVars(podAdditions *v1alpha1.PodAdditions, workspace devworkspace.DevWorkspace)

func GetComponentByName

func GetComponentByName(name string, workspace devworkspace.DevWorkspaceTemplateSpec) (*devworkspace.Component, error)

func GetComponentDescriptionsFromPodAdditions

func GetComponentDescriptionsFromPodAdditions(podAdditions *v1alpha1.PodAdditions, workspace devworkspace.DevWorkspaceTemplateSpec) ([]v1alpha1.ComponentDescription, error)

func GetComponentMetadata

func GetComponentMetadata(componentName string, container *devworkspace.ContainerComponent, commands []devworkspace.Command, attr attributes.Attributes) v1alpha1.ComponentMetadata

Types

This section is empty.

Jump to

Keyboard shortcuts

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