Documentation ¶
Index ¶
- func NewUnitlet(cfg *provider.InitConfig, store units.Store, state units.State) provider.Provider
- type Unitlet
- func (l *Unitlet) ConfigureNode(context.Context, *core.Node)
- func (l *Unitlet) CreatePod(ctx context.Context, pod *core.Pod) error
- func (l *Unitlet) DeletePod(ctx context.Context, pod *core.Pod) error
- func (l *Unitlet) GetContainerLogs(ctx context.Context, namespace, podName, containerName string, ...) (io.ReadCloser, error)
- func (l *Unitlet) GetPod(ctx context.Context, namespace, name string) (*core.Pod, error)
- func (l *Unitlet) GetPodStatus(ctx context.Context, namespace, name string) (*core.PodStatus, error)
- func (l *Unitlet) GetPods(ctx context.Context) (ret []*core.Pod, err error)
- func (l *Unitlet) RunInContainer(context.Context, string, string, string, []string, api.AttachIO) error
- func (*Unitlet) UpdatePod(context.Context, *core.Pod) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUnitlet ¶
Types ¶
type Unitlet ¶
type Unitlet struct {
// contains filtered or unexported fields
}
func (*Unitlet) GetContainerLogs ¶
func (l *Unitlet) GetContainerLogs(ctx context.Context, namespace, podName, containerName string, opts api.ContainerLogOpts) (io.ReadCloser, error)
func (*Unitlet) GetPodStatus ¶
func (*Unitlet) RunInContainer ¶
Click to show internal directories.
Click to hide internal directories.