Documentation ¶
Index ¶
- type Adapter
- func (k Adapter) Delete(labels map[string]string) error
- func (k Adapter) DoesComponentExist(cmpName string) (bool, error)
- func (d Adapter) Exec(command []string) error
- func (k Adapter) Log(follow, debug bool) (io.ReadCloser, error)
- func (k Adapter) Push(parameters common.PushParameters) error
- func (k Adapter) Test(testCmd string, show bool) error
- type KubernetesContext
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 Kubernetes resources and actions
func New ¶
func New(adapterContext common.AdapterContext, client kclient.Client) Adapter
New instantiates a kubernetes adapter
func (Adapter) Delete ¶ added in v1.1.2
Delete deletes the Kubernetes resources that correspond to the devfile
func (Adapter) DoesComponentExist ¶ added in v1.1.2
DoesComponentExist returns true if a component with the specified name exists
func (Adapter) Log ¶ added in v1.2.4
func (k Adapter) Log(follow, debug bool) (io.ReadCloser, error)
Log shows log from component
type KubernetesContext ¶ added in v1.1.2
type KubernetesContext struct {
Namespace string
}
Click to show internal directories.
Click to hide internal directories.