Documentation ¶
Index ¶
- Constants
- type Adapter
- func (a Adapter) Delete(labels map[string]string) error
- func (a Adapter) DoesComponentExist(cmpName string) (bool, error)
- func (a Adapter) Exec(command []string) error
- func (a Adapter) Log(follow, debug bool) (io.ReadCloser, error)
- func (a Adapter) Push(parameters common.PushParameters) (err error)
- func (a Adapter) Test(testCmd string, show bool) (err error)
Constants ¶
View Source
const (
LocalhostIP = "127.0.0.1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct { Client lclient.Client common.AdapterContext // contains filtered or unexported fields }
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 ¶
Delete attempts to delete the component with the specified labels, returning an error if it fails
func (Adapter) DoesComponentExist ¶
DoesComponentExist returns true if a component with the specified name exists, false otherwise
func (Adapter) Log ¶ added in v1.2.4
func (a Adapter) Log(follow, debug bool) (io.ReadCloser, error)
Log returns log from component
Click to show internal directories.
Click to hide internal directories.