Documentation ¶
Index ¶
- 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) InitRunContainerSupervisord(containerName, podName string, containers []corev1.Container) (err 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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct { Client kclient.Client common.AdapterContext // contains filtered or unexported fields }
Adapter is a component adapter implementation for Kubernetes
func New ¶
func New(adapterContext common.AdapterContext, client kclient.Client) Adapter
New instantiantes a component adapter
func (Adapter) DoesComponentExist ¶ added in v1.1.2
DoesComponentExist returns true if a component with the specified name exists, false otherwise
func (Adapter) InitRunContainerSupervisord ¶ added in v1.1.2
func (a Adapter) InitRunContainerSupervisord(containerName, podName string, containers []corev1.Container) (err error)
InitRunContainerSupervisord initializes the supervisord in the container if the container has entrypoint that is not supervisord
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.