clcm

package
v0.0.0-...-2d43aa0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//PolicyNone define no policy
	PolicyNone = "none"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerLifecycleManager

type ContainerLifecycleManager interface {
	InternalContainerLifecycle() InternalContainerLifecycle
}

ContainerLifecycleManager interface

func NewContainerLifecycleManager

func NewContainerLifecycleManager(kubeletRootDir string) (ContainerLifecycleManager, error)

NewContainerLifecycleManager create new object for container lifecycle manager

type InternalContainerLifecycle

type InternalContainerLifecycle interface {
	PreStartContainer(pod *v1.Pod, container *v1.Container, containerID string) error
	PreStopContainer(containerID string) error
	PostStopContainer(containerID string) error
}

InternalContainerLifecycle interface.

Jump to

Keyboard shortcuts

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