providers

package
v0.0.0-...-4a9a2d3 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUnitlet

func NewUnitlet(cfg *provider.InitConfig, store units.Store, state units.State) provider.Provider

Types

type Unitlet

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

func (*Unitlet) ConfigureNode

func (l *Unitlet) ConfigureNode(context.Context, *core.Node)

func (*Unitlet) CreatePod

func (l *Unitlet) CreatePod(ctx context.Context, pod *core.Pod) error

func (*Unitlet) DeletePod

func (l *Unitlet) DeletePod(ctx context.Context, pod *core.Pod) error

func (*Unitlet) GetContainerLogs

func (l *Unitlet) GetContainerLogs(ctx context.Context, namespace, podName, containerName string, opts api.ContainerLogOpts) (io.ReadCloser, error)

func (*Unitlet) GetPod

func (l *Unitlet) GetPod(ctx context.Context, namespace, name string) (*core.Pod, error)

func (*Unitlet) GetPodStatus

func (l *Unitlet) GetPodStatus(ctx context.Context, namespace, name string) (*core.PodStatus, error)

func (*Unitlet) GetPods

func (l *Unitlet) GetPods(ctx context.Context) (ret []*core.Pod, err error)

func (*Unitlet) RunInContainer

func (l *Unitlet) RunInContainer(context.Context, string, string, string, []string, api.AttachIO) error

func (*Unitlet) UpdatePod

func (*Unitlet) UpdatePod(context.Context, *core.Pod) error

Jump to

Keyboard shortcuts

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