docker

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

Adapter maps Devfiles to Docker resources and actions

func New

func New(adapterContext common.AdapterContext, client lclient.Client) Adapter

New instantiates a Docker adapter

func (Adapter) Delete

func (d Adapter) Delete(labels map[string]string) error

Delete attempts to delete the component with the specified labels, returning an error if it fails

func (Adapter) DoesComponentExist

func (d Adapter) DoesComponentExist(cmpName string) bool

DoesComponentExist returns true if a component with the specified name exists

func (Adapter) Push

func (d Adapter) Push(parameters common.PushParameters) error

Push creates Docker resources that correspond to the devfile if they don't already exist

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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