component

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

Adapter is a component adapter implementation for Kubernetes

func New

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

New instantiantes a component 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 Stub function until the functionality is added as part of https://github.com/openshift/odo/issues/2581

func (Adapter) DoesComponentExist

func (a Adapter) DoesComponentExist(cmpName string) bool

DoesComponentExist returns true if a component with the specified name exists, false otherwise

func (Adapter) Push

func (a Adapter) Push(parameters common.PushParameters) (err error)

Push 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