component

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(adapterContext common.AdapterContext, client kclient.Client) common.ComponentAdapter

New instantiantes a component adapter

Types

type Adapter

type Adapter struct {
	Client kclient.Client
	common.AdapterContext
}

Adapter is a component adapter implementation for Kubernetes

func (Adapter) Create

func (a Adapter) Create() (err error)

Create generates the Kubernetes resources, adds the devfile storage and updates the component if a matching component exists or creates one if it doesn't exist

Jump to

Keyboard shortcuts

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